mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacmn: Add dispatcher enable/disable stubs
In preparation for splitting dispatcher init/deinit into init, enable, disable, and deinit, add stubs for the new enable/disable dispatcher calls. This will ease the transition for code that will leverage the new APIs. Change-Id: Ideee2db05f87978d5ad0796fba5e46042d5b4d41 CRs-Fixed: 2153871
This commit is contained in:
parent
967af27196
commit
53acad9180
2 changed files with 32 additions and 0 deletions
|
|
@ -61,6 +61,26 @@ QDF_STATUS dispatcher_init(void);
|
|||
*/
|
||||
QDF_STATUS dispatcher_deinit(void);
|
||||
|
||||
/**
|
||||
* dispatcher_enable(): global (above psoc) level component start
|
||||
*
|
||||
* Prepare components to service requests. Must only be called after
|
||||
* dispatcher_init().
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS dispatcher_enable(void);
|
||||
|
||||
/**
|
||||
* dispatcher_disable(): global (above psoc) level component stop
|
||||
*
|
||||
* Stop components from servicing requests. Must be called before
|
||||
* scheduler_deinit().
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS dispatcher_disable(void);
|
||||
|
||||
/**
|
||||
* dispatcher_psoc_open(): API to trigger PSOC open for all new components
|
||||
* @psoc: psoc context
|
||||
|
|
|
|||
|
|
@ -780,6 +780,18 @@ QDF_STATUS dispatcher_deinit(void)
|
|||
}
|
||||
EXPORT_SYMBOL(dispatcher_deinit);
|
||||
|
||||
QDF_STATUS dispatcher_enable(void)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
EXPORT_SYMBOL(dispatcher_enable);
|
||||
|
||||
QDF_STATUS dispatcher_disable(void)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
EXPORT_SYMBOL(dispatcher_disable);
|
||||
|
||||
QDF_STATUS dispatcher_psoc_open(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
if (QDF_STATUS_SUCCESS != wlan_mgmt_txrx_psoc_open(psoc))
|
||||
|
|
|
|||
Loading…
Reference in a new issue