rtlwifi: btcoex: 23b 2ant: less sensitive to tx rate penalty
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 3 Apr 2017 18:41:36 +0000 (13:41 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 5 Apr 2017 12:53:27 +0000 (15:53 +0300)
modify h2c parameter so that the rate suffers less penalty from retry

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 e9c692a5b13ea27d534327d69f34bd63e701006d..2264b24fea9a2c3c5af92f25375f2afe20c4cf23 100644 (file)
@@ -754,9 +754,9 @@ static void btc8723b_set_penalty_txrate(struct btc_coexist *btcoexist,
                h2c_parameter[1] |= BIT0;
                /* normal rate except MCS7/6/5, OFDM54/48/36 */
                h2c_parameter[2] = 0x00;
-               h2c_parameter[3] = 0xf7; /* MCS7 or OFDM54 */
-               h2c_parameter[4] = 0xf8; /* MCS6 or OFDM48 */
-               h2c_parameter[5] = 0xf9; /* MCS5 or OFDM36 */
+               h2c_parameter[3] = 0xf4; /* MCS7 or OFDM54 */
+               h2c_parameter[4] = 0xf5; /* MCS6 or OFDM48 */
+               h2c_parameter[5] = 0xf6; /* MCS5 or OFDM36 */
        }
 
        RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,