Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: nl80211.h
#ifndef __LINUX_NL80211_H
[0] Fix | Delete
#define __LINUX_NL80211_H
[1] Fix | Delete
/*
[2] Fix | Delete
* 802.11 netlink interface public header
[3] Fix | Delete
*
[4] Fix | Delete
* Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
[5] Fix | Delete
* Copyright 2008 Michael Wu <flamingice@sourmilk.net>
[6] Fix | Delete
* Copyright 2008 Luis Carlos Cobo <luisca@cozybit.com>
[7] Fix | Delete
* Copyright 2008 Michael Buesch <m@bues.ch>
[8] Fix | Delete
* Copyright 2008, 2009 Luis R. Rodriguez <lrodriguez@atheros.com>
[9] Fix | Delete
* Copyright 2008 Jouni Malinen <jouni.malinen@atheros.com>
[10] Fix | Delete
* Copyright 2008 Colin McCabe <colin@cozybit.com>
[11] Fix | Delete
* Copyright 2015-2017 Intel Deutschland GmbH
[12] Fix | Delete
* Copyright (C) 2018-2022 Intel Corporation
[13] Fix | Delete
*
[14] Fix | Delete
* Permission to use, copy, modify, and/or distribute this software for any
[15] Fix | Delete
* purpose with or without fee is hereby granted, provided that the above
[16] Fix | Delete
* copyright notice and this permission notice appear in all copies.
[17] Fix | Delete
*
[18] Fix | Delete
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
[19] Fix | Delete
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
[20] Fix | Delete
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
[21] Fix | Delete
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
[22] Fix | Delete
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
[23] Fix | Delete
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
[24] Fix | Delete
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
[25] Fix | Delete
*
[26] Fix | Delete
*/
[27] Fix | Delete
[28] Fix | Delete
/*
[29] Fix | Delete
* This header file defines the userspace API to the wireless stack. Please
[30] Fix | Delete
* be careful not to break things - i.e. don't move anything around or so
[31] Fix | Delete
* unless you can demonstrate that it breaks neither API nor ABI.
[32] Fix | Delete
*
[33] Fix | Delete
* Additions to the API should be accompanied by actual implementations in
[34] Fix | Delete
* an upstream driver, so that example implementations exist in case there
[35] Fix | Delete
* are ever concerns about the precise semantics of the API or changes are
[36] Fix | Delete
* needed, and to ensure that code for dead (no longer implemented) API
[37] Fix | Delete
* can actually be identified and removed.
[38] Fix | Delete
* Nonetheless, semantics should also be documented carefully in this file.
[39] Fix | Delete
*/
[40] Fix | Delete
[41] Fix | Delete
#include <linux/types.h>
[42] Fix | Delete
[43] Fix | Delete
#define NL80211_GENL_NAME "nl80211"
[44] Fix | Delete
[45] Fix | Delete
#define NL80211_MULTICAST_GROUP_CONFIG "config"
[46] Fix | Delete
#define NL80211_MULTICAST_GROUP_SCAN "scan"
[47] Fix | Delete
#define NL80211_MULTICAST_GROUP_REG "regulatory"
[48] Fix | Delete
#define NL80211_MULTICAST_GROUP_MLME "mlme"
[49] Fix | Delete
#define NL80211_MULTICAST_GROUP_VENDOR "vendor"
[50] Fix | Delete
#define NL80211_MULTICAST_GROUP_NAN "nan"
[51] Fix | Delete
#define NL80211_MULTICAST_GROUP_TESTMODE "testmode"
[52] Fix | Delete
[53] Fix | Delete
#define NL80211_EDMG_BW_CONFIG_MIN 4
[54] Fix | Delete
#define NL80211_EDMG_BW_CONFIG_MAX 15
[55] Fix | Delete
#define NL80211_EDMG_CHANNELS_MIN 1
[56] Fix | Delete
#define NL80211_EDMG_CHANNELS_MAX 0x3c /* 0b00111100 */
[57] Fix | Delete
[58] Fix | Delete
/**
[59] Fix | Delete
* DOC: Station handling
[60] Fix | Delete
*
[61] Fix | Delete
* Stations are added per interface, but a special case exists with VLAN
[62] Fix | Delete
* interfaces. When a station is bound to an AP interface, it may be moved
[63] Fix | Delete
* into a VLAN identified by a VLAN interface index (%NL80211_ATTR_STA_VLAN).
[64] Fix | Delete
* The station is still assumed to belong to the AP interface it was added
[65] Fix | Delete
* to.
[66] Fix | Delete
*
[67] Fix | Delete
* Station handling varies per interface type and depending on the driver's
[68] Fix | Delete
* capabilities.
[69] Fix | Delete
*
[70] Fix | Delete
* For drivers supporting TDLS with external setup (WIPHY_FLAG_SUPPORTS_TDLS
[71] Fix | Delete
* and WIPHY_FLAG_TDLS_EXTERNAL_SETUP), the station lifetime is as follows:
[72] Fix | Delete
* - a setup station entry is added, not yet authorized, without any rate
[73] Fix | Delete
* or capability information, this just exists to avoid race conditions
[74] Fix | Delete
* - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
[75] Fix | Delete
* to add rate and capability information to the station and at the same
[76] Fix | Delete
* time mark it authorized.
[77] Fix | Delete
* - %NL80211_TDLS_ENABLE_LINK is then used
[78] Fix | Delete
* - after this, the only valid operation is to remove it by tearing down
[79] Fix | Delete
* the TDLS link (%NL80211_TDLS_DISABLE_LINK)
[80] Fix | Delete
*
[81] Fix | Delete
* TODO: need more info for other interface types
[82] Fix | Delete
*/
[83] Fix | Delete
[84] Fix | Delete
/**
[85] Fix | Delete
* DOC: Frame transmission/registration support
[86] Fix | Delete
*
[87] Fix | Delete
* Frame transmission and registration support exists to allow userspace
[88] Fix | Delete
* management entities such as wpa_supplicant react to management frames
[89] Fix | Delete
* that are not being handled by the kernel. This includes, for example,
[90] Fix | Delete
* certain classes of action frames that cannot be handled in the kernel
[91] Fix | Delete
* for various reasons.
[92] Fix | Delete
*
[93] Fix | Delete
* Frame registration is done on a per-interface basis and registrations
[94] Fix | Delete
* cannot be removed other than by closing the socket. It is possible to
[95] Fix | Delete
* specify a registration filter to register, for example, only for a
[96] Fix | Delete
* certain type of action frame. In particular with action frames, those
[97] Fix | Delete
* that userspace registers for will not be returned as unhandled by the
[98] Fix | Delete
* driver, so that the registered application has to take responsibility
[99] Fix | Delete
* for doing that.
[100] Fix | Delete
*
[101] Fix | Delete
* The type of frame that can be registered for is also dependent on the
[102] Fix | Delete
* driver and interface type. The frame types are advertised in wiphy
[103] Fix | Delete
* attributes so applications know what to expect.
[104] Fix | Delete
*
[105] Fix | Delete
* NOTE: When an interface changes type while registrations are active,
[106] Fix | Delete
* these registrations are ignored until the interface type is
[107] Fix | Delete
* changed again. This means that changing the interface type can
[108] Fix | Delete
* lead to a situation that couldn't otherwise be produced, but
[109] Fix | Delete
* any such registrations will be dormant in the sense that they
[110] Fix | Delete
* will not be serviced, i.e. they will not receive any frames.
[111] Fix | Delete
*
[112] Fix | Delete
* Frame transmission allows userspace to send for example the required
[113] Fix | Delete
* responses to action frames. It is subject to some sanity checking,
[114] Fix | Delete
* but many frames can be transmitted. When a frame was transmitted, its
[115] Fix | Delete
* status is indicated to the sending socket.
[116] Fix | Delete
*
[117] Fix | Delete
* For more technical details, see the corresponding command descriptions
[118] Fix | Delete
* below.
[119] Fix | Delete
*/
[120] Fix | Delete
[121] Fix | Delete
/**
[122] Fix | Delete
* DOC: Virtual interface / concurrency capabilities
[123] Fix | Delete
*
[124] Fix | Delete
* Some devices are able to operate with virtual MACs, they can have
[125] Fix | Delete
* more than one virtual interface. The capability handling for this
[126] Fix | Delete
* is a bit complex though, as there may be a number of restrictions
[127] Fix | Delete
* on the types of concurrency that are supported.
[128] Fix | Delete
*
[129] Fix | Delete
* To start with, each device supports the interface types listed in
[130] Fix | Delete
* the %NL80211_ATTR_SUPPORTED_IFTYPES attribute, but by listing the
[131] Fix | Delete
* types there no concurrency is implied.
[132] Fix | Delete
*
[133] Fix | Delete
* Once concurrency is desired, more attributes must be observed:
[134] Fix | Delete
* To start with, since some interface types are purely managed in
[135] Fix | Delete
* software, like the AP-VLAN type in mac80211 for example, there's
[136] Fix | Delete
* an additional list of these, they can be added at any time and
[137] Fix | Delete
* are only restricted by some semantic restrictions (e.g. AP-VLAN
[138] Fix | Delete
* cannot be added without a corresponding AP interface). This list
[139] Fix | Delete
* is exported in the %NL80211_ATTR_SOFTWARE_IFTYPES attribute.
[140] Fix | Delete
*
[141] Fix | Delete
* Further, the list of supported combinations is exported. This is
[142] Fix | Delete
* in the %NL80211_ATTR_INTERFACE_COMBINATIONS attribute. Basically,
[143] Fix | Delete
* it exports a list of "groups", and at any point in time the
[144] Fix | Delete
* interfaces that are currently active must fall into any one of
[145] Fix | Delete
* the advertised groups. Within each group, there are restrictions
[146] Fix | Delete
* on the number of interfaces of different types that are supported
[147] Fix | Delete
* and also the number of different channels, along with potentially
[148] Fix | Delete
* some other restrictions. See &enum nl80211_if_combination_attrs.
[149] Fix | Delete
*
[150] Fix | Delete
* All together, these attributes define the concurrency of virtual
[151] Fix | Delete
* interfaces that a given device supports.
[152] Fix | Delete
*/
[153] Fix | Delete
[154] Fix | Delete
/**
[155] Fix | Delete
* DOC: packet coalesce support
[156] Fix | Delete
*
[157] Fix | Delete
* In most cases, host that receives IPv4 and IPv6 multicast/broadcast
[158] Fix | Delete
* packets does not do anything with these packets. Therefore the
[159] Fix | Delete
* reception of these unwanted packets causes unnecessary processing
[160] Fix | Delete
* and power consumption.
[161] Fix | Delete
*
[162] Fix | Delete
* Packet coalesce feature helps to reduce number of received interrupts
[163] Fix | Delete
* to host by buffering these packets in firmware/hardware for some
[164] Fix | Delete
* predefined time. Received interrupt will be generated when one of the
[165] Fix | Delete
* following events occur.
[166] Fix | Delete
* a) Expiration of hardware timer whose expiration time is set to maximum
[167] Fix | Delete
* coalescing delay of matching coalesce rule.
[168] Fix | Delete
* b) Coalescing buffer in hardware reaches it's limit.
[169] Fix | Delete
* c) Packet doesn't match any of the configured coalesce rules.
[170] Fix | Delete
*
[171] Fix | Delete
* User needs to configure following parameters for creating a coalesce
[172] Fix | Delete
* rule.
[173] Fix | Delete
* a) Maximum coalescing delay
[174] Fix | Delete
* b) List of packet patterns which needs to be matched
[175] Fix | Delete
* c) Condition for coalescence. pattern 'match' or 'no match'
[176] Fix | Delete
* Multiple such rules can be created.
[177] Fix | Delete
*/
[178] Fix | Delete
[179] Fix | Delete
/**
[180] Fix | Delete
* DOC: WPA/WPA2 EAPOL handshake offload
[181] Fix | Delete
*
[182] Fix | Delete
* By setting @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK flag drivers
[183] Fix | Delete
* can indicate they support offloading EAPOL handshakes for WPA/WPA2
[184] Fix | Delete
* preshared key authentication in station mode. In %NL80211_CMD_CONNECT
[185] Fix | Delete
* the preshared key should be specified using %NL80211_ATTR_PMK. Drivers
[186] Fix | Delete
* supporting this offload may reject the %NL80211_CMD_CONNECT when no
[187] Fix | Delete
* preshared key material is provided, for example when that driver does
[188] Fix | Delete
* not support setting the temporal keys through %NL80211_CMD_NEW_KEY.
[189] Fix | Delete
*
[190] Fix | Delete
* Similarly @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X flag can be
[191] Fix | Delete
* set by drivers indicating offload support of the PTK/GTK EAPOL
[192] Fix | Delete
* handshakes during 802.1X authentication in station mode. In order to
[193] Fix | Delete
* use the offload the %NL80211_CMD_CONNECT should have
[194] Fix | Delete
* %NL80211_ATTR_WANT_1X_4WAY_HS attribute flag. Drivers supporting this
[195] Fix | Delete
* offload may reject the %NL80211_CMD_CONNECT when the attribute flag is
[196] Fix | Delete
* not present.
[197] Fix | Delete
*
[198] Fix | Delete
* By setting @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK flag drivers
[199] Fix | Delete
* can indicate they support offloading EAPOL handshakes for WPA/WPA2
[200] Fix | Delete
* preshared key authentication in AP mode. In %NL80211_CMD_START_AP
[201] Fix | Delete
* the preshared key should be specified using %NL80211_ATTR_PMK. Drivers
[202] Fix | Delete
* supporting this offload may reject the %NL80211_CMD_START_AP when no
[203] Fix | Delete
* preshared key material is provided, for example when that driver does
[204] Fix | Delete
* not support setting the temporal keys through %NL80211_CMD_NEW_KEY.
[205] Fix | Delete
*
[206] Fix | Delete
* For 802.1X the PMK or PMK-R0 are set by providing %NL80211_ATTR_PMK
[207] Fix | Delete
* using %NL80211_CMD_SET_PMK. For offloaded FT support also
[208] Fix | Delete
* %NL80211_ATTR_PMKR0_NAME must be provided.
[209] Fix | Delete
*/
[210] Fix | Delete
[211] Fix | Delete
/**
[212] Fix | Delete
* DOC: FILS shared key authentication offload
[213] Fix | Delete
*
[214] Fix | Delete
* FILS shared key authentication offload can be advertized by drivers by
[215] Fix | Delete
* setting @NL80211_EXT_FEATURE_FILS_SK_OFFLOAD flag. The drivers that support
[216] Fix | Delete
* FILS shared key authentication offload should be able to construct the
[217] Fix | Delete
* authentication and association frames for FILS shared key authentication and
[218] Fix | Delete
* eventually do a key derivation as per IEEE 802.11ai. The below additional
[219] Fix | Delete
* parameters should be given to driver in %NL80211_CMD_CONNECT and/or in
[220] Fix | Delete
* %NL80211_CMD_UPDATE_CONNECT_PARAMS.
[221] Fix | Delete
* %NL80211_ATTR_FILS_ERP_USERNAME - used to construct keyname_nai
[222] Fix | Delete
* %NL80211_ATTR_FILS_ERP_REALM - used to construct keyname_nai
[223] Fix | Delete
* %NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM - used to construct erp message
[224] Fix | Delete
* %NL80211_ATTR_FILS_ERP_RRK - used to generate the rIK and rMSK
[225] Fix | Delete
* rIK should be used to generate an authentication tag on the ERP message and
[226] Fix | Delete
* rMSK should be used to derive a PMKSA.
[227] Fix | Delete
* rIK, rMSK should be generated and keyname_nai, sequence number should be used
[228] Fix | Delete
* as specified in IETF RFC 6696.
[229] Fix | Delete
*
[230] Fix | Delete
* When FILS shared key authentication is completed, driver needs to provide the
[231] Fix | Delete
* below additional parameters to userspace, which can be either after setting
[232] Fix | Delete
* up a connection or after roaming.
[233] Fix | Delete
* %NL80211_ATTR_FILS_KEK - used for key renewal
[234] Fix | Delete
* %NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM - used in further EAP-RP exchanges
[235] Fix | Delete
* %NL80211_ATTR_PMKID - used to identify the PMKSA used/generated
[236] Fix | Delete
* %Nl80211_ATTR_PMK - used to update PMKSA cache in userspace
[237] Fix | Delete
* The PMKSA can be maintained in userspace persistently so that it can be used
[238] Fix | Delete
* later after reboots or wifi turn off/on also.
[239] Fix | Delete
*
[240] Fix | Delete
* %NL80211_ATTR_FILS_CACHE_ID is the cache identifier advertized by a FILS
[241] Fix | Delete
* capable AP supporting PMK caching. It specifies the scope within which the
[242] Fix | Delete
* PMKSAs are cached in an ESS. %NL80211_CMD_SET_PMKSA and
[243] Fix | Delete
* %NL80211_CMD_DEL_PMKSA are enhanced to allow support for PMKSA caching based
[244] Fix | Delete
* on FILS cache identifier. Additionally %NL80211_ATTR_PMK is used with
[245] Fix | Delete
* %NL80211_SET_PMKSA to specify the PMK corresponding to a PMKSA for driver to
[246] Fix | Delete
* use in a FILS shared key connection with PMKSA caching.
[247] Fix | Delete
*/
[248] Fix | Delete
[249] Fix | Delete
/**
[250] Fix | Delete
* DOC: SAE authentication offload
[251] Fix | Delete
*
[252] Fix | Delete
* By setting @NL80211_EXT_FEATURE_SAE_OFFLOAD flag drivers can indicate they
[253] Fix | Delete
* support offloading SAE authentication for WPA3-Personal networks in station
[254] Fix | Delete
* mode. Similarly @NL80211_EXT_FEATURE_SAE_OFFLOAD_AP flag can be set by
[255] Fix | Delete
* drivers indicating the offload support in AP mode.
[256] Fix | Delete
*
[257] Fix | Delete
* The password for SAE should be specified using %NL80211_ATTR_SAE_PASSWORD in
[258] Fix | Delete
* %NL80211_CMD_CONNECT and %NL80211_CMD_START_AP for station and AP mode
[259] Fix | Delete
* respectively.
[260] Fix | Delete
*/
[261] Fix | Delete
[262] Fix | Delete
/**
[263] Fix | Delete
* DOC: VLAN offload support for setting group keys and binding STAs to VLANs
[264] Fix | Delete
*
[265] Fix | Delete
* By setting @NL80211_EXT_FEATURE_VLAN_OFFLOAD flag drivers can indicate they
[266] Fix | Delete
* support offloading VLAN functionality in a manner where the driver exposes a
[267] Fix | Delete
* single netdev that uses VLAN tagged frames and separate VLAN-specific netdevs
[268] Fix | Delete
* can then be added using RTM_NEWLINK/IFLA_VLAN_ID similarly to the Ethernet
[269] Fix | Delete
* case. Frames received from stations that are not assigned to any VLAN are
[270] Fix | Delete
* delivered on the main netdev and frames to such stations can be sent through
[271] Fix | Delete
* that main netdev.
[272] Fix | Delete
*
[273] Fix | Delete
* %NL80211_CMD_NEW_KEY (for group keys), %NL80211_CMD_NEW_STATION, and
[274] Fix | Delete
* %NL80211_CMD_SET_STATION will optionally specify vlan_id using
[275] Fix | Delete
* %NL80211_ATTR_VLAN_ID.
[276] Fix | Delete
*/
[277] Fix | Delete
[278] Fix | Delete
/**
[279] Fix | Delete
* DOC: TID configuration
[280] Fix | Delete
*
[281] Fix | Delete
* TID config support can be checked in the %NL80211_ATTR_TID_CONFIG
[282] Fix | Delete
* attribute given in wiphy capabilities.
[283] Fix | Delete
*
[284] Fix | Delete
* The necessary configuration parameters are mentioned in
[285] Fix | Delete
* &enum nl80211_tid_config_attr and it will be passed to the
[286] Fix | Delete
* %NL80211_CMD_SET_TID_CONFIG command in %NL80211_ATTR_TID_CONFIG.
[287] Fix | Delete
*
[288] Fix | Delete
* If the configuration needs to be applied for specific peer then the MAC
[289] Fix | Delete
* address of the peer needs to be passed in %NL80211_ATTR_MAC, otherwise the
[290] Fix | Delete
* configuration will be applied for all the connected peers in the vif except
[291] Fix | Delete
* any peers that have peer specific configuration for the TID by default; if
[292] Fix | Delete
* the %NL80211_TID_CONFIG_ATTR_OVERRIDE flag is set, peer specific values
[293] Fix | Delete
* will be overwritten.
[294] Fix | Delete
*
[295] Fix | Delete
* All this configuration is valid only for STA's current connection
[296] Fix | Delete
* i.e. the configuration will be reset to default when the STA connects back
[297] Fix | Delete
* after disconnection/roaming, and this configuration will be cleared when
[298] Fix | Delete
* the interface goes down.
[299] Fix | Delete
*/
[300] Fix | Delete
[301] Fix | Delete
/**
[302] Fix | Delete
* DOC: FILS shared key crypto offload
[303] Fix | Delete
*
[304] Fix | Delete
* This feature is applicable to drivers running in AP mode.
[305] Fix | Delete
*
[306] Fix | Delete
* FILS shared key crypto offload can be advertised by drivers by setting
[307] Fix | Delete
* @NL80211_EXT_FEATURE_FILS_CRYPTO_OFFLOAD flag. The drivers that support
[308] Fix | Delete
* FILS shared key crypto offload should be able to encrypt and decrypt
[309] Fix | Delete
* association frames for FILS shared key authentication as per IEEE 802.11ai.
[310] Fix | Delete
* With this capability, for FILS key derivation, drivers depend on userspace.
[311] Fix | Delete
*
[312] Fix | Delete
* After FILS key derivation, userspace shares the FILS AAD details with the
[313] Fix | Delete
* driver and the driver stores the same to use in decryption of association
[314] Fix | Delete
* request and in encryption of association response. The below parameters
[315] Fix | Delete
* should be given to the driver in %NL80211_CMD_SET_FILS_AAD.
[316] Fix | Delete
* %NL80211_ATTR_MAC - STA MAC address, used for storing FILS AAD per STA
[317] Fix | Delete
* %NL80211_ATTR_FILS_KEK - Used for encryption or decryption
[318] Fix | Delete
* %NL80211_ATTR_FILS_NONCES - Used for encryption or decryption
[319] Fix | Delete
* (STA Nonce 16 bytes followed by AP Nonce 16 bytes)
[320] Fix | Delete
*
[321] Fix | Delete
* Once the association is done, the driver cleans the FILS AAD data.
[322] Fix | Delete
*/
[323] Fix | Delete
[324] Fix | Delete
/**
[325] Fix | Delete
* DOC: Multi-Link Operation
[326] Fix | Delete
*
[327] Fix | Delete
* In Multi-Link Operation, a connection between to MLDs utilizes multiple
[328] Fix | Delete
* links. To use this in nl80211, various commands and responses now need
[329] Fix | Delete
* to or will include the new %NL80211_ATTR_MLO_LINKS attribute.
[330] Fix | Delete
* Additionally, various commands that need to operate on a specific link
[331] Fix | Delete
* now need to be given the %NL80211_ATTR_MLO_LINK_ID attribute, e.g. to
[332] Fix | Delete
* use %NL80211_CMD_START_AP or similar functions.
[333] Fix | Delete
*/
[334] Fix | Delete
[335] Fix | Delete
/**
[336] Fix | Delete
* enum nl80211_commands - supported nl80211 commands
[337] Fix | Delete
*
[338] Fix | Delete
* @NL80211_CMD_UNSPEC: unspecified command to catch errors
[339] Fix | Delete
*
[340] Fix | Delete
* @NL80211_CMD_GET_WIPHY: request information about a wiphy or dump request
[341] Fix | Delete
* to get a list of all present wiphys.
[342] Fix | Delete
* @NL80211_CMD_SET_WIPHY: set wiphy parameters, needs %NL80211_ATTR_WIPHY or
[343] Fix | Delete
* %NL80211_ATTR_IFINDEX; can be used to set %NL80211_ATTR_WIPHY_NAME,
[344] Fix | Delete
* %NL80211_ATTR_WIPHY_TXQ_PARAMS, %NL80211_ATTR_WIPHY_FREQ,
[345] Fix | Delete
* %NL80211_ATTR_WIPHY_FREQ_OFFSET (and the attributes determining the
[346] Fix | Delete
* channel width; this is used for setting monitor mode channel),
[347] Fix | Delete
* %NL80211_ATTR_WIPHY_RETRY_SHORT, %NL80211_ATTR_WIPHY_RETRY_LONG,
[348] Fix | Delete
* %NL80211_ATTR_WIPHY_FRAG_THRESHOLD, and/or
[349] Fix | Delete
* %NL80211_ATTR_WIPHY_RTS_THRESHOLD. However, for setting the channel,
[350] Fix | Delete
* see %NL80211_CMD_SET_CHANNEL instead, the support here is for backward
[351] Fix | Delete
* compatibility only.
[352] Fix | Delete
* @NL80211_CMD_NEW_WIPHY: Newly created wiphy, response to get request
[353] Fix | Delete
* or rename notification. Has attributes %NL80211_ATTR_WIPHY and
[354] Fix | Delete
* %NL80211_ATTR_WIPHY_NAME.
[355] Fix | Delete
* @NL80211_CMD_DEL_WIPHY: Wiphy deleted. Has attributes
[356] Fix | Delete
* %NL80211_ATTR_WIPHY and %NL80211_ATTR_WIPHY_NAME.
[357] Fix | Delete
*
[358] Fix | Delete
* @NL80211_CMD_GET_INTERFACE: Request an interface's configuration;
[359] Fix | Delete
* either a dump request for all interfaces or a specific get with a
[360] Fix | Delete
* single %NL80211_ATTR_IFINDEX is supported.
[361] Fix | Delete
* @NL80211_CMD_SET_INTERFACE: Set type of a virtual interface, requires
[362] Fix | Delete
* %NL80211_ATTR_IFINDEX and %NL80211_ATTR_IFTYPE.
[363] Fix | Delete
* @NL80211_CMD_NEW_INTERFACE: Newly created virtual interface or response
[364] Fix | Delete
* to %NL80211_CMD_GET_INTERFACE. Has %NL80211_ATTR_IFINDEX,
[365] Fix | Delete
* %NL80211_ATTR_WIPHY and %NL80211_ATTR_IFTYPE attributes. Can also
[366] Fix | Delete
* be sent from userspace to request creation of a new virtual interface,
[367] Fix | Delete
* then requires attributes %NL80211_ATTR_WIPHY, %NL80211_ATTR_IFTYPE and
[368] Fix | Delete
* %NL80211_ATTR_IFNAME.
[369] Fix | Delete
* @NL80211_CMD_DEL_INTERFACE: Virtual interface was deleted, has attributes
[370] Fix | Delete
* %NL80211_ATTR_IFINDEX and %NL80211_ATTR_WIPHY. Can also be sent from
[371] Fix | Delete
* userspace to request deletion of a virtual interface, then requires
[372] Fix | Delete
* attribute %NL80211_ATTR_IFINDEX. If multiple BSSID advertisements are
[373] Fix | Delete
* enabled using %NL80211_ATTR_MBSSID_CONFIG, %NL80211_ATTR_MBSSID_ELEMS,
[374] Fix | Delete
* and if this command is used for the transmitting interface, then all
[375] Fix | Delete
* the non-transmitting interfaces are deleted as well.
[376] Fix | Delete
*
[377] Fix | Delete
* @NL80211_CMD_GET_KEY: Get sequence counter information for a key specified
[378] Fix | Delete
* by %NL80211_ATTR_KEY_IDX and/or %NL80211_ATTR_MAC. %NL80211_ATTR_MAC
[379] Fix | Delete
* represents peer's MLD address for MLO pairwise key. For MLO group key,
[380] Fix | Delete
* the link is identified by %NL80211_ATTR_MLO_LINK_ID.
[381] Fix | Delete
* @NL80211_CMD_SET_KEY: Set key attributes %NL80211_ATTR_KEY_DEFAULT,
[382] Fix | Delete
* %NL80211_ATTR_KEY_DEFAULT_MGMT, or %NL80211_ATTR_KEY_THRESHOLD.
[383] Fix | Delete
* For MLO connection, the link to set default key is identified by
[384] Fix | Delete
* %NL80211_ATTR_MLO_LINK_ID.
[385] Fix | Delete
* @NL80211_CMD_NEW_KEY: add a key with given %NL80211_ATTR_KEY_DATA,
[386] Fix | Delete
* %NL80211_ATTR_KEY_IDX, %NL80211_ATTR_MAC, %NL80211_ATTR_KEY_CIPHER,
[387] Fix | Delete
* and %NL80211_ATTR_KEY_SEQ attributes. %NL80211_ATTR_MAC represents
[388] Fix | Delete
* peer's MLD address for MLO pairwise key. The link to add MLO
[389] Fix | Delete
* group key is identified by %NL80211_ATTR_MLO_LINK_ID.
[390] Fix | Delete
* @NL80211_CMD_DEL_KEY: delete a key identified by %NL80211_ATTR_KEY_IDX
[391] Fix | Delete
* or %NL80211_ATTR_MAC. %NL80211_ATTR_MAC represents peer's MLD address
[392] Fix | Delete
* for MLO pairwise key. The link to delete group key is identified by
[393] Fix | Delete
* %NL80211_ATTR_MLO_LINK_ID.
[394] Fix | Delete
*
[395] Fix | Delete
* @NL80211_CMD_GET_BEACON: (not used)
[396] Fix | Delete
* @NL80211_CMD_SET_BEACON: change the beacon on an access point interface
[397] Fix | Delete
* using the %NL80211_ATTR_BEACON_HEAD and %NL80211_ATTR_BEACON_TAIL
[398] Fix | Delete
* attributes. For drivers that generate the beacon and probe responses
[399] Fix | Delete
* internally, the following attributes must be provided: %NL80211_ATTR_IE,
[400] Fix | Delete
* %NL80211_ATTR_IE_PROBE_RESP and %NL80211_ATTR_IE_ASSOC_RESP.
[401] Fix | Delete
* @NL80211_CMD_START_AP: Start AP operation on an AP interface, parameters
[402] Fix | Delete
* are like for %NL80211_CMD_SET_BEACON, and additionally parameters that
[403] Fix | Delete
* do not change are used, these include %NL80211_ATTR_BEACON_INTERVAL,
[404] Fix | Delete
* %NL80211_ATTR_DTIM_PERIOD, %NL80211_ATTR_SSID,
[405] Fix | Delete
* %NL80211_ATTR_HIDDEN_SSID, %NL80211_ATTR_CIPHERS_PAIRWISE,
[406] Fix | Delete
* %NL80211_ATTR_CIPHER_GROUP, %NL80211_ATTR_WPA_VERSIONS,
[407] Fix | Delete
* %NL80211_ATTR_AKM_SUITES, %NL80211_ATTR_PRIVACY,
[408] Fix | Delete
* %NL80211_ATTR_AUTH_TYPE, %NL80211_ATTR_INACTIVITY_TIMEOUT,
[409] Fix | Delete
* %NL80211_ATTR_ACL_POLICY and %NL80211_ATTR_MAC_ADDRS.
[410] Fix | Delete
* The channel to use can be set on the interface or be given using the
[411] Fix | Delete
* %NL80211_ATTR_WIPHY_FREQ and %NL80211_ATTR_WIPHY_FREQ_OFFSET, and the
[412] Fix | Delete
* attributes determining channel width.
[413] Fix | Delete
* @NL80211_CMD_NEW_BEACON: old alias for %NL80211_CMD_START_AP
[414] Fix | Delete
* @NL80211_CMD_STOP_AP: Stop AP operation on the given interface
[415] Fix | Delete
* @NL80211_CMD_DEL_BEACON: old alias for %NL80211_CMD_STOP_AP
[416] Fix | Delete
*
[417] Fix | Delete
* @NL80211_CMD_GET_STATION: Get station attributes for station identified by
[418] Fix | Delete
* %NL80211_ATTR_MAC on the interface identified by %NL80211_ATTR_IFINDEX.
[419] Fix | Delete
* @NL80211_CMD_SET_STATION: Set station attributes for station identified by
[420] Fix | Delete
* %NL80211_ATTR_MAC on the interface identified by %NL80211_ATTR_IFINDEX.
[421] Fix | Delete
* @NL80211_CMD_NEW_STATION: Add a station with given attributes to the
[422] Fix | Delete
* interface identified by %NL80211_ATTR_IFINDEX.
[423] Fix | Delete
* @NL80211_CMD_DEL_STATION: Remove a station identified by %NL80211_ATTR_MAC
[424] Fix | Delete
* or, if no MAC address given, all stations, on the interface identified
[425] Fix | Delete
* by %NL80211_ATTR_IFINDEX. For MLD station, MLD address is used in
[426] Fix | Delete
* %NL80211_ATTR_MAC. %NL80211_ATTR_MGMT_SUBTYPE and
[427] Fix | Delete
* %NL80211_ATTR_REASON_CODE can optionally be used to specify which type
[428] Fix | Delete
* of disconnection indication should be sent to the station
[429] Fix | Delete
* (Deauthentication or Disassociation frame and reason code for that
[430] Fix | Delete
* frame).
[431] Fix | Delete
*
[432] Fix | Delete
* @NL80211_CMD_GET_MPATH: Get mesh path attributes for mesh path to
[433] Fix | Delete
* destination %NL80211_ATTR_MAC on the interface identified by
[434] Fix | Delete
* %NL80211_ATTR_IFINDEX.
[435] Fix | Delete
* @NL80211_CMD_SET_MPATH: Set mesh path attributes for mesh path to
[436] Fix | Delete
* destination %NL80211_ATTR_MAC on the interface identified by
[437] Fix | Delete
* %NL80211_ATTR_IFINDEX.
[438] Fix | Delete
* @NL80211_CMD_NEW_MPATH: Create a new mesh path for the destination given by
[439] Fix | Delete
* %NL80211_ATTR_MAC via %NL80211_ATTR_MPATH_NEXT_HOP.
[440] Fix | Delete
* @NL80211_CMD_DEL_MPATH: Delete a mesh path to the destination given by
[441] Fix | Delete
* %NL80211_ATTR_MAC.
[442] Fix | Delete
* @NL80211_CMD_NEW_PATH: Add a mesh path with given attributes to the
[443] Fix | Delete
* interface identified by %NL80211_ATTR_IFINDEX.
[444] Fix | Delete
* @NL80211_CMD_DEL_PATH: Remove a mesh path identified by %NL80211_ATTR_MAC
[445] Fix | Delete
* or, if no MAC address given, all mesh paths, on the interface identified
[446] Fix | Delete
* by %NL80211_ATTR_IFINDEX.
[447] Fix | Delete
* @NL80211_CMD_SET_BSS: Set BSS attributes for BSS identified by
[448] Fix | Delete
* %NL80211_ATTR_IFINDEX.
[449] Fix | Delete
*
[450] Fix | Delete
* @NL80211_CMD_GET_REG: ask the wireless core to send us its currently set
[451] Fix | Delete
* regulatory domain. If %NL80211_ATTR_WIPHY is specified and the device
[452] Fix | Delete
* has a private regulatory domain, it will be returned. Otherwise, the
[453] Fix | Delete
* global regdomain will be returned.
[454] Fix | Delete
* A device will have a private regulatory domain if it uses the
[455] Fix | Delete
* regulatory_hint() API. Even when a private regdomain is used the channel
[456] Fix | Delete
* information will still be mended according to further hints from
[457] Fix | Delete
* the regulatory core to help with compliance. A dump version of this API
[458] Fix | Delete
* is now available which will returns the global regdomain as well as
[459] Fix | Delete
* all private regdomains of present wiphys (for those that have it).
[460] Fix | Delete
* If a wiphy is self-managed (%NL80211_ATTR_WIPHY_SELF_MANAGED_REG), then
[461] Fix | Delete
* its private regdomain is the only valid one for it. The regulatory
[462] Fix | Delete
* core is not used to help with compliance in this case.
[463] Fix | Delete
* @NL80211_CMD_SET_REG: Set current regulatory domain. CRDA sends this command
[464] Fix | Delete
* after being queried by the kernel. CRDA replies by sending a regulatory
[465] Fix | Delete
* domain structure which consists of %NL80211_ATTR_REG_ALPHA set to our
[466] Fix | Delete
* current alpha2 if it found a match. It also provides
[467] Fix | Delete
* NL80211_ATTR_REG_RULE_FLAGS, and a set of regulatory rules. Each
[468] Fix | Delete
* regulatory rule is a nested set of attributes given by
[469] Fix | Delete
* %NL80211_ATTR_REG_RULE_FREQ_[START|END] and
[470] Fix | Delete
* %NL80211_ATTR_FREQ_RANGE_MAX_BW with an attached power rule given by
[471] Fix | Delete
* %NL80211_ATTR_REG_RULE_POWER_MAX_ANT_GAIN and
[472] Fix | Delete
* %NL80211_ATTR_REG_RULE_POWER_MAX_EIRP.
[473] Fix | Delete
* @NL80211_CMD_REQ_SET_REG: ask the wireless core to set the regulatory domain
[474] Fix | Delete
* to the specified ISO/IEC 3166-1 alpha2 country code. The core will
[475] Fix | Delete
* store this as a valid request and then query userspace for it.
[476] Fix | Delete
*
[477] Fix | Delete
* @NL80211_CMD_GET_MESH_CONFIG: Get mesh networking properties for the
[478] Fix | Delete
* interface identified by %NL80211_ATTR_IFINDEX
[479] Fix | Delete
*
[480] Fix | Delete
* @NL80211_CMD_SET_MESH_CONFIG: Set mesh networking properties for the
[481] Fix | Delete
* interface identified by %NL80211_ATTR_IFINDEX
[482] Fix | Delete
*
[483] Fix | Delete
* @NL80211_CMD_SET_MGMT_EXTRA_IE: Set extra IEs for management frames. The
[484] Fix | Delete
* interface is identified with %NL80211_ATTR_IFINDEX and the management
[485] Fix | Delete
* frame subtype with %NL80211_ATTR_MGMT_SUBTYPE. The extra IE data to be
[486] Fix | Delete
* added to the end of the specified management frame is specified with
[487] Fix | Delete
* %NL80211_ATTR_IE. If the command succeeds, the requested data will be
[488] Fix | Delete
* added to all specified management frames generated by
[489] Fix | Delete
* kernel/firmware/driver.
[490] Fix | Delete
* Note: This command has been removed and it is only reserved at this
[491] Fix | Delete
* point to avoid re-using existing command number. The functionality this
[492] Fix | Delete
* command was planned for has been provided with cleaner design with the
[493] Fix | Delete
* option to specify additional IEs in NL80211_CMD_TRIGGER_SCAN,
[494] Fix | Delete
* NL80211_CMD_AUTHENTICATE, NL80211_CMD_ASSOCIATE,
[495] Fix | Delete
* NL80211_CMD_DEAUTHENTICATE, and NL80211_CMD_DISASSOCIATE.
[496] Fix | Delete
*
[497] Fix | Delete
* @NL80211_CMD_GET_SCAN: get scan results
[498] Fix | Delete
* @NL80211_CMD_TRIGGER_SCAN: trigger a new scan with the given parameters
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function