developer | f3f5d9b | 2023-02-07 15:24:34 +0800 | [diff] [blame] | 1 | From 657b01e6ed24b9b7f6fd0d52768e9674c0382828 Mon Sep 17 00:00:00 2001 |
developer | 099ee96 | 2023-02-02 16:15:25 +0800 | [diff] [blame] | 2 | From: "himanshu.goyal" <himanshu.goyal@mediatek.com> |
| 3 | Date: Mon, 30 Jan 2023 17:47:06 +0800 |
developer | f3f5d9b | 2023-02-07 15:24:34 +0800 | [diff] [blame] | 4 | Subject: [PATCH 1133/1133] mt76: mt7915: Allow AP to change channel width for |
| 5 | 40Mhz Intolerant STA |
developer | 099ee96 | 2023-02-02 16:15:25 +0800 | [diff] [blame] | 6 | |
| 7 | Ref: WFA 11n Test Case: 4.2.41 AP 20/40 MHz Coexistence |
| 8 | |
| 9 | Signed-off-by: himanshu.goyal <himanshu.goyal@mediatek.com> |
| 10 | --- |
| 11 | mac80211.c | 3 ++- |
| 12 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/mac80211.c b/mac80211.c |
developer | f3f5d9b | 2023-02-07 15:24:34 +0800 | [diff] [blame] | 15 | index e79568d1..35fd0347 100644 |
developer | 099ee96 | 2023-02-02 16:15:25 +0800 | [diff] [blame] | 16 | --- a/mac80211.c |
| 17 | +++ b/mac80211.c |
developer | f3f5d9b | 2023-02-07 15:24:34 +0800 | [diff] [blame] | 18 | @@ -430,7 +430,8 @@ mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw) |
developer | 099ee96 | 2023-02-02 16:15:25 +0800 | [diff] [blame] | 19 | SET_IEEE80211_DEV(hw, dev->dev); |
| 20 | SET_IEEE80211_PERM_ADDR(hw, phy->macaddr); |
| 21 | |
| 22 | - wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; |
| 23 | + wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR | |
| 24 | + NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE; |
| 25 | wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH | |
| 26 | WIPHY_FLAG_SUPPORTS_TDLS | |
| 27 | WIPHY_FLAG_AP_UAPSD; |
| 28 | -- |
| 29 | 2.18.0 |
| 30 | |