]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: support S1G capability overrides in assoc
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 22 Sep 2020 02:28:04 +0000 (19:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 11:53:05 +0000 (13:53 +0200)
commitd2b7588a47de8322891de38ec14d15105d66cb1e
tree3e3da5ad42fb35d231f17bd9c6f2401bcb032138
parent75b1593533f13a2b77306a1edb971be2d8705dd7
nl80211: support S1G capability overrides in assoc

NL80211_ATTR_S1G_CAPABILITY can be passed along with
NL80211_ATTR_S1G_CAPABILITY_MASK to NL80211_CMD_ASSOCIATE
to indicate S1G capabilities which should override the
hardware capabilities in eg. the association request.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-4-thomas@adapt-ip.com
[johannes: always require both attributes together, commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c