History

nl80211: Add support to offload SA Query procedures for AP SME device

Add a flag attribute to use in ap settings to indicate userspace supports offloading of SA Query procedures to driver. Also add AP SME device feature flag to advertise that the SA Query procedures offloaded to driver when userspace indicates support for offloading of SA Query procedures. Driver handles SA Query procedures in driver's SME it self and skip sending SA Query request or response frames to userspace when userspace indicates support for SA Query procedures offload. But if userspace doesn't advertise support for SA Query procedures offload driver shall not offload SA Query procedures handling. Also userspace with SA Query procedures offload capability shall skip SA Query specific validations when driver indicates support for handling SA Query procedures.

Veerendranath Jakkam committed 4 years ago

Commit 87c1aec1 parent 47301a71 file · +12 −4Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/nl80211.h+12−4
@@ -5760,13 +5760,15 @@ enum nl80211_tdls_operation { · 5759 unmodified lines
57605760 NL80211_TDLS_DISABLE_LINK,
57615761 };
57625762
5763−/*
5763+/**
57645764 * enum nl80211_ap_sme_features - device-integrated AP features
5765− * Reserved for future use, no bits are defined in
5766− * NL80211_ATTR_DEVICE_AP_SME yet.
5765+ * @NL80211_AP_SME_SA_QUERY_OFFLOAD: SA Query procedures offloaded to driver
5766+ * when user space indicates support for SA Query procedures offload during
5767+ * "start ap" with %NL80211_AP_SETTINGS_SA_QUERY_OFFLOAD_SUPPORT.
5768+ */
57675769 enum nl80211_ap_sme_features {
5770+ NL80211_AP_SME_SA_QUERY_OFFLOAD = 1 << 0,
57685771 };
5769− */
57705772
57715773 /**
57725774 * enum nl80211_feature_flags - device/driver features
@@ -7494,9 +7496,15 @@ enum nl80211_mbssid_config_attributes { · 1721 unmodified lines
74947496 *
74957497 * @NL80211_AP_SETTINGS_EXTERNAL_AUTH_SUPPORT: AP supports external
74967498 * authentication.
7499+ * @NL80211_AP_SETTINGS_SA_QUERY_OFFLOAD_SUPPORT: Userspace supports SA Query
7500+ * procedures offload to driver. If driver advertises
7501+ * %NL80211_AP_SME_SA_QUERY_OFFLOAD in AP SME features, userspace shall
7502+ * ignore SA Query procedures and validations when this flag is set by
7503+ * userspace.
74977504 */
74987505 enum nl80211_ap_settings_flags {
74997506 NL80211_AP_SETTINGS_EXTERNAL_AUTH_SUPPORT = 1 << 0,
7507+ NL80211_AP_SETTINGS_SA_QUERY_OFFLOAD_SUPPORT = 1 << 1,
75007508 };
75017509
75027510 #endif /* __LINUX_NL80211_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t