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
5760 NL80211_TDLS_DISABLE_LINK,5760 NL80211_TDLS_DISABLE_LINK,
5761};5761};
5762 5762
5763/*5763/**
5764 * enum nl80211_ap_sme_features - device-integrated AP features5764 * enum nl80211_ap_sme_features - device-integrated AP features
5765 * Reserved for future use, no bits are defined in5765 * @NL80211_AP_SME_SA_QUERY_OFFLOAD: SA Query procedures offloaded to driver
5766 * NL80211_ATTR_DEVICE_AP_SME yet.5766 * when user space indicates support for SA Query procedures offload during
5767 * "start ap" with %NL80211_AP_SETTINGS_SA_QUERY_OFFLOAD_SUPPORT.
5768 */
5767enum nl80211_ap_sme_features {5769enum nl80211_ap_sme_features {
5770 NL80211_AP_SME_SA_QUERY_OFFLOAD = 1 << 0,
5768};5771};
5769 */
5770 5772
5771/**5773/**
5772 * enum nl80211_feature_flags - device/driver features5774 * enum nl80211_feature_flags - device/driver features
@@ -7494,9 +7496,15 @@ enum nl80211_mbssid_config_attributes { · 1721 unmodified lines
7494 *7496 *
7495 * @NL80211_AP_SETTINGS_EXTERNAL_AUTH_SUPPORT: AP supports external7497 * @NL80211_AP_SETTINGS_EXTERNAL_AUTH_SUPPORT: AP supports external
7496 * authentication.7498 * 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.
7497 */7504 */
7498enum nl80211_ap_settings_flags {7505enum nl80211_ap_settings_flags {
7499 NL80211_AP_SETTINGS_EXTERNAL_AUTH_SUPPORT = 1 << 0,7506 NL80211_AP_SETTINGS_EXTERNAL_AUTH_SUPPORT = 1 << 0,
7507 NL80211_AP_SETTINGS_SA_QUERY_OFFLOAD_SUPPORT = 1 << 1,
7500};7508};
7501 7509
7502#endif /* __LINUX_NL80211_H */7510#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