summaryrefslogtreecommitdiff
path: root/scripts/makelst
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-02 20:20:12 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 15:35:51 (GMT)
commited97a13c540eb8fdbb6250eaa6471a4263204af8 (patch)
treeddcea367a65e89414cfd550120368203ebf6fd1a /scripts/makelst
parent355199e02b831fd4f652c34d6c7673d973da1369 (diff)
downloadlinux-fsl-qoriq-ed97a13c540eb8fdbb6250eaa6471a4263204af8.tar.xz
mac80211/minstrel_ht: improve accuracy of throughput metric at high data rates
At high data rates the average frame transmission durations are small enough for rounding errors to matter, sometimes causing minstrel to use slightly lower transmit rates than necessary. To fix this, change the unit of the duration value to nanoseconds instead of microseconds, and reorder the multiplications/divisions when calculating the throughput metric so that they don't overflow or truncate prematurely. At 2-stream HT40 this makes TCP throughput a bit more stable. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/makelst')
0 files changed, 0 insertions, 0 deletions