]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: don't allow 40MHz tx rates in case of 20MHz chandef
authorEliad Peller <eliad@wizery.com>
Tue, 11 Nov 2014 16:11:22 +0000 (18:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 17:46:30 +0000 (18:46 +0100)
commit8b1956f0416f10c2362532a9f87c9f1afc70347c
tree527ada95b457129ddffcfce969066a4cc641cca6
parent339467b906f599b6f3a479dffe7f5bb0241b78ac
mac80211: don't allow 40MHz tx rates in case of 20MHz chandef

When 20MHz chandef is used, 40MHz rates shouldn't be
used (by the rate-control algorithm), even if the sta
ht capabilities indicate support for it.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Singed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/vht.c