Sample Header Ad - 728x90

All WiFi 5G frequencies show "no IR". Is there a way to enable 5G in AP mode?

0 votes
1 answer
219 views
I have this WiFi module and want to set it up as an WiFi 5G AP. I can set it up as an AP in 2.4G by using hostapd.service, so it works for 2.4G. However, I want to set the AP using 5G, but it fails. I see "**no IR**" on all the 5G frequencies on **# iw list**. Does that mean there is just no way to use 5G in AP mode on this WiFi ac module? Thanks. # lspci | grep -i wireless 08:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter # iw reg get global country 00: DFS-UNSET (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN (2402 - 2472 @ 40), (N/A, 20), (N/A) (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN (57240 - 63720 @ 2160), (N/A, 0), (N/A) phy#0 country 99: DFS-UNSET (2402 - 2472 @ 40), (N/A, 20), (N/A) (5140 - 5360 @ 80), (N/A, 30), (N/A), PASSIVE-SCAN (5715 - 5860 @ 80), (N/A, 30), (N/A), PASSIVE-SCAN # iw list | grep -i frequencies -C 99 | egrep -i "\* 2|\* 5" * 2.0 Mbps (short preamble supported) * 5.5 Mbps (short preamble supported) * 24.0 Mbps * 54.0 Mbps * 2412 MHz (20.0 dBm) * 2417 MHz (20.0 dBm) * 2422 MHz (20.0 dBm) * 2427 MHz (20.0 dBm) * 2432 MHz (20.0 dBm) * 2437 MHz (20.0 dBm) * 2442 MHz (20.0 dBm) * 2447 MHz (20.0 dBm) * 2452 MHz (20.0 dBm) * 2457 MHz (20.0 dBm) * 2462 MHz (20.0 dBm) * 2467 MHz (disabled) * 2472 MHz (disabled) * 2484 MHz (disabled) * 24.0 Mbps * 54.0 Mbps * 5180 MHz (30.0 dBm) (no IR) * 5200 MHz (30.0 dBm) (no IR) * 5220 MHz (30.0 dBm) (no IR) * 5240 MHz (30.0 dBm) (no IR) * 5260 MHz (30.0 dBm) (no IR, radar detection) * 5280 MHz (30.0 dBm) (no IR, radar detection) * 5300 MHz (30.0 dBm) (no IR, radar detection) * 5320 MHz (30.0 dBm) (no IR, radar detection) * 5500 MHz (disabled) * 5520 MHz (disabled) * 5540 MHz (disabled) * 5560 MHz (disabled) * 5580 MHz (disabled) * 5600 MHz (disabled) * 5620 MHz (disabled) * 5640 MHz (disabled) * 5660 MHz (disabled) * 5680 MHz (disabled) * 5700 MHz (disabled) * 5720 MHz (disabled) * 5745 MHz (30.0 dBm) (no IR) * 5765 MHz (30.0 dBm) (no IR) * 5785 MHz (30.0 dBm) (no IR) * 5805 MHz (30.0 dBm) (no IR) * 5825 MHz (30.0 dBm) (no IR) * 5845 MHz (30.0 dBm) (no IR) * 5865 MHz (disabled) # uname -rv 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) ------------------------------- **Parting line** -------------------------------- Error messages after adding country_code=US in hostapd.conf and restart hostapd.service May 06 09:17:21 Deb160 systemd: Starting hostapd.service - Access point and authentication server for Wi-Fi and Ethernet... May 06 09:17:22 Deb160 kernel: ath10k_pci 0000:08:00.0: pdev param 0 not supported by firmware May 06 09:17:22 Deb160 kernel: br0: port 2(wlp8s0) entered blocking state May 06 09:17:22 Deb160 kernel: br0: port 2(wlp8s0) entered disabled state May 06 09:17:22 Deb160 kernel: device wlp8s0 entered promiscuous mode May 06 09:17:22 Deb160 hostapd: wlp8s0: interface state UNINITIALIZED->COUNTRY_UPDATE May 06 09:17:22 Deb160 hostapd: Frequency 5765 (primary) not allowed for AP mode, flags: 0x1873 NO-IR May 06 09:17:22 Deb160 hostapd: Primary frequency not allowed May 06 09:17:22 Deb160 hostapd: wlp8s0: IEEE 802.11 Configured channel (153) or frequency (5765) (secondary_channel=0) not found from the channel list of the current mode (2) IEEE 802.11a May 06 09:17:22 Deb160 hostapd: wlp8s0: IEEE 802.11 Configured channel (153) or frequency (5765) (secondary_channel=0) not found from the channel list of the current mode (2) IEEE 802.11a May 06 09:17:22 Deb160 hostapd: wlp8s0: IEEE 802.11 Hardware does not support configured channel May 06 09:17:22 Deb160 hostapd: wlp8s0: IEEE 802.11 Hardware does not support configured channel May 06 09:17:22 Deb160 hostapd: Could not select hw_mode and channel. (-3) May 06 09:17:22 Deb160 hostapd: wlp8s0: interface state COUNTRY_UPDATE->DISABLED May 06 09:17:22 Deb160 hostapd: wlp8s0: AP-DISABLED May 06 09:17:22 Deb160 hostapd: wlp8s0: Unable to setup interface. May 06 09:17:22 Deb160 hostapd: wlp8s0: interface state DISABLED->DISABLED May 06 09:17:22 Deb160 hostapd: wlp8s0: AP-DISABLED May 06 09:17:22 Deb160 hostapd: wlp8s0: CTRL-EVENT-TERMINATING May 06 09:17:22 Deb160 hostapd: hostapd_free_hapd_data: Interface wlp8s0 wasn't started May 06 09:17:22 Deb160 hostapd: nl80211: deinit ifname=wlp8s0 disabled_11b_rates=0 May 06 09:17:22 Deb160 kernel: device wlp8s0 left promiscuous mode May 06 09:17:22 Deb160 kernel: br0: port 2(wlp8s0) entered disabled state May 06 09:17:23 Deb160 hostapd: nl80211: Failed to remove interface wlp8s0 from bridge br0: Invalid argument May 06 09:17:24 Deb160 kernel: ath10k_pci 0000:08:00.0: pdev param 0 not supported by firmware May 06 09:17:24 Deb160 systemd: hostapd.service: Control process exited, code=exited, status=1/FAILURE May 06 09:17:24 Deb160 systemd: hostapd.service: Failed with result 'exit-code'. May 06 09:17:24 Deb160 systemd: Failed to start hostapd.service - Access point and authentication server for Wi-Fi and Ethernet. May 06 09:17:24 Deb160 systemd: hostapd.service: Consumed 2.484s CPU time. May 06 09:17:26 Deb160 systemd: hostapd.service: Scheduled restart job, restart counter is at 1. I also use iw to set US and restart hostapd, same errors. # iw reg set US # iw reg get global country US: DFS-FCC (902 - 904 @ 2), (N/A, 30), (N/A) (904 - 920 @ 16), (N/A, 30), (N/A) (920 - 928 @ 8), (N/A, 30), (N/A) (2400 - 2472 @ 40), (N/A, 30), (N/A) (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW (5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW (5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS (5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW (5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN (5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN (57240 - 71000 @ 2160), (N/A, 40), (N/A) phy#0 country 99: DFS-UNSET (2402 - 2472 @ 40), (N/A, 20), (N/A) (5140 - 5360 @ 80), (N/A, 30), (N/A), PASSIVE-SCAN (5715 - 5860 @ 80), (N/A, 30), (N/A), PASSIVE-SCAN Update alternative to debian or upstream, same errors after. # update-alternatives --config regulatory.db There are 2 choices for the alternative regulatory.db (providing /lib/firmware/regulatory.db). Selection Path Priority Status ------------------------------------------------------------ 0 /lib/firmware/regulatory.db-debian 100 auto mode 1 /lib/firmware/regulatory.db-debian 100 manual mode * 2 /lib/firmware/regulatory.db-upstream 50 manual mode Press to keep the current choice[*], or type selection number:
Asked by XavierWood (87 rep)
May 5, 2025, 09:45 AM
Last activity: May 6, 2025, 05:08 AM