qcacmn: Featurize wlan roam debug
Featurize wlan roam debug log to compile out in mission mode. Change-Id: Ic3dcdc6ab541093f16fcc8b9118120aa1f9b972f CRs-Fixed: 2241297
This commit is contained in:
@@ -99,6 +99,8 @@ enum peer_debug_op {
|
|||||||
#define DEBUG_INVALID_PEER_ID 0xffff
|
#define DEBUG_INVALID_PEER_ID 0xffff
|
||||||
#define DEBUG_INVALID_VDEV_ID 0xff
|
#define DEBUG_INVALID_VDEV_ID 0xff
|
||||||
|
|
||||||
|
#ifdef FEATURE_ROAM_DEBUG
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wlan_roam_debug_log() - Add a debug log entry to wlan roam debug records
|
* wlan_roam_debug_log() - Add a debug log entry to wlan roam debug records
|
||||||
* @vdev_id: vdev identifier
|
* @vdev_id: vdev identifier
|
||||||
@@ -122,4 +124,19 @@ void wlan_roam_debug_log(uint8_t vdev_id, uint8_t op,
|
|||||||
* Return: none
|
* Return: none
|
||||||
*/
|
*/
|
||||||
void wlan_roam_debug_dump_table(void);
|
void wlan_roam_debug_dump_table(void);
|
||||||
|
|
||||||
|
#else /* FEATURE_ROAM_DEBUG */
|
||||||
|
|
||||||
|
static inline void
|
||||||
|
wlan_roam_debug_log(uint8_t vdev_id, uint8_t op,
|
||||||
|
uint16_t peer_id, void *mac_addr,
|
||||||
|
void *peer_obj, uint32_t arg1, uint32_t arg2)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline void wlan_roam_debug_dump_table(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* FEATURE_ROAM_DEBUG */
|
||||||
#endif /* _WLAN_ROAM_DEBUG_H_ */
|
#endif /* _WLAN_ROAM_DEBUG_H_ */
|
||||||
|
@@ -29,6 +29,7 @@
|
|||||||
#include <wlan_cmn.h>
|
#include <wlan_cmn.h>
|
||||||
#include "wlan_roam_debug.h"
|
#include "wlan_roam_debug.h"
|
||||||
|
|
||||||
|
#ifdef FEATURE_ROAM_DEBUG
|
||||||
/*
|
/*
|
||||||
* wlan roam debug log is stored in this global structure. It can be accessed
|
* wlan roam debug log is stored in this global structure. It can be accessed
|
||||||
* without requiring any psoc or vdev context. It will be accessible in
|
* without requiring any psoc or vdev context. It will be accessible in
|
||||||
@@ -206,5 +207,5 @@ void wlan_roam_debug_dump_table(void)
|
|||||||
}
|
}
|
||||||
qdf_export_symbol(global_wlan_roam_debug_table);
|
qdf_export_symbol(global_wlan_roam_debug_table);
|
||||||
|
|
||||||
|
#endif /* FEATURE_ROAM_DEBUG */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user