Commit f36714fb authored by Yan-Hsuan Chuang's avatar Yan-Hsuan Chuang Committed by Kalle Valo

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

set coex table fine tune, for register settings
Signed-off-by: default avatarYan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: default avatarLarry 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: default avatarKalle Valo <kvalo@codeaurora.org>
parent 3f957062
......@@ -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;
......
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