mac80211: add another minstrel_ht performance improvement
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Mar 2013 14:32:31 +0000 (14:32 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Mar 2013 14:32:31 +0000 (14:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35890 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/300-pending_work.patch

index 560c3f2..b4bd187 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;