developer | 064da3c | 2023-06-13 15:57:26 +0800 | [diff] [blame] | 1 | From 1e7bbf8c04d60eb6cd234990f94da73bccd73118 Mon Sep 17 00:00:00 2001 |
| 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Mon, 27 Mar 2023 14:30:25 +0800 |
| 4 | Subject: [PATCH 06/11] wifi: mt76: mt7996: enable VHT extended NSS BW feature |
| 5 | |
| 6 | Set SUPPORTS_VHT_EXT_NSS_BW to let the max BW capability correctly be |
| 7 | parsed by different devices. |
| 8 | |
| 9 | Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 10 | Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> |
| 11 | --- |
| 12 | mt7996/init.c | 2 ++ |
| 13 | 1 file changed, 2 insertions(+) |
| 14 | |
| 15 | diff --git a/mt7996/init.c b/mt7996/init.c |
| 16 | index 004575a0..8247153d 100644 |
| 17 | --- a/mt7996/init.c |
| 18 | +++ b/mt7996/init.c |
| 19 | @@ -217,6 +217,8 @@ mt7996_init_wiphy(struct ieee80211_hw *hw) |
| 20 | IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; |
| 21 | phy->mt76->sband_5g.sband.ht_cap.ampdu_density = |
| 22 | IEEE80211_HT_MPDU_DENSITY_1; |
| 23 | + |
| 24 | + ieee80211_hw_set(hw, SUPPORTS_VHT_EXT_NSS_BW); |
| 25 | } |
| 26 | |
| 27 | mt76_set_stream_caps(phy->mt76, true); |
| 28 | -- |
| 29 | 2.39.2 |
| 30 | |