]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: update tx power limit table to RF v20
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 29 May 2019 07:54:44 +0000 (15:54 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Jun 2019 17:24:27 +0000 (20:24 +0300)
commitcdaa08e3f5a6ef53efa998bdba7148d43bd893be
tree402f6cae0b31351e8d7f7e87965f734b7ee52138
parentc9b0226371f99e781e140ee46cce7980472ca37c
rtw88: update tx power limit table to RF v20

Support more regulatory domains including IC, KCC,
ACMA, CHILE, UKRAINE, and MEXICO. Corresponding tx
power limits for these regulatory domains are added
in tx power limit table. Besides, tx power limits in
some case are also updated to follow RF v20 for better
tx power indexes.

Channel plan mapping table are upgraded to consider
more 2G and 5G channel plans combination cases. It
allow us to identify different situations more accuratly
by channel plan IDs. In addition, mapping table for
country code and channel plan ID and mapping table
for country code and tx power limit are also updated
to follow RF v20. It allow the new enrties in tx power
limit table to be applied correctly.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/main.h
drivers/net/wireless/realtek/rtw88/regd.c
drivers/net/wireless/realtek/rtw88/regd.h
drivers/net/wireless/realtek/rtw88/rtw8822c_table.c