aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShayne Chen <[email protected]>2022-11-10 17:35:18 +0800
committerFelix Fietkau <[email protected]>2022-12-01 17:29:13 +0100
commit6deaf96ddd0b6894d7f36513d74635b40e337a26 (patch)
tree66f12bddb6179d20977e38be661a00f0fc171772
parent4c07129b05e42a0415ee409bf5958ac62e7e969e (diff)
wifi: mt76: connac: update struct sta_rec_phy
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 <[email protected]> Signed-off-by: Shayne Chen <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
index d0a4331f6f63..97965b03c5e2 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
@@ -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 {