]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0117a0ef122594a2a1a1c8a42f1f6075a01c7718
treea5e46286aab7449727dd585e8f308e5b73a103c2
parent9086f59f25603f45499647d6aa6fdee7cb97d511
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