wlan: Add BSS status caching

Add BSS status caching to get the BSS Information
when disconnect happens

Change-Id: I41b74700b161277bc454d8bb8978f4e1e92faea8
CRs-fixed: 2079789
diff --git a/CORE/MAC/src/pe/lim/limProcessAssocRspFrame.c b/CORE/MAC/src/pe/lim/limProcessAssocRspFrame.c
index 9d7355e..0737ac6 100644
--- a/CORE/MAC/src/pe/lim/limProcessAssocRspFrame.c
+++ b/CORE/MAC/src/pe/lim/limProcessAssocRspFrame.c
@@ -918,6 +918,18 @@
       GET_IE_LEN_IN_BSS(psessionEntry->pLimJoinReq->bssDescription.length),
       pBeaconStruct);
 
+    if (pBeaconStruct->VHTCaps.present)
+        pStaDs->parsed_ies.vht_caps = pBeaconStruct->VHTCaps;
+    if (pBeaconStruct->HTCaps.present)
+        pStaDs->parsed_ies.ht_caps = pBeaconStruct->HTCaps;
+    if (pBeaconStruct->hs20vendor_ie.present)
+        pStaDs->parsed_ies.hs20vendor_ie =
+            pBeaconStruct->hs20vendor_ie;
+    if (pBeaconStruct->HTInfo.present)
+        pStaDs->parsed_ies.ht_operation = pBeaconStruct->HTInfo;
+    if (pBeaconStruct->VHTOperation.present)
+        pStaDs->parsed_ies.vht_operation = pBeaconStruct->VHTOperation;
+
     if(pMac->lim.gLimProtectionControl != WNI_CFG_FORCE_POLICY_PROTECTION_DISABLE)
         limDecideStaProtectionOnAssoc(pMac, pBeaconStruct, psessionEntry);