]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: encode rate type (legacy, HT, VHT) with fewer bits
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Feb 2017 14:02:09 +0000 (15:02 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 Mar 2017 08:21:45 +0000 (09:21 +0100)
commit88ddea73d087656a64456540c6a86d3de662a417
treec71ef752c99d8703ce28e3df6a2ba165436dd913
parent39de6e19c1caa20753318a7df474bb1b54064b4f
mac80211: encode rate type (legacy, HT, VHT) with fewer bits

We don't really need three different bits for each, since the
types are mutually exclusive. Use just two bits for it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c
net/mac80211/sta_info.h