wlan: Send bssIdx to HAL when beacon interval changes.
Add bssIdx in beaconParams when lim sends the UPDATE_BEACON
message down to FW for beacon interval change.
Also added the bssIdx when IBSS code call UPDATE_BEACON
CRs-fixed: 491432
Change-Id: Ibf209b30b3b842b816b011ffca7906416382f853
diff --git a/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c b/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c
index e6fc85f..8e3e510 100644
--- a/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c
+++ b/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c
@@ -1138,7 +1138,8 @@
if(beaconParams.paramChangeBitmap)
{
PELOGE(limLog(pMac, LOGE, FL("---> Update Beacon Params "));)
- schSetFixedBeaconFields(pMac, psessionEntry);
+ schSetFixedBeaconFields(pMac, psessionEntry);
+ beaconParams.bssIdx = psessionEntry->bssIdx;
limSendBeaconParams(pMac, &beaconParams, psessionEntry );
}
}
@@ -1498,7 +1499,8 @@
if(beaconParams.paramChangeBitmap)
{
PELOGE(limLog(pMac, LOGE, FL("beaconParams.paramChangeBitmap=1 ---> Update Beacon Params "));)
- schSetFixedBeaconFields(pMac, psessionEntry);
+ schSetFixedBeaconFields(pMac, psessionEntry);
+ beaconParams.bssIdx = psessionEntry->bssIdx;
limSendBeaconParams(pMac, &beaconParams, psessionEntry );
}
}