diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-07-29 09:35:22 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 20:43:24 (GMT) |
commit | 3fc0fbf407967fa8def04d019316553c9ca133e2 (patch) | |
tree | 6d786183aa3e5abe45e7e9e7d011869f07a5dbbf /drivers/net/wireless/ath/ath9k/rc.c | |
parent | 42e8856092be1db40bd4ae01406d2aaddf4e66fc (diff) | |
download | linux-fsl-qoriq-3fc0fbf407967fa8def04d019316553c9ca133e2.tar.xz |
ath9k: Maintain monotonicity of PER while going across different phy
Monotonicity of packet error rate should be kept when moving
from one phy to another (legacy to ht, ht single stream to dual,
etc). Current code skips updating per for other phys.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/rc.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/rc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index 59ad47c..16a2717 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c @@ -1041,9 +1041,6 @@ static void ath_rc_update_ht(struct ath_softc *sc, /* Monotonicity is kept only for rates below the current rate. */ if (ath_rc_priv->per[tx_rate] < last_per) { for (rate = tx_rate - 1; rate >= 0; rate--) { - if (rate_table->info[rate].phy != - rate_table->info[tx_rate].phy) - break; if (ath_rc_priv->per[rate] > ath_rc_priv->per[rate+1]) { |