mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ath9k: Fix regression in LNA diversity
The commit "ath9k: Optimize LNA check" tried to use the "rs_firstaggr" flag to optimize the LNA combining algorithm when processing subframes in an A-MPDU. This doesn't appear to work well in practice, so revert it and use the old method of relying on "rs_moreaggr". Cc: [email protected] # 3.11 Signed-off-by: Sujith Manoharan <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
440c1c874a
commit
d29a5fd888
1 changed files with 0 additions and 7 deletions
|
|
@ -1269,13 +1269,6 @@ static void ath9k_antenna_check(struct ath_softc *sc,
|
|||
if (!(ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB))
|
||||
return;
|
||||
|
||||
/*
|
||||
* All MPDUs in an aggregate will use the same LNA
|
||||
* as the first MPDU.
|
||||
*/
|
||||
if (rs->rs_isaggr && !rs->rs_firstaggr)
|
||||
return;
|
||||
|
||||
/*
|
||||
* Change the default rx antenna if rx diversity
|
||||
* chooses the other antenna 3 times in a row.
|
||||
|
|
|
|||
Loading…
Reference in a new issue