From 54ba526abee8bb80b258ff96b8cdfe79508dd80f Mon Sep 17 00:00:00 2001 From: Rahul Gusain Date: Sat, 24 Dec 2022 11:24:33 +0530 Subject: [PATCH] qcacld-3.0: Set feature version for 11KV Whenever driver add new feature, it increments the feature version and send it to firmware. Due to new 11KV feature update, increments the feature version. Change-Id: Ia840faf85c06a4f33f68f59dadda400c8e91804c CRs-Fixed: 3381243 --- components/mlme/dispatcher/src/wlan_mlme_api.c | 2 +- core/wma/src/wma_main.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/mlme/dispatcher/src/wlan_mlme_api.c b/components/mlme/dispatcher/src/wlan_mlme_api.c index 4476ccd867..35940a89f5 100644 --- a/components/mlme/dispatcher/src/wlan_mlme_api.c +++ b/components/mlme/dispatcher/src/wlan_mlme_api.c @@ -6567,7 +6567,7 @@ void wlan_mlme_get_feature_info(struct wlan_objmgr_psoc *psoc, wlan_mlme_get_sap_max_peers(psoc, &sap_max_num_clients); mlme_feature_set->sap_max_num_clients = sap_max_num_clients; mlme_feature_set->vendor_req_1_version = - WMI_HOST_VENDOR1_REQ1_VERSION_3_30; + WMI_HOST_VENDOR1_REQ1_VERSION_3_40; roam_triggers = wlan_mlme_get_roaming_triggers(psoc); wlan_mlme_get_bss_load_enabled(psoc, &is_bss_load_enabled); diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index b8ca611b69..f59959010c 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -332,12 +332,13 @@ wma_get_concurrency_support(struct wlan_objmgr_psoc *psoc) * Version 1 - Base feature version * Version 2 - WMI_HOST_VENDOR1_REQ1_VERSION_3_30 updated. * Version 3 - min sleep period for TWT and Scheduled PM in FW updated + * Version4 - WMI_HOST_VENDOR1_REQ1_VERSION_3_40 updated. * * Return: None */ static void wma_update_set_feature_version(struct target_feature_set *fs) { - fs->feature_set_version = 3; + fs->feature_set_version = 4; } /** @@ -495,9 +496,7 @@ static void wma_set_feature_set_info(tp_wma_handle wma_handle, feature_set->peer_bigdata_getbssinfo_support = true; feature_set->peer_bigdata_assocreject_info_support = true; feature_set->peer_getstainfo_support = true; - wma_update_set_feature_version(feature_set); - } /**