blob: c2d6298b56b1c15725df0d7b8fa377eeec1b1e4c [file] [log] [blame]
developerc04f5402023-02-03 09:22:26 +08001From 657b01e6ed24b9b7f6fd0d52768e9674c0382828 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