mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: move mt76_rate_power from core to mt76x02 driver code
Its layout and code is mt76x02 specific Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -72,6 +72,19 @@ struct mt76x02_beacon_ops {
|
||||
#define mt76x02_pre_tbtt_enable(dev, enable) \
|
||||
(dev)->beacon_ops->pre_tbtt_enable(dev, enable)
|
||||
|
||||
struct mt76x02_rate_power {
|
||||
union {
|
||||
struct {
|
||||
s8 cck[4];
|
||||
s8 ofdm[8];
|
||||
s8 stbc[10];
|
||||
s8 ht[16];
|
||||
s8 vht[10];
|
||||
};
|
||||
s8 all[48];
|
||||
};
|
||||
};
|
||||
|
||||
struct mt76x02_dev {
|
||||
union { /* must be first */
|
||||
struct mt76_dev mt76;
|
||||
@@ -107,6 +120,8 @@ struct mt76x02_dev {
|
||||
u8 beacon_hang_check;
|
||||
u8 mcu_timeout;
|
||||
|
||||
struct mt76x02_rate_power rate_power;
|
||||
|
||||
struct mt76x02_calibration cal;
|
||||
|
||||
int txpower_conf;
|
||||
|
||||
Reference in New Issue
Block a user