Parcourir la source

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
Rahul Gusain il y a 2 ans
Parent
commit
54ba526abe
2 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 1 1
      components/mlme/dispatcher/src/wlan_mlme_api.c
  2. 2 3
      core/wma/src/wma_main.c

+ 1 - 1
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);

+ 2 - 3
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);
-
 }
 
 /**