]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix vendor attribute numbering and relocate attribute accordingly
authorShivani Baranwal <quic_shivbara@quicinc.com>
Fri, 14 Apr 2023 09:52:08 +0000 (15:22 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 20 Apr 2023 07:44:24 +0000 (10:44 +0300)
The attributes QCA_WLAN_VENDOR_ATTR_LL_STATS_PAD and
QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_NF_CAL_VAL were allocated the same
attribute number in error. QCA_WLAN_VENDOR_ATTR_LL_STATS_PAD attribute
is known to not be used; thus, it is safe to be renumbered.

Fixes: 1491fc64a820 ("Define QCA vendor per-enum 64-bit pad attributes")
Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
src/common/qca-vendor.h

index 90d94e4c732ec583503133eff7b1a799b682ff0a..a0d36eda687d692c54d9dd2dc673e375f16abc3f 100644 (file)
@@ -4477,14 +4477,15 @@ enum qca_wlan_vendor_attr_ll_stats_results {
         *      after STA has indicated power save exit by QoS Null Data frame.
         */
        QCA_WLAN_VENDOR_ATTR_LL_STATS_TIM_BEACON_ERR = 89,
-       /* Attribute used for padding for 64-bit alignment */
-       QCA_WLAN_VENDOR_ATTR_LL_STATS_PAD = 90,
 
        /* Signed 32 bit value. It represents the noise floor calibration value.
         * Possible values are -120~-50 dBm.
         */
        QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_NF_CAL_VAL = 90,
 
+       /* Attribute used for padding for 64-bit alignment */
+       QCA_WLAN_VENDOR_ATTR_LL_STATS_PAD = 91,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_LL_STATS_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX =