History

Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem

John W. Linville committed 14 years ago

Commit 5bdf5022 parents bf0098f 38141fc233 files · +13900 −4289Browse files

Showing the changes to include/uapi (2 of 233 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/nfc.h +15 −0
  2. include/uapi/linux/nl80211.h +48 −0
include/uapi/linux/nfc.h+15−0
@@ -60,6 +60,13 @@ · 59 unmodified lines
6060 * target mode.
6161 * @NFC_EVENT_DEVICE_DEACTIVATED: event emitted when the adapter is deactivated
6262 * from target mode.
63+ * @NFC_CMD_LLC_GET_PARAMS: request LTO, RW, and MIUX parameters for a device
64+ * @NFC_CMD_LLC_SET_PARAMS: set one or more of LTO, RW, and MIUX parameters for
65+ * a device. LTO must be set before the link is up otherwise -EINPROGRESS
66+ * is returned. RW and MIUX can be set at anytime and will be passed in
67+ * subsequent CONNECT and CC messages.
68+ * If one of the passed parameters is wrong none is set and -EINVAL is
69+ * returned.
6370 */
6471 enum nfc_commands {
6572 NFC_CMD_UNSPEC,
@@ -77,6 +84,8 @@ enum nfc_commands { · 11 unmodified lines
7784 NFC_EVENT_TARGET_LOST,
7885 NFC_EVENT_TM_ACTIVATED,
7986 NFC_EVENT_TM_DEACTIVATED,
87+ NFC_CMD_LLC_GET_PARAMS,
88+ NFC_CMD_LLC_SET_PARAMS,
8089 /* private: internal use only */
8190 __NFC_CMD_AFTER_LAST
8291 };
@@ -102,6 +111,9 @@ enum nfc_commands { · 19 unmodified lines
102111 * @NFC_ATTR_RF_MODE: Initiator or target
103112 * @NFC_ATTR_IM_PROTOCOLS: Initiator mode protocols to poll for
104113 * @NFC_ATTR_TM_PROTOCOLS: Target mode protocols to listen for
114+ * @NFC_ATTR_LLC_PARAM_LTO: Link TimeOut parameter
115+ * @NFC_ATTR_LLC_PARAM_RW: Receive Window size parameter
116+ * @NFC_ATTR_LLC_PARAM_MIUX: MIU eXtension parameter
105117 */
106118 enum nfc_attrs {
107119 NFC_ATTR_UNSPEC,
@@ -119,6 +131,9 @@ enum nfc_attrs { · 11 unmodified lines
119131 NFC_ATTR_DEVICE_POWERED,
120132 NFC_ATTR_IM_PROTOCOLS,
121133 NFC_ATTR_TM_PROTOCOLS,
134+ NFC_ATTR_LLC_PARAM_LTO,
135+ NFC_ATTR_LLC_PARAM_RW,
136+ NFC_ATTR_LLC_PARAM_MIUX,
122137 /* private: internal use only */
123138 __NFC_ATTR_AFTER_LAST
124139 };
include/uapi/linux/nl80211.h+48−0
@@ -1273,6 +1273,14 @@ 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+ *
1279+ * @NL80211_ATTR_VHT_CAPABILITY: VHT Capability information element (from
1280+ * association request when used with NL80211_CMD_NEW_STATION)
1281+ *
1282+ * @NL80211_ATTR_SCAN_FLAGS: scan request control flags (u32)
1283+ *
12761284 * @NL80211_ATTR_MAX: highest attribute number currently defined
12771285 * @__NL80211_ATTR_AFTER_LAST: internal use
12781286 */
@@ -1530,6 +1538,12 @@ enum nl80211_attrs { · 251 unmodified lines
15301538
15311539 NL80211_ATTR_CONN_FAILED_REASON,
15321540
1541+ NL80211_ATTR_SAE_DATA,
1542+
1543+ NL80211_ATTR_VHT_CAPABILITY,
1544+
1545+ NL80211_ATTR_SCAN_FLAGS,
1546+
15331547 /* add attributes here, update the policy in nl80211.c */
15341548
15351549 __NL80211_ATTR_AFTER_LAST,
@@ -1573,6 +1587,7 @@ enum nl80211_attrs { · 37 unmodified lines
15731587 #define NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY 16
15741588 #define NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY 24
15751589 #define NL80211_HT_CAPABILITY_LEN 26
1590+#define NL80211_VHT_CAPABILITY_LEN 12
15761591
15771592 #define NL80211_MAX_NR_CIPHER_SUITES 5
15781593 #define NL80211_MAX_NR_AKM_SUITES 2
@@ -2489,6 +2504,7 @@ enum nl80211_bss_status { · 910 unmodified lines
24892504 * @NL80211_AUTHTYPE_SHARED_KEY: Shared Key authentication (WEP only)
24902505 * @NL80211_AUTHTYPE_FT: Fast BSS Transition (IEEE 802.11r)
24912506 * @NL80211_AUTHTYPE_NETWORK_EAP: Network EAP (some Cisco APs and mainly LEAP)
2507+ * @NL80211_AUTHTYPE_SAE: Simultaneous authentication of equals
24922508 * @__NL80211_AUTHTYPE_NUM: internal
24932509 * @NL80211_AUTHTYPE_MAX: maximum valid auth algorithm
24942510 * @NL80211_AUTHTYPE_AUTOMATIC: determine automatically (if necessary by
@@ -2500,6 +2516,7 @@ enum nl80211_auth_type { · 5 unmodified lines
25002516 NL80211_AUTHTYPE_SHARED_KEY,
25012517 NL80211_AUTHTYPE_FT,
25022518 NL80211_AUTHTYPE_NETWORK_EAP,
2519+ NL80211_AUTHTYPE_SAE,
25032520
25042521 /* keep last */
25052522 __NL80211_AUTHTYPE_NUM,
@@ -3028,6 +3045,12 @@ enum nl80211_ap_sme_features { · 522 unmodified lines
30283045 * in the interface combinations, even when it's only used for scan
30293046 * and remain-on-channel. This could be due to, for example, the
30303047 * remain-on-channel implementation requiring a channel context.
3048+ * @NL80211_FEATURE_SAE: This driver supports simultaneous authentication of
3049+ * equals (SAE) with user space SME (NL80211_CMD_AUTHENTICATE) in station
3050+ * mode
3051+ * @NL80211_FEATURE_LOW_PRIORITY_SCAN: This driver supports low priority scan
3052+ * @NL80211_FEATURE_SCAN_FLUSH: Scan flush is supported
3053+ * @NL80211_FEATURE_AP_SCAN: Support scanning using an AP vif
30313054 */
30323055 enum nl80211_feature_flags {
30333056 NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -3035,6 +3058,10 @@ enum nl80211_feature_flags { · 1 unmodified line
30353058 NL80211_FEATURE_INACTIVITY_TIMER = 1 << 2,
30363059 NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3,
30373060 NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4,
3061+ NL80211_FEATURE_SAE = 1 << 5,
3062+ NL80211_FEATURE_LOW_PRIORITY_SCAN = 1 << 6,
3063+ NL80211_FEATURE_SCAN_FLUSH = 1 << 7,
3064+ NL80211_FEATURE_AP_SCAN = 1 << 8,
30383065 };
30393066
30403067 /**
@@ -3069,4 +3096,25 @@ enum nl80211_connect_failed_reason { · 28 unmodified lines
30693096 NL80211_CONN_FAIL_BLOCKED_CLIENT,
30703097 };
30713098
3099+/**
3100+ * enum nl80211_scan_flags - scan request control flags
3101+ *
3102+ * Scan request control flags are used to control the handling
3103+ * of NL80211_CMD_TRIGGER_SCAN and NL80211_CMD_START_SCHED_SCAN
3104+ * requests.
3105+ *
3106+ * @NL80211_SCAN_FLAG_LOW_PRIORITY: scan request has low priority
3107+ * @NL80211_SCAN_FLAG_FLUSH: flush cache before scanning
3108+ * @NL80211_SCAN_FLAG_AP: force a scan even if the interface is configured
3109+ * as AP and the beaconing has already been configured. This attribute is
3110+ * dangerous because will destroy stations performance as a lot of frames
3111+ * will be lost while scanning off-channel, therefore it must be used only
3112+ * when really needed
3113+ */
3114+enum nl80211_scan_flags {
3115+ NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0,
3116+ NL80211_SCAN_FLAG_FLUSH = 1<<1,
3117+ NL80211_SCAN_FLAG_AP = 1<<2,
3118+};
3119+
30723120 #endif /* __LINUX_NL80211_H */