[FS#791] Broken STA causing 2.4G wireless failure on ath10k

LEDE Bugs lede-bugs at lists.infradead.org
Wed May 17 10:40:51 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Ian MacDonald (imac) 

Attached to Project - LEDE Project
Summary - Broken STA causing 2.4G wireless failure on ath10k
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - Device: Archer C7 AC1750
Version: 17.01.1

We have a Samsung Multifunction printer connected to 2.4G.  For some reason, it sometimes goes to sleep in way that it can't be woke from with out a power reset.  While this is happening, we see the following activity in our LEDE logs.

Wed May 17 13:02:21 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: associated (aid 3)
Wed May 17 13:02:25 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: authenticated
Wed May 17 13:02:25 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: associated (aid 3)
Wed May 17 13:02:29 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: authenticated
Wed May 17 13:02:29 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: associated (aid 3)
Wed May 17 13:02:34 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: authenticated
Wed May 17 13:02:34 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: associated (aid 3)
Wed May 17 13:02:38 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: authenticated
Wed May 17 13:02:38 2017 daemon.info hostapd: wlan1: STA 30:cd:a7:a2:a7:81 IEEE 802.11: associated (aid 3)

Although no errors appear in the logs, eventually the 2.4G wifi stops working (all 2.4 clients disconnected).  The next morning we execute a quick 'wifi' and the system is restored. 

We have a number of C7s running LEDE with no issues like this, but also without broken clients like this printer. 

We upgraded the printer to hopefully make this problem go away (fingers crossed) but seemed like a worthwhile observation to log here in the event that we might help improve the robustness of the AP. 

[   11.696716] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   11.702619] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   11.924065] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   11.934954] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.069249] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   12.358525] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   12.367925] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   12.380955] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[   12.391740] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   12.402341] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.485625] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   12.507338] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   13.675416] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   13.786590] ath: EEPROM regdomain: 0x0
[   13.786606] ath: EEPROM indicates default country code should be used
[   13.786614] ath: doing EEPROM country->regdmn map search
[   13.786631] ath: country maps to regdmn code: 0x3a
[   13.786640] ath: Country alpha2 being used: US
[   13.786648] ath: Regpair used: 0x3a

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca955x_wmac'
	option channel '11'
	option htmode 'HT40-'
	option txpower '24'
	option ht_coex '0'
	option noscan '1'
	option country 'US'

config wifi-iface
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option ssid 'xxx'
	option key 'xxx'
	option encryption 'psk2+ccmp'

Client was a M2885FW printer running firmware V3.00.01.06 upgraded to V3.00.01.16. 


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=791



More information about the lede-bugs mailing list