Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3545 - unusable channels 13, 12 & auto on raspberry pi 3b & zero w #8571

Open
openwrt-bot opened this issue Dec 30, 2020 · 2 comments
Open

FS#3545 - unusable channels 13, 12 & auto on raspberry pi 3b & zero w #8571

openwrt-bot opened this issue Dec 30, 2020 · 2 comments
Labels
flyspray release/19.07

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Dec 30, 2020

twojstaryzdomu:

Channels 13, 12 and auto are unusuable despite a valid CRDA selection (PL).

Lack of functional support for channels 13 & 12 where those are legally available renders OpenWrt unusable as AP/client on raspberry pi 3 & zero w. Both share the same BRCM 43430 driver.

Auto selection is also crippled:
Wed Dec 30 04:16:49 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
Wed Dec 30 04:16:49 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel

Both would be a showstopper. OpenWrt on such platforms is often picked for its AP capabilities.

+ iw reg get global country PL: DFS-ETSI (2400 - 2483 @ 40), (N/A, 20), (N/A) (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS (5725 - 5875 @ 80), (N/A, 13), (N/A) (57000 - 66000 @ 2160), (N/A, 40), (N/A)
  • uci show wireless
    wireless.radio0=wifi-device
    wireless.radio0.type='mac80211'
    wireless.radio0.hwmode='11g'
    wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
    wireless.radio0.legacy_rates='0'
    wireless.radio0.country='PL'
    wireless.radio0.htmode='HT20'
    wireless.radio0.channel='11'
    wireless.default_radio0=wifi-iface
    wireless.default_radio0.device='radio0'
    wireless.default_radio0.network='lan'
    wireless.default_radio0.mode='ap'
    wireless.default_radio0.ssid='my_ssid'
    wireless.default_radio0.wpa_disable_eapol_key_retries='1'
    wireless.default_radio0.key='my_key'
    wireless.default_radio0.hidden='1'
    wireless.default_radio0.encryption='psk2'
  • uci set 'wireless.radio0.channel=13'
  • uci commit wireless
  • sleep 1
  • logread -f
  • logger start testing channel 13
  • wifi
    Wed Dec 30 04:16:41 2020 user.notice root: start testing channel 13
  • sleep 3
    Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
    Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED MAC_ADDRESS_WAS_HERE
    Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED MAC_ADDRESS_WAS_HERE
    Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED MAC_ADDRESS_WAS_HERE
    Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
    Wed Dec 30 04:16:41 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Wed Dec 30 04:16:41 2020 daemon.notice netifd: Network device 'wlan0' link is down
    Wed Dec 30 04:16:41 2020 daemon.notice netifd: Interface 'lan' has link connectivity loss
    Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8589): command failed: No error information (-524)
    Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Dec 30 04:16:42 2020 daemon.notice netifd: Interface 'lan' is now down
    Wed Dec 30 04:16:42 2020 daemon.notice netifd: Interface 'lan' is disabled
    Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8612): command failed: No error information (-524)
    Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
    Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8612): command failed: Not supported (-95)
    Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
    Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8612): command failed: I/O error (-5)
    Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
    Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8612): command failed: Too many open files in system (-23)
    Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
    Wed Dec 30 04:16:42 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
    Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Wed Dec 30 04:16:42 2020 kern.info kernel: [ 8810.101885] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Wed Dec 30 04:16:42 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
    Wed Dec 30 04:16:42 2020 daemon.err hostapd: Using interface wlan0 with hwaddr MAC_ADDRESS_WAS_HERE and ssid "my_ssid"
    Wed Dec 30 04:16:42 2020 daemon.err hostapd: Failed to set beacon parameters
    Wed Dec 30 04:16:42 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
    Wed Dec 30 04:16:42 2020 daemon.err hostapd: Interface initialization failed
    Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
    Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Dec 30 04:16:42 2020 daemon.err hostapd: wlan0: Unable to setup interface.
    Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
    Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
    Wed Dec 30 04:16:42 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
    Wed Dec 30 04:16:42 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Wed Dec 30 04:16:42 2020 kern.err kernel: [ 8810.195905] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -52
    Wed Dec 30 04:16:43 2020 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x7fb0bb4e60 user_data=0 handler=0x41d078
    Wed Dec 30 04:16:43 2020 daemon.notice netifd: radio0 (8612): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 8118 path ()
    Wed Dec 30 04:16:43 2020 daemon.notice netifd: radio0 (8612): Device setup failed: HOSTAPD_START_FAILED
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8225]: exiting on receipt of SIGTERM
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: started, version 2.80 cachesize 150
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: DNS service limited to local subnets
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain test
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain onion
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain localhost
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain local
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain invalid
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain bind
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain lan
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: reading /tmp/resolv.conf.auto
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain test
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain onion
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain localhost
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain local
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain invalid
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain bind
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain lan
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using nameserver IP_ADDRESS_WAS_HERE#53
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using nameserver IP_ADDRESS_WAS_HERE#53
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: read /etc/hosts - 4 addresses
    Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
  • logger end testing channel 13
    Wed Dec 30 04:16:44 2020 user.notice root: end testing channel 13
  • kill '%1'
  • pkill -9 logread
  • set -x
  • uci show wireless
    wireless.radio0=wifi-device
    wireless.radio0.type='mac80211'
    wireless.radio0.hwmode='11g'
    wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
    wireless.radio0.legacy_rates='0'
    wireless.radio0.country='PL'
    wireless.radio0.htmode='HT20'
    wireless.radio0.channel='13'
    wireless.default_radio0=wifi-iface
    wireless.default_radio0.device='radio0'
    wireless.default_radio0.network='lan'
    wireless.default_radio0.mode='ap'
    wireless.default_radio0.ssid='my_ssid'
    wireless.default_radio0.wpa_disable_eapol_key_retries='1'
    wireless.default_radio0.key='my_key'
    wireless.default_radio0.hidden='1'
    wireless.default_radio0.encryption='psk2'
  • uci set 'wireless.radio0.channel=12'
  • uci commit wireless
  • sleep 1
  • logread -f
  • logger start testing channel 12
    Wed Dec 30 04:16:45 2020 user.notice root: start testing channel 12
  • wifi
  • sleep 3
    Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8783): command failed: No error information (-524)
    Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8803): command failed: No error information (-524)
    Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
    Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8803): command failed: Not supported (-95)
    Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
    Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8803): command failed: I/O error (-5)
    Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
    Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8803): command failed: Too many open files in system (-23)
    Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
    Wed Dec 30 04:16:45 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
    Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Wed Dec 30 04:16:45 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
    Wed Dec 30 04:16:45 2020 daemon.err hostapd: Using interface wlan0 with hwaddr MAC_ADDRESS_WAS_HERE and ssid "my_ssid"
    Wed Dec 30 04:16:45 2020 kern.info kernel: [ 8813.087454] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Wed Dec 30 04:16:45 2020 daemon.err hostapd: Failed to set beacon parameters
    Wed Dec 30 04:16:45 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
    Wed Dec 30 04:16:45 2020 daemon.err hostapd: Interface initialization failed
    Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
    Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Dec 30 04:16:45 2020 daemon.err hostapd: wlan0: Unable to setup interface.
    Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
    Wed Dec 30 04:16:45 2020 kern.err kernel: [ 8813.180327] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4108, -52
    Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
    Wed Dec 30 04:16:45 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
    Wed Dec 30 04:16:45 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Wed Dec 30 04:16:46 2020 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x7fa178be60 user_data=0 handler=0x41d078
    Wed Dec 30 04:16:46 2020 daemon.notice netifd: radio0 (8803): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 8118 path ()
    Wed Dec 30 04:16:46 2020 daemon.notice netifd: radio0 (8803): Device setup failed: HOSTAPD_START_FAILED
  • logger end testing channel 12
    Wed Dec 30 04:16:48 2020 user.notice root: end testing channel 12
  • kill '%1'
  • pkill -9 logread
  • set -x
  • uci show wireless
    wireless.radio0=wifi-device
    wireless.radio0.type='mac80211'
    wireless.radio0.hwmode='11g'
    wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
    wireless.radio0.legacy_rates='0'
    wireless.radio0.country='PL'
    wireless.radio0.htmode='HT20'
    wireless.radio0.channel='12'
    wireless.default_radio0=wifi-iface
    wireless.default_radio0.device='radio0'
    wireless.default_radio0.network='lan'
    wireless.default_radio0.mode='ap'
    wireless.default_radio0.ssid='my_ssid'
    wireless.default_radio0.wpa_disable_eapol_key_retries='1'
    wireless.default_radio0.key='my_key'
    wireless.default_radio0.hidden='1'
    wireless.default_radio0.encryption='psk2'
  • uci set 'wireless.radio0.channel=auto'
  • uci commit wireless
  • sleep 1
  • logread -f
  • logger start testing channel auto
    Wed Dec 30 04:16:49 2020 user.notice root: start testing channel auto
  • wifi
  • sleep 3
    Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8880): command failed: No error information (-524)
    Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8900): command failed: No error information (-524)
    Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
    Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8900): command failed: Not supported (-95)
    Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
    Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8900): command failed: I/O error (-5)
    Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
    Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8900): command failed: Too many open files in system (-23)
    Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
    Wed Dec 30 04:16:49 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
    Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Wed Dec 30 04:16:49 2020 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
    Wed Dec 30 04:16:49 2020 kern.info kernel: [ 8817.154489] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Wed Dec 30 04:16:49 2020 kern.err kernel: [ 8817.166683] ieee80211 phy0: brcmf_run_escan: error (-52)
    Wed Dec 30 04:16:49 2020 kern.err kernel: [ 8817.173057] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
    Wed Dec 30 04:16:49 2020 kern.err kernel: [ 8817.184908] ieee80211 phy0: brcmf_run_escan: error (-52)
    Wed Dec 30 04:16:49 2020 kern.err kernel: [ 8817.191232] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
    Wed Dec 30 04:16:49 2020 daemon.err hostapd: ACS: Failed to request initial scan
    Wed Dec 30 04:16:49 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
    Wed Dec 30 04:16:49 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel
    Wed Dec 30 04:16:49 2020 daemon.err hostapd: Could not select hw_mode and channel. (-3)
    Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
    Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Dec 30 04:16:49 2020 daemon.err hostapd: wlan0: Unable to setup interface.
    Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
    Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
    Wed Dec 30 04:16:49 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
    Wed Dec 30 04:16:49 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Wed Dec 30 04:16:50 2020 daemon.notice netifd: radio0 (8900): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 8118 path ()
    Wed Dec 30 04:16:50 2020 daemon.notice netifd: radio0 (8900): Device setup failed: HOSTAPD_START_FAILED
  • logger end testing channel auto
    Wed Dec 30 04:16:52 2020 user.notice root: end testing channel auto
  • kill '%1'
  • pkill -9 logread
  • set -x
  • uci show wireless
    wireless.radio0=wifi-device
    wireless.radio0.type='mac80211'
    wireless.radio0.hwmode='11g'
    wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
    wireless.radio0.legacy_rates='0'
    wireless.radio0.country='PL'
    wireless.radio0.htmode='HT20'
    wireless.radio0.channel='auto'
    wireless.default_radio0=wifi-iface
    wireless.default_radio0.device='radio0'
    wireless.default_radio0.network='lan'
    wireless.default_radio0.mode='ap'
    wireless.default_radio0.ssid='my_ssid'
    wireless.default_radio0.wpa_disable_eapol_key_retries='1'
    wireless.default_radio0.key='my_key'
    wireless.default_radio0.hidden='1'
    wireless.default_radio0.encryption='psk2'
  • uci set 'wireless.radio0.channel=11'
  • uci commit wireless
  • sleep 1
  • logread -f
  • logger start testing channel 11
    Wed Dec 30 04:16:53 2020 user.notice root: start testing channel 11
  • wifi
  • sleep 3
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8970): command failed: No error information (-524)
    Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8990): command failed: No error information (-524)
    Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8990): command failed: Not supported (-95)
    Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8990): command failed: I/O error (-5)
    Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8990): command failed: Too many open files in system (-23)
    Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
    Wed Dec 30 04:16:53 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
    Wed Dec 30 04:16:53 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Wed Dec 30 04:16:53 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
    Wed Dec 30 04:16:53 2020 daemon.err hostapd: Using interface wlan0 with hwaddr MAC_ADDRESS_WAS_HERE and ssid "my_ssid"
    Wed Dec 30 04:16:53 2020 kern.info kernel: [ 8821.268054] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Wed Dec 30 04:16:53 2020 kern.info kernel: [ 8821.429792] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    Wed Dec 30 04:16:53 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ENABLED
    Wed Dec 30 04:16:53 2020 daemon.notice hostapd: wlan0: AP-ENABLED
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: Network device 'wlan0' link is up
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: Interface 'lan' is enabled
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: Interface 'lan' is setting up now
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: Interface 'lan' is now up
    Wed Dec 30 04:16:53 2020 daemon.notice netifd: Interface 'lan' has link connectivity
    Wed Dec 30 04:16:54 2020 user.notice firewall: Reloading firewall due to ifup of lan (wlan0)
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[8765]: exiting on receipt of SIGTERM
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: started, version 2.80 cachesize 150
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: DNS service limited to local subnets
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq-dhcp[9156]: DHCP, IP range IP_ADDRESS_WAS_HERE -- IP_ADDRESS_WAS_HERE, lease time 12h
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain test
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain onion
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain localhost
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain local
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain invalid
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain bind
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain lan
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: reading /tmp/resolv.conf.auto
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain test
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain onion
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain localhost
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain local
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain invalid
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain bind
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain lan
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using nameserver IP_ADDRESS_WAS_HERE#53
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using nameserver IP_ADDRESS_WAS_HERE#53
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: read /etc/hosts - 4 addresses
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
    Wed Dec 30 04:16:55 2020 daemon.info dnsmasq-dhcp[9156]: read /etc/ethers - 0 addresses
  • logger end testing channel 11
    Wed Dec 30 04:16:56 2020 user.notice root: end testing channel 11
  • kill '%1'
  • pkill -9 logread
  • iw list
    Wiphy phy0
    max # scan SSIDs: 10
    max scan IEs length: 2048 bytes
    max # sched scan SSIDs: 0
    max # match sets: 0
    max # scan plans: 1
    max scan plan interval: -1
    max scan plan iterations: 0
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Available Antennas: TX 0 RX 0
    Supported interface modes:
    * IBSS
    * managed
    * AP
    * P2P-client
    * P2P-GO
    * P2P-device
    Band 1:
    Capabilities: 0x1020
    HT20
    Static SM Power Save
    RX HT20 SGI
    No RX STBC
    Max AMSDU length: 3839 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: 16 usec (0x07)
    HT TX/RX MCS rate indexes supported: 0-7
    Frequencies:
    * 2412 MHz [1] (20.0 dBm)
    * 2417 MHz [2] (20.0 dBm)
    * 2422 MHz [3] (20.0 dBm)
    * 2427 MHz [4] (20.0 dBm)
    * 2432 MHz [5] (20.0 dBm)
    * 2437 MHz [6] (20.0 dBm)
    * 2442 MHz [7] (20.0 dBm)
    * 2447 MHz [8] (20.0 dBm)
    * 2452 MHz [9] (20.0 dBm)
    * 2457 MHz [10] (20.0 dBm)
    * 2462 MHz [11] (20.0 dBm)
    * 2467 MHz [12] (20.0 dBm)
    * 2472 MHz [13] (20.0 dBm)
    * 2484 MHz [14] (disabled)
    valid interface combinations:
    * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
    total <= 3, #channels <= 2
    * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
    total <= 4, #channels <= 1
    Supported extended features:
    * [ 4WAY_HANDSHAKE_STA_PSK ]: 4-way handshake with PSK in station mode
    * [ 4WAY_HANDSHAKE_STA_1X ]: 4-way handshake with 802.1X in station mode
  • iwlist wlan0 channel
    wlan0 13 channels in total; available frequencies :
    Channel 01 : 2.412 GHz
    Channel 02 : 2.417 GHz
    Channel 03 : 2.422 GHz
    Channel 04 : 2.427 GHz
    Channel 05 : 2.432 GHz
    Channel 06 : 2.437 GHz
    Channel 07 : 2.442 GHz
    Channel 08 : 2.447 GHz
    Channel 09 : 2.452 GHz
    Channel 10 : 2.457 GHz
    Channel 11 : 2.462 GHz
    Channel 12 : 2.467 GHz
    Channel 13 : 2.472 GHz
@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Dec 30, 2020

twojstaryzdomu:

The issue is seen with the OpenWrt release 19.07.5

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Feb 10, 2021

twojstaryzdomu:

The issue is still applicable to 19.07.6:

+ logread
Wed Feb 10 15:25:19 2021 kern.err kernel: [ 6.802299] firmware brcm!brcmfmac43430-sdio.clm_blob: firmware_loading_store: map pages failed
Wed Feb 10 15:25:19 2021 kern.info kernel: [ 6.813388] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available
Wed Feb 10 15:25:19 2021 kern.info kernel: [ 6.830536] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version <redacted_IP> (r674442 CY) FWID 01-e58d219f
Wed Feb 10 15:25:19 2021 kern.info kernel: [ 6.889274] usbcore: registered new interface driver brcmfmac
Wed Feb 10 15:30:16 2021 kern.err kernel: [ 304.967595] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -52
Wed Feb 10 15:31:38 2021 kern.err kernel: [ 386.877722] ieee80211 phy0: brcmf_run_escan: error (-52)
Wed Feb 10 15:31:38 2021 kern.err kernel: [ 386.884113] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
Wed Feb 10 15:31:38 2021 kern.err kernel: [ 386.896279] ieee80211 phy0: brcmf_run_escan: error (-52)
Wed Feb 10 15:31:38 2021 kern.err kernel: [ 386.902606] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
Wed Feb 10 15:41:02 2021 kern.err kernel: [ 951.276839] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -52
Wed Feb 10 15:42:26 2021 kern.err kernel: [ 1034.865263] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -52
Wed Feb 10 15:48:52 2021 kern.err kernel: [ 1421.162677] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -52

  • iw reg get
    global
    country PL: DFS-ETSI
    (2400 - 2483 @ 40), (N/A, 20), (N/A)
    (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
    (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
    (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
    (5725 - 5875 @ 80), (N/A, 13), (N/A)
    (57000 - 66000 @ 2160), (N/A, 40), (N/A)

  • uci show wireless
    wireless.radio0=wifi-device
    wireless.radio0.type='mac80211'
    wireless.radio0.hwmode='11g'
    wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
    wireless.radio0.country='PL'
    wireless.radio0.htmode='HT20'
    wireless.radio0.channel='11'
    wireless.wifinet0=wifi-iface
    wireless.wifinet0.network='wwan'
    wireless.wifinet0.device='radio0'
    wireless.wifinet0.key='<redacted_key>'
    wireless.wifinet0.mode='sta'
    wireless.wifinet0.ssid='<redacted_ssid>'
    wireless.wifinet0.disabled='1'
    wireless.wifinet1=wifi-iface
    wireless.wifinet1.ssid='OpenWrt'
    wireless.wifinet1.device='radio0'
    wireless.wifinet1.mode='ap'
    wireless.wifinet1.network='lan'
    wireless.wifinet1.key='<redacted_key>'

  • uci set 'wireless.radio0.channel=auto'

  • uci commit wireless

  • sleep 1

  • logger start testing channel auto

  • logread -f

  • wifi

  • sleep 10
    Wed Feb 10 15:51:42 2021 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
    Wed Feb 10 15:51:42 2021 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Feb 10 15:51:42 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
    Wed Feb 10 15:51:42 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Wed Feb 10 15:51:42 2021 kern.info kernel: [ 1590.761199] device wlan0 left promiscuous mode
    Wed Feb 10 15:51:42 2021 kern.info kernel: [ 1590.767379] br-lan: port 2(wlan0) entered disabled state
    Wed Feb 10 15:51:42 2021 daemon.notice netifd: Network device 'wlan0' link is down
    Wed Feb 10 15:51:43 2021 daemon.notice netifd: radio0 (4810): command failed: No error information (-524)
    Wed Feb 10 15:51:43 2021 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Feb 10 15:51:43 2021 daemon.notice netifd: radio0 (4830): command failed: No error information (-524)
    Wed Feb 10 15:51:43 2021 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Feb 10 15:51:43 2021 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
    Wed Feb 10 15:51:43 2021 daemon.notice netifd: radio0 (4830): command failed: Not supported (-95)
    Wed Feb 10 15:51:43 2021 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
    Wed Feb 10 15:51:43 2021 daemon.notice netifd: radio0 (4830): command failed: I/O error (-5)
    Wed Feb 10 15:51:43 2021 user.notice mac80211: Failed command: iw phy phy0 set distance 0
    Wed Feb 10 15:51:43 2021 daemon.notice netifd: radio0 (4830): command failed: Too many open files in system (-23)
    Wed Feb 10 15:51:43 2021 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
    Wed Feb 10 15:51:43 2021 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
    Wed Feb 10 15:51:43 2021 kern.info kernel: [ 1592.011009] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Wed Feb 10 15:51:43 2021 kern.info kernel: [ 1592.019205] br-lan: port 2(wlan0) entered blocking state
    Wed Feb 10 15:51:43 2021 kern.info kernel: [ 1592.025484] br-lan: port 2(wlan0) entered disabled state
    Wed Feb 10 15:51:43 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Wed Feb 10 15:51:43 2021 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
    Wed Feb 10 15:51:43 2021 kern.info kernel: [ 1592.031873] device wlan0 entered promiscuous mode
    Wed Feb 10 15:51:43 2021 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ACS
    Wed Feb 10 15:51:43 2021 daemon.notice hostapd: wlan0: ACS-STARTED
    Wed Feb 10 15:51:50 2021 daemon.err hostapd: ACS: Unable to collect survey data
    Wed Feb 10 15:51:50 2021 daemon.err hostapd: ACS: All study options have failed
    Wed Feb 10 15:51:50 2021 daemon.err hostapd: Interface initialization failed
    Wed Feb 10 15:51:50 2021 daemon.notice hostapd: wlan0: interface state ACS->DISABLED
    Wed Feb 10 15:51:50 2021 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Feb 10 15:51:50 2021 daemon.err hostapd: ACS: Possibly channel configuration is invalid, please report this along with your config file.
    Wed Feb 10 15:51:50 2021 daemon.err hostapd: ACS: Failed to start
    Wed Feb 10 15:51:50 2021 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Feb 10 15:51:50 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
    Wed Feb 10 15:51:50 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Wed Feb 10 15:51:50 2021 kern.info kernel: [ 1598.921212] device wlan0 left promiscuous mode
    Wed Feb 10 15:51:50 2021 kern.info kernel: [ 1598.927380] br-lan: port 2(wlan0) entered disabled state
    Wed Feb 10 15:51:51 2021 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
    Wed Feb 10 15:51:51 2021 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
    Wed Feb 10 15:51:51 2021 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Feb 10 15:51:51 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
    Wed Feb 10 15:51:51 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
    Wed Feb 10 15:51:51 2021 kern.info kernel: [ 1599.578967] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

  • logger end testing channel auto
    Wed Feb 10 15:51:52 2021 user.notice root: end testing channel auto

  • uci set 'wireless.radio0.channel=13'

  • uci commit wireless

  • sleep 1

  • logger start testing channel 13

  • logread -f

  • wifi

  • sleep 10
    Wed Feb 10 15:51:53 2021 daemon.notice netifd: radio0 (4906): command failed: No error information (-524)
    Wed Feb 10 15:51:53 2021 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Feb 10 15:51:54 2021 daemon.notice netifd: radio0 (4926): command failed: No error information (-524)
    Wed Feb 10 15:51:54 2021 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Feb 10 15:51:54 2021 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
    Wed Feb 10 15:51:54 2021 daemon.notice netifd: radio0 (4926): command failed: Not supported (-95)
    Wed Feb 10 15:51:54 2021 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
    Wed Feb 10 15:51:54 2021 daemon.notice netifd: radio0 (4926): command failed: I/O error (-5)
    Wed Feb 10 15:51:54 2021 user.notice mac80211: Failed command: iw phy phy0 set distance 0
    Wed Feb 10 15:51:54 2021 daemon.notice netifd: radio0 (4926): command failed: Too many open files in system (-23)
    Wed Feb 10 15:51:54 2021 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
    Wed Feb 10 15:51:54 2021 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
    Wed Feb 10 15:51:54 2021 kern.info kernel: [ 1602.486940] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Wed Feb 10 15:51:54 2021 kern.info kernel: [ 1602.495202] br-lan: port 2(wlan0) entered blocking state
    Wed Feb 10 15:51:54 2021 kern.info kernel: [ 1602.501494] br-lan: port 2(wlan0) entered disabled state
    Wed Feb 10 15:51:54 2021 kern.info kernel: [ 1602.507819] device wlan0 entered promiscuous mode
    Wed Feb 10 15:51:54 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Wed Feb 10 15:51:54 2021 daemon.warn hostapd: wlan0: Could not connect to kernel driver
    Wed Feb 10 15:51:54 2021 daemon.err hostapd: Using interface wlan0 with hwaddr <redacted_MAC> and ssid "OpenWrt"
    Wed Feb 10 15:51:54 2021 daemon.err hostapd: Failed to set beacon parameters
    Wed Feb 10 15:51:54 2021 daemon.warn hostapd: wlan0: Could not connect to kernel driver
    Wed Feb 10 15:51:54 2021 daemon.err hostapd: Interface initialization failed
    Wed Feb 10 15:51:54 2021 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
    Wed Feb 10 15:51:54 2021 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Feb 10 15:51:54 2021 daemon.err hostapd: wlan0: Unable to setup interface.
    Wed Feb 10 15:51:54 2021 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
    Wed Feb 10 15:51:54 2021 daemon.notice hostapd: wlan0: AP-DISABLED
    Wed Feb 10 15:51:54 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
    Wed Feb 10 15:51:54 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
    Wed Feb 10 15:51:54 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Wed Feb 10 15:51:54 2021 kern.err kernel: [ 1602.632812] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -52
    Wed Feb 10 15:51:54 2021 kern.info kernel: [ 1602.701230] device wlan0 left promiscuous mode
    Wed Feb 10 15:51:54 2021 kern.info kernel: [ 1602.707408] br-lan: port 2(wlan0) entered disabled state
    Wed Feb 10 15:51:55 2021 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x7fb492de40 user_data=0 handler=0x41d078
    Wed Feb 10 15:51:55 2021 daemon.notice netifd: radio0 (4926): Device setup failed: HOSTAPD_START_FAILED

  • logger end testing channel 13
    Wed Feb 10 15:52:03 2021 user.notice root: end testing channel 13

  • uci set 'wireless.radio0.channel=11'

  • uci commit wireless

  • sleep 1

  • logger start testing channel 11

  • logread -f

  • wifi

  • sleep 10
    Wed Feb 10 15:52:04 2021 daemon.notice netifd: radio0 (5005): command failed: No error information (-524)
    Wed Feb 10 15:52:04 2021 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Feb 10 15:52:04 2021 daemon.notice netifd: radio0 (5025): command failed: No error information (-524)
    Wed Feb 10 15:52:04 2021 user.notice mac80211: Failed command: iw dev wlan0 del
    Wed Feb 10 15:52:04 2021 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
    Wed Feb 10 15:52:04 2021 daemon.notice netifd: radio0 (5025): command failed: Not supported (-95)
    Wed Feb 10 15:52:04 2021 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
    Wed Feb 10 15:52:04 2021 daemon.notice netifd: radio0 (5025): command failed: I/O error (-5)
    Wed Feb 10 15:52:04 2021 user.notice mac80211: Failed command: iw phy phy0 set distance 0
    Wed Feb 10 15:52:04 2021 daemon.notice netifd: radio0 (5025): command failed: Too many open files in system (-23)
    Wed Feb 10 15:52:04 2021 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
    Wed Feb 10 15:52:04 2021 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
    Wed Feb 10 15:52:04 2021 kern.info kernel: [ 1613.044899] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Wed Feb 10 15:52:04 2021 kern.info kernel: [ 1613.055409] br-lan: port 2(wlan0) entered blocking state
    Wed Feb 10 15:52:04 2021 kern.info kernel: [ 1613.062411] br-lan: port 2(wlan0) entered disabled state
    Wed Feb 10 15:52:04 2021 kern.info kernel: [ 1613.069448] device wlan0 entered promiscuous mode
    Wed Feb 10 15:52:04 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Wed Feb 10 15:52:04 2021 daemon.warn hostapd: wlan0: Could not connect to kernel driver
    Wed Feb 10 15:52:04 2021 daemon.err hostapd: Using interface wlan0 with hwaddr <redacted_MAC> and ssid "OpenWrt"
    Wed Feb 10 15:52:04 2021 kern.info kernel: [ 1613.247438] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    Wed Feb 10 15:52:04 2021 kern.info kernel: [ 1613.255664] br-lan: port 2(wlan0) entered blocking state
    Wed Feb 10 15:52:04 2021 kern.info kernel: [ 1613.262647] br-lan: port 2(wlan0) entered forwarding state
    Wed Feb 10 15:52:04 2021 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ENABLED
    Wed Feb 10 15:52:04 2021 daemon.notice hostapd: wlan0: AP-ENABLED
    Wed Feb 10 15:52:04 2021 daemon.notice netifd: Network device 'wlan0' link is up

  • logger end testing channel 11
    Wed Feb 10 15:52:14 2021 user.notice root: end testing channel 11

  • iw list
    Wiphy phy0
    max # scan SSIDs: 10
    max scan IEs length: 2048 bytes
    max # sched scan SSIDs: 16
    max # match sets: 16
    max # scan plans: 1
    max scan plan interval: 508
    max scan plan iterations: 0
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Available Antennas: TX 0 RX 0
    Supported interface modes:
    * IBSS
    * managed
    * AP
    * P2P-client
    * P2P-GO
    * P2P-device
    Band 1:
    Capabilities: 0x1020
    HT20
    Static SM Power Save
    RX HT20 SGI
    No RX STBC
    Max AMSDU length: 3839 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: 16 usec (0x07)
    HT TX/RX MCS rate indexes supported: 0-7
    Frequencies:
    * 2412 MHz [1] (20.0 dBm)
    * 2417 MHz [2] (20.0 dBm)
    * 2422 MHz [3] (20.0 dBm)
    * 2427 MHz [4] (20.0 dBm)
    * 2432 MHz [5] (20.0 dBm)
    * 2437 MHz [6] (20.0 dBm)
    * 2442 MHz [7] (20.0 dBm)
    * 2447 MHz [8] (20.0 dBm)
    * 2452 MHz [9] (20.0 dBm)
    * 2457 MHz [10] (20.0 dBm)
    * 2462 MHz [11] (20.0 dBm)
    * 2467 MHz [12] (20.0 dBm)
    * 2472 MHz [13] (20.0 dBm)
    * 2484 MHz [14] (disabled)
    valid interface combinations:
    * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
    total <= 3, #channels <= 2
    * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
    total <= 4, #channels <= 1
    Supported extended features:
    * [ 4WAY_HANDSHAKE_STA_PSK ]: 4-way handshake with PSK in station mode
    * [ 4WAY_HANDSHAKE_STA_1X ]: 4-way handshake with 802.1X in station mode

  • grep OpenWrt /etc/banner
    OpenWrt 19.07.6, r11278-8055e38794

  • uname -a
    Linux raspberrypi 4.14.215 #0 SMP Tue Jan 19 13:10:02 2021 aarch64 GNU/Linux
    43430a1-roml/sdio-g-pool-p2p-idsup-idauth-pno-pktfilter-wowlpf-keepalive-aoe-lpc-swdiv-srfast-fuart Version: 7.45.98.38 (r674442 CY) CRC: ffb2ee5a Date: Mon 2017-10-23 03:58:00 PDT Ucode Ver: 1043.2099 FWID 01-e58d219f
    DVID 01-3b702d60

@aparcar aparcar added the release/19.07 label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/19.07
Projects
None yet
Development

No branches or pull requests

2 participants