diff options
Diffstat (limited to 'include/linux/nl80211.h')
| -rw-r--r-- | include/linux/nl80211.h | 178 |
1 files changed, 170 insertions, 8 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index cbe8ce3bf486..dbea93b694e5 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * Copyright 2008 Michael Wu <flamingice@sourmilk.net> | 7 | * Copyright 2008 Michael Wu <flamingice@sourmilk.net> |
| 8 | * Copyright 2008 Luis Carlos Cobo <luisca@cozybit.com> | 8 | * Copyright 2008 Luis Carlos Cobo <luisca@cozybit.com> |
| 9 | * Copyright 2008 Michael Buesch <mb@bu3sch.de> | 9 | * Copyright 2008 Michael Buesch <mb@bu3sch.de> |
| 10 | * Copyright 2008 Luis R. Rodriguez <lrodriguez@atheros.com> | 10 | * Copyright 2008, 2009 Luis R. Rodriguez <lrodriguez@atheros.com> |
| 11 | * Copyright 2008 Jouni Malinen <jouni.malinen@atheros.com> | 11 | * Copyright 2008 Jouni Malinen <jouni.malinen@atheros.com> |
| 12 | * Copyright 2008 Colin McCabe <colin@cozybit.com> | 12 | * Copyright 2008 Colin McCabe <colin@cozybit.com> |
| 13 | * | 13 | * |
| @@ -25,6 +25,8 @@ | |||
| 25 | * | 25 | * |
| 26 | */ | 26 | */ |
| 27 | 27 | ||
| 28 | #include <linux/types.h> | ||
| 29 | |||
| 28 | /** | 30 | /** |
| 29 | * DOC: Station handling | 31 | * DOC: Station handling |
| 30 | * | 32 | * |
| @@ -46,8 +48,10 @@ | |||
| 46 | * to get a list of all present wiphys. | 48 | * to get a list of all present wiphys. |
| 47 | * @NL80211_CMD_SET_WIPHY: set wiphy parameters, needs %NL80211_ATTR_WIPHY or | 49 | * @NL80211_CMD_SET_WIPHY: set wiphy parameters, needs %NL80211_ATTR_WIPHY or |
| 48 | * %NL80211_ATTR_IFINDEX; can be used to set %NL80211_ATTR_WIPHY_NAME, | 50 | * %NL80211_ATTR_IFINDEX; can be used to set %NL80211_ATTR_WIPHY_NAME, |
| 49 | * %NL80211_ATTR_WIPHY_TXQ_PARAMS, %NL80211_ATTR_WIPHY_FREQ, and/or | 51 | * %NL80211_ATTR_WIPHY_TXQ_PARAMS, %NL80211_ATTR_WIPHY_FREQ, |
| 50 | * %NL80211_ATTR_WIPHY_CHANNEL_TYPE. | 52 | * %NL80211_ATTR_WIPHY_CHANNEL_TYPE, %NL80211_ATTR_WIPHY_RETRY_SHORT, |
| 53 | * %NL80211_ATTR_WIPHY_RETRY_LONG, %NL80211_ATTR_WIPHY_FRAG_THRESHOLD, | ||
| 54 | * and/or %NL80211_ATTR_WIPHY_RTS_THRESHOLD. | ||
| 51 | * @NL80211_CMD_NEW_WIPHY: Newly created wiphy, response to get request | 55 | * @NL80211_CMD_NEW_WIPHY: Newly created wiphy, response to get request |
| 52 | * or rename notification. Has attributes %NL80211_ATTR_WIPHY and | 56 | * or rename notification. Has attributes %NL80211_ATTR_WIPHY and |
| 53 | * %NL80211_ATTR_WIPHY_NAME. | 57 | * %NL80211_ATTR_WIPHY_NAME. |
| @@ -75,8 +79,8 @@ | |||
| 75 | * @NL80211_CMD_SET_KEY: Set key attributes %NL80211_ATTR_KEY_DEFAULT, | 79 | * @NL80211_CMD_SET_KEY: Set key attributes %NL80211_ATTR_KEY_DEFAULT, |
| 76 | * %NL80211_ATTR_KEY_DEFAULT_MGMT, or %NL80211_ATTR_KEY_THRESHOLD. | 80 | * %NL80211_ATTR_KEY_DEFAULT_MGMT, or %NL80211_ATTR_KEY_THRESHOLD. |
| 77 | * @NL80211_CMD_NEW_KEY: add a key with given %NL80211_ATTR_KEY_DATA, | 81 | * @NL80211_CMD_NEW_KEY: add a key with given %NL80211_ATTR_KEY_DATA, |
| 78 | * %NL80211_ATTR_KEY_IDX, %NL80211_ATTR_MAC and %NL80211_ATTR_KEY_CIPHER | 82 | * %NL80211_ATTR_KEY_IDX, %NL80211_ATTR_MAC, %NL80211_ATTR_KEY_CIPHER, |
| 79 | * attributes. | 83 | * and %NL80211_ATTR_KEY_SEQ attributes. |
| 80 | * @NL80211_CMD_DEL_KEY: delete a key identified by %NL80211_ATTR_KEY_IDX | 84 | * @NL80211_CMD_DEL_KEY: delete a key identified by %NL80211_ATTR_KEY_IDX |
| 81 | * or %NL80211_ATTR_MAC. | 85 | * or %NL80211_ATTR_MAC. |
| 82 | * | 86 | * |
| @@ -166,6 +170,22 @@ | |||
| 166 | * set (%NL80211_ATTR_REG_TYPE), if the type of regulatory domain is | 170 | * set (%NL80211_ATTR_REG_TYPE), if the type of regulatory domain is |
| 167 | * %NL80211_REG_TYPE_COUNTRY the alpha2 to which we have moved on | 171 | * %NL80211_REG_TYPE_COUNTRY the alpha2 to which we have moved on |
| 168 | * to (%NL80211_ATTR_REG_ALPHA2). | 172 | * to (%NL80211_ATTR_REG_ALPHA2). |
| 173 | * @NL80211_CMD_REG_BEACON_HINT: indicates to userspace that an AP beacon | ||
| 174 | * has been found while world roaming thus enabling active scan or | ||
| 175 | * any mode of operation that initiates TX (beacons) on a channel | ||
| 176 | * where we would not have been able to do either before. As an example | ||
| 177 | * if you are world roaming (regulatory domain set to world or if your | ||
| 178 | * driver is using a custom world roaming regulatory domain) and while | ||
| 179 | * doing a passive scan on the 5 GHz band you find an AP there (if not | ||
| 180 | * on a DFS channel) you will now be able to actively scan for that AP | ||
| 181 | * or use AP mode on your card on that same channel. Note that this will | ||
| 182 | * never be used for channels 1-11 on the 2 GHz band as they are always | ||
| 183 | * enabled world wide. This beacon hint is only sent if your device had | ||
| 184 | * either disabled active scanning or beaconing on a channel. We send to | ||
| 185 | * userspace the wiphy on which we removed a restriction from | ||
| 186 | * (%NL80211_ATTR_WIPHY) and the channel on which this occurred | ||
| 187 | * before (%NL80211_ATTR_FREQ_BEFORE) and after (%NL80211_ATTR_FREQ_AFTER) | ||
| 188 | * the beacon hint was processed. | ||
| 169 | * | 189 | * |
| 170 | * @NL80211_CMD_AUTHENTICATE: authentication request and notification. | 190 | * @NL80211_CMD_AUTHENTICATE: authentication request and notification. |
| 171 | * This command is used both as a command (request to authenticate) and | 191 | * This command is used both as a command (request to authenticate) and |
| @@ -185,8 +205,12 @@ | |||
| 185 | * frame, i.e., it was for the local STA and was received in correct | 205 | * frame, i.e., it was for the local STA and was received in correct |
| 186 | * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the | 206 | * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the |
| 187 | * MLME SAP interface (kernel providing MLME, userspace SME). The | 207 | * MLME SAP interface (kernel providing MLME, userspace SME). The |
| 188 | * included NL80211_ATTR_FRAME attribute contains the management frame | 208 | * included %NL80211_ATTR_FRAME attribute contains the management frame |
| 189 | * (including both the header and frame body, but not FCS). | 209 | * (including both the header and frame body, but not FCS). This event is |
| 210 | * also used to indicate if the authentication attempt timed out. In that | ||
| 211 | * case the %NL80211_ATTR_FRAME attribute is replaced with a | ||
| 212 | * %NL80211_ATTR_TIMED_OUT flag (and %NL80211_ATTR_MAC to indicate which | ||
| 213 | * pending authentication timed out). | ||
| 190 | * @NL80211_CMD_ASSOCIATE: association request and notification; like | 214 | * @NL80211_CMD_ASSOCIATE: association request and notification; like |
| 191 | * NL80211_CMD_AUTHENTICATE but for Association and Reassociation | 215 | * NL80211_CMD_AUTHENTICATE but for Association and Reassociation |
| 192 | * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request, | 216 | * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request, |
| @@ -199,6 +223,25 @@ | |||
| 199 | * NL80211_CMD_AUTHENTICATE but for Disassociation frames (similar to | 223 | * NL80211_CMD_AUTHENTICATE but for Disassociation frames (similar to |
| 200 | * MLME-DISASSOCIATE.request and MLME-DISASSOCIATE.indication primitives). | 224 | * MLME-DISASSOCIATE.request and MLME-DISASSOCIATE.indication primitives). |
| 201 | * | 225 | * |
| 226 | * @NL80211_CMD_MICHAEL_MIC_FAILURE: notification of a locally detected Michael | ||
| 227 | * MIC (part of TKIP) failure; sent on the "mlme" multicast group; the | ||
| 228 | * event includes %NL80211_ATTR_MAC to describe the source MAC address of | ||
| 229 | * the frame with invalid MIC, %NL80211_ATTR_KEY_TYPE to show the key | ||
| 230 | * type, %NL80211_ATTR_KEY_IDX to indicate the key identifier, and | ||
| 231 | * %NL80211_ATTR_KEY_SEQ to indicate the TSC value of the frame; this | ||
| 232 | * event matches with MLME-MICHAELMICFAILURE.indication() primitive | ||
| 233 | * | ||
| 234 | * @NL80211_CMD_JOIN_IBSS: Join a new IBSS -- given at least an SSID and a | ||
| 235 | * FREQ attribute (for the initial frequency if no peer can be found) | ||
| 236 | * and optionally a MAC (as BSSID) and FREQ_FIXED attribute if those | ||
| 237 | * should be fixed rather than automatically determined. Can only be | ||
| 238 | * executed on a network interface that is UP, and fixed BSSID/FREQ | ||
| 239 | * may be rejected. Another optional parameter is the beacon interval, | ||
| 240 | * given in the %NL80211_ATTR_BEACON_INTERVAL attribute, which if not | ||
| 241 | * given defaults to 100 TU (102.4ms). | ||
| 242 | * @NL80211_CMD_LEAVE_IBSS: Leave the IBSS -- no special arguments, the IBSS is | ||
| 243 | * determined by the network interface. | ||
| 244 | * | ||
| 202 | * @NL80211_CMD_MAX: highest used command number | 245 | * @NL80211_CMD_MAX: highest used command number |
| 203 | * @__NL80211_CMD_AFTER_LAST: internal use | 246 | * @__NL80211_CMD_AFTER_LAST: internal use |
| 204 | */ | 247 | */ |
| @@ -260,6 +303,13 @@ enum nl80211_commands { | |||
| 260 | NL80211_CMD_DEAUTHENTICATE, | 303 | NL80211_CMD_DEAUTHENTICATE, |
| 261 | NL80211_CMD_DISASSOCIATE, | 304 | NL80211_CMD_DISASSOCIATE, |
| 262 | 305 | ||
| 306 | NL80211_CMD_MICHAEL_MIC_FAILURE, | ||
| 307 | |||
| 308 | NL80211_CMD_REG_BEACON_HINT, | ||
| 309 | |||
| 310 | NL80211_CMD_JOIN_IBSS, | ||
| 311 | NL80211_CMD_LEAVE_IBSS, | ||
| 312 | |||
| 263 | /* add new commands above here */ | 313 | /* add new commands above here */ |
| 264 | 314 | ||
| 265 | /* used to define NL80211_CMD_MAX below */ | 315 | /* used to define NL80211_CMD_MAX below */ |
| @@ -278,6 +328,7 @@ enum nl80211_commands { | |||
| 278 | #define NL80211_CMD_ASSOCIATE NL80211_CMD_ASSOCIATE | 328 | #define NL80211_CMD_ASSOCIATE NL80211_CMD_ASSOCIATE |
| 279 | #define NL80211_CMD_DEAUTHENTICATE NL80211_CMD_DEAUTHENTICATE | 329 | #define NL80211_CMD_DEAUTHENTICATE NL80211_CMD_DEAUTHENTICATE |
| 280 | #define NL80211_CMD_DISASSOCIATE NL80211_CMD_DISASSOCIATE | 330 | #define NL80211_CMD_DISASSOCIATE NL80211_CMD_DISASSOCIATE |
| 331 | #define NL80211_CMD_REG_BEACON_HINT NL80211_CMD_REG_BEACON_HINT | ||
| 281 | 332 | ||
| 282 | /** | 333 | /** |
| 283 | * enum nl80211_attrs - nl80211 netlink attributes | 334 | * enum nl80211_attrs - nl80211 netlink attributes |
| @@ -296,6 +347,18 @@ enum nl80211_commands { | |||
| 296 | * NL80211_CHAN_HT20 = HT20 only | 347 | * NL80211_CHAN_HT20 = HT20 only |
| 297 | * NL80211_CHAN_HT40MINUS = secondary channel is below the primary channel | 348 | * NL80211_CHAN_HT40MINUS = secondary channel is below the primary channel |
| 298 | * NL80211_CHAN_HT40PLUS = secondary channel is above the primary channel | 349 | * NL80211_CHAN_HT40PLUS = secondary channel is above the primary channel |
| 350 | * @NL80211_ATTR_WIPHY_RETRY_SHORT: TX retry limit for frames whose length is | ||
| 351 | * less than or equal to the RTS threshold; allowed range: 1..255; | ||
| 352 | * dot11ShortRetryLimit; u8 | ||
| 353 | * @NL80211_ATTR_WIPHY_RETRY_LONG: TX retry limit for frames whose length is | ||
| 354 | * greater than the RTS threshold; allowed range: 1..255; | ||
| 355 | * dot11ShortLongLimit; u8 | ||
| 356 | * @NL80211_ATTR_WIPHY_FRAG_THRESHOLD: fragmentation threshold, i.e., maximum | ||
| 357 | * length in octets for frames; allowed range: 256..8000, disable | ||
| 358 | * fragmentation with (u32)-1; dot11FragmentationThreshold; u32 | ||
| 359 | * @NL80211_ATTR_WIPHY_RTS_THRESHOLD: RTS threshold (TX frames with length | ||
| 360 | * larger than or equal to this use RTS/CTS handshake); allowed range: | ||
| 361 | * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32 | ||
| 299 | * | 362 | * |
| 300 | * @NL80211_ATTR_IFINDEX: network interface index of the device to operate on | 363 | * @NL80211_ATTR_IFINDEX: network interface index of the device to operate on |
| 301 | * @NL80211_ATTR_IFNAME: network interface name | 364 | * @NL80211_ATTR_IFNAME: network interface name |
| @@ -319,7 +382,7 @@ enum nl80211_commands { | |||
| 319 | * | 382 | * |
| 320 | * @NL80211_ATTR_STA_AID: Association ID for the station (u16) | 383 | * @NL80211_ATTR_STA_AID: Association ID for the station (u16) |
| 321 | * @NL80211_ATTR_STA_FLAGS: flags, nested element with NLA_FLAG attributes of | 384 | * @NL80211_ATTR_STA_FLAGS: flags, nested element with NLA_FLAG attributes of |
| 322 | * &enum nl80211_sta_flags. | 385 | * &enum nl80211_sta_flags (deprecated, use %NL80211_ATTR_STA_FLAGS2) |
| 323 | * @NL80211_ATTR_STA_LISTEN_INTERVAL: listen interval as defined by | 386 | * @NL80211_ATTR_STA_LISTEN_INTERVAL: listen interval as defined by |
| 324 | * IEEE 802.11 7.3.1.6 (u16). | 387 | * IEEE 802.11 7.3.1.6 (u16). |
| 325 | * @NL80211_ATTR_STA_SUPPORTED_RATES: supported rates, array of supported | 388 | * @NL80211_ATTR_STA_SUPPORTED_RATES: supported rates, array of supported |
| @@ -380,6 +443,8 @@ enum nl80211_commands { | |||
| 380 | * | 443 | * |
| 381 | * @NL80211_ATTR_MAX_NUM_SCAN_SSIDS: number of SSIDs you can scan with | 444 | * @NL80211_ATTR_MAX_NUM_SCAN_SSIDS: number of SSIDs you can scan with |
| 382 | * a single scan request, a wiphy attribute. | 445 | * a single scan request, a wiphy attribute. |
| 446 | * @NL80211_ATTR_MAX_SCAN_IE_LEN: maximum length of information elements | ||
| 447 | * that can be added to a scan request | ||
| 383 | * | 448 | * |
| 384 | * @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz) | 449 | * @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz) |
| 385 | * @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive | 450 | * @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive |
| @@ -408,6 +473,44 @@ enum nl80211_commands { | |||
| 408 | * @NL80211_ATTR_REASON_CODE: ReasonCode for %NL80211_CMD_DEAUTHENTICATE and | 473 | * @NL80211_ATTR_REASON_CODE: ReasonCode for %NL80211_CMD_DEAUTHENTICATE and |
| 409 | * %NL80211_CMD_DISASSOCIATE, u16 | 474 | * %NL80211_CMD_DISASSOCIATE, u16 |
| 410 | * | 475 | * |
| 476 | * @NL80211_ATTR_KEY_TYPE: Key Type, see &enum nl80211_key_type, represented as | ||
| 477 | * a u32 | ||
| 478 | * | ||
| 479 | * @NL80211_ATTR_FREQ_BEFORE: A channel which has suffered a regulatory change | ||
| 480 | * due to considerations from a beacon hint. This attribute reflects | ||
| 481 | * the state of the channel _before_ the beacon hint processing. This | ||
| 482 | * attributes consists of a nested attribute containing | ||
| 483 | * NL80211_FREQUENCY_ATTR_* | ||
| 484 | * @NL80211_ATTR_FREQ_AFTER: A channel which has suffered a regulatory change | ||
| 485 | * due to considerations from a beacon hint. This attribute reflects | ||
| 486 | * the state of the channel _after_ the beacon hint processing. This | ||
| 487 | * attributes consists of a nested attribute containing | ||
| 488 | * NL80211_FREQUENCY_ATTR_* | ||
| 489 | * | ||
| 490 | * @NL80211_ATTR_CIPHER_SUITES: a set of u32 values indicating the supported | ||
| 491 | * cipher suites | ||
| 492 | * | ||
| 493 | * @NL80211_ATTR_FREQ_FIXED: a flag indicating the IBSS should not try to look | ||
| 494 | * for other networks on different channels | ||
| 495 | * | ||
| 496 | * @NL80211_ATTR_TIMED_OUT: a flag indicating than an operation timed out; this | ||
| 497 | * is used, e.g., with %NL80211_CMD_AUTHENTICATE event | ||
| 498 | * | ||
| 499 | * @NL80211_ATTR_USE_MFP: Whether management frame protection (IEEE 802.11w) is | ||
| 500 | * used for the association (&enum nl80211_mfp, represented as a u32); | ||
| 501 | * this attribute can be used | ||
| 502 | * with %NL80211_CMD_ASSOCIATE request | ||
| 503 | * | ||
| 504 | * @NL80211_ATTR_STA_FLAGS2: Attribute containing a | ||
| 505 | * &struct nl80211_sta_flag_update. | ||
| 506 | * | ||
| 507 | * @NL80211_ATTR_CONTROL_PORT: A flag indicating whether user space controls | ||
| 508 | * IEEE 802.1X port, i.e., sets/clears %NL80211_STA_FLAG_AUTHORIZED, in | ||
| 509 | * station mode. If the flag is included in %NL80211_CMD_ASSOCIATE | ||
| 510 | * request, the driver will assume that the port is unauthorized until | ||
| 511 | * authorized by user space. Otherwise, port is marked authorized by | ||
| 512 | * default in station mode. | ||
| 513 | * | ||
| 411 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 514 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 412 | * @__NL80211_ATTR_AFTER_LAST: internal use | 515 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| 413 | */ | 516 | */ |
| @@ -492,6 +595,30 @@ enum nl80211_attrs { | |||
| 492 | NL80211_ATTR_AUTH_TYPE, | 595 | NL80211_ATTR_AUTH_TYPE, |
| 493 | NL80211_ATTR_REASON_CODE, | 596 | NL80211_ATTR_REASON_CODE, |
| 494 | 597 | ||
| 598 | NL80211_ATTR_KEY_TYPE, | ||
| 599 | |||
| 600 | NL80211_ATTR_MAX_SCAN_IE_LEN, | ||
| 601 | NL80211_ATTR_CIPHER_SUITES, | ||
| 602 | |||
| 603 | NL80211_ATTR_FREQ_BEFORE, | ||
| 604 | NL80211_ATTR_FREQ_AFTER, | ||
| 605 | |||
| 606 | NL80211_ATTR_FREQ_FIXED, | ||
| 607 | |||
| 608 | |||
| 609 | NL80211_ATTR_WIPHY_RETRY_SHORT, | ||
| 610 | NL80211_ATTR_WIPHY_RETRY_LONG, | ||
| 611 | NL80211_ATTR_WIPHY_FRAG_THRESHOLD, | ||
| 612 | NL80211_ATTR_WIPHY_RTS_THRESHOLD, | ||
| 613 | |||
| 614 | NL80211_ATTR_TIMED_OUT, | ||
| 615 | |||
| 616 | NL80211_ATTR_USE_MFP, | ||
| 617 | |||
| 618 | NL80211_ATTR_STA_FLAGS2, | ||
| 619 | |||
| 620 | NL80211_ATTR_CONTROL_PORT, | ||
| 621 | |||
| 495 | /* add attributes here, update the policy in nl80211.c */ | 622 | /* add attributes here, update the policy in nl80211.c */ |
| 496 | 623 | ||
| 497 | __NL80211_ATTR_AFTER_LAST, | 624 | __NL80211_ATTR_AFTER_LAST, |
| @@ -581,6 +708,18 @@ enum nl80211_sta_flags { | |||
| 581 | }; | 708 | }; |
| 582 | 709 | ||
| 583 | /** | 710 | /** |
| 711 | * struct nl80211_sta_flag_update - station flags mask/set | ||
| 712 | * @mask: mask of station flags to set | ||
| 713 | * @set: which values to set them to | ||
| 714 | * | ||
| 715 | * Both mask and set contain bits as per &enum nl80211_sta_flags. | ||
| 716 | */ | ||
| 717 | struct nl80211_sta_flag_update { | ||
| 718 | __u32 mask; | ||
| 719 | __u32 set; | ||
| 720 | } __attribute__((packed)); | ||
| 721 | |||
| 722 | /** | ||
| 584 | * enum nl80211_rate_info - bitrate information | 723 | * enum nl80211_rate_info - bitrate information |
| 585 | * | 724 | * |
| 586 | * These attribute types are used with %NL80211_STA_INFO_TXRATE | 725 | * These attribute types are used with %NL80211_STA_INFO_TXRATE |
| @@ -1062,4 +1201,27 @@ enum nl80211_auth_type { | |||
| 1062 | NL80211_AUTHTYPE_FT, | 1201 | NL80211_AUTHTYPE_FT, |
| 1063 | NL80211_AUTHTYPE_NETWORK_EAP, | 1202 | NL80211_AUTHTYPE_NETWORK_EAP, |
| 1064 | }; | 1203 | }; |
| 1204 | |||
| 1205 | /** | ||
| 1206 | * enum nl80211_key_type - Key Type | ||
| 1207 | * @NL80211_KEYTYPE_GROUP: Group (broadcast/multicast) key | ||
| 1208 | * @NL80211_KEYTYPE_PAIRWISE: Pairwise (unicast/individual) key | ||
| 1209 | * @NL80211_KEYTYPE_PEERKEY: PeerKey (DLS) | ||
| 1210 | */ | ||
| 1211 | enum nl80211_key_type { | ||
| 1212 | NL80211_KEYTYPE_GROUP, | ||
| 1213 | NL80211_KEYTYPE_PAIRWISE, | ||
| 1214 | NL80211_KEYTYPE_PEERKEY, | ||
| 1215 | }; | ||
| 1216 | |||
| 1217 | /** | ||
| 1218 | * enum nl80211_mfp - Management frame protection state | ||
| 1219 | * @NL80211_MFP_NO: Management frame protection not used | ||
| 1220 | * @NL80211_MFP_REQUIRED: Management frame protection required | ||
| 1221 | */ | ||
| 1222 | enum nl80211_mfp { | ||
| 1223 | NL80211_MFP_NO, | ||
| 1224 | NL80211_MFP_REQUIRED, | ||
| 1225 | }; | ||
| 1226 | |||
| 1065 | #endif /* __LINUX_NL80211_H */ | 1227 | #endif /* __LINUX_NL80211_H */ |
