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
@@ -125,7 +125,7 @@ static void mt7615_eeprom_parse_hw_cap(struct mt7615_dev *dev)
|
||||
tx_mask = max_nss;
|
||||
|
||||
dev->chainmask = tx_mask << 8 | rx_mask;
|
||||
dev->mt76.antenna_mask = BIT(tx_mask) - 1;
|
||||
dev->mphy.antenna_mask = BIT(tx_mask) - 1;
|
||||
}
|
||||
|
||||
int mt7615_eeprom_get_power_index(struct mt7615_dev *dev,
|
||||
|
||||
Reference in New Issue
Block a user