mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move txpower and antenna mask to struct mt76_phy
Adds multiple wiphy support to mt76_get_txpower Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -609,7 +609,7 @@ mt7603_mac_fill_rx(struct mt7603_dev *dev, struct sk_buff *skb)
|
||||
|
||||
status->rate_idx = i;
|
||||
|
||||
status->chains = dev->mt76.antenna_mask;
|
||||
status->chains = dev->mphy.antenna_mask;
|
||||
status->chain_signal[0] = FIELD_GET(MT_RXV4_IB_RSSI0, rxdg3) +
|
||||
dev->rssi_offset[0];
|
||||
status->chain_signal[1] = FIELD_GET(MT_RXV4_IB_RSSI1, rxdg3) +
|
||||
|
||||
Reference in New Issue
Block a user