@@ -177,9 +177,9 @@ bool wifi::commandhelper::iw_supports_monitor_mode(int phy_index) {
177
177
return OHDUtil::contains (res_opt.value ()," * monitor" );
178
178
}
179
179
180
- static constexpr auto OPENHD_DRIVER_RTL8812AU_CHANNEL_OVERRIDE=" /sys/module/88XXau_wfb /parameters/openhd_override_channel" ;
181
- static constexpr auto OPENHD_DRIVER_RTL88xxBU_CHANNEL_OVERRIDE=" /sys/module/88x2bu /parameters/openhd_override_channel" ;
182
- static constexpr auto OPENHD_DRIVER_RTL88xxBU_TX_POWER_MW_OVERRIDE=" /sys/module/88x2bu /parameters/openhd_override_tx_power_mbm" ;
180
+ static constexpr auto OPENHD_DRIVER_RTL8812AU_CHANNEL_OVERRIDE=" /sys/module/88XXau_ohd /parameters/openhd_override_channel" ;
181
+ static constexpr auto OPENHD_DRIVER_RTL88xxBU_CHANNEL_OVERRIDE=" /sys/module/88x2bu_ohd /parameters/openhd_override_channel" ;
182
+ static constexpr auto OPENHD_DRIVER_RTL88xxBU_TX_POWER_MW_OVERRIDE=" /sys/module/88x2bu_ohd /parameters/openhd_override_tx_power_mbm" ;
183
183
184
184
bool wifi::commandhelper::openhd_driver_set_frequency_and_channel_width (int type,const std::string &device,uint32_t freq_mhz,uint32_t channel_width) {
185
185
const auto channel_opt=openhd::channel_from_frequency (freq_mhz);
@@ -200,8 +200,8 @@ bool wifi::commandhelper::openhd_driver_set_frequency_and_channel_width(int type
200
200
return true ;
201
201
}
202
202
// /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
205
205
OHDFilesystemUtil::write_file (CHANNEL_OVERRIDE_FILENAME,rtl8812au_channel);
206
206
// Override stuff is set, now we just change to a channel that is always okay in crda such that the method is called -
207
207
// ! the actually applied channel will be the overridden one !