OSDN Git Service

wifi: mt76: mt7915: remove VHT160 capability on MT7915
authorFelix Fietkau <nbd@nbd.name>
Fri, 14 Jul 2023 08:57:15 +0000 (10:57 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 26 Jul 2023 09:15:04 +0000 (11:15 +0200)
The IEEE80211_VHT_CAP_EXT_NSS_BW value already indicates support for half-NSS
160 MHz support, so it is wrong to also advertise full 160 MHz support.

Fixes: c2f73eacee3b ("wifi: mt76: mt7915: add back 160MHz channel width support for MT7915")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/init.c

index ee97665..78552f1 100644 (file)
@@ -414,7 +414,6 @@ mt7915_init_wiphy(struct mt7915_phy *phy)
                        if (!dev->dbdc_support)
                                vht_cap->cap |=
                                        IEEE80211_VHT_CAP_SHORT_GI_160 |
-                                       IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ |
                                        FIELD_PREP(IEEE80211_VHT_CAP_EXT_NSS_BW_MASK, 1);
                } else {
                        vht_cap->cap |=