History

Merge tag 'mac80211-next-for-davem-2019-06-14' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next

Johannes Berg says: ==================== Many changes all over: * HE (802.11ax) work continues * WPA3 offloads * work on extended key ID handling continues * fixes to honour AP supported rates with auth/assoc frames * nl80211 netlink policy improvements to fix some issues with strict validation on new commands with old attrs ====================

David S. Miller committed 7 years ago

Commit d96ec972 parents 733f076 ddb754a30 files · +495 −168Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+24−0
@@ -234,6 +234,15 @@ · 233 unmodified lines
234234 * use in a FILS shared key connection with PMKSA caching.
235235 */
236236
237+/**
238+ * DOC: SAE authentication offload
239+ *
240+ * By setting @NL80211_EXT_FEATURE_SAE_OFFLOAD flag drivers can indicate they
241+ * support offloading SAE authentication for WPA3-Personal networks. In
242+ * %NL80211_CMD_CONNECT the password for SAE should be specified using
243+ * %NL80211_ATTR_SAE_PASSWORD.
244+ */
245+
237246 /**
238247 * enum nl80211_commands - supported nl80211 commands
239248 *
@@ -2341,6 +2350,12 @@ enum nl80211_commands { · 2101 unmodified lines
23412350 * should be picking up the lowest tx power, either tx power per-interface
23422351 * or per-station.
23432352 *
2353+ * @NL80211_ATTR_SAE_PASSWORD: attribute for passing SAE password material. It
2354+ * is used with %NL80211_CMD_CONNECT to provide password for offloading
2355+ * SAE authentication for WPA3-Personal networks.
2356+ *
2357+ * @NL80211_ATTR_TWT_RESPONDER: Enable target wait time responder support.
2358+ *
23442359 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
23452360 * @NL80211_ATTR_MAX: highest attribute number currently defined
23462361 * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -2794,6 +2809,10 @@ enum nl80211_attrs { · 447 unmodified lines
27942809 NL80211_ATTR_STA_TX_POWER_SETTING,
27952810 NL80211_ATTR_STA_TX_POWER,
27962811
2812+ NL80211_ATTR_SAE_PASSWORD,
2813+
2814+ NL80211_ATTR_TWT_RESPONDER,
2815+
27972816 /* add attributes here, update the policy in nl80211.c */
27982817
27992818 __NL80211_ATTR_AFTER_LAST,
@@ -4406,6 +4425,7 @@ enum nl80211_mfp { · 1606 unmodified lines
44064425 enum nl80211_wpa_versions {
44074426 NL80211_WPA_VERSION_1 = 1 << 0,
44084427 NL80211_WPA_VERSION_2 = 1 << 1,
4428+ NL80211_WPA_VERSION_3 = 1 << 2,
44094429 };
44104430
44114431 /**
@@ -5422,6 +5442,9 @@ enum nl80211_feature_flags { · 1010 unmodified lines
54225442 * @NL80211_EXT_FEATURE_STA_TX_PWR: This driver supports controlling tx power
54235443 * to a station.
54245444 *
5445+ * @NL80211_EXT_FEATURE_SAE_OFFLOAD: Device wants to do SAE authentication in
5446+ * station mode (SAE password is passed as part of the connect command).
5447+ *
54255448 * @NUM_NL80211_EXT_FEATURES: number of extended features.
54265449 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
54275450 */
@@ -5466,6 +5489,7 @@ enum nl80211_ext_feature_index { · 38 unmodified lines
54665489 NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD,
54675490 NL80211_EXT_FEATURE_EXT_KEY_ID,
54685491 NL80211_EXT_FEATURE_STA_TX_PWR,
5492+ NL80211_EXT_FEATURE_SAE_OFFLOAD,
54695493
54705494 /* add new features before the definition below */
54715495 NUM_NL80211_EXT_FEATURES,

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