wifi: mt76: mt7996: Apply power change in bss_info_changed
Subsystems (2)
PATCH 1/1 wifi: mt76: mt7996: Apply power change in bss_info_changed
From: Ben Greear <[email protected]>
Re-calculate txpower if bss_info_changed flags it as needing to be changed.
Signed-off-by Ben Greear <[email protected]>
---
I found this while looking at other txpower issues. This didn't actually fix the problem I found, possibly it is not needed?
drivers/net/wireless/mediatek/mt76/mt7996/main.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/wireless/mediatek/mt76/mt7996/main.c +3 -0
@@ -797,6 +797,9 @@ static void mt7996_bss_info_changed(struct ieee80211_hw *hw,if (changed &BSS_CHANGED_MU_GROUPS )mt7996_update_mu_group (hw, vif, info); +if (changed &BSS_CHANGED_TXPOWER ) +mt7996_mcu_set_txpower_sku (phy); +mutex_unlock (&dev->mt76.mutex); }
Signature · 1 line
2.42.0