diff options
author | Zong-Zhe Yang <kevin_yang@realtek.com> | 2022-02-18 11:40:42 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-02-22 17:29:14 +0200 |
commit | 94b70cafc661739ae8fec40a9ec35bdccf883d8b (patch) | |
tree | bf07dadd7e9db3d6efb13d8613cc27961ba89177 /include/linux/compiler_types.h | |
parent | ac74f016f035eeb62b8b40db74040d32a03c4307 (diff) |
rtw89: phy: handle txpwr lmt/lmt_ru of 160M bandwidth
Add handling to fill struct rtw89_txpwr_limit and rtw89_txpwr_limit_ru
for 160Mhz bandwidth case. And enlarge RTW89_5G_BW_NUM because the chip
under planning can support 160Mhz bandwidth on 5G band.
Moreover, refine the filling of OFDM entry of struct rtw89_txpwr_limit
by using the value corresponding to primary channel.
E.g. center channel 38 (40Mhz bandwidth case)
Originally OFDM entry was filled by value corresponding to 'ch - 2' (36)
Now, we consider that it could be 36 or 40.
E.g. cneter channel 42 (80Mhz bandwidth case)
Originally OFDM entry was filled by value corresponding to 'ch - 6' (36)
Now, we consider that it could be 36, 40, 44, or 48.
Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220218034042.9218-1-pkshih@realtek.com
Diffstat (limited to 'include/linux/compiler_types.h')
0 files changed, 0 insertions, 0 deletions