]> 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)
commit125e54e135480a20238921d5b358181064dc7e03
tree3e3da5ad42fb35d231f17bd9c6f2401bcb032138
parentbf5b0b403b07fd69f7b6ff6d9aadbdd8cfb714b4
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