It works with all Linksys latest WRT (I tested WRT1900ACS v2 and WRT3200ACM).
Based on:
https://github.com/kaloz/mwlwifi/issues/173#issuecomment-307984048
https://github.com/kaloz/mwlwifi/issues/280#issuecomment-370997269
You need to remove these:
opkg remove kmod-mwifiex-sdio
# but the best is
nano /etc/config/wireless
# remove the country
# remove the radio2 and default_redio2 sections
The best is:
https://github.com/kaloz/mwlwifi/issues/185#issuecomment-367382377
In the router, check the status:
iw reg get
Result (of course mine is good by now):
country FR: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
phy#1
country FR: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
phy#0
country FR: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
What you need to test in the WIFI is to make sure that use the same country even though you bought like in Hungary. So if phy#1, phy#0 says FR or something else, then you need to set in your WIFI in LUCI for example at the same country!!!
It is this you have to setup based on the country above:
https://192.168.1.1/cgi-bin/luci/admin/network/wireless/radio0.network1
and
http://192.168.81.1/cgi-bin/luci/admin/network/wireless/radio1.network1
On the Advanced Settings
tab, so make sure all WIFI use that! I think in Europe it is always France.
All WRT3200ACM devices are programmed with device power table. Mwlwifi driver will base on region code to set country code for your device and it will not allow you to change country code. There are another wifi (phy2) on WRT3200ACM which is not mwlwifi. It will allow you to change country code. Under this case, country code setting will be conflicted and it will let DFS can't work.
There are two ways to resolve this problem or for the European version, right now, only the 2nd option works:
opkg remove kmod-mwifiex-sdio
opkg remove mwifiex-sdio-firmware
reboot
The best way is let mwlwifi set country code for you in the US version router.
radio2
and default_radio2
section from the /etc/config/wireless
iw reg get
FR
- France), thenradio0
and radio1
section in the /etc/config/wireless
as option country 'FR'
uci commit wireless
LUCI
at /cgi-bin/luci/admin/network/wireless
, click both wireless interfaces with EDIT
and the country settings is in the Advanced Settings
tab, where you can set it, then just Save and Apply
.opkg remove kmod-mwifiex-sdio mwifiex-sdio-firmware
(sometimes you have to execute twice, not sure which should be first, but twice will work, because of the order of the dependencies ) There will be a change in the driver as is described in:
https://github.com/kaloz/mwlwifi/issues/280#issuecomment-370997269
Once this comment is implemented, the DTS and 160 mhz will work by default (not needed to remove packages installed by LEDE by default or deal with the phy2
and radio2
).
160 mhz works only with channel 100 upwards, then mwlwifi
auto set it up, auto
is not working for now.
All you have to do, you can keep every packages and use only non DTS frequencies as appear below that doesn't show DFS
.
In that case, you can even use the radio2
, which must match with 80Mhz and same channel
of the radio0
, and the max 18-21 dBm transit power (syslog shows, 18 is restricted, but I could set it to 21 dBm and it worked).
country 98: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 23), (0 ms), DFS
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
phy#2
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
phy#1
country FR: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
phy#0
country FR: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)