diff options
author | Shivani Baranwal <quic_shivbara@quicinc.com> | 2023-04-14 15:22:08 +0530 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2023-04-20 10:44:24 +0300 |
commit | 6422b0d72dc9750674a56004d811067c169c5b04 (patch) | |
tree | 7165cb9a741f2d1ff1544d0077e95e31b74a6d9e | |
parent | c858a6360b5a3eceabcf455015837bf005e28576 (diff) | |
download | hostap-6422b0d72dc9750674a56004d811067c169c5b04.tar.gz |
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 <quic_shivbara@quicinc.com>
-rw-r--r-- | src/common/qca-vendor.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 = |