Skip to contentSkip to conversation

ath9k: Fix regression in LNA diversity

PATCH New Sujith Manoharan 1 participant 1 message Sep 16, 2013 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: Fix regression in LNA diversity

From: Sujith Manoharan <[email protected]>

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".

---
 drivers/net/wireless/ath/ath9k/recv.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/net/wireless/ath/ath9k/recv.c +0 -7
index 4ee472a..ab9e3a8 100644
@@ -1270,13 +1270,6 @@ static void ath9k_antenna_check(struct ath_softc *sc,
 		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.
 	 */
Signature · 1 line
1.8.4