Skip to content

Commit e125def

Browse files
moore-brosgregkh
authored andcommitted
wifi: mt76: mt7925: drop puncturing handling from BSS change path
[ Upstream commit 59a1864 ] IEEE80211_CHANCTX_CHANGE_PUNCTURING is a channel context change flag and should not be checked in the BSS change handler, where the changed mask represents enum ieee80211_bss_change. Remove the puncturing handling from the BSS path and rely on mt7925_change_chanctx() to update puncturing configuration. Fixes: cadebda ("wifi: mt76: mt7925: add EHT preamble puncturing") Signed-off-by: Sean Wang <sean.wang@mediatek.com> Link: https://patch.msgid.link/20251216022017.23870-1-sean.wang@kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent a1a59bd commit e125def

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • drivers/net/wireless/mediatek/mt76/mt7925

drivers/net/wireless/mediatek/mt76/mt7925/main.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,10 +1912,8 @@ static void mt7925_link_info_changed(struct ieee80211_hw *hw,
19121912
struct mt792x_phy *phy = mt792x_hw_phy(hw);
19131913
struct mt792x_dev *dev = mt792x_hw_dev(hw);
19141914
struct mt792x_bss_conf *mconf;
1915-
struct ieee80211_bss_conf *link_conf;
19161915

19171916
mconf = mt792x_vif_to_link(mvif, info->link_id);
1918-
link_conf = mt792x_vif_to_bss_conf(vif, mconf->link_id);
19191917

19201918
mt792x_mutex_acquire(dev);
19211919

@@ -1957,10 +1955,6 @@ static void mt7925_link_info_changed(struct ieee80211_hw *hw,
19571955
mvif->mlo_pm_state = MT792x_MLO_CHANGED_PS;
19581956
}
19591957

1960-
if (changed & IEEE80211_CHANCTX_CHANGE_PUNCTURING)
1961-
mt7925_mcu_set_eht_pp(mvif->phy->mt76, &mconf->mt76,
1962-
link_conf, NULL);
1963-
19641958
if (changed & BSS_CHANGED_CQM)
19651959
mt7925_mcu_set_rssimonitor(dev, vif);
19661960

0 commit comments

Comments
 (0)