create_ap icon indicating copy to clipboard operation
create_ap copied to clipboard

Yet another " Your adapter can not transmit to channel xxx, frequency band 5G"

Open gitxmax opened this issue 4 years ago • 7 comments

Going nuts here, spent the whole day trying to resolve the issue.. Arch Linux "5.5.5-arch1-1"

The main problem is my wifi card switches to "phy#0 (self-managed)", which is "country 00: DFS- UNSET" with all 5ghz channels disabled, as soon as I launch create_ap

Tried: Create Ap config file set to US (tried leaving blank = aswell" Crda is set to US "modprobe -r iwlwifi && modprobe iwlwifi lar_disable=1" "echo options iwlwifi lar_disable=1 >> /etc/modprobe.d/iwlwifi.conf" and all the other wireless db hacks out there

After every reboot, I get:

iw phy0 reg get global 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 - 71000 @ 2160), (N/A, 40), (N/A)

And as I already said, as soon as the create_Ap is launched it switches to:

`iw phy0 reg get global 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 - 71000 @ 2160), (N/A, 40), (N/A)

phy#0 (self-managed) country 00: DFS-UNSET (2402 - 2437 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-80MHZ, NO-160MHZ (2422 - 2462 @ 40), (6, 22), (N/A), AUTO-BW, NO-80MHZ, NO-160MHZ (2447 - 2482 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-80MHZ, NO-160MHZ (5170 - 5190 @ 160), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, PASSIVE-SCAN (5190 - 5210 @ 160), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40PLUS, PASSIVE-SCAN (5210 - 5230 @ 160), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, PASSIVE-SCAN (5230 - 5250 @ 160), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40PLUS, PASSIVE-SCAN (5250 - 5270 @ 160), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE-SCAN (5270 - 5290 @ 160), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-SCAN (5290 - 5310 @ 160), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE-SCAN (5310 - 5330 @ 160), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-SCAN (5490 - 5510 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE-SCAN (5510 - 5530 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-SCAN (5530 - 5550 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE-SCAN (5550 - 5570 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-SCAN (5570 - 5590 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE-SCAN (5590 - 5610 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-SCAN (5610 - 5630 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE-SCAN (5630 - 5650 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-SCAN (5650 - 5670 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5670 - 5690 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5690 - 5710 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5710 - 5730 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5735 - 5755 @ 80), (6, 22), (N/A), AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5755 - 5775 @ 80), (6, 22), (N/A), AUTO-BW, IR-CONCURRENT, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5775 - 5795 @ 80), (6, 22), (N/A), AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5795 - 5815 @ 80), (6, 22), (N/A), AUTO-BW, IR-CONCURRENT, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5815 - 5835 @ 20), (6, 22), (N/A), AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, NO-HT40PLUS, NO-80MHZ, NO-160MHZ, PASSIVE-SCAN ` ... and wouldn't let me use any 5Ghz channels.

My wifi card is AX200 iw phy, after reboot:

`Wiphy phy0 max # scan SSIDs: 20 max scan IEs length: 365 bytes max # sched scan SSIDs: 20 max # match sets: 11 max # scan plans: 2 max scan plan interval: 65535 max scan plan iterations: 254 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports RSN-IBSS. Device supports AP-side u-APSD. Device supports T-DLS. Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP-128 (00-0f-ac:4) * GCMP-128 (00-0f-ac:8) * GCMP-256 (00-0f-ac:9) * CMAC (00-0f-ac:6) * GMAC-128 (00-0f-ac:11) * GMAC-256 (00-0f-ac:12) Available Antennas: TX 0x3 RX 0x3 Configured Antennas: TX 0x3 RX 0x3 Supported interface modes: * IBSS * managed * AP * AP/VLAN * monitor * P2P-client * P2P-GO * P2P-device

    Band 2:
            Bitrates (non-HT):
                    * 6.0 Mbps
                    * 9.0 Mbps
                    * 12.0 Mbps
                    * 18.0 Mbps
                    * 24.0 Mbps
                    * 36.0 Mbps
                    * 48.0 Mbps
                    * 54.0 Mbps

            Frequencies:
                    * 5180 MHz [36] (22.0 dBm)
                    * 5200 MHz [40] (22.0 dBm)
                    * 5220 MHz [44] (22.0 dBm)
                    * 5240 MHz [48] (22.0 dBm)
                    * 5260 MHz [52] (22.0 dBm)
                    * 5280 MHz [56] (22.0 dBm)
                    * 5300 MHz [60] (22.0 dBm)
                    * 5320 MHz [64] (22.0 dBm)
                    * 5340 MHz [68] (22.0 dBm)
                    * 5360 MHz [72] (22.0 dBm)
                    * 5380 MHz [76] (22.0 dBm)
                    * 5400 MHz [80] (22.0 dBm)
                    * 5420 MHz [84] (22.0 dBm)
                    * 5440 MHz [88] (22.0 dBm)
                    * 5460 MHz [92] (22.0 dBm)
                    * 5480 MHz [96] (22.0 dBm)
                    * 5500 MHz [100] (22.0 dBm)
                    * 5520 MHz [104] (22.0 dBm)
                    * 5540 MHz [108] (22.0 dBm)
                    * 5560 MHz [112] (22.0 dBm)
                    * 5580 MHz [116] (22.0 dBm)
                    * 5600 MHz [120] (22.0 dBm)
                    * 5620 MHz [124] (22.0 dBm)
                    * 5640 MHz [128] (22.0 dBm)
                    * 5660 MHz [132] (22.0 dBm)
                    * 5680 MHz [136] (22.0 dBm)
                    * 5700 MHz [140] (22.0 dBm)
                    * 5720 MHz [144] (22.0 dBm)
                    * 5745 MHz [149] (22.0 dBm)
                    * 5765 MHz [153] (22.0 dBm)
                    * 5785 MHz [157] (22.0 dBm)
                    * 5805 MHz [161] (22.0 dBm)
                    * 5825 MHz [165] (22.0 dBm)
                    * 5845 MHz [169] (22.0 dBm)
                    * 5865 MHz [173] (22.0 dBm)
                    * 5885 MHz [177] (22.0 dBm)
                    * 5905 MHz [181] (22.0 dBm)

`

gitxmax avatar Feb 24 '20 18:02 gitxmax

My wifi card is AX200

I think consumer grade Intel wireless cards does not support AP on 5G band: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi

igorpecovnik avatar Feb 24 '20 18:02 igorpecovnik

it did on windows10pro

gitxmax avatar Feb 24 '20 19:02 gitxmax

it did on windows10pro

You mean on Windows 5G works? Well, Intel can decide not to support 5G on Linux. This is set in the firmware.

igorpecovnik avatar Feb 24 '20 19:02 igorpecovnik

right, tested the card on my windows 10 laptop before, 5ghz hotspot runs well

gitxmax avatar Feb 26 '20 11:02 gitxmax

it did on windows10pro

You mean on Windows 5G works? Well, Intel can decide not to support 5G on Linux. This is set in the firmware.

i tired it on manjaro KDE and it works changed the distro everything fails

d7eeem avatar May 26 '20 08:05 d7eeem

and it works

AP mode at 5Ghz? Which kernel and firmware version?

igorpecovnik avatar May 26 '20 14:05 igorpecovnik

and it works

AP mode at 5Ghz? Which kernel and firmware version?

i used pamac to build the tool then restarted the PC wrote the command in terminal but i specified the channel to 149 and it created an interface used for months changed the desktop environment to xfce also worked now i am using dwm and i can't figure out how to make work again.

d7eeem avatar May 28 '20 19:05 d7eeem