]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7996: fix definition of tx descriptor
authorBenjamin Lin <benjamin-jw.lin@mediatek.com>
Tue, 14 Jan 2025 10:10:23 +0000 (18:10 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 14 Jan 2025 12:42:30 +0000 (13:42 +0100)
commit14749fe2ed360c92c1a2a76dac0b77f759234981
tree5dde76e918a7a1196640ba7ee1b0f9645ced1325
parent5b20557593d46d0687bd9c88df767830b199a4ee
wifi: mt76: mt7996: fix definition of tx descriptor

For mt7992 chipsets, the definition of TXD.DW6.BIT10~15 has different
interpretations on different frame types. Driver only needs to fill
MSDU_CNT for non-management frames.

Fixes: 408566db8cad ("wifi: mt76: connac: add new definition of tx descriptor")
Co-developed-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Benjamin Lin <benjamin-jw.lin@mediatek.com>
Link: https://patch.msgid.link/20250114101026.3587702-6-shayne.chen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mac.c