Selaa lähdekoodia

qcacld-3.0: Add missing ini configurations to policy manager

Add missing ini configurations to be used in policy manager.

Change-Id: Id348968d5a6df7bf5a32e8d86b980b9a41af3dd7
CRs-Fixed: 2009818
Tushnim Bhattacharyya 8 vuotta sitten
vanhempi
sitoutus
5cc9edc3ac
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      core/hdd/src/wlan_hdd_cfg.c

+ 3 - 0
core/hdd/src/wlan_hdd_cfg.c

@@ -7024,6 +7024,9 @@ QDF_STATUS hdd_set_policy_mgr_user_cfg(hdd_context_t *hdd_ctx)
 	user_cfg->max_concurrent_active_sessions =
 		hdd_ctx->config->gMaxConcurrentActiveSessions;
 	user_cfg->enable2x2 = hdd_ctx->config->enable2x2;
+	user_cfg->mcc_to_scc_switch_mode =
+		hdd_ctx->config->WlanMccToSccSwitchMode;
+	user_cfg->sub_20_mhz_enabled = cds_is_sub_20_mhz_enabled();
 	status = policy_mgr_set_user_cfg(hdd_ctx->hdd_psoc, user_cfg);
 
 	qdf_mem_free(user_cfg);