wifi: mt76: mt7996: fix the size of struct bss_rate_tlv
authorSujuan Chen <sujuan.chen@mediatek.com>
Mon, 23 Oct 2023 15:38:49 +0000 (23:38 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 7 Dec 2023 17:50:21 +0000 (18:50 +0100)
Align the format of struct bss_rate_tlv to the firmware.

Fixes: 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mcu.h

index a2700151ee1c0ddac377f7b95a8a7c969b649939..d3ac6ac0e5c96094af3e11e3eacfb5c797b53973 100644 (file)
@@ -320,7 +320,7 @@ struct bss_rate_tlv {
        u8 short_preamble;
        u8 bc_fixed_rate;
        u8 mc_fixed_rate;
-       u8 __rsv2[1];
+       u8 __rsv2[9];
 } __packed;
 
 struct bss_ra_tlv {