wifi: mt76: mt7996: Fix mt7996_mcu_bss_mld_tlv routine

Update mt7996_mcu_bss_mld_tlv routine to properly support MLO
configuring the BSS.

Fixes: 98686cd21624c ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2025-07-18 20:51:35 +02:00
committed by Felix Fietkau
parent 2601bb91e0
commit 110ecc3311
4 changed files with 72 additions and 7 deletions
+8
View File
@@ -248,11 +248,16 @@ struct mt7996_vif_link {
struct ieee80211_tx_queue_params queue_params[IEEE80211_NUM_ACS];
struct cfg80211_bitrate_mask bitrate_mask;
u8 mld_idx;
};
struct mt7996_vif {
struct mt7996_vif_link deflink; /* must be first */
struct mt76_vif_data mt76;
u8 mld_group_idx;
u8 mld_remap_idx;
};
/* crash-dump */
@@ -337,6 +342,9 @@ struct mt7996_dev {
u32 q_int_mask[MT7996_MAX_QUEUE];
u32 q_wfdma_mask;
u64 mld_idx_mask;
u64 mld_remap_idx_mask;
const struct mt76_bus_ops *bus_ops;
struct mt7996_phy phy;