aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ieee80211.h39
-rw-r--r--include/linux/nl80211.h36
2 files changed, 66 insertions, 9 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index d62edc7df3ae..aeea282bd2fe 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1085,12 +1085,12 @@ enum ieee80211_eid {
1085 WLAN_EID_TIM = 5, 1085 WLAN_EID_TIM = 5,
1086 WLAN_EID_IBSS_PARAMS = 6, 1086 WLAN_EID_IBSS_PARAMS = 6,
1087 WLAN_EID_CHALLENGE = 16, 1087 WLAN_EID_CHALLENGE = 16,
1088 /* 802.11d */ 1088
1089 WLAN_EID_COUNTRY = 7, 1089 WLAN_EID_COUNTRY = 7,
1090 WLAN_EID_HP_PARAMS = 8, 1090 WLAN_EID_HP_PARAMS = 8,
1091 WLAN_EID_HP_TABLE = 9, 1091 WLAN_EID_HP_TABLE = 9,
1092 WLAN_EID_REQUEST = 10, 1092 WLAN_EID_REQUEST = 10,
1093 /* 802.11e */ 1093
1094 WLAN_EID_QBSS_LOAD = 11, 1094 WLAN_EID_QBSS_LOAD = 11,
1095 WLAN_EID_EDCA_PARAM_SET = 12, 1095 WLAN_EID_EDCA_PARAM_SET = 12,
1096 WLAN_EID_TSPEC = 13, 1096 WLAN_EID_TSPEC = 13,
@@ -1113,7 +1113,7 @@ enum ieee80211_eid {
1113 WLAN_EID_PREP = 69, 1113 WLAN_EID_PREP = 69,
1114 WLAN_EID_PERR = 70, 1114 WLAN_EID_PERR = 70,
1115 WLAN_EID_RANN = 49, /* compatible with FreeBSD */ 1115 WLAN_EID_RANN = 49, /* compatible with FreeBSD */
1116 /* 802.11h */ 1116
1117 WLAN_EID_PWR_CONSTRAINT = 32, 1117 WLAN_EID_PWR_CONSTRAINT = 32,
1118 WLAN_EID_PWR_CAPABILITY = 33, 1118 WLAN_EID_PWR_CAPABILITY = 33,
1119 WLAN_EID_TPC_REQUEST = 34, 1119 WLAN_EID_TPC_REQUEST = 34,
@@ -1124,20 +1124,41 @@ enum ieee80211_eid {
1124 WLAN_EID_MEASURE_REPORT = 39, 1124 WLAN_EID_MEASURE_REPORT = 39,
1125 WLAN_EID_QUIET = 40, 1125 WLAN_EID_QUIET = 40,
1126 WLAN_EID_IBSS_DFS = 41, 1126 WLAN_EID_IBSS_DFS = 41,
1127 /* 802.11g */ 1127
1128 WLAN_EID_ERP_INFO = 42, 1128 WLAN_EID_ERP_INFO = 42,
1129 WLAN_EID_EXT_SUPP_RATES = 50, 1129 WLAN_EID_EXT_SUPP_RATES = 50,
1130 /* 802.11n */ 1130
1131 WLAN_EID_HT_CAPABILITY = 45, 1131 WLAN_EID_HT_CAPABILITY = 45,
1132 WLAN_EID_HT_INFORMATION = 61, 1132 WLAN_EID_HT_INFORMATION = 61,
1133 /* 802.11i */ 1133
1134 WLAN_EID_RSN = 48, 1134 WLAN_EID_RSN = 48,
1135 WLAN_EID_TIMEOUT_INTERVAL = 56, 1135 WLAN_EID_MMIE = 76,
1136 WLAN_EID_MMIE = 76 /* 802.11w */,
1137 WLAN_EID_WPA = 221, 1136 WLAN_EID_WPA = 221,
1138 WLAN_EID_GENERIC = 221, 1137 WLAN_EID_GENERIC = 221,
1139 WLAN_EID_VENDOR_SPECIFIC = 221, 1138 WLAN_EID_VENDOR_SPECIFIC = 221,
1140 WLAN_EID_QOS_PARAMETER = 222 1139 WLAN_EID_QOS_PARAMETER = 222,
1140
1141 WLAN_EID_AP_CHAN_REPORT = 51,
1142 WLAN_EID_NEIGHBOR_REPORT = 52,
1143 WLAN_EID_RCPI = 53,
1144 WLAN_EID_BSS_AVG_ACCESS_DELAY = 63,
1145 WLAN_EID_ANTENNA_INFO = 64,
1146 WLAN_EID_RSNI = 65,
1147 WLAN_EID_MEASUREMENT_PILOT_TX_INFO = 66,
1148 WLAN_EID_BSS_AVAILABLE_CAPACITY = 67,
1149 WLAN_EID_BSS_AC_ACCESS_DELAY = 68,
1150 WLAN_EID_RRM_ENABLED_CAPABILITIES = 70,
1151 WLAN_EID_MULTIPLE_BSSID = 71,
1152
1153 WLAN_EID_MOBILITY_DOMAIN = 54,
1154 WLAN_EID_FAST_BSS_TRANSITION = 55,
1155 WLAN_EID_TIMEOUT_INTERVAL = 56,
1156 WLAN_EID_RIC_DATA = 57,
1157 WLAN_EID_RIC_DESCRIPTOR = 75,
1158
1159 WLAN_EID_DSE_REGISTERED_LOCATION = 58,
1160 WLAN_EID_SUPPORTED_REGULATORY_CLASSES = 59,
1161 WLAN_EID_EXT_CHANSWITCH_ANN = 60,
1141}; 1162};
1142 1163
1143/* Action category code */ 1164/* Action category code */
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index da8ea2e19273..2bfbe88837ef 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -270,6 +270,31 @@
270 * @NL80211_CMD_SET_WIPHY_NETNS: Set a wiphy's netns. Note that all devices 270 * @NL80211_CMD_SET_WIPHY_NETNS: Set a wiphy's netns. Note that all devices
271 * associated with this wiphy must be down and will follow. 271 * associated with this wiphy must be down and will follow.
272 * 272 *
273 * @NL80211_CMD_REMAIN_ON_CHANNEL: Request to remain awake on the specified
274 * channel for the specified amount of time. This can be used to do
275 * off-channel operations like transmit a Public Action frame and wait for
276 * a response while being associated to an AP on another channel.
277 * %NL80211_ATTR_WIPHY or %NL80211_ATTR_IFINDEX is used to specify which
278 * radio is used. %NL80211_ATTR_WIPHY_FREQ is used to specify the
279 * frequency for the operation and %NL80211_ATTR_WIPHY_CHANNEL_TYPE may be
280 * optionally used to specify additional channel parameters.
281 * %NL80211_ATTR_DURATION is used to specify the duration in milliseconds
282 * to remain on the channel. This command is also used as an event to
283 * notify when the requested duration starts (it may take a while for the
284 * driver to schedule this time due to other concurrent needs for the
285 * radio).
286 * When called, this operation returns a cookie (%NL80211_ATTR_COOKIE)
287 * that will be included with any events pertaining to this request;
288 * the cookie is also used to cancel the request.
289 * @NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL: This command can be used to cancel a
290 * pending remain-on-channel duration if the desired operation has been
291 * completed prior to expiration of the originally requested duration.
292 * %NL80211_ATTR_WIPHY or %NL80211_ATTR_IFINDEX is used to specify the
293 * radio. The %NL80211_ATTR_COOKIE attribute must be given as well to
294 * uniquely identify the request.
295 * This command is also used as an event to notify when a requested
296 * remain-on-channel duration has expired.
297 *
273 * @NL80211_CMD_MAX: highest used command number 298 * @NL80211_CMD_MAX: highest used command number
274 * @__NL80211_CMD_AFTER_LAST: internal use 299 * @__NL80211_CMD_AFTER_LAST: internal use
275 */ 300 */
@@ -353,6 +378,9 @@ enum nl80211_commands {
353 NL80211_CMD_DEL_PMKSA, 378 NL80211_CMD_DEL_PMKSA,
354 NL80211_CMD_FLUSH_PMKSA, 379 NL80211_CMD_FLUSH_PMKSA,
355 380
381 NL80211_CMD_REMAIN_ON_CHANNEL,
382 NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL,
383
356 /* add new commands above here */ 384 /* add new commands above here */
357 385
358 /* used to define NL80211_CMD_MAX below */ 386 /* used to define NL80211_CMD_MAX below */
@@ -606,6 +634,10 @@ enum nl80211_commands {
606 * @NL80211_ATTR_MAX_NUM_PMKIDS: maximum number of PMKIDs a firmware can 634 * @NL80211_ATTR_MAX_NUM_PMKIDS: maximum number of PMKIDs a firmware can
607 * cache, a wiphy attribute. 635 * cache, a wiphy attribute.
608 * 636 *
637 * @NL80211_ATTR_DURATION: Duration of an operation in milliseconds, u32.
638 *
639 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
640 *
609 * @NL80211_ATTR_MAX: highest attribute number currently defined 641 * @NL80211_ATTR_MAX: highest attribute number currently defined
610 * @__NL80211_ATTR_AFTER_LAST: internal use 642 * @__NL80211_ATTR_AFTER_LAST: internal use
611 */ 643 */
@@ -743,6 +775,10 @@ enum nl80211_attrs {
743 NL80211_ATTR_PMKID, 775 NL80211_ATTR_PMKID,
744 NL80211_ATTR_MAX_NUM_PMKIDS, 776 NL80211_ATTR_MAX_NUM_PMKIDS,
745 777
778 NL80211_ATTR_DURATION,
779
780 NL80211_ATTR_COOKIE,
781
746 /* add attributes here, update the policy in nl80211.c */ 782 /* add attributes here, update the policy in nl80211.c */
747 783
748 __NL80211_ATTR_AFTER_LAST, 784 __NL80211_ATTR_AFTER_LAST,