AndroPlus-org / magisk-module-wifi7

Enable Wi-Fi 6GHz & Wi-Fi 7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Country setting channels

NEA1971 opened this issue · comments

Hello,
thanks a lot for the work. Is there a way to change the country setting or bind it to the actual localization of the device?
I am using a chinese Mi Pad 6 Pro in Germany. The 5GHz-channels blocked in China are not blocked here, so every now and then when the router changes the channels the pad suddenly cannot see the 5GHz-WiFi anymore. For WiFi 6 and 7 I am not having the hardware yet, so I cannot speak for those.

Please try this:
magisk-module-wifi7.zip

I don't have Xiaomi devices now so can't test, but there was Wi-Fi region prop in build.prop and I changed it to US.

Thanks for your support, but unfortunately does not work - it still show's only channels <=64.
Following code showing on iw reg get, if that helps anything.

`global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

phy#0 (self-managed)
country CN: DFS-UNSET
(2402 - 2482 @ 40), (N/A, 23), (N/A), AUTO-BW
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5735 - 5835 @ 80), (N/A, 33), (N/A), AUTO-BW`