aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h310
1 files changed, 308 insertions, 2 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index c7ccaae15af..da5a98b27a2 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -483,6 +483,43 @@
483 * more background information, see 483 * more background information, see
484 * http://wireless.kernel.org/en/users/Documentation/WoWLAN. 484 * http://wireless.kernel.org/en/users/Documentation/WoWLAN.
485 * 485 *
486 * @NL80211_CMD_SET_REKEY_OFFLOAD: This command is used give the driver
487 * the necessary information for supporting GTK rekey offload. This
488 * feature is typically used during WoWLAN. The configuration data
489 * is contained in %NL80211_ATTR_REKEY_DATA (which is nested and
490 * contains the data in sub-attributes). After rekeying happened,
491 * this command may also be sent by the driver as an MLME event to
492 * inform userspace of the new replay counter.
493 *
494 * @NL80211_CMD_PMKSA_CANDIDATE: This is used as an event to inform userspace
495 * of PMKSA caching dandidates.
496 *
497 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
498 * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame.
499 *
500 * @NL80211_CMD_UNEXPECTED_FRAME: Used by an application controlling an AP
501 * (or GO) interface (i.e. hostapd) to ask for unexpected frames to
502 * implement sending deauth to stations that send unexpected class 3
503 * frames. Also used as the event sent by the kernel when such a frame
504 * is received.
505 * For the event, the %NL80211_ATTR_MAC attribute carries the TA and
506 * other attributes like the interface index are present.
507 * If used as the command it must have an interface index and you can
508 * only unsubscribe from the event by closing the socket.
509 *
510 * @NL80211_CMD_PROBE_CLIENT: Probe an associated station on an AP interface
511 * by sending a null data frame to it and reporting when the frame is
512 * acknowleged. This is used to allow timing out inactive clients. Uses
513 * %NL80211_ATTR_IFINDEX and %NL80211_ATTR_MAC. The command returns a
514 * direct reply with an %NL80211_ATTR_COOKIE that is later used to match
515 * up the event with the request. The event includes the same data and
516 * has %NL80211_ATTR_ACK set if the frame was ACKed.
517 *
518 * @NL80211_CMD_REGISTER_BEACONS: Register this socket to receive beacons from
519 * other BSSes when any interfaces are in AP mode. This helps implement
520 * OLBC handling in hostapd. Beacons are reported in %NL80211_CMD_FRAME
521 * messages. Note that per PHY only one application may register.
522 *
486 * @NL80211_CMD_MAX: highest used command number 523 * @NL80211_CMD_MAX: highest used command number
487 * @__NL80211_CMD_AFTER_LAST: internal use 524 * @__NL80211_CMD_AFTER_LAST: internal use
488 */ 525 */
@@ -605,6 +642,19 @@ enum nl80211_commands {
605 NL80211_CMD_SCHED_SCAN_RESULTS, 642 NL80211_CMD_SCHED_SCAN_RESULTS,
606 NL80211_CMD_SCHED_SCAN_STOPPED, 643 NL80211_CMD_SCHED_SCAN_STOPPED,
607 644
645 NL80211_CMD_SET_REKEY_OFFLOAD,
646
647 NL80211_CMD_PMKSA_CANDIDATE,
648
649 NL80211_CMD_TDLS_OPER,
650 NL80211_CMD_TDLS_MGMT,
651
652 NL80211_CMD_UNEXPECTED_FRAME,
653
654 NL80211_CMD_PROBE_CLIENT,
655
656 NL80211_CMD_REGISTER_BEACONS,
657
608 /* add new commands above here */ 658 /* add new commands above here */
609 659
610 /* used to define NL80211_CMD_MAX below */ 660 /* used to define NL80211_CMD_MAX below */
@@ -745,8 +795,14 @@ enum nl80211_commands {
745 * 795 *
746 * @NL80211_ATTR_MAX_NUM_SCAN_SSIDS: number of SSIDs you can scan with 796 * @NL80211_ATTR_MAX_NUM_SCAN_SSIDS: number of SSIDs you can scan with
747 * a single scan request, a wiphy attribute. 797 * a single scan request, a wiphy attribute.
798 * @NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS: number of SSIDs you can
799 * scan with a single scheduled scan request, a wiphy attribute.
748 * @NL80211_ATTR_MAX_SCAN_IE_LEN: maximum length of information elements 800 * @NL80211_ATTR_MAX_SCAN_IE_LEN: maximum length of information elements
749 * that can be added to a scan request 801 * that can be added to a scan request
802 * @NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN: maximum length of information
803 * elements that can be added to a scheduled scan request
804 * @NL80211_ATTR_MAX_MATCH_SETS: maximum number of sets that can be
805 * used with @NL80211_ATTR_SCHED_SCAN_MATCH, a wiphy attribute.
750 * 806 *
751 * @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz) 807 * @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz)
752 * @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive 808 * @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive
@@ -978,8 +1034,8 @@ enum nl80211_commands {
978 * driving the peer link management state machine. 1034 * driving the peer link management state machine.
979 * @NL80211_MESH_SETUP_USERSPACE_AMPE must be enabled. 1035 * @NL80211_MESH_SETUP_USERSPACE_AMPE must be enabled.
980 * 1036 *
981 * @NL80211_ATTR_WOWLAN_SUPPORTED: indicates, as part of the wiphy capabilities, 1037 * @NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED: indicates, as part of the wiphy
982 * the supported WoWLAN triggers 1038 * capabilities, the supported WoWLAN triggers
983 * @NL80211_ATTR_WOWLAN_TRIGGERS: used by %NL80211_CMD_SET_WOWLAN to 1039 * @NL80211_ATTR_WOWLAN_TRIGGERS: used by %NL80211_CMD_SET_WOWLAN to
984 * indicate which WoW triggers should be enabled. This is also 1040 * indicate which WoW triggers should be enabled. This is also
985 * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN 1041 * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN
@@ -987,6 +1043,24 @@ enum nl80211_commands {
987 1043
988 * @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan 1044 * @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan
989 * cycles, in msecs. 1045 * cycles, in msecs.
1046
1047 * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more
1048 * sets of attributes to match during scheduled scans. Only BSSs
1049 * that match any of the sets will be reported. These are
1050 * pass-thru filter rules.
1051 * For a match to succeed, the BSS must match all attributes of a
1052 * set. Since not every hardware supports matching all types of
1053 * attributes, there is no guarantee that the reported BSSs are
1054 * fully complying with the match sets and userspace needs to be
1055 * able to ignore them by itself.
1056 * Thus, the implementation is somewhat hardware-dependent, but
1057 * this is only an optimization and the userspace application
1058 * needs to handle all the non-filtered results anyway.
1059 * If the match attributes don't make sense when combined with
1060 * the values passed in @NL80211_ATTR_SCAN_SSIDS (eg. if an SSID
1061 * is included in the probe request, but the match attributes
1062 * will never let it go through), -EINVAL may be returned.
1063 * If ommited, no filtering is done.
990 * 1064 *
991 * @NL80211_ATTR_INTERFACE_COMBINATIONS: Nested attribute listing the supported 1065 * @NL80211_ATTR_INTERFACE_COMBINATIONS: Nested attribute listing the supported
992 * interface combinations. In each nested item, it contains attributes 1066 * interface combinations. In each nested item, it contains attributes
@@ -996,6 +1070,65 @@ enum nl80211_commands {
996 * are managed in software: interfaces of these types aren't subject to 1070 * are managed in software: interfaces of these types aren't subject to
997 * any restrictions in their number or combinations. 1071 * any restrictions in their number or combinations.
998 * 1072 *
1073 * @%NL80211_ATTR_REKEY_DATA: nested attribute containing the information
1074 * necessary for GTK rekeying in the device, see &enum nl80211_rekey_data.
1075 *
1076 * @NL80211_ATTR_SCAN_SUPP_RATES: rates per to be advertised as supported in scan,
1077 * nested array attribute containing an entry for each band, with the entry
1078 * being a list of supported rates as defined by IEEE 802.11 7.3.2.2 but
1079 * without the length restriction (at most %NL80211_MAX_SUPP_RATES).
1080 *
1081 * @NL80211_ATTR_HIDDEN_SSID: indicates whether SSID is to be hidden from Beacon
1082 * and Probe Response (when response to wildcard Probe Request); see
1083 * &enum nl80211_hidden_ssid, represented as a u32
1084 *
1085 * @NL80211_ATTR_IE_PROBE_RESP: Information element(s) for Probe Response frame.
1086 * This is used with %NL80211_CMD_NEW_BEACON and %NL80211_CMD_SET_BEACON to
1087 * provide extra IEs (e.g., WPS/P2P IE) into Probe Response frames when the
1088 * driver (or firmware) replies to Probe Request frames.
1089 * @NL80211_ATTR_IE_ASSOC_RESP: Information element(s) for (Re)Association
1090 * Response frames. This is used with %NL80211_CMD_NEW_BEACON and
1091 * %NL80211_CMD_SET_BEACON to provide extra IEs (e.g., WPS/P2P IE) into
1092 * (Re)Association Response frames when the driver (or firmware) replies to
1093 * (Re)Association Request frames.
1094 *
1095 * @NL80211_ATTR_STA_WME: Nested attribute containing the wme configuration
1096 * of the station, see &enum nl80211_sta_wme_attr.
1097 * @NL80211_ATTR_SUPPORT_AP_UAPSD: the device supports uapsd when working
1098 * as AP.
1099 *
1100 * @NL80211_ATTR_ROAM_SUPPORT: Indicates whether the firmware is capable of
1101 * roaming to another AP in the same ESS if the signal lever is low.
1102 *
1103 * @NL80211_ATTR_PMKSA_CANDIDATE: Nested attribute containing the PMKSA caching
1104 * candidate information, see &enum nl80211_pmksa_candidate_attr.
1105 *
1106 * @NL80211_ATTR_TX_NO_CCK_RATE: Indicates whether to use CCK rate or not
1107 * for management frames transmission. In order to avoid p2p probe/action
1108 * frames are being transmitted at CCK rate in 2GHz band, the user space
1109 * applications use this attribute.
1110 * This attribute is used with %NL80211_CMD_TRIGGER_SCAN and
1111 * %NL80211_CMD_FRAME commands.
1112 *
1113 * @NL80211_ATTR_TDLS_ACTION: Low level TDLS action code (e.g. link setup
1114 * request, link setup confirm, link teardown, etc.). Values are
1115 * described in the TDLS (802.11z) specification.
1116 * @NL80211_ATTR_TDLS_DIALOG_TOKEN: Non-zero token for uniquely identifying a
1117 * TDLS conversation between two devices.
1118 * @NL80211_ATTR_TDLS_OPERATION: High level TDLS operation; see
1119 * &enum nl80211_tdls_operation, represented as a u8.
1120 * @NL80211_ATTR_TDLS_SUPPORT: A flag indicating the device can operate
1121 * as a TDLS peer sta.
1122 * @NL80211_ATTR_TDLS_EXTERNAL_SETUP: The TDLS discovery/setup and teardown
1123 * procedures should be performed by sending TDLS packets via
1124 * %NL80211_CMD_TDLS_MGMT. Otherwise %NL80211_CMD_TDLS_OPER should be
1125 * used for asking the driver to perform a TDLS operation.
1126 *
1127 * @NL80211_ATTR_DEVICE_AP_SME: This u32 attribute may be listed for devices
1128 * that have AP support to indicate that they have the AP SME integrated
1129 * with support for the features listed in this attribute, see
1130 * &enum nl80211_ap_sme_features.
1131 *
999 * @NL80211_ATTR_MAX: highest attribute number currently defined 1132 * @NL80211_ATTR_MAX: highest attribute number currently defined
1000 * @__NL80211_ATTR_AFTER_LAST: internal use 1133 * @__NL80211_ATTR_AFTER_LAST: internal use
1001 */ 1134 */
@@ -1194,6 +1327,38 @@ enum nl80211_attrs {
1194 NL80211_ATTR_INTERFACE_COMBINATIONS, 1327 NL80211_ATTR_INTERFACE_COMBINATIONS,
1195 NL80211_ATTR_SOFTWARE_IFTYPES, 1328 NL80211_ATTR_SOFTWARE_IFTYPES,
1196 1329
1330 NL80211_ATTR_REKEY_DATA,
1331
1332 NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS,
1333 NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN,
1334
1335 NL80211_ATTR_SCAN_SUPP_RATES,
1336
1337 NL80211_ATTR_HIDDEN_SSID,
1338
1339 NL80211_ATTR_IE_PROBE_RESP,
1340 NL80211_ATTR_IE_ASSOC_RESP,
1341
1342 NL80211_ATTR_STA_WME,
1343 NL80211_ATTR_SUPPORT_AP_UAPSD,
1344
1345 NL80211_ATTR_ROAM_SUPPORT,
1346
1347 NL80211_ATTR_SCHED_SCAN_MATCH,
1348 NL80211_ATTR_MAX_MATCH_SETS,
1349
1350 NL80211_ATTR_PMKSA_CANDIDATE,
1351
1352 NL80211_ATTR_TX_NO_CCK_RATE,
1353
1354 NL80211_ATTR_TDLS_ACTION,
1355 NL80211_ATTR_TDLS_DIALOG_TOKEN,
1356 NL80211_ATTR_TDLS_OPERATION,
1357 NL80211_ATTR_TDLS_SUPPORT,
1358 NL80211_ATTR_TDLS_EXTERNAL_SETUP,
1359
1360 NL80211_ATTR_DEVICE_AP_SME,
1361
1197 /* add attributes here, update the policy in nl80211.c */ 1362 /* add attributes here, update the policy in nl80211.c */
1198 1363
1199 __NL80211_ATTR_AFTER_LAST, 1364 __NL80211_ATTR_AFTER_LAST,
@@ -1653,6 +1818,26 @@ enum nl80211_reg_rule_attr {
1653}; 1818};
1654 1819
1655/** 1820/**
1821 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
1822 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
1823 * @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching,
1824 * only report BSS with matching SSID.
1825 * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter
1826 * attribute number currently defined
1827 * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use
1828 */
1829enum nl80211_sched_scan_match_attr {
1830 __NL80211_SCHED_SCAN_MATCH_ATTR_INVALID,
1831
1832 NL80211_ATTR_SCHED_SCAN_MATCH_SSID,
1833
1834 /* keep last */
1835 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST,
1836 NL80211_SCHED_SCAN_MATCH_ATTR_MAX =
1837 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
1838};
1839
1840/**
1656 * enum nl80211_reg_rule_flags - regulatory rule flags 1841 * enum nl80211_reg_rule_flags - regulatory rule flags
1657 * 1842 *
1658 * @NL80211_RRF_NO_OFDM: OFDM modulation not allowed 1843 * @NL80211_RRF_NO_OFDM: OFDM modulation not allowed
@@ -2239,6 +2424,16 @@ struct nl80211_wowlan_pattern_support {
2239 * 2424 *
2240 * In %NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED, it is a binary attribute 2425 * In %NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED, it is a binary attribute
2241 * carrying a &struct nl80211_wowlan_pattern_support. 2426 * carrying a &struct nl80211_wowlan_pattern_support.
2427 * @NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED: Not a real trigger, and cannot be
2428 * used when setting, used only to indicate that GTK rekeying is supported
2429 * by the device (flag)
2430 * @NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE: wake up on GTK rekey failure (if
2431 * done by the device) (flag)
2432 * @NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST: wake up on EAP Identity Request
2433 * packet (flag)
2434 * @NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: wake up on 4-way handshake (flag)
2435 * @NL80211_WOWLAN_TRIG_RFKILL_RELEASE: wake up when rfkill is released
2436 * (on devices that have rfkill in the device) (flag)
2242 * @NUM_NL80211_WOWLAN_TRIG: number of wake on wireless triggers 2437 * @NUM_NL80211_WOWLAN_TRIG: number of wake on wireless triggers
2243 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number 2438 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number
2244 */ 2439 */
@@ -2248,6 +2443,11 @@ enum nl80211_wowlan_triggers {
2248 NL80211_WOWLAN_TRIG_DISCONNECT, 2443 NL80211_WOWLAN_TRIG_DISCONNECT,
2249 NL80211_WOWLAN_TRIG_MAGIC_PKT, 2444 NL80211_WOWLAN_TRIG_MAGIC_PKT,
2250 NL80211_WOWLAN_TRIG_PKT_PATTERN, 2445 NL80211_WOWLAN_TRIG_PKT_PATTERN,
2446 NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED,
2447 NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE,
2448 NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST,
2449 NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE,
2450 NL80211_WOWLAN_TRIG_RFKILL_RELEASE,
2251 2451
2252 /* keep last */ 2452 /* keep last */
2253 NUM_NL80211_WOWLAN_TRIG, 2453 NUM_NL80211_WOWLAN_TRIG,
@@ -2361,4 +2561,110 @@ enum nl80211_plink_state {
2361 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1 2561 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
2362}; 2562};
2363 2563
2564#define NL80211_KCK_LEN 16
2565#define NL80211_KEK_LEN 16
2566#define NL80211_REPLAY_CTR_LEN 8
2567
2568/**
2569 * enum nl80211_rekey_data - attributes for GTK rekey offload
2570 * @__NL80211_REKEY_DATA_INVALID: invalid number for nested attributes
2571 * @NL80211_REKEY_DATA_KEK: key encryption key (binary)
2572 * @NL80211_REKEY_DATA_KCK: key confirmation key (binary)
2573 * @NL80211_REKEY_DATA_REPLAY_CTR: replay counter (binary)
2574 * @NUM_NL80211_REKEY_DATA: number of rekey attributes (internal)
2575 * @MAX_NL80211_REKEY_DATA: highest rekey attribute (internal)
2576 */
2577enum nl80211_rekey_data {
2578 __NL80211_REKEY_DATA_INVALID,
2579 NL80211_REKEY_DATA_KEK,
2580 NL80211_REKEY_DATA_KCK,
2581 NL80211_REKEY_DATA_REPLAY_CTR,
2582
2583 /* keep last */
2584 NUM_NL80211_REKEY_DATA,
2585 MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
2586};
2587
2588/**
2589 * enum nl80211_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
2590 * @NL80211_HIDDEN_SSID_NOT_IN_USE: do not hide SSID (i.e., broadcast it in
2591 * Beacon frames)
2592 * @NL80211_HIDDEN_SSID_ZERO_LEN: hide SSID by using zero-length SSID element
2593 * in Beacon frames
2594 * @NL80211_HIDDEN_SSID_ZERO_CONTENTS: hide SSID by using correct length of SSID
2595 * element in Beacon frames but zero out each byte in the SSID
2596 */
2597enum nl80211_hidden_ssid {
2598 NL80211_HIDDEN_SSID_NOT_IN_USE,
2599 NL80211_HIDDEN_SSID_ZERO_LEN,
2600 NL80211_HIDDEN_SSID_ZERO_CONTENTS
2601};
2602
2603/**
2604 * enum nl80211_sta_wme_attr - station WME attributes
2605 * @__NL80211_STA_WME_INVALID: invalid number for nested attribute
2606 * @NL80211_STA_WME_UAPSD_QUEUES: bitmap of uapsd queues. the format
2607 * is the same as the AC bitmap in the QoS info field.
2608 * @NL80211_STA_WME_MAX_SP: max service period. the format is the same
2609 * as the MAX_SP field in the QoS info field (but already shifted down).
2610 * @__NL80211_STA_WME_AFTER_LAST: internal
2611 * @NL80211_STA_WME_MAX: highest station WME attribute
2612 */
2613enum nl80211_sta_wme_attr {
2614 __NL80211_STA_WME_INVALID,
2615 NL80211_STA_WME_UAPSD_QUEUES,
2616 NL80211_STA_WME_MAX_SP,
2617
2618 /* keep last */
2619 __NL80211_STA_WME_AFTER_LAST,
2620 NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
2621};
2622
2623/**
2624 * enum nl80211_pmksa_candidate_attr - attributes for PMKSA caching candidates
2625 * @__NL80211_PMKSA_CANDIDATE_INVALID: invalid number for nested attributes
2626 * @NL80211_PMKSA_CANDIDATE_INDEX: candidate index (u32; the smaller, the higher
2627 * priority)
2628 * @NL80211_PMKSA_CANDIDATE_BSSID: candidate BSSID (6 octets)
2629 * @NL80211_PMKSA_CANDIDATE_PREAUTH: RSN pre-authentication supported (flag)
2630 * @NUM_NL80211_PMKSA_CANDIDATE: number of PMKSA caching candidate attributes
2631 * (internal)
2632 * @MAX_NL80211_PMKSA_CANDIDATE: highest PMKSA caching candidate attribute
2633 * (internal)
2634 */
2635enum nl80211_pmksa_candidate_attr {
2636 __NL80211_PMKSA_CANDIDATE_INVALID,
2637 NL80211_PMKSA_CANDIDATE_INDEX,
2638 NL80211_PMKSA_CANDIDATE_BSSID,
2639 NL80211_PMKSA_CANDIDATE_PREAUTH,
2640
2641 /* keep last */
2642 NUM_NL80211_PMKSA_CANDIDATE,
2643 MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
2644};
2645
2646/**
2647 * enum nl80211_tdls_operation - values for %NL80211_ATTR_TDLS_OPERATION
2648 * @NL80211_TDLS_DISCOVERY_REQ: Send a TDLS discovery request
2649 * @NL80211_TDLS_SETUP: Setup TDLS link
2650 * @NL80211_TDLS_TEARDOWN: Teardown a TDLS link which is already established
2651 * @NL80211_TDLS_ENABLE_LINK: Enable TDLS link
2652 * @NL80211_TDLS_DISABLE_LINK: Disable TDLS link
2653 */
2654enum nl80211_tdls_operation {
2655 NL80211_TDLS_DISCOVERY_REQ,
2656 NL80211_TDLS_SETUP,
2657 NL80211_TDLS_TEARDOWN,
2658 NL80211_TDLS_ENABLE_LINK,
2659 NL80211_TDLS_DISABLE_LINK,
2660};
2661
2662/*
2663 * enum nl80211_ap_sme_features - device-integrated AP features
2664 * Reserved for future use, no bits are defined in
2665 * NL80211_ATTR_DEVICE_AP_SME yet.
2666enum nl80211_ap_sme_features {
2667};
2668 */
2669
2364#endif /* __LINUX_NL80211_H */ 2670#endif /* __LINUX_NL80211_H */