From: SEDE <s.deronne@televic.com>
To: ath10k <ath10k@lists.infradead.org>
Subject: QCA6174 power save disabled but STA goes to sleep after association or channel switch
Date: Tue, 5 Jan 2021 08:17:37 +0100 [thread overview]
Message-ID: <28a82f52-e4fe-b5e5-f283-3113fdbc9a0d@televic.com> (raw)
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
next reply other threads:[~2021-01-05 7:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-05 7:17 SEDE [this message]
2021-01-20 9:21 QCA6174 power save disabled but STA goes to sleep after association or channel switch SEDE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28a82f52-e4fe-b5e5-f283-3113fdbc9a0d@televic.com \
--to=s.deronne@televic.com \
--cc=ath10k@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).