wifi: mt76: connac: update struct sta_rec_phy
authorShayne Chen <shayne.chen@mediatek.com>
Thu, 10 Nov 2022 09:35:18 +0000 (17:35 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 1 Dec 2022 16:29:13 +0000 (17:29 +0100)
For connac3 generation, max_ampdu_len should be filled in
struct sta_rec_phy.
This is a preliminary patch to add mt7996 chipset support.

Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h

index d0a4331f6f63ba0684ec2cf570b4d1a8ce378c1f..97965b03c5e2392dcb4a561215bfe85bb4313c3c 100644 (file)
@@ -403,7 +403,8 @@ struct sta_rec_phy {
        u8 ampdu;
        u8 rts_policy;
        u8 rcpi;
-       u8 rsv[2];
+       u8 max_ampdu_len; /* connac3 */
+       u8 rsv[1];
 } __packed;
 
 struct sta_rec_he_6g_capa {