mac80211: add another minstrel_ht performance improvement
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Mar 2013 14:32:31 +0000 (14:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Mar 2013 14:32:31 +0000 (14:32 +0000)
SVN-Revision: 35890

package/mac80211/patches/300-pending_work.patch

index 560c3f266255dce440fdb28c95e9eff52ef1d45b..b4bd187846469c6784869d516a4e0af79d546466 100644 (file)
        mi->stats_update = jiffies;
  }
  
+@@ -467,7 +480,7 @@ minstrel_ht_tx_status(void *priv, struct
+       if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) {
+               mi->sample_wait = 16 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len);
+-              mi->sample_tries = 2;
++              mi->sample_tries = 1;
+               mi->sample_count--;
+       }
 @@ -536,7 +549,7 @@ minstrel_calc_retransmit(struct minstrel
        mr->retry_updated = true;