]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mt76: mt7996: Add missing CHANCTX_STA_CSA property
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 28 Sep 2025 16:27:01 +0000 (18:27 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 24 Mar 2026 15:49:30 +0000 (15:49 +0000)
Enable missing CHANCTX_STA_CSA property required for MLO.

Fixes: f5160304d57c ("wifi: mt76: mt7996: Enable MLO support for client interfaces")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20250928-mt7996_chanctx_sta_csa-v1-1-82e455185990@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/init.c

index 29bce7cffbb5db7cd9b9df58ccfa5df3105cfd56..5aaa9376710921667b1fe195e7c63fb7060450f7 100644 (file)
@@ -536,6 +536,7 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed)
        ieee80211_hw_set(hw, SUPPORTS_RX_DECAP_OFFLOAD);
        ieee80211_hw_set(hw, NO_VIRTUAL_MONITOR);
        ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
+       ieee80211_hw_set(hw, CHANCTX_STA_CSA);
 
        hw->max_tx_fragments = 4;
        wiphy->txq_memory_limit = 32 << 20; /* 32 MiB */