wlan: Post correct HAL event while processing SET RSSI FILTER IOCTL.
Presently while processing 'rssifilter' IOCTL, HOST posting PNO
request(WLAN_HAL_SET_PREF_NETWORK_REQ) to firmware. So, posting
corresponding HAL RSSI Filter request(WLAN_HAL_SET_RSSI_FILTER_REQ)
while processing rssifilter IOCTL.
Change-Id: Ic40295cfd4fba377f7a1737f9e7f86da2e0fc954
CRs-Fixed: 815654
diff --git a/CORE/WDA/src/wlan_qct_wda.c b/CORE/WDA/src/wlan_qct_wda.c
index 2f9494f..2f94ddb 100644
--- a/CORE/WDA/src/wlan_qct_wda.c
+++ b/CORE/WDA/src/wlan_qct_wda.c
@@ -15966,7 +15966,7 @@
return;
}
/*
- * FUNCTION: WDA_ProcessSetPreferredNetworkList
+ * FUNCTION: WDA_ProcessSetRssiFilterReq
* Request to WDI to set Preferred Network List.Offload
*/
VOS_STATUS WDA_ProcessSetRssiFilterReq(tWDA_CbContext *pWDA,
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index d2fba54..e799964 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -26103,7 +26103,7 @@
/*-----------------------------------------------------------------------
Get message buffer
-----------------------------------------------------------------------*/
- if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_SET_PREF_NETWORK_REQ,
+ if (( WDI_STATUS_SUCCESS != WDI_GetMessageBuffer( pWDICtx, WDI_SET_RSSI_FILTER_REQ,
sizeof(ucRssiThreshold),
&pSendBuffer, &usDataOffset, &usSendSize))||
( usSendSize < (usDataOffset + sizeof(ucRssiThreshold) )))