qcacld-3.0: Add support to cache peer capability info

Currently connected peer capability information is not getting
cached for SAP.

Add support to cache the capability info from assoc request

Change-Id: I0088bd20a98e2491f6ffb452417bc73f21e69e63
CRs-Fixed: 2392939
This commit is contained in:
Ashish Kumar Dhanotiya
2019-01-22 21:55:01 +05:30
committed by nshrivas
parent 7f1e1b8530
commit c617106eea
9 changed files with 29 additions and 3 deletions

View File

@@ -280,6 +280,7 @@ typedef struct sap_StationAssocReassocCompleteEvent_s {
uint8_t ecsa_capable;
tDot11fIEHTCaps ht_caps;
tDot11fIEVHTCaps vht_caps;
tSirMacCapabilityInfo capability_info;
} tSap_StationAssocReassocCompleteEvent;
typedef struct sap_StationDisassocCompleteEvent_s {

View File

@@ -1562,6 +1562,8 @@ QDF_STATUS sap_signal_hdd_event(struct sap_context *sap_ctx,
reassoc_complete->ht_caps = csr_roaminfo->ht_caps;
if (csr_roaminfo->vht_caps.present)
reassoc_complete->vht_caps = csr_roaminfo->vht_caps;
reassoc_complete->capability_info =
csr_roaminfo->capability_info;
break;