OSDN Git Service

mac80211: don't warn on AID field without top two MSBs set
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Dec 2017 11:50:51 +0000 (13:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Dec 2017 11:20:03 +0000 (12:20 +0100)
commitc7c477b52c4caa2cfb44bf3841f806d1bf20e0bf
tree84b64ef0381f334b309914489b190afc790e4dbd
parent768075ebc238d11900b27975e649286d292eb8cf
mac80211: don't warn on AID field without top two MSBs set

While the change between 802.11-2012 and 802.11-2016 to move from
requiring APs to set the two top bits to now requiring them to be
cleared was apparently unintentional and will be fixed, clients
should either way assume that the top five bits are reserved and
ignore them.

Implement that in mac80211.

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