I can perfectly configure channels >=100 (and only starting from 100) on the 3rd band, but sometimes the Wi-Fi simply does not broadcast the SSID from the 3rd band and LuCi shows the message "Wireless is not associated "
I bet if I restart the router again, it magically starts working again - that is why I am a bit confused. Like 3 hours ago the third band worked perfectly fine, with the same signal strength as the 2nd 5GHz band and I were able to connect to it and behave just like on the 2nd 5GHz band as well.
I don't know, whether this is related to my 4 SSIDs (which I don't believe, but I am not an expert on that matter), some other configuration failure on my side or simply a bug.
The EA8300 a three-radio device with all radios intended for active use. There are several of these on the market now.
Note: The first 5 GHz radio (IPQ4019) is limited to ch. 64 and below. The second 5 GHz radio (QCA9888), is limited to ch. 100 and above. This is consistent with OEM firmware and is a result of the ART data and the data in the OEM firmware's cal data. This is perhaps due to RF design optimization and/or interoperation with 2.4 GHz, such as the two, shared antennas.
Check logread for evidence of misbehavior of the QCA9888 radio. If you find any, we can open an EA8300-support thread.
root@test:~# tail -n0 -f /var/log/messages &
root@test:~# wifi up
'radio2' is disabled
'radio2' is disabled
root@test:~# May 30 15:11:44 test mac80211: Failed command: iw phy phy2 set distance 0
May 30 15:11:44 test mac80211: Failed command: iw phy phy0 set distance 0
May 30 15:11:44 test hostapd: Configuration file: /var/run/hostapd-phy0.conf
May 30 15:11:47 test hostapd: wlan0: interface state UNINITIALIZED->HT_SCAN
May 30 15:11:47 test hostapd: Using interface wlan0 with hwaddr 32:23:03:xx:xx:xx and ssid "5Gap"
May 30 15:11:47 test hostapd: wlan0: interface state HT_SCAN->ENABLED
May 30 15:11:47 test hostapd: wlan0: AP-ENABLED
After disabling the radio, changing my country code to 'DE', rebooting, then re-enabling the radio, it also seems to work as expected. Changing the country code is not recommended unless you are absolutely certain that doing so will not permit unauthorized emissions.
root@test:~# tail -n0 -f /var/log/messages &
root@test:~# wifi up
'radio2' is disabled
'radio5soc' is disabled
'radio2' is disabled
'radio5soc' is disabled
root@test:~# May 30 15:20:39 test mac80211: Failed command: iw phy phy0 set distance 0
May 30 15:20:39 test hostapd: Configuration file: /var/run/hostapd-phy0.conf
May 30 15:20:42 test hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
May 30 15:20:42 test hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
May 30 15:20:42 test hostapd: Using interface wlan0 with hwaddr 32:23:03:67:e9:5a and ssid "5Gap"
May 30 15:20:43 test hostapd: wlan0: interface state HT_SCAN->ENABLED
May 30 15:20:43 test hostapd: wlan0: AP-ENABLED
May 30 15:20:53 test hostapd: wlan0: interface state ENABLED->DISABLED
May 30 15:20:53 test hostapd: wlan0: AP-DISABLED
May 30 15:20:53 test hostapd: wlan0: CTRL-EVENT-TERMINATING
May 30 15:20:53 test hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
May 30 08:20:53 test kernel: [ 106.862007] br-vlan1010: port 3(wlan0) entered disabled state
May 30 15:20:53 test mac80211: Failed command: iw phy phy0 set distance 0
May 30 15:20:53 test hostapd: Configuration file: /var/run/hostapd-phy0.conf
May 30 08:20:56 test kernel: [ 109.621470] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
May 30 08:20:56 test kernel: [ 109.622337] ath10k_pci 0000:01:00.0: wmi print 'free: 117936 iram: 22500 sram: 29708'
May 30 15:20:56 test hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
May 30 15:20:56 test hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
May 30 15:20:56 test hostapd: Using interface wlan0 with hwaddr 32:23:03:67:e9:5a and ssid "5Gap"
May 30 15:20:57 test hostapd: wlan0: interface state HT_SCAN->ENABLED
May 30 15:20:57 test hostapd: wlan0: AP-ENABLED
I just ran into the issue, that I realized, that none of my devices, which should go into that 3rd band are able to connect to 5GHz Wi-Fis in the higher ranges (besides my laptop that is). Not that it is problem of OpenWrt, just very frustrating.
My expectation was, that 5GHz support = all available channels - but apparently this is not the case.
I started playing around with the 3rd band channel and power settings and I believe I can reproduce the issue consistently.
Reboot the router to have a fresh start
Set everything (=power and channel) to auto and apply
Set channel to 100 and dBm to 19
Set channel to 165, hit apply
Set channel to 100 and set dBm to 28 (which you shouldn't be able to, but the UI let's you do this)
Following the output:
Fri May 31 14:48:05 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Fri May 31 14:48:05 2019 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS
Fri May 31 14:48:05 2019 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=1, seg0=106, seg1=0, cac_time=60s
Fri May 31 14:48:29 2019 daemon.notice hostapd: wlan0: DFS-CAC-COMPLETED success=0 freq=5500 ht_enabled=0 chan_offset=0 chan_width=3 cf1=5530 cf2=0
Fri May 31 14:48:29 2019 kern.warn kernel: [ 286.650559] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
Fri May 31 14:48:29 2019 daemon.notice hostapd: wlan0: INTERFACE-DISABLED
Fri May 31 14:48:29 2019 kern.info kernel: [ 286.744667] br-office: port 3(wlan0) entered disabled state
Fri May 31 14:48:29 2019 kern.info kernel: [ 286.819462] device wlan0 left promiscuous mode
Fri May 31 14:48:29 2019 kern.info kernel: [ 286.819529] br-office: port 3(wlan0) entered disabled state
Fri May 31 14:48:29 2019 daemon.notice netifd: radio0 (3076): command failed: Not supported (-95)
Fri May 31 14:48:29 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Fri May 31 14:48:29 2019 daemon.notice netifd: radio0 (3076): sh: out of range
Fri May 31 14:48:29 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Fri May 31 14:48:32 2019 kern.warn kernel: [ 289.353804] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
Fri May 31 14:48:32 2019 kern.warn kernel: [ 289.353849] ath10k_pci 0000:01:00.0: msdu-desc: 2500 skid: 32
Fri May 31 14:48:32 2019 kern.info kernel: [ 289.408176] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
Fri May 31 14:48:32 2019 kern.info kernel: [ 289.409211] ath10k_pci 0000:01:00.0: wmi print 'free: 117936 iram: 22500 sram: 29708'
Fri May 31 14:48:32 2019 daemon.notice hostapd: wlan0: INTERFACE-ENABLED
Fri May 31 14:48:32 2019 kern.warn kernel: [ 289.712468] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Fri May 31 14:48:32 2019 kern.warn kernel: [ 289.714952] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
Fri May 31 14:48:32 2019 daemon.err hostapd: nl80211: Could not configure driver mode
Fri May 31 14:48:32 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Fri May 31 14:48:32 2019 daemon.err hostapd: nl80211 driver initialization failed.
Fri May 31 14:48:32 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->DISABLED
Fri May 31 14:48:32 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Fri May 31 14:48:32 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Fri May 31 14:48:32 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Fri May 31 14:48:32 2019 daemon.notice hostapd: wlan0: INTERFACE-DISABLED
Fri May 31 14:48:32 2019 daemon.notice netifd: radio0 (3076): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 2558 path ()
Fri May 31 14:48:32 2019 daemon.notice netifd: radio0 (3076): Device setup failed: HOSTAPD_START_FAILED
Fri May 31 14:48:43 2019 daemon.notice netifd: radio0 (3280): command failed: Not supported (-95)
Fri May 31 14:48:43 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Fri May 31 14:48:43 2019 daemon.notice netifd: radio0 (3280): sh: out of range
Fri May 31 14:48:43 2019 kern.info kernel: [ 300.317944] IPv6: ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
Fri May 31 14:48:43 2019 kern.info kernel: [ 300.575925] IPv6: ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
Fri May 31 14:48:43 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Fri May 31 14:48:45 2019 kern.warn kernel: [ 302.901420] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
Fri May 31 14:48:45 2019 kern.warn kernel: [ 302.901466] ath10k_pci 0000:01:00.0: msdu-desc: 2500 skid: 32
Fri May 31 14:48:45 2019 kern.info kernel: [ 302.955943] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
Fri May 31 14:48:45 2019 kern.info kernel: [ 302.957556] ath10k_pci 0000:01:00.0: wmi print 'free: 117936 iram: 22500 sram: 29708'
Fri May 31 14:48:46 2019 daemon.notice hostapd: wlan0: INTERFACE-ENABLED
Fri May 31 14:48:46 2019 kern.warn kernel: [ 303.270962] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Fri May 31 14:48:46 2019 kern.warn kernel: [ 303.282462] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
Fri May 31 14:48:46 2019 daemon.notice hostapd: wlan0: INTERFACE-DISABLED
Fri May 31 14:48:46 2019 daemon.err hostapd: nl80211: Could not configure driver mode
Fri May 31 14:48:46 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Fri May 31 14:48:46 2019 daemon.err hostapd: nl80211 driver initialization failed.
Fri May 31 14:48:46 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->DISABLED
Fri May 31 14:48:46 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Fri May 31 14:48:46 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Fri May 31 14:48:46 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Fri May 31 14:48:46 2019 daemon.notice netifd: radio0 (3280): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 2558 path ()
Fri May 31 14:48:46 2019 daemon.notice netifd: radio0 (3280): Device setup failed: HOSTAPD_START_FAILED
Fri May 31 14:49:04 2019 daemon.notice netifd: radio0 (3767): command failed: Not supported (-95)
Fri May 31 14:49:04 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Fri May 31 14:49:05 2019 daemon.notice netifd: radio0 (3767): sh: out of range
Fri May 31 14:49:05 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Fri May 31 14:49:07 2019 kern.warn kernel: [ 324.544747] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
Fri May 31 14:49:07 2019 kern.warn kernel: [ 324.544801] ath10k_pci 0000:01:00.0: msdu-desc: 2500 skid: 32
Fri May 31 14:49:07 2019 kern.info kernel: [ 324.599415] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
Fri May 31 14:49:07 2019 kern.info kernel: [ 324.601019] ath10k_pci 0000:01:00.0: wmi print 'free: 117936 iram: 22500 sram: 29708'
Fri May 31 14:49:07 2019 kern.warn kernel: [ 324.913100] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Fri May 31 14:49:07 2019 daemon.notice hostapd: wlan0: INTERFACE-ENABLED
Fri May 31 14:49:07 2019 kern.warn kernel: [ 324.925896] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
Fri May 31 14:49:07 2019 daemon.notice hostapd: wlan0: INTERFACE-DISABLED
Fri May 31 14:49:07 2019 daemon.err hostapd: nl80211: Could not configure driver mode
Fri May 31 14:49:07 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Fri May 31 14:49:07 2019 daemon.err hostapd: nl80211 driver initialization failed.
Fri May 31 14:49:07 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->DISABLED
Fri May 31 14:49:07 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Fri May 31 14:49:07 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Fri May 31 14:49:07 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Fri May 31 14:49:07 2019 daemon.notice netifd: radio0 (3767): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 2558 path ()
Fri May 31 14:49:07 2019 daemon.notice netifd: radio0 (3767): Device setup failed: HOSTAPD_START_FAILED
This issue is only "fixable" with a reboot.
I believe this should be fixed, as non-experienced OpenWrt users (like myself) might run into the same issue, when playing around with the Wi-Fi settings in LuCi.
Of course this issue is simply avoidable by not selecting any "bad"/incompatible values at all.
Taking it one thing at a time, as my coffee hasn't hit quite yet (and, with apologies, as I seem to have forgotten to send this earlier)
Looking at the capability data, I agree that this is a setting that is not surprising that the driver rejects and that the GUI shouldn't be offering it if the capability for that radio on that channel is 13 dBm.