OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc945b5
)
wifi: mt76: mt7996: enable VHT extended NSS BW feature
author
Peter Chiu
<chui-hao.chiu@mediatek.com>
Mon, 5 Jun 2023 15:21:36 +0000
(23:21 +0800)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 25 Jul 2023 19:59:42 +0000
(21:59 +0200)
Set SUPPORTS_VHT_EXT_NSS_BW to let the max BW capability correctly be
parsed by different devices.
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/mt7996/init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7996/init.c
b/drivers/net/wireless/mediatek/mt76/mt7996/init.c
index
3569fef
..
38ff33a
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7996/init.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7996/init.c
@@
-218,6
+218,8
@@
mt7996_init_wiphy(struct ieee80211_hw *hw)
IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ;
phy->mt76->sband_5g.sband.ht_cap.ampdu_density =
IEEE80211_HT_MPDU_DENSITY_1;
+
+ ieee80211_hw_set(hw, SUPPORTS_VHT_EXT_NSS_BW);
}
mt76_set_stream_caps(phy->mt76, true);