OSDN Git Service

cfg80211: consider VHT opmode on station update
authorBeni Lev <beni.lev@intel.com>
Tue, 19 Jul 2016 16:28:56 +0000 (19:28 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Jan 2017 15:34:25 +0000 (16:34 +0100)
commit06f7c88c107fb469f4f1344142e80df5175c6836
treea5e46286aab7449727dd585e8f308e5b73a103c2
parentd7f842442f766db3f39fc5d166ddcc24bf817056
cfg80211: consider VHT opmode on station update

Currently, this attribute is only fetched on station addition, but
not on station change. Since this info is only present in the assoc
request, with full station state support in the driver it cannot be
present when the station is added.

Thus, add support for changing the VHT opmode on station update if
done before (or while) the station is marked as associated. After
this, ignore it, since it used to be ignored.

Signed-off-by: Beni Lev <beni.lev@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/wireless/nl80211.c