qcacld-3.0: Fix mangled function names
Fix mangled APIs sme_configure_ext_wo_w,
sme_process_ready_to_ext_wo_w and
lim_remove_timeout_pbc_sessions which were introduced
while converting the names programmatically.
Change-Id: Ie0a79b476a99bf1be0411dae0542359e7d58141a
CRs-Fixed: 882962
diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c
index d2218c5..885817a 100644
--- a/core/hdd/src/wlan_hdd_ioctl.c
+++ b/core/hdd/src/wlan_hdd_ioctl.c
@@ -1602,12 +1602,12 @@
INIT_COMPLETION(hdd_ctx->ready_to_extwow);
- cdf_ret_status = sme_configure_ext_wo_w(hHal, ¶ms,
+ cdf_ret_status = sme_configure_ext_wow(hHal, ¶ms,
&wlan_hdd_ready_to_extwow,
hdd_ctx);
if (CDF_STATUS_SUCCESS != cdf_ret_status) {
hddLog(CDF_TRACE_LEVEL_ERROR,
- FL("sme_configure_ext_wo_w returned failure %d"),
+ FL("sme_configure_ext_wow returned failure %d"),
cdf_ret_status);
return -EPERM;
}
diff --git a/core/mac/src/pe/lim/lim_process_probe_req_frame.c b/core/mac/src/pe/lim/lim_process_probe_req_frame.c
index ccc8712..1ed186e 100644
--- a/core/mac/src/pe/lim/lim_process_probe_req_frame.c
+++ b/core/mac/src/pe/lim/lim_process_probe_req_frame.c
@@ -113,25 +113,16 @@
}
/**
- * lim_remove_timeout_pb_csessions
+ * lim_remove_timeout_pbc_sessions() - remove pbc probe req entries.
+ * @pMac - Pointer to Global MAC structure
+ * @pbc - The beginning entry in WPS PBC probe request link list
*
- ***FUNCTION:
- * This function is called to remove the WPS PBC probe request entires from specific entry to end.
+ * This function is called to remove the WPS PBC probe request entries from
+ * specific entry to end.
*
- ***LOGIC:
- *
- *
- ***ASSUMPTIONS:
- *
- *
- ***NOTE:
- *
- * @param pMac Pointer to Global MAC structure
- * @param pbc The beginning entry in WPS PBC probe request link list
- *
- * @return None
+ * Return - None
*/
-static void lim_remove_timeout_pb_csessions(tpAniSirGlobal pMac,
+static void lim_remove_timeout_pbc_sessions(tpAniSirGlobal pMac,
tSirWPSPBCSession *pbc)
{
tSirWPSPBCSession *prev;
@@ -267,7 +258,7 @@
while (pbc) {
if (curTime > pbc->timestamp + SIR_WPS_PBC_WALK_TIME) {
prev->next = NULL;
- lim_remove_timeout_pb_csessions(pMac, pbc);
+ lim_remove_timeout_pbc_sessions(pMac, pbc);
break;
}
prev = pbc;
@@ -298,7 +289,7 @@
void lim_wpspbc_close(tpAniSirGlobal pMac, tpPESession psessionEntry)
{
- lim_remove_timeout_pb_csessions(pMac, psessionEntry->pAPWPSPBCSession);
+ lim_remove_timeout_pbc_sessions(pMac, psessionEntry->pAPWPSPBCSession);
}
diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h
index 15d3d86..b4af548 100644
--- a/core/sme/inc/sme_api.h
+++ b/core/sme/inc/sme_api.h
@@ -498,7 +498,7 @@
CDF_STATUS sme_configure_resume_req(tHalHandle hHal,
tpSirWlanResumeParam wlanResumeParam);
#ifdef WLAN_FEATURE_EXTWOW_SUPPORT
-CDF_STATUS sme_configure_ext_wo_w(tHalHandle hHal,
+CDF_STATUS sme_configure_ext_wow(tHalHandle hHal,
tpSirExtWoWParams wlanExtParams,
csr_readyToSuspendCallback callback,
void *callbackContext);
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c
index a4f8c06..54ac7f0 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -1590,23 +1590,19 @@
}
#ifdef WLAN_FEATURE_EXTWOW_SUPPORT
-/*--------------------------------------------------------------------------
- \fn - sme_process_ready_to_ext_wo_w
- \brief - On getting ready to Ext WoW indication, this function calls
- callback registered (HDD callbacks) with SME to inform
- ready to ExtWoW indication.
-
- \param hHal - Handle returned by mac_open.
- pReadyToExtWoW - Parameter received along with ready to Ext WoW
- indication from WMA.
-
- \return None
-
- \sa
-
- --------------------------------------------------------------------------*/
-void sme_process_ready_to_ext_wo_w(tHalHandle hHal,
+/**
+ * sme_process_ready_to_ext_wow() - inform ready to ExtWoW indication.
+ * @hHal - Handle returned by mac_open.
+ * @pReadyToExtWoW - Parameter received along with ready to Ext WoW
+ * indication from WMA.
+ *
+ * On getting ready to Ext WoW indication, this function calls callback
+ * registered (HDD callback)with SME to inform ready to ExtWoW indication.
+ *
+ * Return: None
+ */
+void sme_process_ready_to_ext_wow(tHalHandle hHal,
tpSirReadyToExtWoWInd pReadyToExtWoW)
{
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
@@ -2509,7 +2505,7 @@
#ifdef WLAN_FEATURE_EXTWOW_SUPPORT
case eWNI_SME_READY_TO_EXTWOW_IND:
if (pMsg->bodyptr) {
- sme_process_ready_to_ext_wo_w(pMac, pMsg->bodyptr);
+ sme_process_ready_to_ext_wow(pMac, pMsg->bodyptr);
cdf_mem_free(pMsg->bodyptr);
} else {
sms_log(pMac, LOGE, FL("Empty message for %d"),
@@ -6619,23 +6615,17 @@
}
#ifdef WLAN_FEATURE_EXTWOW_SUPPORT
-/* ---------------------------------------------------------------------------
-
- \fn sme_configure_ext_wo_w
-
- \brief
- SME will pass this request to lower mac to configure Extr WoW
-
- \param
-
- hHal - The handle returned by mac_open.
-
- wlanExtParams- Depicts the wlan Ext params
-
- \return CDF_STATUS
-
- --------------------------------------------------------------------------- */
-CDF_STATUS sme_configure_ext_wo_w(tHalHandle hHal,
+/**
+ * sme_configure_ext_wow() - configure Extr WoW
+ * @hHal - The handle returned by mac_open.
+ * @wlanExtParams - Depicts the wlan Ext params.
+ * @callback - ext_wow callback to be registered.
+ * @callback_context - ext_wow callback context
+ *
+ * SME will pass this request to lower mac to configure Extr WoW
+ * Return: CDF_STATUS
+ */
+CDF_STATUS sme_configure_ext_wow(tHalHandle hHal,
tpSirExtWoWParams wlanExtParams,
csr_readyToExtWoWCallback callback,
void *callback_context)