History

Merge tag 'wireless-next-2025-09-11' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next

Johannes Berg says: ==================== Plenty of things going on, notably: - iwlwifi: major cleanups/rework - brcmfmac: gets AP isolation support - mac80211: gets more S1G support * tag 'wireless-next-2025-09-11' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next: (94 commits) wifi: mwifiex: fix endianness handling in mwifiex_send_rgpower_table wifi: cfg80211: Remove the redundant wiphy_dev wifi: mac80211: fix incorrect comment wifi: cfg80211: update the time stamps in hidden ssid wifi: mac80211: Fix HE capabilities element check wifi: mac80211: add tx_handlers_drop statistics to ethtool wifi: mac80211: fix reporting of all valid links in sta_set_sinfo() wifi: iwlwifi: mld: CHANNEL_SURVEY_NOTIF is always supported wifi: iwlwifi: mld: remove support of iwl_esr_mode_notif version 1 wifi: iwlwifi: mld: remove support from of sta cmd version 1 wifi: iwlwifi: mld: remove support of roc cmd version 5 wifi: iwlwifi: mld: remove support of mac cmd ver 2 wifi: iwlwifi: mld: don't consider phy cmd version 5 wifi: iwlwifi: implement wowlan status notification API update wifi: iwlwifi: fw: Add ASUS to PPAG and TAS list wifi: iwlwifi: add kunit tests for nvm parse wifi: iwlwifi: api: add a flag to iwl_link_ctx_modify_flags wifi: iwlwifi: pcie: move ltr_enabled to the specific transport wifi: iwlwifi: pcie: move pm_support to the specific transport wifi: iwlwifi: rename iwl_finish_nic_init ... ====================

Jakub Kicinski committed 1 year ago

Commit d103f262 parents fc3a281 1b2e9fe123 files · +2915 −3863Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+48−3
@@ -1943,8 +1943,9 @@ enum nl80211_commands { · 1942 unmodified lines
1943 * The driver must also specify support for this with the extended1943 * The driver must also specify support for this with the extended
1944 * features NL80211_EXT_FEATURE_BEACON_RATE_LEGACY,1944 * features NL80211_EXT_FEATURE_BEACON_RATE_LEGACY,
1945 * NL80211_EXT_FEATURE_BEACON_RATE_HT,1945 * NL80211_EXT_FEATURE_BEACON_RATE_HT,
1946 * NL80211_EXT_FEATURE_BEACON_RATE_VHT and1946 * NL80211_EXT_FEATURE_BEACON_RATE_VHT,
1947 * NL80211_EXT_FEATURE_BEACON_RATE_HE.1947 * NL80211_EXT_FEATURE_BEACON_RATE_HE and
1948 * NL80211_EXT_FEATURE_BEACON_RATE_EHT.
1948 *1949 *
1949 * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain1950 * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain
1950 * at least one byte, currently used with @NL80211_CMD_REGISTER_FRAME.1951 * at least one byte, currently used with @NL80211_CMD_REGISTER_FRAME.
@@ -2283,7 +2284,8 @@ enum nl80211_commands { · 332 unmodified lines
2283 * @NL80211_ATTR_PEER_AID: Association ID for the peer TDLS station (u16).2284 * @NL80211_ATTR_PEER_AID: Association ID for the peer TDLS station (u16).
2284 * This is similar to @NL80211_ATTR_STA_AID but with a difference of being2285 * This is similar to @NL80211_ATTR_STA_AID but with a difference of being
2285 * allowed to be used with the first @NL80211_CMD_SET_STATION command to2286 * allowed to be used with the first @NL80211_CMD_SET_STATION command to
2286 * update a TDLS peer STA entry.2287 * update a TDLS peer STA entry. For S1G interfaces, this is limited to
2288 * 1600 for the current mac80211 implementation.
2287 *2289 *
2288 * @NL80211_ATTR_COALESCE_RULE: Coalesce rule information.2290 * @NL80211_ATTR_COALESCE_RULE: Coalesce rule information.
2289 *2291 *
@@ -2928,6 +2930,12 @@ enum nl80211_commands { · 638 unmodified lines
2928 * required alongside this attribute. Refer to2930 * required alongside this attribute. Refer to
2929 * @enum nl80211_s1g_short_beacon_attrs for the attribute definitions.2931 * @enum nl80211_s1g_short_beacon_attrs for the attribute definitions.
2930 *2932 *
2933 * @NL80211_ATTR_BSS_PARAM: nested attribute used with %NL80211_CMD_GET_WIPHY
2934 * which indicates which BSS parameters can be modified. The attribute can
2935 * also be used as flag attribute by user-space in %NL80211_CMD_SET_BSS to
2936 * indicate that it wants strict checking on the BSS parameters to be
2937 * modified.
2938 *
2931 * @NUM_NL80211_ATTR: total number of nl80211_attrs available2939 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
2932 * @NL80211_ATTR_MAX: highest attribute number currently defined2940 * @NL80211_ATTR_MAX: highest attribute number currently defined
2933 * @__NL80211_ATTR_AFTER_LAST: internal use2941 * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -3489,6 +3497,7 @@ enum nl80211_attrs { · 555 unmodified lines
3489 3497
3490 NL80211_ATTR_S1G_LONG_BEACON_PERIOD,3498 NL80211_ATTR_S1G_LONG_BEACON_PERIOD,
3491 NL80211_ATTR_S1G_SHORT_BEACON,3499 NL80211_ATTR_S1G_SHORT_BEACON,
3500 NL80211_ATTR_BSS_PARAM,
3492 3501
3493 /* add attributes here, update the policy in nl80211.c */3502 /* add attributes here, update the policy in nl80211.c */
3494 3503
@@ -3735,6 +3744,22 @@ enum nl80211_eht_gi { · 240 unmodified lines
3735 NL80211_RATE_INFO_EHT_GI_3_2,3744 NL80211_RATE_INFO_EHT_GI_3_2,
3736};3745};
3737 3746
3747/**
3748 * enum nl80211_eht_ltf - EHT long training field
3749 * @NL80211_RATE_INFO_EHT_1XLTF: 3.2 usec
3750 * @NL80211_RATE_INFO_EHT_2XLTF: 6.4 usec
3751 * @NL80211_RATE_INFO_EHT_4XLTF: 12.8 usec
3752 * @NL80211_RATE_INFO_EHT_6XLTF: 19.2 usec
3753 * @NL80211_RATE_INFO_EHT_8XLTF: 25.6 usec
3754 */
3755enum nl80211_eht_ltf {
3756 NL80211_RATE_INFO_EHT_1XLTF,
3757 NL80211_RATE_INFO_EHT_2XLTF,
3758 NL80211_RATE_INFO_EHT_4XLTF,
3759 NL80211_RATE_INFO_EHT_6XLTF,
3760 NL80211_RATE_INFO_EHT_8XLTF,
3761};
3762
3738/**3763/**
3739 * enum nl80211_eht_ru_alloc - EHT RU allocation values3764 * enum nl80211_eht_ru_alloc - EHT RU allocation values
3740 * @NL80211_RATE_INFO_EHT_RU_ALLOC_26: 26-tone RU allocation3765 * @NL80211_RATE_INFO_EHT_RU_ALLOC_26: 26-tone RU allocation
@@ -5481,6 +5506,10 @@ enum nl80211_key_attributes { · 1740 unmodified lines
5481 * see &struct nl80211_txrate_he5506 * see &struct nl80211_txrate_he
5482 * @NL80211_TXRATE_HE_GI: configure HE GI, 0.8us, 1.6us and 3.2us.5507 * @NL80211_TXRATE_HE_GI: configure HE GI, 0.8us, 1.6us and 3.2us.
5483 * @NL80211_TXRATE_HE_LTF: configure HE LTF, 1XLTF, 2XLTF and 4XLTF.5508 * @NL80211_TXRATE_HE_LTF: configure HE LTF, 1XLTF, 2XLTF and 4XLTF.
5509 * @NL80211_TXRATE_EHT: EHT rates allowed for TX rate selection,
5510 * see &struct nl80211_txrate_eht
5511 * @NL80211_TXRATE_EHT_GI: configure EHT GI, (u8, see &enum nl80211_eht_gi)
5512 * @NL80211_TXRATE_EHT_LTF: configure EHT LTF, (u8, see &enum nl80211_eht_ltf)
5484 * @__NL80211_TXRATE_AFTER_LAST: internal5513 * @__NL80211_TXRATE_AFTER_LAST: internal
5485 * @NL80211_TXRATE_MAX: highest TX rate attribute5514 * @NL80211_TXRATE_MAX: highest TX rate attribute
5486 */5515 */
@@ -5493,6 +5522,9 @@ enum nl80211_tx_rate_attributes { · 6 unmodified lines
5493 NL80211_TXRATE_HE,5522 NL80211_TXRATE_HE,
5494 NL80211_TXRATE_HE_GI,5523 NL80211_TXRATE_HE_GI,
5495 NL80211_TXRATE_HE_LTF,5524 NL80211_TXRATE_HE_LTF,
5525 NL80211_TXRATE_EHT,
5526 NL80211_TXRATE_EHT_GI,
5527 NL80211_TXRATE_EHT_LTF,
5496 5528
5497 /* keep last */5529 /* keep last */
5498 __NL80211_TXRATE_AFTER_LAST,5530 __NL80211_TXRATE_AFTER_LAST,
@@ -5525,6 +5557,15 @@ enum nl80211_txrate_gi { · 26 unmodified lines
5525 NL80211_TXRATE_FORCE_LGI,5557 NL80211_TXRATE_FORCE_LGI,
5526};5558};
5527 5559
5560#define NL80211_EHT_NSS_MAX 16
5561/**
5562 * struct nl80211_txrate_eht - EHT MCS/NSS txrate bitmap
5563 * @mcs: MCS bitmap table for each NSS (array index 0 for 1 stream, etc.)
5564 */
5565struct nl80211_txrate_eht {
5566 __u16 mcs[NL80211_EHT_NSS_MAX];
5567};
5568
5528/**5569/**
5529 * enum nl80211_band - Frequency band5570 * enum nl80211_band - Frequency band
5530 * @NL80211_BAND_2GHZ: 2.4 GHz ISM band5571 * @NL80211_BAND_2GHZ: 2.4 GHz ISM band
@@ -6649,6 +6690,9 @@ enum nl80211_feature_flags { · 1118 unmodified lines
6649 * (signaling and payload protected) A-MSDUs and this shall be advertised6690 * (signaling and payload protected) A-MSDUs and this shall be advertised
6650 * in the RSNXE.6691 * in the RSNXE.
6651 *6692 *
6693 * @NL80211_EXT_FEATURE_BEACON_RATE_EHT: Driver supports beacon rate
6694 * configuration (AP/mesh) with EHT rates.
6695 *
6652 * @NUM_NL80211_EXT_FEATURES: number of extended features.6696 * @NUM_NL80211_EXT_FEATURES: number of extended features.
6653 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.6697 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
6654 */6698 */
@@ -6724,6 +6768,7 @@ enum nl80211_ext_feature_index { · 69 unmodified lines
6724 NL80211_EXT_FEATURE_OWE_OFFLOAD_AP,6768 NL80211_EXT_FEATURE_OWE_OFFLOAD_AP,
6725 NL80211_EXT_FEATURE_DFS_CONCURRENT,6769 NL80211_EXT_FEATURE_DFS_CONCURRENT,
6726 NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT,6770 NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT,
6771 NL80211_EXT_FEATURE_BEACON_RATE_EHT,
6727 6772
6728 /* add new features before the definition below */6773 /* add new features before the definition below */
6729 NUM_NL80211_EXT_FEATURES,6774 NUM_NL80211_EXT_FEATURES,