rtlwifi: btcoex: 23b 2ant: coex table fine tune

set coex table fine tune, for register settings

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Larry 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: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Yan-Hsuan Chuang 2017-04-03 13:41:38 -05:00 committed by Kalle Valo
parent 3f957062c9
commit f36714fbfa
1 changed files with 32 additions and 20 deletions

View File

@ -915,55 +915,67 @@ static void btc8723b2ant_coex_table_with_type(struct btc_coexist *btcoexist,
switch (type) {
case 0:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55555555,
0x55555555, 0xffff, 0x3);
0x55555555, 0xffffff, 0x3);
break;
case 1:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55555555,
0x5afa5afa, 0xffff, 0x3);
0x5afa5afa, 0xffffff, 0x3);
break;
case 2:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x5a5a5a5a,
0x5a5a5a5a, 0xffff, 0x3);
btc8723b2ant_coex_table(btcoexist, force_exec, 0x5ada5ada,
0x5ada5ada, 0xffffff, 0x3);
break;
case 3:
btc8723b2ant_coex_table(btcoexist, force_exec, 0xaaaaaaaa,
0xaaaaaaaa, 0xffff, 0x3);
0xaaaaaaaa, 0xffffff, 0x3);
break;
case 4:
btc8723b2ant_coex_table(btcoexist, force_exec, 0xffffffff,
0xffffffff, 0xffff, 0x3);
0xffffffff, 0xffffff, 0x3);
break;
case 5:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x5fff5fff,
0x5fff5fff, 0xffff, 0x3);
0x5fff5fff, 0xffffff, 0x3);
break;
case 6:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55ff55ff,
0x5a5a5a5a, 0xffff, 0x3);
0x5a5a5a5a, 0xffffff, 0x3);
break;
case 7:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55ff55ff,
0x5afa5afa, 0xffff, 0x3);
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55dd55dd,
0x5ada5ada, 0xffffff, 0x3);
break;
case 8:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x5aea5aea,
0x5aea5aea, 0xffff, 0x3);
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55dd55dd,
0x5ada5ada, 0xffffff, 0x3);
break;
case 9:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55ff55ff,
0x5aea5aea, 0xffff, 0x3);
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55dd55dd,
0x5ada5ada, 0xffffff, 0x3);
break;
case 10:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55ff55ff,
0x5aff5aff, 0xffff, 0x3);
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55dd55dd,
0x5ada5ada, 0xffffff, 0x3);
break;
case 11:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55ff55ff,
0x5a5f5a5f, 0xffff, 0x3);
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55dd55dd,
0x5ada5ada, 0xffffff, 0x3);
break;
case 12:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55ff55ff,
0x5f5f5f5f, 0xffff, 0x3);
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55dd55dd,
0x5ada5ada, 0xffffff, 0x3);
break;
case 13:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x5fff5fff,
0xaaaaaaaa, 0xffffff, 0x3);
break;
case 14:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x5fff5fff,
0x5ada5ada, 0xffffff, 0x3);
break;
case 15:
btc8723b2ant_coex_table(btcoexist, force_exec, 0x55dd55dd,
0xaaaaaaaa, 0xffffff, 0x3);
break;
default:
break;