diff options
author | Deren Wu <deren.wu@mediatek.com> | 2023-08-01 22:30:29 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-09-30 20:03:03 +0200 |
commit | 975cd4d6d547936aaae6fae0cb4bdc9a18ecc2f8 (patch) | |
tree | 1767f7c7da0a8147d8a4a9b200f1037d919b0f9b /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | e9eac4eb1bbdeac5b05de085062591dfe1460396 (diff) | |
download | lwn-975cd4d6d547936aaae6fae0cb4bdc9a18ecc2f8.tar.gz lwn-975cd4d6d547936aaae6fae0cb4bdc9a18ecc2f8.zip |
wifi: mt76: connac: add eht support for tx power
Add eht field in struct mt76_power_limits for 802.11be power config.
The function stack size would be too big by eht adding in structure,
we also refactor mt76_connac_mcu_rate_txpower_band() to take dynamic
allocated memory instead.
This is a preliminary patch to support mt7925 driver.
Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 9265e1b84b4f..6407cbc81985 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -972,6 +972,7 @@ struct mt76_power_limits { s8 ofdm[8]; s8 mcs[4][10]; s8 ru[7][12]; + s8 eht[16][16]; }; struct mt76_ethtool_worker_info { |