Skip to content

Commit 9265397

Browse files
Peter Chiunbd168
authored andcommitted
wifi: mt76: mt7996: fix wmm set of station interface to 3
According to connac3 HW design, the WMM index of AP and STA interface should be 0 and 3, respectively. Fixes: 98686cd ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices") Signed-off-by: Peter Chiu <[email protected]> Signed-off-by: Shayne Chen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
1 parent 376200f commit 9265397

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7996

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt7996/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ static int mt7996_add_interface(struct ieee80211_hw *hw,
206206
mvif->mt76.omac_idx = idx;
207207
mvif->phy = phy;
208208
mvif->mt76.band_idx = band_idx;
209-
mvif->mt76.wmm_idx = vif->type != NL80211_IFTYPE_AP;
209+
mvif->mt76.wmm_idx = vif->type == NL80211_IFTYPE_AP ? 0 : 3;
210210

211211
ret = mt7996_mcu_add_dev_info(phy, vif, true);
212212
if (ret)

0 commit comments

Comments
 (0)