qcacmn: Add SSR callbacks
As CDS is not usable by WIN, add callbacks that are registered in QDF and correct the module dependencies. Also moves the platform related function to qdf_platform.[c|h] Change-Id: I3080e9df86770235ff46237b8a2ffb9c2a3c9c2c CRs-fixed: 2130260
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -39,10 +39,6 @@ extern "C" {
|
||||
typedef __qdf_event_t qdf_event_t;
|
||||
/* Function declarations and documenation */
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
typedef void (*qdf_self_recovery_callback)(enum qdf_hang_reason);
|
||||
#endif
|
||||
|
||||
QDF_STATUS qdf_event_create(qdf_event_t *event);
|
||||
|
||||
QDF_STATUS qdf_event_set(qdf_event_t *event);
|
||||
@@ -110,23 +106,6 @@ void qdf_event_list_destroy(void);
|
||||
*/
|
||||
QDF_STATUS qdf_exit_thread(QDF_STATUS status);
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
/**
|
||||
* qdf_register_self_recovery_callback () - register self recovery callback
|
||||
* @callback: self recovery callback
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void qdf_register_self_recovery_callback(qdf_self_recovery_callback callback);
|
||||
|
||||
/**
|
||||
* qdf_trigger_self_recovery () - tirgger self recovery
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void qdf_trigger_self_recovery(void);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
Reference in New Issue
Block a user