cfg80211: Add support to notify station's opmode change to userspace
authortamizhr@codeaurora.org <tamizhr@codeaurora.org>
Wed, 31 Jan 2018 10:54:49 +0000 (16:24 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jan 2018 11:57:44 +0000 (12:57 +0100)
commit466b9936bf93b7ec3bce1dcd493262ff0a8a4f44
tree77ad5b4eade717ca3b790187501a235b22f96e7f
parent25b0ba7ebbc5ffa5a64d752b85af78e6e517e3b2
cfg80211: Add support to notify station's opmode change to userspace

ht/vht action frames will be sent to AP from station to notify
change of its ht/vht opmode(max bandwidth, smps mode or nss) modified
values. Currently these valuse used by driver/firmware for rate control
algorithm. This patch introduces NL80211_CMD_STA_OPMODE_CHANGED
command to notify those modified/current supported values(max bandwidth,
smps mode, max nss) to userspace application. This will be useful for the
application like steering, which closely monitoring station's capability
changes. Since the application has taken these values during station
association.

Signed-off-by: Tamizh chelvam <tamizhr@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c