]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: rtw89: Add missing TX queue mappings for RTL8922AU
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Sat, 16 May 2026 12:32:12 +0000 (15:32 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 25 May 2026 06:27:32 +0000 (14:27 +0800)
A user with MLO-capable router reports:

[ 753.080409] rtw89_8922au_git 2-2:1.0: Cannot map qsel to dma v2: 26
[ 753.080417] rtw89_8922au_git 2-2:1.0: Cannot map qsel to dma v2: 26
[ 813.649426] rtw89_8922au_git 2-2:1.0: Cannot map qsel to dma v2: 26
[ 813.649445] rtw89_8922au_git 2-2:1.0: Cannot map qsel to dma v2: 26
[ 813.855983] rtw89_8922au_git 2-2:1.0: Cannot map qsel to dma v2: 26

Map RTW89_TX_QSEL_B1_MGMT and RTW89_TX_QSEL_B1_HI to RTW89_TXCH_CH10.
This is probably the right channel for these queues.

This function is also used for RTL8852AU and RTL8852CU, but those
currently aren't used in DBCC mode with rtw89 so it makes no difference
for them.

Link: https://github.com/morrownr/rtw89/issues/83#issuecomment-4314735734
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/0c8e0cf1-13e9-4c67-a67f-5f6f79fd0658@gmail.com
drivers/net/wireless/realtek/rtw89/core.c

index 0f3168d853698fe67a0b8ba28ed069f9e7c3406c..c1df3e2ba11e659b3e6c57ac392af63d9eb45d9d 100644 (file)
@@ -854,6 +854,9 @@ u8 rtw89_core_get_ch_dma_v2(struct rtw89_dev *rtwdev, u8 qsel)
        case RTW89_TX_QSEL_B0_MGMT:
        case RTW89_TX_QSEL_B0_HI:
                return RTW89_TXCH_CH8;
+       case RTW89_TX_QSEL_B1_MGMT:
+       case RTW89_TX_QSEL_B1_HI:
+               return RTW89_TXCH_CH10;
        }
 }
 EXPORT_SYMBOL(rtw89_core_get_ch_dma_v2);