]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mac80211: minstrel_ht: fix per-group max throughput rate initialization
authorFelix Fietkau <nbd@nbd.name>
Tue, 20 Aug 2019 09:54:46 +0000 (11:54 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commitfe146ca6e241bb3e9f35a7ccfa0158640e39d6a1
tree69033feee61a8535c19835721f8bb76e025d08ad
parent64584b95b0f63696aef00ed062174f7a290cc150
mac80211: minstrel_ht: fix per-group max throughput rate initialization

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 56dd918ff06e3ee24d8067e93ed12b2a39e71394 ]

The group number needs to be multiplied by the number of rates per group
to get the full rate index

Fixes: 5935839ad735 ("mac80211: improve minstrel_ht rate sorting by throughput & probability")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20190820095449.45255-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/mac80211/rc80211_minstrel_ht.c