]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: cfg80211: improve supported_selector documentation
authorJohannes Berg <johannes.berg@intel.com>
Sat, 8 Mar 2025 21:03:32 +0000 (23:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Mar 2025 09:53:10 +0000 (10:53 +0100)
Improve the documentation for supported BSS selectors to make it more
precise.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250308225541.ba402ff47314.I502b56111b62ea0be174ae76bd03684ae1d4aefb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h

index 0d423830a8ed551e8888645b56f4662e8e52724c..c61894c1265a18da84b6f13eceb9ecb2012fe67d 100644 (file)
@@ -3148,10 +3148,10 @@ enum cfg80211_assoc_req_flags {
  *     included in the Current AP address field of the Reassociation Request
  *     frame.
  * @flags:  See &enum cfg80211_assoc_req_flags
- * @supported_selectors: supported selectors in IEEE 802.11 format
+ * @supported_selectors: supported BSS selectors in IEEE 802.11 format
  *     (or %NULL for no change).
  *     If %NULL, then support for SAE_H2E should be assumed.
- * @supported_selectors_len: Length of supported_selectors in octets.
+ * @supported_selectors_len: number of supported BSS selectors
  * @ht_capa:  HT Capabilities over-rides.  Values set in ht_capa_mask
  *     will be used in ht_capa.  Un-supported values will be ignored.
  * @ht_capa_mask:  The bits of ht_capa which are to be used.
index 26cae1cc87273b4c1eaf7db31b5a289bcbf64e73..ddcc4cda74af5e821fbde6dae78435b3f9bc1604 100644 (file)
@@ -2881,9 +2881,9 @@ enum nl80211_commands {
  * @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).
+ * @NL80211_ATTR_SUPPORTED_SELECTORS: supported BSS Membership Selectors, array
+ *     of supported selectors as defined by IEEE Std 802.11-2020 9.4.2.3 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.
  *