Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5f30327

Browse files
fix driver name
1 parent8d5a7d1 commit5f30327

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎OpenHD/ohd_interface/src/wifi_command_helper.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ bool wifi::commandhelper::iw_supports_monitor_mode(int phy_index) {
177177
returnOHDUtil::contains(res_opt.value(),"* monitor");
178178
}
179179

180-
staticconstexprauto OPENHD_DRIVER_RTL8812AU_CHANNEL_OVERRIDE="/sys/module/88XXau_wfb/parameters/openhd_override_channel";
181-
staticconstexprauto OPENHD_DRIVER_RTL88xxBU_CHANNEL_OVERRIDE="/sys/module/88x2bu/parameters/openhd_override_channel";
182-
staticconstexprauto OPENHD_DRIVER_RTL88xxBU_TX_POWER_MW_OVERRIDE="/sys/module/88x2bu/parameters/openhd_override_tx_power_mbm";
180+
staticconstexprauto OPENHD_DRIVER_RTL8812AU_CHANNEL_OVERRIDE="/sys/module/88XXau_ohd/parameters/openhd_override_channel";
181+
staticconstexprauto OPENHD_DRIVER_RTL88xxBU_CHANNEL_OVERRIDE="/sys/module/88x2bu_ohd/parameters/openhd_override_channel";
182+
staticconstexprauto OPENHD_DRIVER_RTL88xxBU_TX_POWER_MW_OVERRIDE="/sys/module/88x2bu_ohd/parameters/openhd_override_tx_power_mbm";
183183

184184
boolwifi::commandhelper::openhd_driver_set_frequency_and_channel_width(int type,const std::string &device,uint32_t freq_mhz,uint32_t channel_width) {
185185
constauto channel_opt=openhd::channel_from_frequency(freq_mhz);
@@ -200,8 +200,8 @@ bool wifi::commandhelper::openhd_driver_set_frequency_and_channel_width(int type
200200
returntrue;
201201
}
202202
// /etc/modprobe.d
203-
// options88XXau_wfb openhd_override_channel=165 openhd_override_channel_width=1
204-
// rmmod88XXau_wfb
203+
// options88XXau_ohd openhd_override_channel=165 openhd_override_channel_width=1
204+
// rmmod88XXau_ohd
205205
OHDFilesystemUtil::write_file(CHANNEL_OVERRIDE_FILENAME,rtl8812au_channel);
206206
// Override stuff is set, now we just change to a channel that is always okay in crda such that the method is called -
207207
// ! the actually applied channel will be the overridden one !

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp