qcacmn: Update QDF Debug Framework

Update QDF debug framework with API to store and to get the print index.

As a part of QDF framework convergence, we need to update the QDF framework.

Add API to handle the print index in the converged QDF framework.

Change-Id: I871c09189202d021405777db732e8821e7aaca7c
CRs-Fixed: 1108907
Dieser Commit ist enthalten in:
Sathish Kumar
2017-01-10 12:19:19 +05:30
committet von Ashish Kumar Dhanotiya
Ursprung 45cbe075a7
Commit febd4b7b54
2 geänderte Dateien mit 35 neuen und 41 gelöschten Zeilen

Datei anzeigen

@@ -143,7 +143,6 @@ typedef enum {
* @QDF_MODULE_ID_TLSHIM : TLSHIM module ID
* @QDF_MODULE_ID_WMI : WMI module ID
* @QDF_MODULE_ID_HTT : HTT module ID
* @QDF_MODULE_ID_RSV4 : Reserved
* @QDF_MODULE_ID_HDD : HDD module ID
* @QDF_MODULE_ID_SME : SME module ID
* @QDF_MODULE_ID_PE : PE module ID
@@ -241,12 +240,25 @@ typedef enum {
QDF_MODULE_ID_TARGET_IF,
QDF_MODULE_ID_SCHEDULER,
QDF_MODULE_ID_MGMT_TXRX,
QDF_MODULE_ID_RSV4,
QDF_MODULE_ID_ANY,
QDF_MODULE_ID_MAX,
} QDF_MODULE_ID;
#ifdef CONFIG_MCL
/**
* qdf_set_pidx() - Sets the global qdf_pidx.
* @pidx : Index of print control object assigned to the module
*
*/
void qdf_set_pidx(int pidx);
/**
* qdf_get_pidx() - Returns the global qdf_pidx.
*
* Return : Current qdf print index.
*/
int qdf_get_pidx(void);
/* By default Data Path module will have all log levels enabled, except debug
* log level. Debug level will be left up to the framework or user space modules
* to be enabled when issue is detected