mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7915: update SKU power limits after changing antennas
Changing the antenna configuration updates the stream capabilities but left the per-path SKU power limits and path delta compensation stale until the next channel switch. Reapply the SKU table like mt7996 already does. Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -1181,6 +1181,7 @@ mt7915_set_antenna(struct ieee80211_hw *hw, int radio_idx, u32 tx_ant, u32 rx_an
|
|||||||
mt76_set_stream_caps(phy->mt76, true);
|
mt76_set_stream_caps(phy->mt76, true);
|
||||||
mt7915_set_stream_vht_txbf_caps(phy);
|
mt7915_set_stream_vht_txbf_caps(phy);
|
||||||
mt7915_set_stream_he_caps(phy);
|
mt7915_set_stream_he_caps(phy);
|
||||||
|
mt7915_mcu_set_txpower_sku(phy);
|
||||||
|
|
||||||
mutex_unlock(&dev->mt76.mutex);
|
mutex_unlock(&dev->mt76.mutex);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user