提交 8189d818 编写于 作者: Y Yan-Hsuan Chuang 提交者: Kalle Valo

rtlwifi: btcoex: 21a 2ant: slot time fine tune

Tune the wifi/bt slot time to get better performance.
Signed-off-by: NYan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
Cc: Pkshih <pkshih@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 8c670a1b
...@@ -1168,12 +1168,12 @@ static void btc8821a2ant_ps_tdma(struct btc_coexist *btcoexist, ...@@ -1168,12 +1168,12 @@ static void btc8821a2ant_ps_tdma(struct btc_coexist *btcoexist,
switch (type) { switch (type) {
case 1: case 1:
default: default:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1a, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x3c,
0x1a, 0xe1, 0x90); 0x03, 0xf1, 0x90);
break; break;
case 2: case 2:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x12, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x2d,
0x12, 0xe1, 0x90); 0x03, 0xf1, 0x90);
break; break;
case 3: case 3:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1c, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1c,
...@@ -1184,12 +1184,12 @@ static void btc8821a2ant_ps_tdma(struct btc_coexist *btcoexist, ...@@ -1184,12 +1184,12 @@ static void btc8821a2ant_ps_tdma(struct btc_coexist *btcoexist,
0x03, 0xf1, 0x90); 0x03, 0xf1, 0x90);
break; break;
case 5: case 5:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1a, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x3c,
0x1a, 0x60, 0x90); 0x3, 0x70, 0x90);
break; break;
case 6: case 6:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x12, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x2d,
0x12, 0x60, 0x90); 0x3, 0x70, 0x90);
break; break;
case 7: case 7:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1c, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1c,
...@@ -1200,44 +1200,44 @@ static void btc8821a2ant_ps_tdma(struct btc_coexist *btcoexist, ...@@ -1200,44 +1200,44 @@ static void btc8821a2ant_ps_tdma(struct btc_coexist *btcoexist,
0x3, 0x70, 0x90); 0x3, 0x70, 0x90);
break; break;
case 9: case 9:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1a, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x3c,
0x1a, 0xe1, 0x90); 0x03, 0xf1, 0x90);
break; break;
case 10: case 10:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x12, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x2d,
0x12, 0xe1, 0x90); 0x03, 0xf1, 0x90);
break; break;
case 11: case 11:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0xa, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1c,
0xa, 0xe1, 0x90); 0x3, 0xf1, 0x90);
break; break;
case 12: case 12:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x5, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x10,
0x5, 0xe1, 0x90); 0x3, 0xf1, 0x90);
break; break;
case 13: case 13:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1a, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x3c,
0x1a, 0x60, 0x90); 0x3, 0x70, 0x90);
break; break;
case 14: case 14:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x2d,
0x12, 0x12, 0x60, 0x90); 0x3, 0x70, 0x90);
break; break;
case 15: case 15:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0xa, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1c,
0xa, 0x60, 0x90); 0x3, 0x70, 0x90);
break; break;
case 16: case 16:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x5, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x10,
0x5, 0x60, 0x90); 0x3, 0x70, 0x90);
break; break;
case 17: case 17:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xa3, 0x2f, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xa3, 0x2f,
0x2f, 0x60, 0x90); 0x2f, 0x60, 0x90);
break; break;
case 18: case 18:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x5, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x5, 0x5,
0x5, 0xe1, 0x90); 0xe1, 0x90);
break; break;
case 19: case 19:
btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x25, btc8821a2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x25,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册