Skip to content

Commit 713f557

Browse files
committed
wifi: mt76: mt792x: re-register CHANCTX_STA_CSA only for the mt7921 series
JIRA: https://issues.redhat.com/browse/RHEL-89169 commit 06e7000 Author: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Date: Thu Mar 13 13:40:44 2025 +0800 wifi: mt76: mt792x: re-register CHANCTX_STA_CSA only for the mt7921 series CSA is currently not supported on mt7925, so CSA is only registered for the mt7921 series Cc: stable@vger.kernel.org Fixes: 8aa2f59 ("wifi: mt76: mt7921: introduce CSA support") Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Link: https://patch.msgid.link/20250313054044.2638837-1-mingyen.hsieh@mediatek.com Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
1 parent 0be996b commit 713f557

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt792x_core.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,8 @@ int mt792x_init_wiphy(struct ieee80211_hw *hw)
665665
ieee80211_hw_set(hw, SUPPORTS_DYNAMIC_PS);
666666
ieee80211_hw_set(hw, SUPPORTS_VHT_EXT_NSS_BW);
667667
ieee80211_hw_set(hw, CONNECTION_MONITOR);
668-
ieee80211_hw_set(hw, CHANCTX_STA_CSA);
668+
if (is_mt7921(&dev->mt76))
669+
ieee80211_hw_set(hw, CHANCTX_STA_CSA);
669670

670671
if (dev->pm.enable)
671672
ieee80211_hw_set(hw, CONNECTION_MONITOR);

0 commit comments

Comments
 (0)