aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorVeerendranath Jakkam <vjakkam@codeaurora.org>2021-11-26 12:55:18 +0530
committerJohannes Berg <johannes.berg@intel.com>2021-12-20 10:41:26 +0100
commit47301a74bbfa80cef876e646a8c5fec03c20fc8d (patch)
tree41348531d7fb316a1a94c777994e3a05b41ed654 /include/net/cfg80211.h
parentmac80211: add more HT/VHT/HE state logging (diff)
downloadlinux-dev-47301a74bbfa80cef876e646a8c5fec03c20fc8d.tar.xz
linux-dev-47301a74bbfa80cef876e646a8c5fec03c20fc8d.zip
nl80211: Add support to set AP settings flags with single attribute
In previous method each AP settings flag is represented by a top-level flag attribute and conversion to enum cfg80211_ap_settings_flags had to be done before sending them to driver. This commit is to make it easier to define new AP settings flags and sending them to driver. This commit also deprecate sending of %NL80211_ATTR_EXTERNAL_AUTH_SUPPORT in %NL80211_CMD_START_AP. But to maintain backwards compatibility checks for %NL80211_ATTR_EXTERNAL_AUTH_SUPPORT in %NL80211_CMD_START_AP when %NL80211_ATTR_AP_SETTINGS_FLAGS not present in %NL80211_CMD_START_AP. Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org> Link: https://lore.kernel.org/r/1637911519-21306-1-git-send-email-vjakkam@codeaurora.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
-rw-r--r--include/net/cfg80211.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index b59baf9dfd67..d19e48f9fdc6 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1188,17 +1188,6 @@ struct cfg80211_unsol_bcast_probe_resp {
};
/**
- * enum cfg80211_ap_settings_flags - AP settings flags
- *
- * Used by cfg80211_ap_settings
- *
- * @AP_SETTINGS_EXTERNAL_AUTH_SUPPORT: AP supports external authentication
- */
-enum cfg80211_ap_settings_flags {
- AP_SETTINGS_EXTERNAL_AUTH_SUPPORT = BIT(0),
-};
-
-/**
* struct cfg80211_ap_settings - AP configuration
*
* Used to configure an AP interface.