diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-09-28 12:29:45 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-12-01 19:29:12 +0300 |
commit | ba45841ca5eb29245f9c9f452a39586d9d68bc12 (patch) | |
tree | 5c26092d11314437141fccd510833e562e416d48 /drivers/net/wireless/mediatek/mt76/mt76x02.h | |
parent | b376d96362d815331dff0c498a338ebe4c8c5bde (diff) | |
download | linux-ba45841ca5eb29245f9c9f452a39586d9d68bc12.tar.xz |
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 <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02.h b/drivers/net/wireless/mediatek/mt76/mt76x02.h index ae6ba35e863d..a19176bb2433 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02.h @@ -77,11 +77,10 @@ struct mt76x02_rate_power { struct { s8 cck[4]; s8 ofdm[8]; - s8 stbc[10]; s8 ht[16]; - s8 vht[10]; + s8 vht[2]; }; - s8 all[48]; + s8 all[30]; }; }; |