rtlwifi: btcoex: 23b 2ant: coex table fine tune
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 3 Apr 2017 18:41:38 +0000 (13:41 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 5 Apr 2017 12:53:28 +0000 (15:53 +0300)
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>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c

index 57eed18e19c8047477e9ac693e77c386a4cffc1a..4139ddf6022b37bc4a3de7ff0e607f28d51dc8a3 100644 (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;