Fix for teardown of link on wrong session in Activmode offload context
In Active mode offload context when both P2P and STA links are present,
the heartbeatfailure on one session results in link loss on the other
session.handle missed beacon indication using the bssIdx passed by
firmware
Change-Id: Ie3208b18dc35685cae6499eba081195d7d4d4fea
CRs-fixed: 457247,454235
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index 0716054..d663d18 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -18368,6 +18368,7 @@
WDI_Status wdiStatus;
eHalStatus halStatus;
WDI_LowLevelIndType wdiInd;
+ tpHalMissedBeaconIndParams halMissedBeaconIndParams;
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*-------------------------------------------------------------------------
@@ -18381,7 +18382,7 @@
WDI_ASSERT(0);
return WDI_STATUS_E_FAILURE;
}
-
+ halMissedBeaconIndParams = (tpHalMissedBeaconIndParams)pEventData->pEventData;
/*-------------------------------------------------------------------------
Extract indication and send it to UMAC
-------------------------------------------------------------------------*/
@@ -18391,7 +18392,8 @@
/*Fill in the indication parameters*/
wdiInd.wdiIndicationType = WDI_MISSED_BEACON_IND;
-
+ wdiInd.wdiIndicationData.wdiMissedBeaconInd.bssIdx =
+ halMissedBeaconIndParams->bssIdx;
if ( pWDICtx->wdiLowLevelIndCB )
{
/*Notify UMAC*/