rtlwifi: btcoex: 21a 2ant: suffer less tx penalty from retry
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Thu, 13 Apr 2017 18:06:58 +0000 (13:06 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Apr 2017 07:24:04 +0000 (10:24 +0300)
Change h2c parameter to decrease tx penalty.

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

index 4abfddcf2d11e1e22c3c8503c19368e8dff1c1a1..1a1e4136d48e31523542c8dcc667f2906a2a7dff 100644 (file)
@@ -693,11 +693,11 @@ static void btc8821a2ant_set_sw_penalty_tx_rate_adaptive(
                /* normal rate except MCS7/6/5, OFDM54/48/36 */
                h2c_parameter[2] = 0x00;
                /* MCS7 or OFDM54 */
-               h2c_parameter[3] = 0xf7;
+               h2c_parameter[3] = 0xf5;
                /* MCS6 or OFDM48 */
-               h2c_parameter[4] = 0xf8;
+               h2c_parameter[4] = 0xa0;
                /* MCS5 or OFDM36 */
-               h2c_parameter[5] = 0xf9;
+               h2c_parameter[5] = 0xa0;
        }
 
        RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,