wifi: rtw89: coex: Enable Wi-Fi RX gain control for free run solution
authorChing-Te Ku <ku920601@realtek.com>
Wed, 12 Apr 2023 01:28:28 +0000 (09:28 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 17 Apr 2023 09:49:22 +0000 (12:49 +0300)
When Wi-Fi & Bluetooth are both busy at the same time, Wi-Fi need to
enable RX gain to protect Wi-Fi RX RF ability. Without this configure
the interference from Bluetooth will bring a big impact to Wi-Fi RX.

Signed-off-by: Ching-Te Ku <ku920601@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/20230412012831.10519-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852b.c
drivers/net/wireless/realtek/rtw89/rtw8852c.c

index e93d745..c9a9f28 100644 (file)
@@ -332,7 +332,7 @@ static const struct rtw89_btc_rf_trx_para rtw89_btc_8852b_rf_ul[] = {
        {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}, /* the below id is for non-shared-antenna free-run */
        {6, 1, 0, 7},
        {13, 1, 0, 7},
        {13, 1, 0, 7}
@@ -344,7 +344,7 @@ static const struct rtw89_btc_rf_trx_para rtw89_btc_8852b_rf_dl[] = {
        {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}, /* the below id is for non-shared-antenna free-run */
        {255, 1, 0, 7},
        {255, 1, 0, 7},
        {255, 1, 0, 7}
index 6d8fa8a..3bff050 100644 (file)
@@ -2542,7 +2542,7 @@ static const struct rtw89_btc_rf_trx_para rtw89_btc_8852c_rf_ul[] = {
        {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}, /* the below id is for non-shared-antenna free-run */
        {6, 1, 0, 7},
        {13, 1, 0, 7},
        {13, 1, 0, 7}
@@ -2554,7 +2554,7 @@ static const struct rtw89_btc_rf_trx_para rtw89_btc_8852c_rf_dl[] = {
        {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}, /* the below id is for non-shared-antenna free-run */
        {255, 1, 0, 7},
        {255, 1, 0, 7},
        {255, 1, 0, 7}