]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
More detailed documentation for QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 13 Aug 2024 21:40:50 +0000 (00:40 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 13 Aug 2024 21:47:31 +0000 (00:47 +0300)
Be more specific on how the QCA_WLAN_VENDOR_ATTR_FEATURE_FLAGS attribute
is used in the response.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/qca-vendor.h

index b39650ee801fe5f463d21cec2e3f6d5c8861c0be..5e7b67b5ba43ac1dd06482df735aa9920d13e343 100644 (file)
@@ -230,7 +230,8 @@ enum qca_radiotap_vendor_ids {
  *
  * @QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES: Command to get the features
  *     supported by the driver. enum qca_wlan_vendor_features defines
- *     the possible features.
+ *     the possible features that are encoded in
+ *     QCA_WLAN_VENDOR_ATTR_FEATURE_FLAGS.
  *
  * @QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_STARTED: Event used by driver,
  *     which supports DFS offloading, to indicate a channel availability check
@@ -1543,7 +1544,11 @@ enum qca_wlan_vendor_attr {
         */
        QCA_WLAN_VENDOR_ATTR_ROAMING_POLICY = 5,
        QCA_WLAN_VENDOR_ATTR_MAC_ADDR = 6,
-       /* used by QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES */
+       /* Feature flags contained in a byte array. The feature flags are
+        * identified by their bit index (see &enum qca_wlan_vendor_features)
+        * with the first byte being the least significant one and the last one
+        * being the most significant one. Used by
+        * QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES. */
        QCA_WLAN_VENDOR_ATTR_FEATURE_FLAGS = 7,
        QCA_WLAN_VENDOR_ATTR_TEST = 8,
        /* used by QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES */