History

cfg80211: Allow user space to specify non-IEs to SAE Authentication

SAE extends Authentication frames with fields that are not information elements. NL80211_ATTR_IE is not suitable for these, so introduce a new attribute that can be used to specify the fields needed for SAE in station mode.

Jouni Malinen committed 14 years ago

Commit e39e5b51 parent 0f4126e6 files · +77 −18Browse files

Showing the changes to include/uapi/linux (1 of 6 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+11−0
@@ -1273,6 +1273,9 @@ enum nl80211_commands { · 1272 unmodified lines
12731273 * the connection request from a station. nl80211_connect_failed_reason
12741274 * enum has different reasons of connection failure.
12751275 *
1276+ * @NL80211_ATTR_SAE_DATA: SAE elements in Authentication frames. This starts
1277+ * with the Authentication transaction sequence number field.
1278+ *
12761279 * @NL80211_ATTR_MAX: highest attribute number currently defined
12771280 * @__NL80211_ATTR_AFTER_LAST: internal use
12781281 */
@@ -1530,6 +1533,8 @@ enum nl80211_attrs { · 251 unmodified lines
15301533
15311534 NL80211_ATTR_CONN_FAILED_REASON,
15321535
1536+ NL80211_ATTR_SAE_DATA,
1537+
15331538 /* add attributes here, update the policy in nl80211.c */
15341539
15351540 __NL80211_ATTR_AFTER_LAST,
@@ -2489,6 +2494,7 @@ enum nl80211_bss_status { · 953 unmodified lines
24892494 * @NL80211_AUTHTYPE_SHARED_KEY: Shared Key authentication (WEP only)
24902495 * @NL80211_AUTHTYPE_FT: Fast BSS Transition (IEEE 802.11r)
24912496 * @NL80211_AUTHTYPE_NETWORK_EAP: Network EAP (some Cisco APs and mainly LEAP)
2497+ * @NL80211_AUTHTYPE_SAE: Simultaneous authentication of equals
24922498 * @__NL80211_AUTHTYPE_NUM: internal
24932499 * @NL80211_AUTHTYPE_MAX: maximum valid auth algorithm
24942500 * @NL80211_AUTHTYPE_AUTOMATIC: determine automatically (if necessary by
@@ -2500,6 +2506,7 @@ enum nl80211_auth_type { · 5 unmodified lines
25002506 NL80211_AUTHTYPE_SHARED_KEY,
25012507 NL80211_AUTHTYPE_FT,
25022508 NL80211_AUTHTYPE_NETWORK_EAP,
2509+ NL80211_AUTHTYPE_SAE,
25032510
25042511 /* keep last */
25052512 __NL80211_AUTHTYPE_NUM,
@@ -3028,6 +3035,9 @@ enum nl80211_ap_sme_features { · 522 unmodified lines
30283035 * in the interface combinations, even when it's only used for scan
30293036 * and remain-on-channel. This could be due to, for example, the
30303037 * remain-on-channel implementation requiring a channel context.
3038+ * @NL80211_FEATURE_SAE: This driver supports simultaneous authentication of
3039+ * equals (SAE) with user space SME (NL80211_CMD_AUTHENTICATE) in station
3040+ * mode
30313041 */
30323042 enum nl80211_feature_flags {
30333043 NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -3035,6 +3045,7 @@ enum nl80211_feature_flags { · 1 unmodified line
30353045 NL80211_FEATURE_INACTIVITY_TIMER = 1 << 2,
30363046 NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3,
30373047 NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4,
3048+ NL80211_FEATURE_SAE = 1 << 5,
30383049 };
30393050
30403051 /**

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