greearb / ath10k-ct

Stand-alone ath10k driver based on Candela Technologies Linux kernel.
111 stars 41 forks source link

9980 ath10k-ct driver warning? (htt firmware 10.4b-ct-9980-fH-012-38a5514c) #74

Closed ghost closed 5 years ago

ghost commented 5 years ago

dmesg here. 1 day up after building from openwrt master 2 days ago. (prior ct htt-firmware 14+ days up no issues.)

I think this is from the ath10k-ct kernel module but I'm not sure.

This happened around the time I was changing channels on 2.4 (started on 11, tried 1 and then 6) in the hope of troubleshooting one iphone dropping on 2.4.

I'm also trying 802.11w (optional on all ifs) which is new to me.

edit: logread snip just before warning in dmesg:

Fri Mar 8 09:29:25 2019 daemon.notice hostapd: wlan1: interface state ENABLED->DISABLED Fri Mar 8 09:29:25 2019 daemon.notice hostapd: wlan1-1: AP-DISABLED Fri Mar 8 09:29:25 2019 daemon.notice hostapd: wlan1-1: CTRL-EVENT-TERMINATING Fri Mar 8 09:29:25 2019 kern.warn kernel: [84918.175917] ath10k_pci 0001:01:00.0: peer-unmap-event: unknown peer id 1 Fri Mar 8 09:29:25 2019 kern.warn kernel: [84918.176046] ath10k_pci 0001:01:00.0: peer-unmap-event: unknown peer id 1 Fri Mar 8 09:29:25 2019 kern.info kernel: [84918.182604] br-guestWLAN: port 1(wlan1-1) entered disabled state Fri Mar 8 09:29:25 2019 daemon.notice netifd: Network device 'wlan1-1' link is down Fri Mar 8 09:29:25 2019 kern.info kernel: [84918.198486] device wlan1-1 left promiscuous mode Fri Mar 8 09:29:25 2019 kern.info kernel: [84918.198518] br-guestWLAN: port 1(wlan1-1) entered disabled state Fri Mar 8 09:29:25 2019 daemon.notice hostapd: nl80211: Failed to remove interface wlan1-1 from bridge br-guestWLAN: No such device Fri Mar 8 09:29:25 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED XX:XX:XX:XX:f7:7a Fri Mar 8 09:29:25 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED XX:XX:XX:XX:75:f7 Fri Mar 8 09:29:25 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED XX:XX:XX:XX:ea:e1 Fri Mar 8 09:29:25 2019 daemon.notice hostapd: wlan1: AP-DISABLED Fri Mar 8 09:29:25 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING Fri Mar 8 09:29:25 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0 Fri Mar 8 09:29:25 2019 kern.info kernel: [84918.383702] device wlan1 left promiscuous mode Fri Mar 8 09:29:25 2019 kern.info kernel: [84918.383929] br-lan: port 3(wlan1) entered disabled state Fri Mar 8 09:29:25 2019 kern.warn kernel: [84918.465283] ath10k_pci 0001:01:00.0: peer-unmap-event: unknown peer id 0 Fri Mar 8 09:29:25 2019 kern.warn kernel: [84918.465377] ath10k_pci 0001:01:00.0: peer-unmap-event: unknown peer id 0 Fri Mar 8 09:29:25 2019 daemon.notice netifd: Network device 'wlan1' link is down Fri Mar 8 09:29:25 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all Fri Mar 8 09:29:25 2019 daemon.notice netifd: radio1 (11952): command failed: Not supported (-95) Fri Mar 8 09:29:25 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0 Fri Mar 8 09:29:26 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf Fri Mar 8 09:29:27 2019 kern.warn kernel: [84920.390192] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96 Fri Mar 8 09:29:27 2019 kern.warn kernel: [84920.390228] ath10k_pci 0001:01:00.0: msdu-desc: 2500 skid: 32 Fri Mar 8 09:29:27 2019 kern.info kernel: [84920.469134] ath10k_pci 0001: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 Mar 8 09:29:27 2019 kern.info kernel: [84920.469934] ath10k_pci 0001:01:00.0: wmi print 'free: 36824 iram: 36580 sram: 10308' Fri Mar 8 09:29:27 2019 kern.warn kernel: [84920.813384] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4 Fri Mar 8 09:29:27 2019 kern.info kernel: [84920.813732] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready Fri Mar 8 09:29:27 2019 kern.info kernel: [84920.828950] br-lan: port 3(wlan1) entered blocking state Fri Mar 8 09:29:27 2019 kern.info kernel: [84920.829156] br-lan: port 3(wlan1) entered disabled state Fri Mar 8 09:29:27 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE Fri Mar 8 09:29:27 2019 daemon.err hostapd: Using interface wlan1 with hwaddr XX:XX:XX:XX:08:5c and ssid "SSIDX24" Fri Mar 8 09:29:27 2019 kern.info kernel: [84920.835436] device wlan1 entered promiscuous mode Fri Mar 8 09:29:28 2019 kern.warn kernel: [84920.853013] ------------[ cut here ]------------

HTH

ghost commented 5 years ago

@greearb

This appears harmless, but I will investigate if I can just remove the WARN_ON entirely.

Thank you for looking.