blob: c2d6298b56b1c15725df0d7b8fa377eeec1b1e4c [file] [log] [blame]
From 657b01e6ed24b9b7f6fd0d52768e9674c0382828 Mon Sep 17 00:00:00 2001
From: "himanshu.goyal" <himanshu.goyal@mediatek.com>
Date: Mon, 30 Jan 2023 17:47:06 +0800
Subject: [PATCH 1133/1133] mt76: mt7915: Allow AP to change channel width for
40Mhz Intolerant STA
Ref: WFA 11n Test Case: 4.2.41 AP 20/40 MHz Coexistence
Signed-off-by: himanshu.goyal <himanshu.goyal@mediatek.com>
---
mac80211.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mac80211.c b/mac80211.c
index e79568d1..35fd0347 100644
--- a/mac80211.c
+++ b/mac80211.c
@@ -430,7 +430,8 @@ mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw)
SET_IEEE80211_DEV(hw, dev->dev);
SET_IEEE80211_PERM_ADDR(hw, phy->macaddr);
- wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR;
+ wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR |
+ NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE;
wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH |
WIPHY_FLAG_SUPPORTS_TDLS |
WIPHY_FLAG_AP_UAPSD;
--
2.18.0