rtlwifi: btcoex: 23b 1ant: Add coex_table_type to log
authorPing-Ke Shih <pkshih@realtek.com>
Sat, 20 May 2017 15:49:02 +0000 (10:49 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 May 2017 13:50:36 +0000 (16:50 +0300)
Display coex_table_type in log.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Yan-Hsuan Chuang <yhchuang@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/halbtc8723b1ant.c
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.h

index 0b9d405e72eb082d07f59c8bc85de780455ada3c..80d577cd6549e507ee065877aa1c20e305ac24cd 100644 (file)
@@ -570,6 +570,8 @@ static void halbtc8723b1ant_coex_table(struct btc_coexist *btcoexist,
 static void halbtc8723b1ant_coex_table_with_type(struct btc_coexist *btcoexist,
                                                 bool force_exec, u8 type)
 {
+       coex_sta->coex_table_type = type;
+
        switch (type) {
        case 0:
                halbtc8723b1ant_coex_table(btcoexist, force_exec, 0x55555555,
@@ -2520,6 +2522,9 @@ void ex_halbtc8723b1ant_display_coex_info(struct btc_coexist *btcoexist)
                           coex_dm->error_condition);
        }
 
+       RT_TRACE(rtlpriv, COMP_INIT, DBG_DMESG, "\r\n %-35s = %d",
+                "Coex Table Type", coex_sta->coex_table_type);
+
        /* Hw setting */
        RT_TRACE(rtlpriv, COMP_INIT, DBG_DMESG, "\r\n %-35s",
                 "============[Hw setting]============");
index dc88d8ec3e545c7b16dab16204ff38cff6d26fa2..3385a649d6c7fb94761e68caad2c0eadafa6e93f 100644 (file)
@@ -172,6 +172,7 @@ struct coex_sta_8723b_1ant {
        u8 bt_info_ext;
        u8 scan_ap_num;
        bool cck_ever_lock;
+       u8 coex_table_type;
        bool force_lps_on;
        u32 pop_event_cnt;