wlan: DTIM3 changed to DTIM1 after PNO
In wlan suspended case if peer disconnects, as a part of
DELETE_BSS_REQ, FW reset modulated DTIM to 0.
Now when PNO kicks in and new connection is established,
as the wlan is suspended, SET_POWER_PARAMS_REQ to change DTIM to
3 is not triggered.
To fix it, if the wlan is already suspended, during PNO connection
send SET_POWER_PARAMS_REQ to firmware once set key is completed
and before the next ENTER_BMPS_REQ so that firmware move to DTIM3.
Change-Id: I23cf1168413ecdf8e236bac074cbd64c9b2517fc
CRs-Fixed: 930710
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c
index f37686a..141cd30 100644
--- a/CORE/HDD/src/wlan_hdd_assoc.c
+++ b/CORE/HDD/src/wlan_hdd_assoc.c
@@ -3397,7 +3397,6 @@
hdd_context_t* pHddCtx = (hdd_context_t*)pAdapter->pHddCtx;
if((pHddCtx) &&
- (VOS_TRUE == pHddStaCtx->hdd_ReassocScenario) &&
(TRUE == pHddCtx->hdd_wlan_suspended) &&
(eCSR_ROAM_RESULT_NONE == roamResult))
{
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index cb4651f..cfdf775 100755
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -6720,7 +6720,9 @@
/* switch to the DTIM specified in cfg.ini */
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "Switch to DTIM %d", powerRequest.uListenInterval);
+ "Switch to DTIM %d Listen interval %d",
+ powerRequest.uDTIMPeriod,
+ powerRequest.uListenInterval);
sme_SetPowerParams( pHddCtx->hHal, &powerRequest, TRUE);
break;