* QCA6174 power save disabled but STA goes to sleep after association or channel switch
@ 2021-01-05 7:17 SEDE
0 siblings, 0 replies; 2+ messages in thread
From: SEDE @ 2021-01-05 7:17 UTC (permalink / raw)
To: ath10k
Setup:
- A PC as client device with a QCA6174A.
- Any access point to connect to.
- Power Save mode has been disabled.
I made a wireshark capture with the following observations:
- packet 10-17 (time = 0.315 s) : authentication and association of the
client
- packet 53 (time = 0.52 s): a data packet from the client
- packet 274 (time = 2.088823 s): QoS null function frame from client to
tell the AP that it goes to sleep
- packet 285 (time = 2.103685 s): QoS null function frame from client
tells the AP that it is awake
This situation with 2 QoS null function packets, with the client going
to sleep in between, happens consistently on startup and after a channel
switch. It never happens again later.
It only occurs with a QCA6174A based module (not seen with a QCA9880).
I am running kernel 4.19.35 on my system, but we I reproduced the issue
on a laptop running kernel 5.4.20. Issue was reproduced with both
firmware versions WLAN.RM.2.0-00180-QCARMSWPZ-1 and
firmware-6.bin_WLAN.RM.4.4.1.c3-00123.
I also enabled the WMI logs and a bit after association or a channel
switch, I am observing this in the kernel logs that two TX pause events
(WMI_TLV_TX_PAUSE_EVENTID) have been reported by the firmware:
wmi tlv tx pause pause_id 1 action 0 vdev_map 0x00000001 peer_id 0
tid_map 0x00000000
wmi tlv tx pause pause_id 1 action 1 vdev_map 0x00000001 peer_id 0
tid_map 0x00000000
where action 0 corresponds to WMI_TLV_TX_PAUSE_ACTION_STOP and action 1
corresponds to WMI_TLV_TX_PAUSE_ACTION_WAKE, pause ID 1 corresponds to
WMI_TLV_TX_PAUSE_ID_MCC (used for multi-channel firmware scheduler).
Even though I made sure multi-channel operation is disabled by calling
ath10k_wmi_tlv_op_gen_adaptive_qcs with enable set to false, it seems
the firmware is not applying any of these settings.
Does anyone know how I can disable this behavior?
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: QCA6174 power save disabled but STA goes to sleep after association or channel switch
@ 2021-01-20 9:21 SEDE
0 siblings, 0 replies; 2+ messages in thread
From: SEDE @ 2021-01-20 9:21 UTC (permalink / raw)
To: ath10k
Hi all,
Does anyone have a clue on this one?
I tried to disable a lot of features, including U-APSD, adaptive OCS and
obviously PS mode,
but still I continuously see these 2 QoS NULL packets being transmitted
about 2 seconds after association (or following a channel switch),
indicating the QCA6174 is paused for a few milliseconds.
If I disable QoS, I obviously do no longer see these 2 frames, even
though it is still reported in WMI events that the QCA6174
was paused by the multi-channel scheduler. However, this is not a
solution for me since I do need QoS for my application.
Help would be highly appreciated on this one.
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-20 9:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 7:17 QCA6174 power save disabled but STA goes to sleep after association or channel switch SEDE
2021-01-20 9:21 SEDE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).