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)
commit7f406cd16a0f0965c761ea02bc1f03154b06bbfb
treec71ef752c99d8703ce28e3df6a2ba165436dd913
parent0c1eca4e2f96000077900e0108fff23994c73486
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