]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: mt76: enable spectrum management
authorFelix Fietkau <nbd@nbd.name>
Fri, 19 Apr 2024 11:33:09 +0000 (13:33 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 2 May 2024 10:47:05 +0000 (12:47 +0200)
It is supported by all drivers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mac80211.c

index 068206e48aec64dd2d402036c83ce2efbf788c0d..e8ba2e4e8484a8be620b3d5c8f7848a98dd9a321 100644 (file)
@@ -465,6 +465,7 @@ mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw)
        ieee80211_hw_set(hw, SUPPORTS_CLONED_SKBS);
        ieee80211_hw_set(hw, SUPPORTS_AMSDU_IN_AMPDU);
        ieee80211_hw_set(hw, SUPPORTS_REORDERING_BUFFER);
+       ieee80211_hw_set(hw, SPECTRUM_MGMT);
 
        if (!(dev->drv->drv_flags & MT_DRV_AMSDU_OFFLOAD) &&
            hw->max_tx_fragments > 1) {