greearb / ath10k-ct

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

qca9984 wifi problem with deauth timer #36

Open Ansuel opened 5 years ago

Ansuel commented 5 years ago

Please provide this info. See this link for more info on how to gather debug info: http://www.candelatech.com/ath10k-bugs.php

Description of the problem (how to configure, how to reproduce, how often it happens). My phone, samsung galaxy s8 lost connection my times due to deauth timer.

Software (OS, Firmware version, kernel, driver, etc) Openwrt Trunk

Hardware (NIC chipset, platform, etc) qca9984

Logs (dmesg, maybe supplicant and/or hostap) Sat Sep 29 21:16:01 2018 daemon.info hostapd: wlan1: STA 30:07:4d:1b:ee:6c IEEE 802.11: disconnected due to excessive missing ACKs Sat Sep 29 21:16:01 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 30:07:4d:1b:ee:6c Sat Sep 29 21:16:31 2018 daemon.info hostapd: wlan1: STA 30:07:4d:1b:ee:6c IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) Sat Sep 29 21:19:45 2018 daemon.info hostapd: wlan1: STA 30:07:4d:1b:ee:6c IEEE 802.11: authenticated Sat Sep 29 21:19:45 2018 daemon.info hostapd: wlan1: STA 30:07:4d:1b:ee:6c IEEE 802.11: associated (aid 1)

mocmocamoc commented 5 years ago

I'm seeing the same issue with a Pixel 2 XL phone. My desktop with an Intel 9260 adapter has no problems and maintains a stable connection.

greearb commented 5 years ago

Does this only happen with ath10k-ct firmware?

I'd disable the low-ack disconnect option, probably you can do this in LUCI or similar. Does that make the problem go away?

ironpillow commented 5 years ago

I am seeing the same problem with MacBook Pro 2019.

Hardware: QCA9948 and openwrt: snapshot compiled on 04_01_2019.

driver: ath10k_pci version: 4.14.109 firmware-version: 10.4b-ct-9984-fW-012-604ef8d6a expansion-rom-version: bus-info: 0000:00:00.0 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no

Please see this line: Fri Apr 5 00:13:07 2019 daemon.info hostapd: wlan0-ap: STA 38:f9:d3:a1:2c:12 IEEE 802.11: disconnected due to excessive missing ACKs

Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA 38:f9:d3:a1:2c:12 IEEE 802.11:authentication OK (open system)
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA 38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: Drop repeated authentication frame
seq_ctrl=0x42b0
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: Drop repeated authentication frame
seq_ctrl=0x42b0
Thu Apr  4 23:43:20 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: Drop repeated authentication frame
seq_ctrl=0x42b0
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: Drop repeated authentication frame
seq_ctrl=0x42b0
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: Drop repeated authentication frame
seq_ctrl=0x42b0
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: Drop repeated authentication frame
seq_ctrl=0x42b0
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:20 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:20 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:21 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:21 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:21 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:21 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Thu Apr  4 23:43:24 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Thu Apr  4 23:43:24 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:24 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:24 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Thu Apr  4 23:43:24 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Thu Apr  4 23:43:24 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:24 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:24 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:25 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:25 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authenticated
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: association OK (aid 4)
Thu Apr  4 23:43:25 2019 daemon.notice hostapd: wlan0-ap:
STA-OPMODE-N_SS-CHANGED 38:f9:d3:a1:2c:12 3
Thu Apr  4 23:43:25 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: associated (aid 4)
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-ASSOCIATE.indication(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: binding station to interface 'wlan0-ap'
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: event 1 notification
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: start authentication
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.1X: unauthorizing port
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: sending 1/4 msg of 4-Way Handshake
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: received EAPOL-Key frame (2/4 Pairwise)
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: sending 3/4 msg of 4-Way Handshake
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: received EAPOL-Key frame (4/4 Pairwise)
Thu Apr  4 23:43:25 2019 daemon.notice hostapd: wlan0-ap:
AP-STA-CONNECTED 38:f9:d3:a1:2c:12
Thu Apr  4 23:43:25 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.1X: authorizing port
Thu Apr  4 23:43:25 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 RADIUS: starting accounting session F6D97094B7FC98D9
Thu Apr  4 23:43:25 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: pairwise key handshake completed (RSN)
Thu Apr  4 23:47:08 2019 daemon.notice hostapd: wlan0-ap:
AP-STA-POLL-OK b8:27:eb:51:37:79
Thu Apr  4 23:52:24 2019 daemon.notice hostapd: wlan0-ap:
AP-STA-POLL-OK b8:27:eb:51:37:79
Fri Apr  5 00:03:20 2019 daemon.notice hostapd: wlan0-ap:
AP-STA-POLL-OK b8:27:eb:51:37:79
Fri Apr  5 00:08:26 2019 daemon.notice hostapd: wlan0-ap:
AP-STA-POLL-OK b8:27:eb:51:37:79
Fri Apr  5 00:13:07 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: disconnected due to excessive missing
ACKs
Fri Apr  5 00:13:07 2019 daemon.notice hostapd: wlan0-ap:
AP-STA-DISCONNECTED 38:f9:d3:a1:2c:12
Fri Apr  5 00:13:07 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-DISASSOCIATE.indication(38:f9:d3:a1:2c:12, 34)
Fri Apr  5 00:13:07 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: event 0 notification
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Fri Apr  5 00:13:13 2019 daemon.notice hostapd: wlan0-ap:
STA-OPMODE-N_SS-CHANGED 38:f9:d3:a1:2c:12 1
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: Drop repeated authentication frame
seq_ctrl=0x92b0
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: Drop repeated authentication frame
seq_ctrl=0x92b0
Fri Apr  5 00:13:13 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: event 0 notification
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Fri Apr  5 00:13:13 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Fri Apr  5 00:13:13 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: event 0 notification
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Fri Apr  5 00:13:14 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: event 0 notification
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Fri Apr  5 00:13:14 2019 daemon.notice hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: did not acknowledge authentication
response
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authentication OK (open system)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: event 0 notification
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME:
MLME-AUTHENTICATE.indication(38:f9:d3:a1:2c:12, OPEN_SYSTEM)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Fri Apr  5 00:13:14 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: authenticated
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: association OK (aid 4)
Fri Apr  5 00:13:14 2019 daemon.notice hostapd: wlan0-ap:
STA-OPMODE-N_SS-CHANGED 38:f9:d3:a1:2c:12 3
Fri Apr  5 00:13:14 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: associated (aid 4)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-ASSOCIATE.indication(38:f9:d3:a1:2c:12)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 MLME: MLME-DELETEKEYS.request(38:f9:d3:a1:2c:12)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.11: binding station to interface 'wlan0-ap'
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: event 1 notification
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: sending 1/4 msg of 4-Way Handshake
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: received EAPOL-Key frame (2/4 Pairwise)
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: sending 3/4 msg of 4-Way Handshake
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: received EAPOL-Key frame (4/4 Pairwise)
Fri Apr  5 00:13:14 2019 daemon.notice hostapd: wlan0-ap:
AP-STA-CONNECTED 38:f9:d3:a1:2c:12
Fri Apr  5 00:13:14 2019 daemon.debug hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 IEEE 802.1X: authorizing port
Fri Apr  5 00:13:14 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 RADIUS: starting accounting session F6D97094B7FC98D9
Fri Apr  5 00:13:14 2019 daemon.info hostapd: wlan0-ap: STA
38:f9:d3:a1:2c:12 WPA: pairwise key handshake completed (RSN)

I will check with disabling disassoc_low_ack and report back.