mirror of https://gitee.com/openkylin/linux.git
ath9k: Fix ANI levels
The commit, "ath9k_hw: improve ANI processing and rx desensitizing parameters" modified the immunity level tables for both CCK and OFDM. Fix them so that the tables are in sync with the internal driver/codebase. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a04eb985f1
commit
b99553fb60
|
@ -46,8 +46,8 @@ static const struct ani_ofdm_level_entry ofdm_level_table[] = {
|
||||||
{ 5, 4, 1 }, /* lvl 5 */
|
{ 5, 4, 1 }, /* lvl 5 */
|
||||||
{ 6, 5, 1 }, /* lvl 6 */
|
{ 6, 5, 1 }, /* lvl 6 */
|
||||||
{ 7, 6, 1 }, /* lvl 7 */
|
{ 7, 6, 1 }, /* lvl 7 */
|
||||||
{ 7, 6, 0 }, /* lvl 8 */
|
{ 7, 7, 1 }, /* lvl 8 */
|
||||||
{ 7, 7, 0 } /* lvl 9 */
|
{ 7, 8, 0 } /* lvl 9 */
|
||||||
};
|
};
|
||||||
#define ATH9K_ANI_OFDM_NUM_LEVEL \
|
#define ATH9K_ANI_OFDM_NUM_LEVEL \
|
||||||
ARRAY_SIZE(ofdm_level_table)
|
ARRAY_SIZE(ofdm_level_table)
|
||||||
|
@ -91,8 +91,8 @@ static const struct ani_cck_level_entry cck_level_table[] = {
|
||||||
{ 4, 0 }, /* lvl 4 */
|
{ 4, 0 }, /* lvl 4 */
|
||||||
{ 5, 0 }, /* lvl 5 */
|
{ 5, 0 }, /* lvl 5 */
|
||||||
{ 6, 0 }, /* lvl 6 */
|
{ 6, 0 }, /* lvl 6 */
|
||||||
{ 6, 0 }, /* lvl 7 (only for high rssi) */
|
{ 7, 0 }, /* lvl 7 (only for high rssi) */
|
||||||
{ 7, 0 } /* lvl 8 (only for high rssi) */
|
{ 8, 0 } /* lvl 8 (only for high rssi) */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ATH9K_ANI_CCK_NUM_LEVEL \
|
#define ATH9K_ANI_CCK_NUM_LEVEL \
|
||||||
|
|
Loading…
Reference in New Issue