mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
phy: fix tx power delta parsing for 2.4 GHz as well
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -358,7 +358,7 @@ mt76_get_power_info_2g(struct mt76_dev *dev, struct mt76_tx_power_info *t,
|
||||
t->chain[chain].tssi_slope = data[0];
|
||||
t->chain[chain].tssi_offset = data[1];
|
||||
t->chain[chain].target_power = data[2];
|
||||
t->chain[chain].delta = data[delta_idx];
|
||||
t->chain[chain].delta = mt76_sign_extend_optional(data[delta_idx], 7);
|
||||
|
||||
val = mt76_eeprom_get(dev, MT_EE_RF_2G_TSSI_OFF_TXPOWER);
|
||||
t->target_power = val >> 8;
|
||||
|
||||
Reference in New Issue
Block a user