blob: 5f558ea6f30807adfd96f19a5b91b3866542c75c [file] [log] [blame]
developerfd8e1152023-02-14 11:29:23 +08001From 48e04e1209ec16bdb258c13a2939ad48f29deec1 Mon Sep 17 00:00:00 2001
developer9e2f26a2023-01-30 17:57:45 +08002From: "himanshu.goyal" <himanshu.goyal@mediatek.com>
3Date: Mon, 30 Jan 2023 17:47:06 +0800
developerc04f5402023-02-03 09:22:26 +08004Subject: [PATCH 1133/1133] mt76: mt7915: Allow AP to change channel width for
5 40Mhz Intolerant STA
developer9e2f26a2023-01-30 17:57:45 +08006
7Ref: WFA 11n Test Case: 4.2.41 AP 20/40 MHz Coexistence
8
9Signed-off-by: himanshu.goyal <himanshu.goyal@mediatek.com>
10---
11 mac80211.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
13
14diff --git a/mac80211.c b/mac80211.c
developerc04f5402023-02-03 09:22:26 +080015index e79568d1..35fd0347 100644
developer9e2f26a2023-01-30 17:57:45 +080016--- a/mac80211.c
17+++ b/mac80211.c
developerc04f5402023-02-03 09:22:26 +080018@@ -430,7 +430,8 @@ mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw)
developer9e2f26a2023-01-30 17:57:45 +080019 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--
292.18.0
30