From: Zhen XIN <zhen.xin@nokia-sbell.com>
To: Ping-Ke Shih <pkshih@realtek.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [External] RE: [RFC -v1] wifi: rtw88: sdio: Tx status for management frames
Date: Tue, 8 Apr 2025 11:29:37 +0800 [thread overview]
Message-ID: <b7651a17-afeb-4abd-ae23-29a85a2f6412@nokia-sbell.com> (raw)
On 1/1/1970 8:00 AM, Ping-Ke Shih wrote:
> Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
>>>> @@ -1195,7 +1195,7 @@ static void rtw_sdio_indicate_tx_status(struct rtw_dev *rtwdev,
>>>> skb_pull(skb, rtwdev->chip->tx_pkt_desc_sz);
>>>>
>>>> /* enqueue to wait for tx report */
>>>> - if (info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS) {
>>>> + if (info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS && queue
>>>> + <= RTW_TX_QUEUE_VO) {
>>> Is this because you have seen "failed to get tx report"?
>>> Have you tried to increasing RTW_TX_PROBE_TIMEOUT?
>>>
>>> If it still can't get TX report, we might take this workaround with
>>> comments to mention why we need it. Or a local variable with proper
>>> naming to point out this, like
>>>
>>> bool queue_has_no_tx_report = queue > RTW_TX_QUEUE_VO;
>>>
>>>
>>> By the way, USB behavior is very like to SDIO, but TX report seems to work well.
>> On my RTL8822CS I can confirm your thought:
>> I don't notice any extra "failed to get tx report" messages regardless
>> of whether I have "&& queue <= RTW_TX_QUEUE_VO" or not.
>>
> This workaround might need an chip attribute to enable then.
> Not sure if people in the GitHub thread have experiments on all supported SDIO WiFi chips.
On my RTL8723DS, without condition"&& queue <= RTW_TX_QUEUE_VO", there
are messages in the console:
[ 23.298425] rtw_8723ds mmc2:0001:1: failed to get tx report from firmware
Ever after I doubled the RTW_TX_PROBE_TIMEOUT (500 * 2), there messages
were still there, and AP mode didn't work:
root@OpenWrt:~# iw dev phy0-ap0 station dump Station 04:ea:56:2f:6f:07
(on phy0-ap0) inactive time: 480 ms ... authorized: no authenticated:
yes associated: yes
Seems tx status report didn't reach hostapd.
next reply other threads:[~2025-04-08 3:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 3:29 Zhen XIN [this message]
2025-04-08 12:53 ` Bitterblue Smith
2025-04-09 3:16 ` Zhen Xin (NSB)
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=b7651a17-afeb-4abd-ae23-29a85a2f6412@nokia-sbell.com \
--to=zhen.xin@nokia-sbell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=pkshih@realtek.com \
/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
all inboxes | Powered by JetHome®