summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76x02.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-09-28 12:29:45 +0300
committerFelix Fietkau <nbd@nbd.name>2022-12-01 19:29:12 +0300
commitba45841ca5eb29245f9c9f452a39586d9d68bc12 (patch)
tree5c26092d11314437141fccd510833e562e416d48 /drivers/net/wireless/mediatek/mt76/mt76x02.h
parentb376d96362d815331dff0c498a338ebe4c8c5bde (diff)
downloadlinux-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.h5
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];
};
};