mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt76x02: simplify struct mt76x02_rate_power
- remove stbc, because mt76x0 doesn't support it and mt76x2 uses the same values as HT/VHT - reduce vht array to 2 elements, because VHT MCS0-7 are the same as HT Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -122,8 +122,6 @@ static int mt76x02_read_rate_txpower(struct seq_file *s, void *data)
|
||||
ARRAY_SIZE(dev->rate_power.cck));
|
||||
mt76_seq_puts_array(s, "OFDM", dev->rate_power.ofdm,
|
||||
ARRAY_SIZE(dev->rate_power.ofdm));
|
||||
mt76_seq_puts_array(s, "STBC", dev->rate_power.stbc,
|
||||
ARRAY_SIZE(dev->rate_power.stbc));
|
||||
mt76_seq_puts_array(s, "HT", dev->rate_power.ht,
|
||||
ARRAY_SIZE(dev->rate_power.ht));
|
||||
mt76_seq_puts_array(s, "VHT", dev->rate_power.vht,
|
||||
|
||||
Reference in New Issue
Block a user