Commit 79ca91a3 authored by Ping-Ke Shih's avatar Ping-Ke Shih Committed by Kalle Valo

wifi: rtw89: 8852b: correct TX power controlled by BT-coexistence

When coexistence mechanism is under free-run mode, it could adjust WiFi
and BT TX power to avoid interference with each other. For other cases,
it should keep original TX power from regular predefined tables, so
set correct values to 255 for these cases.
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221117061832.42057-1-pkshih@realtek.com
parent 633a9b6f
......@@ -318,27 +318,27 @@ static const struct rtw89_dig_regs rtw8852b_dig_regs = {
};
static const struct rtw89_btc_rf_trx_para rtw89_btc_8852b_rf_ul[] = {
{15, 0, 0, 7}, /* 0 -> original */
{15, 2, 0, 7}, /* 1 -> for BT-connected ACI issue && BTG co-rx */
{15, 0, 0, 7}, /* 2 ->reserved for shared-antenna */
{15, 0, 0, 7}, /* 3- >reserved for shared-antenna */
{15, 0, 0, 7}, /* 4 ->reserved for shared-antenna */
{15, 0, 0, 7}, /* the below id is for non-shared-antenna free-run */
{255, 0, 0, 7}, /* 0 -> original */
{255, 2, 0, 7}, /* 1 -> for BT-connected ACI issue && BTG co-rx */
{255, 0, 0, 7}, /* 2 ->reserved for shared-antenna */
{255, 0, 0, 7}, /* 3- >reserved for shared-antenna */
{255, 0, 0, 7}, /* 4 ->reserved for shared-antenna */
{255, 0, 0, 7}, /* the below id is for non-shared-antenna free-run */
{6, 1, 0, 7},
{13, 1, 0, 7},
{13, 1, 0, 7}
};
static const struct rtw89_btc_rf_trx_para rtw89_btc_8852b_rf_dl[] = {
{15, 0, 0, 7}, /* 0 -> original */
{15, 2, 0, 7}, /* 1 -> reserved for shared-antenna */
{15, 0, 0, 7}, /* 2 ->reserved for shared-antenna */
{15, 0, 0, 7}, /* 3- >reserved for shared-antenna */
{15, 0, 0, 7}, /* 4 ->reserved for shared-antenna */
{15, 0, 0, 7}, /* the below id is for non-shared-antenna free-run */
{15, 1, 0, 7},
{15, 1, 0, 7},
{15, 1, 0, 7}
{255, 0, 0, 7}, /* 0 -> original */
{255, 2, 0, 7}, /* 1 -> reserved for shared-antenna */
{255, 0, 0, 7}, /* 2 ->reserved for shared-antenna */
{255, 0, 0, 7}, /* 3- >reserved for shared-antenna */
{255, 0, 0, 7}, /* 4 ->reserved for shared-antenna */
{255, 0, 0, 7}, /* the below id is for non-shared-antenna free-run */
{255, 1, 0, 7},
{255, 1, 0, 7},
{255, 1, 0, 7}
};
static const struct rtw89_btc_fbtc_mreg rtw89_btc_8852b_mon_reg[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment