]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Sync with wireless-next.git include/uapi/linux/nl80211.h
authorJouni Malinen <j@w1.fi>
Sun, 26 Jan 2025 19:41:23 +0000 (21:41 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 26 Jan 2025 19:44:08 +0000 (21:44 +0200)
This brings in nl80211 definitions as of 2025-01-13.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211_event.c
src/drivers/nl80211_copy.h

index f04ac64a1f8aa8f188ba699ce6793de9249ddbf8..354f18d289aecaf7c4e454a644b7ca5b371f97be 100644 (file)
@@ -187,6 +187,8 @@ static const char * nl80211_command_to_string(enum nl80211_commands cmd)
        C2S(NL80211_CMD_SET_HW_TIMESTAMP)
        C2S(NL80211_CMD_LINKS_REMOVED)
        C2S(NL80211_CMD_SET_TID_TO_LINK_MAPPING)
+       C2S(NL80211_CMD_ASSOC_MLO_RECONF)
+       C2S(NL80211_CMD_EPCS_CFG)
        C2S(__NL80211_CMD_AFTER_LAST)
        }
 #undef C2S
index f97f5adc8d51868e7d6329c1ac17f107be0c413e..f6c1b181c886d23089c8a7a48ffb3c3fe6d63275 100644 (file)
  *      %NL80211_ATTR_MLO_TTLM_ULINK attributes are used to specify the
  *      TID to Link mapping for downlink/uplink traffic.
  *
+ * @NL80211_CMD_ASSOC_MLO_RECONF: For a non-AP MLD station, request to
+ *      add/remove links to/from the association.
+ *
+ * @NL80211_CMD_EPCS_CFG: EPCS configuration for a station. Used by userland to
+ *     control EPCS configuration. Used to notify userland on the current state
+ *     of EPCS.
+ *
  * @NL80211_CMD_MAX: highest used command number
  * @__NL80211_CMD_AFTER_LAST: internal use
  */
@@ -1586,6 +1593,9 @@ enum nl80211_commands {
 
        NL80211_CMD_SET_TID_TO_LINK_MAPPING,
 
+       NL80211_CMD_ASSOC_MLO_RECONF,
+       NL80211_CMD_EPCS_CFG,
+
        /* add new commands above here */
 
        /* used to define NL80211_CMD_MAX below */
@@ -2868,6 +2878,21 @@ enum nl80211_commands {
  *     nested item, it contains attributes defined in
  *     &enum nl80211_if_combination_attrs.
  *
+ * @NL80211_ATTR_VIF_RADIO_MASK: Bitmask of allowed radios (u32).
+ *     A value of 0 means all radios.
+ *
+ * @NL80211_ATTR_SUPPORTED_SELECTORS: supported selectors, array of
+ *     supported selectors as defined by IEEE 802.11 7.3.2.2 but without the
+ *     length restriction (at most %NL80211_MAX_SUPP_SELECTORS).
+ *     This can be used to provide a list of selectors that are implemented
+ *     by the supplicant. If not given, support for SAE_H2E is assumed.
+ *
+ * @NL80211_ATTR_MLO_RECONF_REM_LINKS: (u16) A bitmask of the links requested
+ *      to be removed from the MLO association.
+ *
+ * @NL80211_ATTR_EPCS: Flag attribute indicating that EPCS is enabled for a
+ *     station interface.
+ *
  * @NUM_NL80211_ATTR: total number of nl80211_attrs available
  * @NL80211_ATTR_MAX: highest attribute number currently defined
  * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -3416,6 +3441,13 @@ enum nl80211_attrs {
        NL80211_ATTR_WIPHY_RADIOS,
        NL80211_ATTR_WIPHY_INTERFACE_COMBINATIONS,
 
+       NL80211_ATTR_VIF_RADIO_MASK,
+
+       NL80211_ATTR_SUPPORTED_SELECTORS,
+
+       NL80211_ATTR_MLO_RECONF_REM_LINKS,
+       NL80211_ATTR_EPCS,
+
        /* add attributes here, update the policy in nl80211.c */
 
        __NL80211_ATTR_AFTER_LAST,
@@ -3460,6 +3492,7 @@ enum nl80211_attrs {
 #define NL80211_WIPHY_NAME_MAXLEN              64
 
 #define NL80211_MAX_SUPP_RATES                 32
+#define NL80211_MAX_SUPP_SELECTORS             128
 #define NL80211_MAX_SUPP_HT_RATES              77
 #define NL80211_MAX_SUPP_REG_RULES             128
 #define NL80211_TKIP_DATA_OFFSET_ENCR_KEY      0
@@ -4698,6 +4731,7 @@ enum nl80211_survey_info {
  *     overrides all other flags.
  * @NL80211_MNTR_FLAG_ACTIVE: use the configured MAC address
  *     and ACK incoming unicast packets.
+ * @NL80211_MNTR_FLAG_SKIP_TX: do not pass local tx packets
  *
  * @__NL80211_MNTR_FLAG_AFTER_LAST: internal use
  * @NL80211_MNTR_FLAG_MAX: highest possible monitor flag
@@ -4710,6 +4744,7 @@ enum nl80211_mntr_flags {
        NL80211_MNTR_FLAG_OTHER_BSS,
        NL80211_MNTR_FLAG_COOK_FRAMES,
        NL80211_MNTR_FLAG_ACTIVE,
+       NL80211_MNTR_FLAG_SKIP_TX,
 
        /* keep last */
        __NL80211_MNTR_FLAG_AFTER_LAST,
@@ -8031,6 +8066,8 @@ enum nl80211_ap_settings_flags {
  * @NL80211_WIPHY_RADIO_ATTR_INTERFACE_COMBINATION: Supported interface
  *     combination for this radio. Attribute may be present multiple times
  *     and contains attributes defined in &enum nl80211_if_combination_attrs.
+ * @NL80211_WIPHY_RADIO_ATTR_ANTENNA_MASK: bitmask (u32) of antennas
+ *     connected to this radio.
  *
  * @__NL80211_WIPHY_RADIO_ATTR_LAST: Internal
  * @NL80211_WIPHY_RADIO_ATTR_MAX: Highest attribute
@@ -8041,6 +8078,7 @@ enum nl80211_wiphy_radio_attrs {
        NL80211_WIPHY_RADIO_ATTR_INDEX,
        NL80211_WIPHY_RADIO_ATTR_FREQ_RANGE,
        NL80211_WIPHY_RADIO_ATTR_INTERFACE_COMBINATION,
+       NL80211_WIPHY_RADIO_ATTR_ANTENNA_MASK,
 
        /* keep last */
        __NL80211_WIPHY_RADIO_ATTR_LAST,