]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: minstrel: remove divisions in tx status path
authorFelix Fietkau <nbd@nbd.name>
Tue, 8 Oct 2019 17:11:37 +0000 (19:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Oct 2019 08:31:15 +0000 (10:31 +0200)
commit13242f351b5a1e191a77a102ebd053486554cb2e
tree15a2fa7542b78ec447508c40a9c79633199ac8d9
parentd9bc8294aef6dda3358831ca7d12b6d93d0531ca
mac80211: minstrel: remove divisions in tx status path

Use a slightly different threshold for downgrading spatial streams to
make it easier to calculate without divisions.
Slightly reduces CPU overhead.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20191008171139.96476-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel.c
net/mac80211/rc80211_minstrel_ht.c