diff mbox series

[-v2,2/2] wifi: rtw88: sdio: map mgmt frames to queue TX_DESC_QSEL_MGMT

Message ID 20250410154217.1849977-3-zhen.xin@nokia-sbell.com
State New
Headers show
Series wifi: rtw88: sdio: Enable tx status for management frames | expand

Commit Message

Zhen XIN April 10, 2025, 3:42 p.m. UTC
Rtw88-sdio do not work in AP mode due to the lack of tx status report for
management frames.

Map the management frames to queue TX_DESC_QSEL_MGMT, which enables the
chip to generate TX reports for these frames

Tested-on: rtl8723ds

Fixes: 65371a3f14e7 ("wifi: rtw88: sdio: Add HCI implementation for SDIO based chipsets")
Signed-off-by: Zhen XIN <zhen.xin@nokia-sbell.com>
---
 drivers/net/wireless/realtek/rtw88/sdio.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Martin Blumenstingl April 15, 2025, 7:31 p.m. UTC | #1
On Thu, Apr 10, 2025 at 5:46 PM Zhen XIN <zhen.xin@nokia-sbell.com> wrote:
>
> Rtw88-sdio do not work in AP mode due to the lack of tx status report for
Ping-Ke, in case you want to keep the spelling of rtw88 consistent:
can you update it while applying the patch (or do we need a v3)?
Same question for the other patch in this series.

> management frames.
>
> Map the management frames to queue TX_DESC_QSEL_MGMT, which enables the
> chip to generate TX reports for these frames
>
> Tested-on: rtl8723ds
>
> Fixes: 65371a3f14e7 ("wifi: rtw88: sdio: Add HCI implementation for SDIO based chipsets")
> Signed-off-by: Zhen XIN <zhen.xin@nokia-sbell.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Ping-Ke Shih April 16, 2025, 12:32 a.m. UTC | #2
Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
> 
> On Thu, Apr 10, 2025 at 5:46 PM Zhen XIN <zhen.xin@nokia-sbell.com> wrote:
> >
> > Rtw88-sdio do not work in AP mode due to the lack of tx status report for
> Ping-Ke, in case you want to keep the spelling of rtw88 consistent:
> can you update it while applying the patch (or do we need a v3)?
> Same question for the other patch in this series.

I can update commit messages while applying patches. But not sure what you
mentioned. Did you mean to change 'Rtw88-sdio' to 'rtw88-sdio'?
Martin Blumenstingl April 16, 2025, 5:31 a.m. UTC | #3
On Wed, Apr 16, 2025 at 2:33 AM Ping-Ke Shih <pkshih@realtek.com> wrote:
>
> Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
> >
> > On Thu, Apr 10, 2025 at 5:46 PM Zhen XIN <zhen.xin@nokia-sbell.com> wrote:
> > >
> > > Rtw88-sdio do not work in AP mode due to the lack of tx status report for
> > Ping-Ke, in case you want to keep the spelling of rtw88 consistent:
> > can you update it while applying the patch (or do we need a v3)?
> > Same question for the other patch in this series.
>
> I can update commit messages while applying patches. But not sure what you
> mentioned. Did you mean to change 'Rtw88-sdio' to 'rtw88-sdio'?
Indeed, I meant changing Rtw88-sdio to rtw88-sdio

Thank you!
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw88/sdio.c b/drivers/net/wireless/realtek/rtw88/sdio.c
index ef51128a4b44..4311eb7cffef 100644
--- a/drivers/net/wireless/realtek/rtw88/sdio.c
+++ b/drivers/net/wireless/realtek/rtw88/sdio.c
@@ -718,10 +718,7 @@  static u8 rtw_sdio_get_tx_qsel(struct rtw_dev *rtwdev, struct sk_buff *skb,
 	case RTW_TX_QUEUE_H2C:
 		return TX_DESC_QSEL_H2C;
 	case RTW_TX_QUEUE_MGMT:
-		if (rtw_chip_wcpu_11n(rtwdev))
-			return TX_DESC_QSEL_HIGH;
-		else
-			return TX_DESC_QSEL_MGMT;
+		return TX_DESC_QSEL_MGMT;
 	case RTW_TX_QUEUE_HI0:
 		return TX_DESC_QSEL_HIGH;
 	default: