Commit 812c7c35 authored by Senthil Balasubramanian's avatar Senthil Balasubramanian Committed by John W. Linville

ath9k: Fix incorrect user ratekbs of MCS15 ShortGI

The user ratekbs of MCS15 ShortGI is incorrect and can not be lesser
than MCS15 rate. This incorrect rate may affect switching to higher
rates as the rate control algorithm always finds MCS15 is better
than MCS15 ShortGI and results in lower throughput. Fix this by
feeding the correct user ratekbs for MCS15 ShortGI rate.

This issue affects 3 stream case very badly as the 3 stream rates are
not used at all once we scale down to MCS15 from 3 stream rates.
Signed-off-by: default avatarSenthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1d9d06a2
...@@ -74,7 +74,7 @@ static const struct ath_rate_table ar5416_11na_ratetable = { ...@@ -74,7 +74,7 @@ static const struct ath_rate_table ar5416_11na_ratetable = {
[24] = { RC_HT_DT_20, WLAN_RC_PHY_HT_20_DS, 130000, [24] = { RC_HT_DT_20, WLAN_RC_PHY_HT_20_DS, 130000,
108300, 15, 15, 4, 23, 54, 25, 55 }, /* 130 Mb */ 108300, 15, 15, 4, 23, 54, 25, 55 }, /* 130 Mb */
[25] = { RC_HT_DT_20, WLAN_RC_PHY_HT_20_DS_HGI, 144400, [25] = { RC_HT_DT_20, WLAN_RC_PHY_HT_20_DS_HGI, 144400,
12000, 15, 15, 4, 23, 54, 25, 55 }, /* 144.4 Mb */ 120000, 15, 15, 4, 23, 54, 25, 55 }, /* 144.4 Mb */
[26] = { RC_INVALID, WLAN_RC_PHY_HT_20_TS, 19500, [26] = { RC_INVALID, WLAN_RC_PHY_HT_20_TS, 19500,
17400, 16, 16, 0, 24, 56, 26, 56 }, /* 19.5 Mb */ 17400, 16, 16, 0, 24, 56, 26, 56 }, /* 19.5 Mb */
[27] = { RC_INVALID, WLAN_RC_PHY_HT_20_TS, 39000, [27] = { RC_INVALID, WLAN_RC_PHY_HT_20_TS, 39000,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment