History

Merge tag 'wireless-next-2023-12-18' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next

Kalle Valo says: ==================== wireless-next patches for v6.8 The second features pull request for v6.8. A bigger one this time with changes both to stack and drivers. We have a new Wifi band RFI (WBRF) mitigation feature for which we pulled an immutable branch shared with other subsystems. And, as always, other new features and bug fixes all over. Major changes: cfg80211/mac80211 * AMD ACPI based Wifi band RFI (WBRF) mitigation feature * Basic Service Set (BSS) usage reporting * TID to link mapping support * mac80211 hardware flag to disallow puncturing iwlwifi * new debugfs file fw_dbg_clear mt76 * NVMEM EEPROM improvements * mt7996 Extremely High Throughpu (EHT) improvements * mt7996 Wireless Ethernet Dispatcher (WED) support * mt7996 36-bit DMA support ath12k * support one MSI vector * WCN7850: support AP mode * tag 'wireless-next-2023-12-18' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next: (207 commits) wifi: mt76: mt7996: Use DECLARE_FLEX_ARRAY() and fix -Warray-bounds warnings wifi: ath11k: workaround too long expansion sparse warnings Revert "wifi: ath12k: use ATH12K_PCI_IRQ_DP_OFFSET for DP IRQ" wifi: rt2x00: remove useless code in rt2x00queue_create_tx_descriptor() wifi: rtw89: only reset BB/RF for existing WiFi 6 chips while starting up wifi: rtw89: add DBCC H2C to notify firmware the status wifi: rtw89: mac: add suffix _ax to MAC functions wifi: rtw89: mac: add flags to check if CMAC and DMAC are enabled wifi: rtw89: 8922a: add power on/off functions wifi: rtw89: add XTAL SI for WiFi 7 chips wifi: rtw89: phy: print out RFK log with formatted string wifi: rtw89: parse and print out RFK log from C2H events wifi: rtw89: add C2H event handlers of RFK log and report wifi: rtw89: load RFK log format string from firmware file wifi: rtw89: fw: add version field to BB MCU firmware element wifi: rtw89: fw: load TX power track tables from fw_element wifi: mwifiex: configure BSSID consistently when starting AP wifi: mwifiex: add extra delay for firmware ready wifi: mac80211: sta_info.c: fix sentence grammar wifi: mac80211: rx.c: fix sentence grammar ... ====================

Jakub Kicinski committed 2 years ago

Commit 0ee28c92 parents 509afc7 c5a3f56292 files · +10703 −2086Browse files

Showing the changes to include/uapi (1 of 292 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+98−38
@@ -72,7 +72,7 @@ · 71 unmodified lines
72 * For drivers supporting TDLS with external setup (WIPHY_FLAG_SUPPORTS_TDLS72 * For drivers supporting TDLS with external setup (WIPHY_FLAG_SUPPORTS_TDLS
73 * and WIPHY_FLAG_TDLS_EXTERNAL_SETUP), the station lifetime is as follows:73 * and WIPHY_FLAG_TDLS_EXTERNAL_SETUP), the station lifetime is as follows:
74 * - a setup station entry is added, not yet authorized, without any rate74 * - a setup station entry is added, not yet authorized, without any rate
75 * or capability information, this just exists to avoid race conditions75 * or capability information; this just exists to avoid race conditions
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
77 * to add rate and capability information to the station and at the same77 * to add rate and capability information to the station and at the same
78 * time mark it authorized.78 * time mark it authorized.
@@ -87,7 +87,7 @@ · 8 unmodified lines
87 * DOC: Frame transmission/registration support87 * DOC: Frame transmission/registration support
88 *88 *
89 * Frame transmission and registration support exists to allow userspace89 * Frame transmission and registration support exists to allow userspace
90 * management entities such as wpa_supplicant react to management frames90 * management entities such as wpa_supplicant to react to management frames
91 * that are not being handled by the kernel. This includes, for example,91 * that are not being handled by the kernel. This includes, for example,
92 * certain classes of action frames that cannot be handled in the kernel92 * certain classes of action frames that cannot be handled in the kernel
93 * for various reasons.93 * for various reasons.
@@ -113,7 +113,7 @@ · 19 unmodified lines
113 *113 *
114 * Frame transmission allows userspace to send for example the required114 * Frame transmission allows userspace to send for example the required
115 * responses to action frames. It is subject to some sanity checking,115 * responses to action frames. It is subject to some sanity checking,
116 * but many frames can be transmitted. When a frame was transmitted, its116 * but many frames can be transmitted. When a frame is transmitted, its
117 * status is indicated to the sending socket.117 * status is indicated to the sending socket.
118 *118 *
119 * For more technical details, see the corresponding command descriptions119 * For more technical details, see the corresponding command descriptions
@@ -123,7 +123,7 @@ · 3 unmodified lines
123/**123/**
124 * DOC: Virtual interface / concurrency capabilities124 * DOC: Virtual interface / concurrency capabilities
125 *125 *
126 * Some devices are able to operate with virtual MACs, they can have126 * Some devices are able to operate with virtual MACs; they can have
127 * more than one virtual interface. The capability handling for this127 * more than one virtual interface. The capability handling for this
128 * is a bit complex though, as there may be a number of restrictions128 * is a bit complex though, as there may be a number of restrictions
129 * on the types of concurrency that are supported.129 * on the types of concurrency that are supported.
@@ -135,7 +135,7 @@ · 5 unmodified lines
135 * Once concurrency is desired, more attributes must be observed:135 * Once concurrency is desired, more attributes must be observed:
136 * To start with, since some interface types are purely managed in136 * To start with, since some interface types are purely managed in
137 * software, like the AP-VLAN type in mac80211 for example, there's137 * software, like the AP-VLAN type in mac80211 for example, there's
138 * an additional list of these, they can be added at any time and138 * an additional list of these; they can be added at any time and
139 * are only restricted by some semantic restrictions (e.g. AP-VLAN139 * are only restricted by some semantic restrictions (e.g. AP-VLAN
140 * cannot be added without a corresponding AP interface). This list140 * cannot be added without a corresponding AP interface). This list
141 * is exported in the %NL80211_ATTR_SOFTWARE_IFTYPES attribute.141 * is exported in the %NL80211_ATTR_SOFTWARE_IFTYPES attribute.
@@ -164,7 +164,7 @@ · 22 unmodified lines
164 * Packet coalesce feature helps to reduce number of received interrupts164 * Packet coalesce feature helps to reduce number of received interrupts
165 * to host by buffering these packets in firmware/hardware for some165 * to host by buffering these packets in firmware/hardware for some
166 * predefined time. Received interrupt will be generated when one of the166 * predefined time. Received interrupt will be generated when one of the
167 * following events occur.167 * following events occurs.
168 * a) Expiration of hardware timer whose expiration time is set to maximum168 * a) Expiration of hardware timer whose expiration time is set to maximum
169 * coalescing delay of matching coalesce rule.169 * coalescing delay of matching coalesce rule.
170 * b) Coalescing buffer in hardware reaches its limit.170 * b) Coalescing buffer in hardware reaches its limit.
@@ -174,7 +174,7 @@ · 3 unmodified lines
174 * rule.174 * rule.
175 * a) Maximum coalescing delay175 * a) Maximum coalescing delay
176 * b) List of packet patterns which needs to be matched176 * b) List of packet patterns which needs to be matched
177 * c) Condition for coalescence. pattern 'match' or 'no match'177 * c) Condition for coalescence: pattern 'match' or 'no match'
178 * Multiple such rules can be created.178 * Multiple such rules can be created.
179 */179 */
180 180
@@ -213,7 +213,7 @@ · 32 unmodified lines
213/**213/**
214 * DOC: FILS shared key authentication offload214 * DOC: FILS shared key authentication offload
215 *215 *
216 * FILS shared key authentication offload can be advertized by drivers by216 * FILS shared key authentication offload can be advertised by drivers by
217 * setting @NL80211_EXT_FEATURE_FILS_SK_OFFLOAD flag. The drivers that support217 * setting @NL80211_EXT_FEATURE_FILS_SK_OFFLOAD flag. The drivers that support
218 * FILS shared key authentication offload should be able to construct the218 * FILS shared key authentication offload should be able to construct the
219 * authentication and association frames for FILS shared key authentication and219 * authentication and association frames for FILS shared key authentication and
@@ -239,7 +239,7 @@ · 19 unmodified lines
239 * The PMKSA can be maintained in userspace persistently so that it can be used239 * The PMKSA can be maintained in userspace persistently so that it can be used
240 * later after reboots or wifi turn off/on also.240 * later after reboots or wifi turn off/on also.
241 *241 *
242 * %NL80211_ATTR_FILS_CACHE_ID is the cache identifier advertized by a FILS242 * %NL80211_ATTR_FILS_CACHE_ID is the cache identifier advertised by a FILS
243 * capable AP supporting PMK caching. It specifies the scope within which the243 * capable AP supporting PMK caching. It specifies the scope within which the
244 * PMKSAs are cached in an ESS. %NL80211_CMD_SET_PMKSA and244 * PMKSAs are cached in an ESS. %NL80211_CMD_SET_PMKSA and
245 * %NL80211_CMD_DEL_PMKSA are enhanced to allow support for PMKSA caching based245 * %NL80211_CMD_DEL_PMKSA are enhanced to allow support for PMKSA caching based
@@ -290,12 +290,12 @@ · 44 unmodified lines
290 * If the configuration needs to be applied for specific peer then the MAC290 * If the configuration needs to be applied for specific peer then the MAC
291 * address of the peer needs to be passed in %NL80211_ATTR_MAC, otherwise the291 * address of the peer needs to be passed in %NL80211_ATTR_MAC, otherwise the
292 * configuration will be applied for all the connected peers in the vif except292 * configuration will be applied for all the connected peers in the vif except
293 * any peers that have peer specific configuration for the TID by default; if293 * any peers that have peer-specific configuration for the TID by default; if
294 * the %NL80211_TID_CONFIG_ATTR_OVERRIDE flag is set, peer specific values294 * the %NL80211_TID_CONFIG_ATTR_OVERRIDE flag is set, peer-specific values
295 * will be overwritten.295 * will be overwritten.
296 *296 *
297 * All this configuration is valid only for STA's current connection297 * All this configuration is valid only for STA's current connection,
298 * i.e. the configuration will be reset to default when the STA connects back298 * i.e., the configuration will be reset to default when the STA connects back
299 * after disconnection/roaming, and this configuration will be cleared when299 * after disconnection/roaming, and this configuration will be cleared when
300 * the interface goes down.300 * the interface goes down.
301 */301 */
@@ -521,7 +521,7 @@ · 219 unmodified lines
521 * %NL80211_ATTR_SCHED_SCAN_PLANS. If %NL80211_ATTR_SCHED_SCAN_PLANS is521 * %NL80211_ATTR_SCHED_SCAN_PLANS. If %NL80211_ATTR_SCHED_SCAN_PLANS is
522 * not specified and only %NL80211_ATTR_SCHED_SCAN_INTERVAL is specified,522 * not specified and only %NL80211_ATTR_SCHED_SCAN_INTERVAL is specified,
523 * scheduled scan will run in an infinite loop with the specified interval.523 * scheduled scan will run in an infinite loop with the specified interval.
524 * These attributes are mutually exculsive,524 * These attributes are mutually exclusive,
525 * i.e. NL80211_ATTR_SCHED_SCAN_INTERVAL must not be passed if525 * i.e. NL80211_ATTR_SCHED_SCAN_INTERVAL must not be passed if
526 * NL80211_ATTR_SCHED_SCAN_PLANS is defined.526 * NL80211_ATTR_SCHED_SCAN_PLANS is defined.
527 * If for some reason scheduled scan is aborted by the driver, all scan527 * If for some reason scheduled scan is aborted by the driver, all scan
@@ -552,7 +552,7 @@ · 24 unmodified lines
552 * %NL80211_CMD_STOP_SCHED_SCAN command is received or when the interface552 * %NL80211_CMD_STOP_SCHED_SCAN command is received or when the interface
553 * is brought down while a scheduled scan was running.553 * is brought down while a scheduled scan was running.
554 *554 *
555 * @NL80211_CMD_GET_SURVEY: get survey resuls, e.g. channel occupation555 * @NL80211_CMD_GET_SURVEY: get survey results, e.g. channel occupation
556 * or noise level556 * or noise level
557 * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to557 * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to
558 * NL80211_CMD_GET_SURVEY and on the "scan" multicast group)558 * NL80211_CMD_GET_SURVEY and on the "scan" multicast group)
@@ -563,12 +563,13 @@ · 4 unmodified lines
563 * using %NL80211_ATTR_SSID, %NL80211_ATTR_FILS_CACHE_ID,563 * using %NL80211_ATTR_SSID, %NL80211_ATTR_FILS_CACHE_ID,
564 * %NL80211_ATTR_PMKID, and %NL80211_ATTR_PMK in case of FILS564 * %NL80211_ATTR_PMKID, and %NL80211_ATTR_PMK in case of FILS
565 * authentication where %NL80211_ATTR_FILS_CACHE_ID is the identifier565 * authentication where %NL80211_ATTR_FILS_CACHE_ID is the identifier
566 * advertized by a FILS capable AP identifying the scope of PMKSA in an566 * advertised by a FILS capable AP identifying the scope of PMKSA in an
567 * ESS.567 * ESS.
568 * @NL80211_CMD_DEL_PMKSA: Delete a PMKSA cache entry, using %NL80211_ATTR_MAC568 * @NL80211_CMD_DEL_PMKSA: Delete a PMKSA cache entry, using %NL80211_ATTR_MAC
569 * (for the BSSID) and %NL80211_ATTR_PMKID or using %NL80211_ATTR_SSID,569 * (for the BSSID) and %NL80211_ATTR_PMKID or using %NL80211_ATTR_SSID,
570 * %NL80211_ATTR_FILS_CACHE_ID, and %NL80211_ATTR_PMKID in case of FILS570 * %NL80211_ATTR_FILS_CACHE_ID, and %NL80211_ATTR_PMKID in case of FILS
571 * authentication.571 * authentication. Additionally in case of SAE offload and OWE offloads
572 * PMKSA entry can be deleted using %NL80211_ATTR_SSID.
572 * @NL80211_CMD_FLUSH_PMKSA: Flush all PMKSA cache entries.573 * @NL80211_CMD_FLUSH_PMKSA: Flush all PMKSA cache entries.
573 *574 *
574 * @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain575 * @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain
@@ -607,7 +608,7 @@ · 32 unmodified lines
607 * BSSID in case of station mode). %NL80211_ATTR_SSID is used to specify608 * BSSID in case of station mode). %NL80211_ATTR_SSID is used to specify
608 * the SSID (mainly for association, but is included in authentication609 * the SSID (mainly for association, but is included in authentication
609 * request, too, to help BSS selection. %NL80211_ATTR_WIPHY_FREQ +610 * request, too, to help BSS selection. %NL80211_ATTR_WIPHY_FREQ +
610 * %NL80211_ATTR_WIPHY_FREQ_OFFSET is used to specify the frequence of the611 * %NL80211_ATTR_WIPHY_FREQ_OFFSET is used to specify the frequency of the
611 * channel in MHz. %NL80211_ATTR_AUTH_TYPE is used to specify the612 * channel in MHz. %NL80211_ATTR_AUTH_TYPE is used to specify the
612 * authentication type. %NL80211_ATTR_IE is used to define IEs613 * authentication type. %NL80211_ATTR_IE is used to define IEs
613 * (VendorSpecificInfo, but also including RSN IE and FT IEs) to be added614 * (VendorSpecificInfo, but also including RSN IE and FT IEs) to be added
@@ -816,7 +817,7 @@ · 202 unmodified lines
816 * reached.817 * reached.
817 * @NL80211_CMD_SET_CHANNEL: Set the channel (using %NL80211_ATTR_WIPHY_FREQ818 * @NL80211_CMD_SET_CHANNEL: Set the channel (using %NL80211_ATTR_WIPHY_FREQ
818 * and the attributes determining channel width) the given interface819 * and the attributes determining channel width) the given interface
819 * (identifed by %NL80211_ATTR_IFINDEX) shall operate on.820 * (identified by %NL80211_ATTR_IFINDEX) shall operate on.
820 * In case multiple channels are supported by the device, the mechanism821 * In case multiple channels are supported by the device, the mechanism
821 * with which it switches channels is implementation-defined.822 * with which it switches channels is implementation-defined.
822 * When a monitor interface is given, it can only switch channel while823 * When a monitor interface is given, it can only switch channel while
@@ -888,7 +889,7 @@ · 65 unmodified lines
888 * inform userspace of the new replay counter.889 * inform userspace of the new replay counter.
889 *890 *
890 * @NL80211_CMD_PMKSA_CANDIDATE: This is used as an event to inform userspace891 * @NL80211_CMD_PMKSA_CANDIDATE: This is used as an event to inform userspace
891 * of PMKSA caching dandidates.892 * of PMKSA caching candidates.
892 *893 *
893 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).894 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
894 * In addition, this can be used as an event to request userspace to take895 * In addition, this can be used as an event to request userspace to take
@@ -924,7 +925,7 @@ · 29 unmodified lines
924 *925 *
925 * @NL80211_CMD_PROBE_CLIENT: Probe an associated station on an AP interface926 * @NL80211_CMD_PROBE_CLIENT: Probe an associated station on an AP interface
926 * by sending a null data frame to it and reporting when the frame is927 * by sending a null data frame to it and reporting when the frame is
927 * acknowleged. This is used to allow timing out inactive clients. Uses928 * acknowledged. This is used to allow timing out inactive clients. Uses
928 * %NL80211_ATTR_IFINDEX and %NL80211_ATTR_MAC. The command returns a929 * %NL80211_ATTR_IFINDEX and %NL80211_ATTR_MAC. The command returns a
929 * direct reply with an %NL80211_ATTR_COOKIE that is later used to match930 * direct reply with an %NL80211_ATTR_COOKIE that is later used to match
930 * up the event with the request. The event includes the same data and931 * up the event with the request. The event includes the same data and
@@ -1327,6 +1328,11 @@ · 396 unmodified lines
1327 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide1328 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide
1328 * information about the removed STA MLD setup links.1329 * information about the removed STA MLD setup links.
1329 *1330 *
1331 * @NL80211_CMD_SET_TID_TO_LINK_MAPPING: Set the TID to Link Mapping for a
1332 * non-AP MLD station. The %NL80211_ATTR_MLO_TTLM_DLINK and
1333 * %NL80211_ATTR_MLO_TTLM_ULINK attributes are used to specify the
1334 * TID to Link mapping for downlink/uplink traffic.
1335 *
1330 * @NL80211_CMD_MAX: highest used command number1336 * @NL80211_CMD_MAX: highest used command number
1331 * @__NL80211_CMD_AFTER_LAST: internal use1337 * @__NL80211_CMD_AFTER_LAST: internal use
1332 */1338 */
@@ -1582,6 +1588,8 @@ enum nl80211_commands { · 249 unmodified lines
1582 1588
1583 NL80211_CMD_LINKS_REMOVED,1589 NL80211_CMD_LINKS_REMOVED,
1584 1590
1591 NL80211_CMD_SET_TID_TO_LINK_MAPPING,
1592
1585 /* add new commands above here */1593 /* add new commands above here */
1586 1594
1587 /* used to define NL80211_CMD_MAX below */1595 /* used to define NL80211_CMD_MAX below */
@@ -1839,7 +1847,7 @@ enum nl80211_commands { · 251 unmodified lines
1839 * using %CMD_CONTROL_PORT_FRAME. If control port routing over NL80211 is1847 * using %CMD_CONTROL_PORT_FRAME. If control port routing over NL80211 is
1840 * to be used then userspace must also use the %NL80211_ATTR_SOCKET_OWNER1848 * to be used then userspace must also use the %NL80211_ATTR_SOCKET_OWNER
1841 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth1849 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1842 * frames are not forwared over the control port.1850 * frames are not forwarded over the control port.
1843 *1851 *
1844 * @NL80211_ATTR_TESTDATA: Testmode data blob, passed through to the driver.1852 * @NL80211_ATTR_TESTDATA: Testmode data blob, passed through to the driver.
1845 * We recommend using nested, driver-specific attributes within this.1853 * We recommend using nested, driver-specific attributes within this.
@@ -1976,10 +1984,10 @@ enum nl80211_commands { · 130 unmodified lines
1976 * bit. Depending on which antennas are selected in the bitmap, 802.11n1984 * bit. Depending on which antennas are selected in the bitmap, 802.11n
1977 * drivers can derive which chainmasks to use (if all antennas belonging to1985 * drivers can derive which chainmasks to use (if all antennas belonging to
1978 * a particular chain are disabled this chain should be disabled) and if1986 * a particular chain are disabled this chain should be disabled) and if
1979 * a chain has diversity antennas wether diversity should be used or not.1987 * a chain has diversity antennas whether diversity should be used or not.
1980 * HT capabilities (STBC, TX Beamforming, Antenna selection) can be1988 * HT capabilities (STBC, TX Beamforming, Antenna selection) can be
1981 * derived from the available chains after applying the antenna mask.1989 * derived from the available chains after applying the antenna mask.
1982 * Non-802.11n drivers can derive wether to use diversity or not.1990 * Non-802.11n drivers can derive whether to use diversity or not.
1983 * Drivers may reject configurations or RX/TX mask combinations they cannot1991 * Drivers may reject configurations or RX/TX mask combinations they cannot
1984 * support by returning -EINVAL.1992 * support by returning -EINVAL.
1985 *1993 *
@@ -2549,7 +2557,7 @@ enum nl80211_commands { · 563 unmodified lines
2549 * from successful FILS authentication and is used with2557 * from successful FILS authentication and is used with
2550 * %NL80211_CMD_CONNECT.2558 * %NL80211_CMD_CONNECT.
2551 *2559 *
2552 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertized by a FILS AP2560 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertised by a FILS AP
2553 * identifying the scope of PMKSAs. This is used with2561 * identifying the scope of PMKSAs. This is used with
2554 * @NL80211_CMD_SET_PMKSA and @NL80211_CMD_DEL_PMKSA.2562 * @NL80211_CMD_SET_PMKSA and @NL80211_CMD_DEL_PMKSA.
2555 *2563 *
@@ -2830,6 +2838,19 @@ enum nl80211_commands { · 274 unmodified lines
2830 * @NL80211_ATTR_MLO_LINK_DISABLED: Flag attribute indicating that the link is2838 * @NL80211_ATTR_MLO_LINK_DISABLED: Flag attribute indicating that the link is
2831 * disabled.2839 * disabled.
2832 *2840 *
2841 * @NL80211_ATTR_BSS_DUMP_INCLUDE_USE_DATA: Include BSS usage data, i.e.
2842 * include BSSes that can only be used in restricted scenarios and/or
2843 * cannot be used at all.
2844 *
2845 * @NL80211_ATTR_MLO_TTLM_DLINK: Binary attribute specifying the downlink TID to
2846 * link mapping. The length is 8 * sizeof(u16). For each TID the link
2847 * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2848 * in Draft P802.11be_D4.0.
2849 * @NL80211_ATTR_MLO_TTLM_ULINK: Binary attribute specifying the uplink TID to
2850 * link mapping. The length is 8 * sizeof(u16). For each TID the link
2851 * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2852 * in Draft P802.11be_D4.0.
2853 *
2833 * @NUM_NL80211_ATTR: total number of nl80211_attrs available2854 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
2834 * @NL80211_ATTR_MAX: highest attribute number currently defined2855 * @NL80211_ATTR_MAX: highest attribute number currently defined
2835 * @__NL80211_ATTR_AFTER_LAST: internal use2856 * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -3368,6 +3389,11 @@ enum nl80211_attrs { · 532 unmodified lines
3368 3389
3369 NL80211_ATTR_MLO_LINK_DISABLED,3390 NL80211_ATTR_MLO_LINK_DISABLED,
3370 3391
3392 NL80211_ATTR_BSS_DUMP_INCLUDE_USE_DATA,
3393
3394 NL80211_ATTR_MLO_TTLM_DLINK,
3395 NL80211_ATTR_MLO_TTLM_ULINK,
3396
3371 /* add attributes here, update the policy in nl80211.c */3397 /* add attributes here, update the policy in nl80211.c */
3372 3398
3373 __NL80211_ATTR_AFTER_LAST,3399 __NL80211_ATTR_AFTER_LAST,
@@ -4174,7 +4200,7 @@ enum nl80211_wmm_rule { · 800 unmodified lines
4174 * (100 * dBm).4200 * (100 * dBm).
4175 * @NL80211_FREQUENCY_ATTR_DFS_STATE: current state for DFS4201 * @NL80211_FREQUENCY_ATTR_DFS_STATE: current state for DFS
4176 * (enum nl80211_dfs_state)4202 * (enum nl80211_dfs_state)
4177 * @NL80211_FREQUENCY_ATTR_DFS_TIME: time in miliseconds for how long4203 * @NL80211_FREQUENCY_ATTR_DFS_TIME: time in milliseconds for how long
4178 * this channel is in this DFS state.4204 * this channel is in this DFS state.
4179 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this4205 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
4180 * channel as the control channel4206 * channel as the control channel
@@ -5031,6 +5057,30 @@ enum nl80211_bss_scan_width { · 850 unmodified lines
5031 NL80211_BSS_CHAN_WIDTH_2,5057 NL80211_BSS_CHAN_WIDTH_2,
5032};5058};
5033 5059
5060/**
5061 * enum nl80211_bss_use_for - bitmap indicating possible BSS use
5062 * @NL80211_BSS_USE_FOR_NORMAL: Use this BSS for normal "connection",
5063 * including IBSS/MBSS depending on the type.
5064 * @NL80211_BSS_USE_FOR_MLD_LINK: This BSS can be used as a link in an
5065 * MLO connection. Note that for an MLO connection, all links including
5066 * the assoc link must have this flag set, and the assoc link must
5067 * additionally have %NL80211_BSS_USE_FOR_NORMAL set.
5068 */
5069enum nl80211_bss_use_for {
5070 NL80211_BSS_USE_FOR_NORMAL = 1 << 0,
5071 NL80211_BSS_USE_FOR_MLD_LINK = 1 << 1,
5072};
5073
5074/**
5075 * enum nl80211_bss_cannot_use_reasons - reason(s) connection to a
5076 * BSS isn't possible
5077 * @NL80211_BSS_CANNOT_USE_NSTR_NONPRIMARY: NSTR nonprimary links aren't
5078 * supported by the device, and this BSS entry represents one.
5079 */
5080enum nl80211_bss_cannot_use_reasons {
5081 NL80211_BSS_CANNOT_USE_NSTR_NONPRIMARY = 1 << 0,
5082};
5083
5034/**5084/**
5035 * enum nl80211_bss - netlink attributes for a BSS5085 * enum nl80211_bss - netlink attributes for a BSS
5036 *5086 *
@@ -5083,6 +5133,14 @@ enum nl80211_bss_scan_width { · 46 unmodified lines
5083 * @NL80211_BSS_FREQUENCY_OFFSET: frequency offset in KHz5133 * @NL80211_BSS_FREQUENCY_OFFSET: frequency offset in KHz
5084 * @NL80211_BSS_MLO_LINK_ID: MLO link ID of the BSS (u8).5134 * @NL80211_BSS_MLO_LINK_ID: MLO link ID of the BSS (u8).
5085 * @NL80211_BSS_MLD_ADDR: MLD address of this BSS if connected to it.5135 * @NL80211_BSS_MLD_ADDR: MLD address of this BSS if connected to it.
5136 * @NL80211_BSS_USE_FOR: u32 bitmap attribute indicating what the BSS can be
5137 * used for, see &enum nl80211_bss_use_for.
5138 * @NL80211_BSS_CANNOT_USE_REASONS: Indicates the reason that this BSS cannot
5139 * be used for all or some of the possible uses by the device reporting it,
5140 * even though its presence was detected.
5141 * This is a u64 attribute containing a bitmap of values from
5142 * &enum nl80211_cannot_use_reasons, note that the attribute may be missing
5143 * if no reasons are specified.
5086 * @__NL80211_BSS_AFTER_LAST: internal5144 * @__NL80211_BSS_AFTER_LAST: internal
5087 * @NL80211_BSS_MAX: highest BSS attribute5145 * @NL80211_BSS_MAX: highest BSS attribute
5088 */5146 */
@@ -5110,6 +5168,8 @@ enum nl80211_bss { · 21 unmodified lines
5110 NL80211_BSS_FREQUENCY_OFFSET,5168 NL80211_BSS_FREQUENCY_OFFSET,
5111 NL80211_BSS_MLO_LINK_ID,5169 NL80211_BSS_MLO_LINK_ID,
5112 NL80211_BSS_MLD_ADDR,5170 NL80211_BSS_MLD_ADDR,
5171 NL80211_BSS_USE_FOR,
5172 NL80211_BSS_CANNOT_USE_REASONS,
5113 5173
5114 /* keep last */5174 /* keep last */
5115 __NL80211_BSS_AFTER_LAST,5175 __NL80211_BSS_AFTER_LAST,
@@ -5458,7 +5518,7 @@ enum nl80211_tx_rate_setting { · 342 unmodified lines
5458 * (%NL80211_TID_CONFIG_ATTR_TIDS, %NL80211_TID_CONFIG_ATTR_OVERRIDE).5518 * (%NL80211_TID_CONFIG_ATTR_TIDS, %NL80211_TID_CONFIG_ATTR_OVERRIDE).
5459 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but5519 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
5460 * per peer instead.5520 * per peer instead.
5461 * @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribue, if set indicates5521 * @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribute, if set indicates
5462 * that the new configuration overrides all previous peer5522 * that the new configuration overrides all previous peer
5463 * configurations, otherwise previous peer specific configurations5523 * configurations, otherwise previous peer specific configurations
5464 * should be left untouched.5524 * should be left untouched.
@@ -5841,7 +5901,7 @@ enum nl80211_attr_coalesce_rule { · 376 unmodified lines
5841 5901
5842/**5902/**
5843 * enum nl80211_coalesce_condition - coalesce rule conditions5903 * enum nl80211_coalesce_condition - coalesce rule conditions
5844 * @NL80211_COALESCE_CONDITION_MATCH: coalaesce Rx packets when patterns5904 * @NL80211_COALESCE_CONDITION_MATCH: coalesce Rx packets when patterns
5845 * in a rule are matched.5905 * in a rule are matched.
5846 * @NL80211_COALESCE_CONDITION_NO_MATCH: coalesce Rx packets when patterns5906 * @NL80211_COALESCE_CONDITION_NO_MATCH: coalesce Rx packets when patterns
5847 * in a rule are not matched.5907 * in a rule are not matched.
@@ -5940,7 +6000,7 @@ enum nl80211_if_combination_attrs { · 92 unmodified lines
5940 * enum nl80211_plink_state - state of a mesh peer link finite state machine6000 * enum nl80211_plink_state - state of a mesh peer link finite state machine
5941 *6001 *
5942 * @NL80211_PLINK_LISTEN: initial state, considered the implicit6002 * @NL80211_PLINK_LISTEN: initial state, considered the implicit
5943 * state of non existent mesh peer links6003 * state of non-existent mesh peer links
5944 * @NL80211_PLINK_OPN_SNT: mesh plink open frame has been sent to6004 * @NL80211_PLINK_OPN_SNT: mesh plink open frame has been sent to
5945 * this mesh peer6005 * this mesh peer
5946 * @NL80211_PLINK_OPN_RCVD: mesh plink open frame has been received6006 * @NL80211_PLINK_OPN_RCVD: mesh plink open frame has been received
@@ -6233,7 +6293,7 @@ enum nl80211_feature_flags { · 286 unmodified lines
6233 * request to use RRM (see %NL80211_ATTR_USE_RRM) with6293 * request to use RRM (see %NL80211_ATTR_USE_RRM) with
6234 * %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests, which will set6294 * %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests, which will set
6235 * the ASSOC_REQ_USE_RRM flag in the association request even if6295 * the ASSOC_REQ_USE_RRM flag in the association request even if
6236 * NL80211_FEATURE_QUIET is not advertized.6296 * NL80211_FEATURE_QUIET is not advertised.
6237 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air6297 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
6238 * sniffer which means that it can be configured to hear packets from6298 * sniffer which means that it can be configured to hear packets from
6239 * certain groups which can be configured by the6299 * certain groups which can be configured by the
@@ -6245,7 +6305,7 @@ enum nl80211_feature_flags { · 5 unmodified lines
6245 * the BSS that the interface that requested the scan is connected to6305 * the BSS that the interface that requested the scan is connected to
6246 * (if available).6306 * (if available).
6247 * @NL80211_EXT_FEATURE_BSS_PARENT_TSF: Per BSS, this driver reports the6307 * @NL80211_EXT_FEATURE_BSS_PARENT_TSF: Per BSS, this driver reports the
6248 * time the last beacon/probe was received. For a non MLO connection, the6308 * time the last beacon/probe was received. For a non-MLO connection, the
6249 * time is the TSF of the BSS that the interface that requested the scan is6309 * time is the TSF of the BSS that the interface that requested the scan is
6250 * connected to (if available). For an MLO connection, the time is the TSF6310 * connected to (if available). For an MLO connection, the time is the TSF
6251 * of the BSS corresponding with link ID specified in the scan request (if6311 * of the BSS corresponding with link ID specified in the scan request (if
@@ -6253,7 +6313,7 @@ enum nl80211_feature_flags { · 1 unmodified line
6253 * @NL80211_EXT_FEATURE_SET_SCAN_DWELL: This driver supports configuration of6313 * @NL80211_EXT_FEATURE_SET_SCAN_DWELL: This driver supports configuration of
6254 * channel dwell time.6314 * channel dwell time.
6255 * @NL80211_EXT_FEATURE_BEACON_RATE_LEGACY: Driver supports beacon rate6315 * @NL80211_EXT_FEATURE_BEACON_RATE_LEGACY: Driver supports beacon rate
6256 * configuration (AP/mesh), supporting a legacy (non HT/VHT) rate.6316 * configuration (AP/mesh), supporting a legacy (non-HT/VHT) rate.
6257 * @NL80211_EXT_FEATURE_BEACON_RATE_HT: Driver supports beacon rate6317 * @NL80211_EXT_FEATURE_BEACON_RATE_HT: Driver supports beacon rate
6258 * configuration (AP/mesh) with HT rates.6318 * configuration (AP/mesh) with HT rates.
6259 * @NL80211_EXT_FEATURE_BEACON_RATE_VHT: Driver supports beacon rate6319 * @NL80211_EXT_FEATURE_BEACON_RATE_VHT: Driver supports beacon rate
@@ -6589,7 +6649,7 @@ enum nl80211_timeout_reason { · 329 unmodified lines
6589 * request parameters IE in the probe request6649 * request parameters IE in the probe request
6590 * @NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP: accept broadcast probe responses6650 * @NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP: accept broadcast probe responses
6591 * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE: send probe request frames at6651 * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE: send probe request frames at
6592 * rate of at least 5.5M. In case non OCE AP is discovered in the channel,6652 * rate of at least 5.5M. In case non-OCE AP is discovered in the channel,
6593 * only the first probe req in the channel will be sent in high rate.6653 * only the first probe req in the channel will be sent in high rate.
6594 * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: allow probe request6654 * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: allow probe request
6595 * tx deferral (dot11FILSProbeDelay shall be set to 15ms)6655 * tx deferral (dot11FILSProbeDelay shall be set to 15ms)
@@ -6625,7 +6685,7 @@ enum nl80211_timeout_reason { · 29 unmodified lines
6625 * received on the 2.4/5 GHz channels to actively scan only the 6GHz6685 * received on the 2.4/5 GHz channels to actively scan only the 6GHz
6626 * channels on which APs are expected to be found. Note that when not set,6686 * channels on which APs are expected to be found. Note that when not set,
6627 * the scan logic would scan all 6GHz channels, but since transmission of6687 * the scan logic would scan all 6GHz channels, but since transmission of
6628 * probe requests on non PSC channels is limited, it is highly likely that6688 * probe requests on non-PSC channels is limited, it is highly likely that
6629 * these channels would passively be scanned. Also note that when the flag6689 * these channels would passively be scanned. Also note that when the flag
6630 * is set, in addition to the colocated APs, PSC channels would also be6690 * is set, in addition to the colocated APs, PSC channels would also be
6631 * scanned if the user space has asked for it.6691 * scanned if the user space has asked for it.
@@ -6957,7 +7017,7 @@ enum nl80211_nan_func_term_reason { · 325 unmodified lines
6957 * The instance ID for the follow up Service Discovery Frame. This is u8.7017 * The instance ID for the follow up Service Discovery Frame. This is u8.
6958 * @NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID: relevant if the function's type7018 * @NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID: relevant if the function's type
6959 * is follow up. This is a u8.7019 * is follow up. This is a u8.
6960 * The requestor instance ID for the follow up Service Discovery Frame.7020 * The requester instance ID for the follow up Service Discovery Frame.
6961 * @NL80211_NAN_FUNC_FOLLOW_UP_DEST: the MAC address of the recipient of the7021 * @NL80211_NAN_FUNC_FOLLOW_UP_DEST: the MAC address of the recipient of the
6962 * follow up Service Discovery Frame. This is a binary attribute.7022 * follow up Service Discovery Frame. This is a binary attribute.
6963 * @NL80211_NAN_FUNC_CLOSE_RANGE: is this function limited for devices in a7023 * @NL80211_NAN_FUNC_CLOSE_RANGE: is this function limited for devices in a
@@ -7347,7 +7407,7 @@ enum nl80211_peer_measurement_attrs { · 383 unmodified lines
7347 * @NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED: flag attribute indicating if7407 * @NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED: flag attribute indicating if
7348 * trigger based ranging measurement is supported7408 * trigger based ranging measurement is supported
7349 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED: flag attribute indicating7409 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED: flag attribute indicating
7350 * if non trigger based ranging measurement is supported7410 * if non-trigger-based ranging measurement is supported
7351 *7411 *
7352 * @NUM_NL80211_PMSR_FTM_CAPA_ATTR: internal7412 * @NUM_NL80211_PMSR_FTM_CAPA_ATTR: internal
7353 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX: highest attribute number7413 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX: highest attribute number
@@ -7401,7 +7461,7 @@ enum nl80211_peer_measurement_ftm_capa { · 47 unmodified lines
7401 * if neither %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED nor7461 * if neither %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED nor
7402 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based7462 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7403 * ranging will be used.7463 * ranging will be used.
7404 * @NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED: request non trigger based7464 * @NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED: request non-trigger-based
7405 * ranging measurement (flag)7465 * ranging measurement (flag)
7406 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED are7466 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED are
7407 * mutually exclusive.7467 * mutually exclusive.
@@ -7479,7 +7539,7 @@ enum nl80211_peer_measurement_ftm_failure_reasons { · 71 unmodified lines
7479 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS: number of FTM Request frames7539 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS: number of FTM Request frames
7480 * transmitted (u32, optional)7540 * transmitted (u32, optional)
7481 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES: number of FTM Request frames7541 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES: number of FTM Request frames
7482 * that were acknowleged (u32, optional)7542 * that were acknowledged (u32, optional)
7483 * @NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME: retry time received from the7543 * @NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME: retry time received from the
7484 * busy peer (u32, seconds)7544 * busy peer (u32, seconds)
7485 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP: actual number of bursts exponent7545 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP: actual number of bursts exponent

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t