qcacld-3.0: Sessionize VHT Capability
Sessionize VHT Capability by updating the session
entry at join request or start bss and read the same
capablities at LIM instead of reading from global VHT
CFG items .
Change-Id: Idef009d4c76cfc6939359dc09379fc1f0d820589
CRs-Fixed: 1029145
diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
index a4374e0..46de9dc3 100644
--- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
@@ -754,6 +754,10 @@
&(sme_start_bss_req->htConfig),
sizeof(session->htConfig));
+ qdf_mem_copy(&(session->vht_config),
+ &(sme_start_bss_req->vht_config),
+ sizeof(session->vht_config));
+
sir_copy_mac_addr(session->selfMacAddr,
sme_start_bss_req->self_macaddr.bytes);
@@ -1702,6 +1706,10 @@
qdf_mem_copy(&(session->htConfig), &(sme_join_req->htConfig),
sizeof(session->htConfig));
+ qdf_mem_copy(&(session->vht_config),
+ &(sme_join_req->vht_config),
+ sizeof(session->vht_config));
+
/* Copying of bssId is already done, while creating session */
sir_copy_mac_addr(session->selfMacAddr,
sme_join_req->selfMacAddr);