]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mt76: mt7996: fix FCS error flag check in RX descriptor
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Mon, 13 Oct 2025 09:08:24 +0000 (02:08 -0700)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 Mar 2026 09:22:52 +0000 (09:22 +0000)
commitd8db56142e531f060c938fa0b5175ed6c8cabb11
tree4c2e785ccb86b6772db3612d44a89a461264e372
parent962eb04e67552be406c906c83099c1d736aae3b6
wifi: mt76: mt7996: fix FCS error flag check in RX descriptor

The mt7996 driver currently checks the MT_RXD3_NORMAL_FCS_ERR bit in
rxd1 whereas other Connac3-based drivers(mt7925) correctly check this
bit in rxd3.

Since the MT_RXD3_NORMAL_FCS_ERR bit is defined in the fourth RX
descriptor word (rxd3), update mt7996 to use the proper descriptor
field. This change aligns mt7996 with mt7925 and the rest of the
Connac3 family.

Fixes: 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251013090826.753992-1-alok.a.tiwari@oracle.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mac.c