Print MAC addresses when corresponding sessions are not found
Print MAC adresses for code in rrmSetMaxTxPowerRsp and
WDI_ProcessHostOffloadReq
when we fail to find sessions to
help in debugging
Change-Id: Iaaa6f9ea29c92e3551aff976734590247c170b01
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index eaa7980..bf5e37b 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -13294,7 +13294,8 @@
if ( NULL == pBSSSes )
{
WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR,
- " %s : Association for this BSSID does not exist",__func__);
+ " %s : Association for this BSSID does not exist " MAC_ADDRESS_STR,
+ __func__, MAC_ADDR_ARRAY(pwdiHostOffloadParams->wdiHostOffloadInfo.bssId));
goto fail;
}
@@ -17662,6 +17663,10 @@
halStatus = *((eHalStatus*)pEventData->pEventData);
wdiStatus = WDI_HAL_2_WDI_STATUS(halStatus);
+ if (halStatus != eHAL_STATUS_SUCCESS)
+ WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_ERROR,
+ "%s: Exit IMPS response is a failure with halStatus %d", __func__, halStatus);
+
// notify DTS that we are entering Full power
wptStatus = WDTS_SetPowerState(pWDICtx, WDTS_POWER_STATE_FULL, NULL);
if( eWLAN_PAL_STATUS_SUCCESS != wptStatus )