From: Shivani Baranwal Date: Fri, 14 Apr 2023 09:52:08 +0000 (+0530) Subject: Fix vendor attribute numbering and relocate attribute accordingly X-Git-Tag: hostap_2_11~1198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6422b0d72dc9750674a56004d811067c169c5b04;p=thirdparty%2Fhostap.git Fix vendor attribute numbering and relocate attribute accordingly 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 90d94e4c7..a0d36eda6 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =