# /space/home/slher/rel/Beken/v6_4_5/macsw/modules/dbg/src/trace_compo.h File Reference

Declaration for components specific trace level. More...

Go to the source code of this file.

## Defines
#define | TRACE_COMPO(compo) NX_TRACE && TRACE_##compo##_EN
| Macro defining whether a trace component should be compiled or not.
#define | TRACE_KERNEL_DEFAULT
| Default trace level for KERNEL component.
#define | TRACE_KERNEL_EN 1
| Define whether to include or not KERNEL traces.
#define | TRACE_KERNEL(lvl,...) TRACE_FILT(KERNEL, KERNEL_##lvl, __VA_ARGS__ )
| add trace point for KERNEL component
#define | TRACE_BUF_KERNEL(lvl,...) TRACE_BUF_FILT(KERNEL, KERNEL_##lvl, __VA_ARGS__ )
| add buffer trace point for KERNEL component
#define | TRACE_LMAC_DEFAULT (CO_BIT(TRACE_LVL_LMAC_ERR))
| Default trace level for LMAC component.
#define | TRACE_LMAC_EN 1
| Define whether to include or not LMAC traces.
#define | TRACE_LMAC(lvl,...) TRACE_FILT(LMAC, LMAC_##lvl, __VA_ARGS__ )
| add trace point for LMAC component
#define | TRACE_BUF_LMAC(lvl,...) TRACE_BUF_FILT(LMAC, LMAC_##lvl, __VA_ARGS__ )
| add buffer trace point for LMAC component
#define | TRACE_CHAN_DEFAULT
| Default trace level for CHAN component.
#define | TRACE_CHAN_EN 1
| Define whether to include or not CHAN traces.
#define | TRACE_CHAN(lvl,...) TRACE_FILT(CHAN, CHAN_##lvl, __VA_ARGS__ )
| add trace point for CHAN component
#define | TRACE_BUF_CHAN(lvl,...) TRACE_BUF_FILT(CHAN, CHAN_##lvl, __VA_ARGS__ )
| add buffer trace point for CHAN component
#define | TRACE_STA_DEFAULT (CO_BIT(TRACE_LVL_STA_ERR))
| Default trace level for STA component.
#define | TRACE_STA_EN 1
| Define whether to include or not STA traces.
#define | TRACE_STA(lvl,...) TRACE_FILT(STA, STA_##lvl, __VA_ARGS__ )
| add trace point for STA component
#define | TRACE_BUF_STA(lvl,...) TRACE_BUF_FILT(STA, STA_##lvl, __VA_ARGS__ )
| add buffer trace point for STA component
#define | TRACE_AP_DEFAULT (CO_BIT(TRACE_LVL_AP_ERR))
| Default trace level for AP component.
#define | TRACE_AP_EN 1
| Define whether to include or not AP traces.
#define | TRACE_AP(lvl,...) TRACE_FILT(AP, AP_##lvl, __VA_ARGS__ )
| add trace point for AP component
#define | TRACE_BUF_AP(lvl,...) TRACE_BUF_FILT(AP, AP_##lvl, __VA_ARGS__ )
| add buffer trace point for AP component
#define | TRACE_P2P_DEFAULT (CO_BIT(TRACE_LVL_P2P_ERR))
| Default trace level for P2P component.
#define | TRACE_P2P_EN 1
| Define whether to include or not P2P traces.
#define | TRACE_P2P(lvl,...) TRACE_FILT(P2P, P2P_##lvl, __VA_ARGS__ )
| add trace point for P2P component
#define | TRACE_BUF_P2P(lvl,...) TRACE_BUF_FILT(P2P, P2P_##lvl, __VA_ARGS__ )
| add buffer trace point for P2P component
#define | TRACE_MESH_DEFAULT (CO_BIT(TRACE_LVL_MESH_ERR))
| Default trace level for MESH component.
#define | TRACE_MESH_EN 1
| Define whether to include or not MESH traces.
#define | TRACE_MESH(lvl,...) TRACE_FILT(MESH, MESH_##lvl, __VA_ARGS__ )
| add trace point for MESH component
#define | TRACE_BUF_MESH(lvl,...) TRACE_BUF_FILT(MESH, MESH_##lvl, __VA_ARGS__ )
| add buffer trace point for MESH component
#define | TRACE_RTOS_DEFAULT
| Default trace level for RTOS component.
#define | TRACE_RTOS_EN 1
| Define whether to include or not RTOS traces.
#define | TRACE_RTOS(lvl,...) TRACE_FILT(RTOS, RTOS_##lvl, __VA_ARGS__ )
| add trace point for RTOS component
#define | TRACE_BUF_RTOS(lvl,...) TRACE_BUF_FILT(RTOS, RTOS_##lvl, __VA_ARGS__ )
| add buffer trace point for RTOS component
#define | TRACE_FHOST_DEFAULT (CO_BIT(TRACE_LVL_FHOST_ERR))
| Default trace level for FHOST component.
#define | TRACE_FHOST_EN 1
| Define whether to include or not FHOST traces.
#define | TRACE_FHOST(lvl,...) TRACE_FILT(FHOST, FHOST_##lvl, __VA_ARGS__ )
| add trace point for FHOST component
#define | TRACE_BUF_FHOST(lvl,...) TRACE_BUF_FILT(FHOST, FHOST_##lvl, __VA_ARGS__ )
| add buffer trace point for RTOS component
#define | TRACE_APP_DEFAULT (CO_BIT(TRACE_LVL_APP_ERR))
| Default trace level for APP component.
#define | TRACE_APP_EN 1
| Define whether to include or not APP traces.
#define | TRACE_APP(lvl,...) TRACE_FILT(APP, APP_##lvl, __VA_ARGS__ )
| add trace point for APP component
#define | TRACE_BUF_APP(lvl,...) TRACE_BUF_FILT(APP, APP_##lvl, __VA_ARGS__ )
| add buffer trace point for APP component
#define | TRACE_TDLS_DEFAULT
| Default trace level for TDLS component.
#define | TRACE_TDLS_EN 1
| Define whether to include or not TDLS traces.
#define | TRACE_TDLS(lvl,...) TRACE_FILT(TDLS, TDLS_##lvl, __VA_ARGS__ )
| add trace point for TDLS component
#define | TRACE_BUF_TDLS(lvl,...) TRACE_BUF_FILT(TDLS, TDLS_##lvl, __VA_ARGS__ )
| add buffer trace point for TDLS component
## Enumerations
enum | trace_compo { TRACE_COMPO_KERNEL, TRACE_COMPO_LMAC, TRACE_COMPO_CHAN, TRACE_COMPO_STA, TRACE_COMPO_AP, TRACE_COMPO_P2P, TRACE_COMPO_MESH, TRACE_COMPO_RTOS, TRACE_COMPO_FHOST, TRACE_COMPO_APP, TRACE_COMPO_TDLS, TRACE_COMPO_MAX }
| Filterable trace component. More...
enum | trace_level_kernel { TRACE_LVL_KERNEL_ERR, TRACE_LVL_KERNEL_MSG_API, TRACE_LVL_KERNEL_MSG_LOCAL, TRACE_LVL_KERNEL_STATE }
| Specific filter for KERNEL component. More...
enum | trace_level_lmac { TRACE_LVL_LMAC_ERR, TRACE_LVL_LMAC_TX, TRACE_LVL_LMAC_RX, TRACE_LVL_LMAC_RX_ALL, TRACE_LVL_LMAC_DOZE, TRACE_LVL_LMAC_BA, TRACE_LVL_LMAC_TPC }
| Specific filter for LMAC. More...
enum | trace_level_chan { TRACE_LVL_CHAN_ERR, TRACE_LVL_CHAN_INF, TRACE_LVL_CHAN_CREATE, TRACE_LVL_CHAN_SWITCH, TRACE_LVL_CHAN_STATUS, TRACE_LVL_CHAN_CON_LESS, TRACE_LVL_CHAN_NOA, TRACE_LVL_CHAN_TBTT }
| Specific filter for Channel context. More...
enum | trace_level_sta { TRACE_LVL_STA_ERR, TRACE_LVL_STA_BCN, TRACE_LVL_STA_PS }
| Specific filter for STA component. More...
enum | trace_level_ap { TRACE_LVL_AP_ERR, TRACE_LVL_AP_BCN, TRACE_LVL_AP_PS }
| Specific filter for AP component. More...
enum | trace_level_p2p { TRACE_LVL_P2P_ERR, TRACE_LVL_P2P_ITF, TRACE_LVL_P2P_PS, TRACE_LVL_P2P_NOA, TRACE_LVL_P2P_NOA_DET, TRACE_LVL_P2P_TBTT }
| Specific filter for P2P component. More...
enum | trace_level_mesh { TRACE_LVL_MESH_ERR, TRACE_LVL_MESH_INF, TRACE_LVL_MESH_PS, TRACE_LVL_MESH_SP, TRACE_LVL_MESH_AWIN, TRACE_LVL_MESH_SLEEP, TRACE_LVL_MESH_RX, TRACE_LVL_MESH_BCN_RX, TRACE_LVL_MESH_BCN_TX, TRACE_LVL_MESH_POST_TRAFFIC, TRACE_LVL_MESH_HWMP, TRACE_LVL_MESH_MPATH, TRACE_LVL_MESH_MPM, TRACE_LVL_MESH_TBTT }
| Specific filter for MESH component. More...
enum | trace_level_rtos { TRACE_LVL_RTOS_ERR, TRACE_LVL_RTOS_ALLOC, TRACE_LVL_RTOS_FREE, TRACE_LVL_RTOS_CREATE, TRACE_LVL_RTOS_SUSPEND, TRACE_LVL_RTOS_SWITCH_IN, TRACE_LVL_RTOS_SWITCH_OUT }
| Specific filter for RTOS component. More...
enum | trace_level_fhost { TRACE_LVL_FHOST_ERR, TRACE_LVL_FHOST_WPA_FSM, TRACE_LVL_FHOST_WPA_CMD, TRACE_LVL_FHOST_WPA_INFO, TRACE_LVL_FHOST_DHCP, TRACE_LVL_FHOST_TASK_INIT, TRACE_LVL_FHOST_SMARTCONF }
| Specific filter for FHOST component. More...
enum | trace_level_app { TRACE_LVL_APP_ERR, TRACE_LVL_APP_WARN, TRACE_LVL_APP_INF, TRACE_LVL_APP_DBG }
| Specific filter for FHOST APPLICATION component. More...
enum | trace_level_tdls { TRACE_LVL_TDLS_ERR, TRACE_LVL_TDLS_CHSWITCH }
| Specific filter for TDLS component. More...
## Variables
uint32_t | trace_compo_level [TRACE_COMPO_MAX]
| Current trace filters status.

## Detailed Description

Declaration for components specific trace level.

Copyright (C) RivieraWaves 2011-2019

Definition in file trace_compo.h.