rtlwifi: btcoex: 21a 1ant: coex table setting for new fw
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 10 Apr 2017 16:22:59 +0000 (11:22 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 13 Apr 2017 14:10:59 +0000 (17:10 +0300)
For newer fw, the coex table setting needs to be modified to operate
correctly.

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/halbtc8821a1ant.c

index 65c455bfd8fbc2063290e87860550e8ab52fb80f..3a117eaf1b2187c87a38c9221ff7f36da52c0809 100644 (file)
@@ -806,24 +806,24 @@ static void btc8821a1ant_coex_table_with_type(struct btc_coexist *btcoexist,
                                        0x5a5a5a5a, 0xffffff, 0x3);
                break;
        case 3:
-               btc8821a1ant_coex_table(btcoexist, force_exec, 0x55555555,
+               btc8821a1ant_coex_table(btcoexist, force_exec, 0x5a5a5a5a,
                                        0xaaaaaaaa, 0xffffff, 0x3);
                break;
        case 4:
-               btc8821a1ant_coex_table(btcoexist, force_exec, 0xffffffff,
-                                       0xffffffff, 0xffffff, 0x3);
+               btc8821a1ant_coex_table(btcoexist, force_exec, 0x55555555,
+                                       0x5a5a5a5a, 0xffffff, 0x3);
                break;
        case 5:
-               btc8821a1ant_coex_table(btcoexist, force_exec, 0x5fff5fff,
-                                       0x5fff5fff, 0xffffff, 0x3);
+               btc8821a1ant_coex_table(btcoexist, force_exec, 0x5a5a5a5a,
+                                       0xaaaa5a5a, 0xffffff, 0x3);
                break;
        case 6:
-               btc8821a1ant_coex_table(btcoexist, force_exec, 0x55ff55ff,
-                                       0x5a5a5a5a, 0xffffff, 0x3);
+               btc8821a1ant_coex_table(btcoexist, force_exec, 0x55555555,
+                                       0xaaaa5a5a, 0xffffff, 0x3);
                break;
        case 7:
-               btc8821a1ant_coex_table(btcoexist, force_exec, 0x5afa5afa,
-                                       0x5afa5afa, 0xffffff, 0x3);
+               btc8821a1ant_coex_table(btcoexist, force_exec, 0xaaaaaaaa,
+                                       0xaaaaaaaa, 0xffffff, 0x3);
                break;
        default:
                break;