]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
cfg80211: allow advertising vendor-specific capabilities
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 10:41:52 +0000 (13:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 11:05:09 +0000 (13:05 +0200)
commitf4f8650588d35deafaa4a4e28cceb3557a71e711
treeb05ed032969142d96b48400653b8deb8f181ba88
parent1b7b3ac8ff3317cdcf07a1c413de9bdb68019c2b
cfg80211: allow advertising vendor-specific capabilities

There may be cases where vendor-specific elements need to be
used over the air. Rather than have driver or firmware add
them and possibly cause problems that way, add them to the
iftype-data band capabilities. This way we can advertise to
userspace first, and use them in mac80211 next.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618133832.e8c4f0347276.Iee5964682b3e9ec51fc1cd57a7c62383eaf6ddd7@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c