mac80211: minstrel_ht - increase space between sampling attempts to allow for better...
[openwrt.git] / package / mac80211 / patches / 530-minstrel_ht.patch
index c1af998..a77e94b 100644 (file)
 +      mi->ampdu_len += info->status.ampdu_len;
 +
 +      if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) {
-+              mi->sample_wait = 4 + MINSTREL_TRUNC(mi->avg_ampdu_len);
++              mi->sample_wait = 4 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len);
 +              mi->sample_tries = 3;
 +              mi->sample_count--;
 +      }
 +#define __RC_MINSTREL_HT_H
 +
 +/*
-+ * maximum number of spatial streams to make use of
-+ * set this value to 3 once we have drivers that support it
++ * The number of streams can be changed to 2 to reduce code
++ * size and memory footprint.
 + */
-+#define MINSTREL_MAX_STREAMS  2
++#define MINSTREL_MAX_STREAMS  3
 +#define MINSTREL_STREAM_GROUPS        4
 +
 +/* scaled fraction values */
This page took 0.024508 seconds and 4 git commands to generate.