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
This commit is contained in:
Tushnim Bhattacharyya
2017-03-23 18:30:29 -07:00
committad av Sandeep Puligilla
förälder 9fb2e42e0b
incheckning 7e546692f3

Visa fil

@@ -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;
}