Răsfoiți Sursa

qcacld-3.0: Add 2x2 chain configuration in policy manager

Add 2x2 chain configuration in policy manager that is coming from
user space.

Change-Id: I0cdb7e45b7fea508a3f2f933798435311397d664
CRs-Fixed: 2009818
Tushnim Bhattacharyya 8 ani în urmă
părinte
comite
7e546692f3
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      core/hdd/src/wlan_hdd_cfg.c

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

@@ -6989,6 +6989,7 @@ QDF_STATUS hdd_set_policy_mgr_user_cfg(hdd_context_t *hdd_ctx)
 		hdd_ctx->config->enableMCCAdaptiveScheduler;
 	user_cfg->max_concurrent_active_sessions =
 		hdd_ctx->config->gMaxConcurrentActiveSessions;
+	user_cfg->enable2x2 = hdd_ctx->config->enable2x2;
 	status = policy_mgr_set_user_cfg(hdd_ctx->hdd_psoc, user_cfg);
 
 	qdf_mem_free(user_cfg);
@@ -7574,5 +7575,7 @@ QDF_STATUS hdd_update_nss(hdd_context_t *hdd_ctx, uint8_t nss)
 	if (QDF_STATUS_SUCCESS != sme_update_nss(hdd_ctx->hHal, nss))
 		status = false;
 
+	hdd_set_policy_mgr_user_cfg(hdd_ctx);
+
 	return (status == false) ? QDF_STATUS_E_FAILURE : QDF_STATUS_SUCCESS;
 }