mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-10 15:39:38 +00:00
rtl8188eu: Remove CONFIG_DEBUG_RTL871X
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
3f5c8ae480
commit
7d8e675f12
3 changed files with 0 additions and 129 deletions
|
@ -23,43 +23,6 @@
|
|||
#include <rtw_debug.h>
|
||||
#include <rtw_sreset.h>
|
||||
|
||||
#ifdef CONFIG_DEBUG_RTL871X
|
||||
|
||||
u32 GlobalDebugLevel = _drv_err_;
|
||||
|
||||
u64 GlobalDebugComponents = \
|
||||
_module_rtl871x_xmit_c_ |
|
||||
_module_xmit_osdep_c_ |
|
||||
_module_rtl871x_recv_c_ |
|
||||
_module_recv_osdep_c_ |
|
||||
_module_rtl871x_mlme_c_ |
|
||||
_module_mlme_osdep_c_ |
|
||||
_module_rtl871x_sta_mgt_c_ |
|
||||
_module_rtl871x_cmd_c_ |
|
||||
_module_cmd_osdep_c_ |
|
||||
_module_rtl871x_io_c_ |
|
||||
_module_io_osdep_c_ |
|
||||
_module_os_intfs_c_|
|
||||
_module_rtl871x_security_c_|
|
||||
_module_rtl871x_eeprom_c_|
|
||||
_module_hal_init_c_|
|
||||
_module_hci_hal_init_c_|
|
||||
_module_rtl871x_ioctl_c_|
|
||||
_module_rtl871x_ioctl_set_c_|
|
||||
_module_rtl871x_ioctl_query_c_|
|
||||
_module_rtl871x_pwrctrl_c_|
|
||||
_module_hci_intfs_c_|
|
||||
_module_hci_ops_c_|
|
||||
_module_hci_ops_os_c_|
|
||||
_module_rtl871x_ioctl_os_c|
|
||||
_module_rtl8712_cmd_c_|
|
||||
_module_hal_xmit_c_|
|
||||
_module_rtl8712_recv_c_ |
|
||||
_module_mp_ |
|
||||
_module_efuse_;
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PROC_DEBUG
|
||||
#include <rtw_version.h>
|
||||
|
||||
|
|
|
@ -8758,29 +8758,7 @@ static void process_80211d(struct adapter *padapter, struct wlan_bssid_ex *bssid
|
|||
}
|
||||
chplan_ap.Len = i;
|
||||
|
||||
#ifdef CONFIG_DEBUG_RTL871X
|
||||
i = 0;
|
||||
DBG_871X("%s: AP[%s] channel plan {", __func__, bssid->Ssid.Ssid);
|
||||
while ((i < chplan_ap.Len) && (chplan_ap.Channel[i] != 0))
|
||||
{
|
||||
DBG_8192C("%02d,", chplan_ap.Channel[i]);
|
||||
i++;
|
||||
}
|
||||
DBG_871X("}\n");
|
||||
#endif
|
||||
|
||||
memcpy(chplan_sta, pmlmeext->channel_set, sizeof(chplan_sta));
|
||||
#ifdef CONFIG_DEBUG_RTL871X
|
||||
i = 0;
|
||||
DBG_871X("%s: STA channel plan {", __func__);
|
||||
while ((i < MAX_CHANNEL_NUM) && (chplan_sta[i].ChannelNum != 0))
|
||||
{
|
||||
DBG_871X("%02d(%c),", chplan_sta[i].ChannelNum, chplan_sta[i].ScanType==SCAN_PASSIVE?'p':'a');
|
||||
i++;
|
||||
}
|
||||
DBG_871X("}\n");
|
||||
#endif
|
||||
|
||||
memset(pmlmeext->channel_set, 0, sizeof(pmlmeext->channel_set));
|
||||
chplan_new = pmlmeext->channel_set;
|
||||
|
||||
|
@ -8929,17 +8907,6 @@ static void process_80211d(struct adapter *padapter, struct wlan_bssid_ex *bssid
|
|||
}
|
||||
|
||||
pmlmeext->update_channel_plan_by_ap_done = 1;
|
||||
|
||||
#ifdef CONFIG_DEBUG_RTL871X
|
||||
k = 0;
|
||||
DBG_871X("%s: new STA channel plan {", __func__);
|
||||
while ((k < MAX_CHANNEL_NUM) && (chplan_new[k].ChannelNum != 0))
|
||||
{
|
||||
DBG_871X("%02d(%c),", chplan_new[k].ChannelNum, chplan_new[k].ScanType==SCAN_PASSIVE?'p':'c');
|
||||
k++;
|
||||
}
|
||||
DBG_871X("}\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
/* If channel is used by AP, set channel scan type to active */
|
||||
|
|
|
@ -203,65 +203,6 @@ extern u32 GlobalDebugLevel;
|
|||
#endif
|
||||
#endif /* CONFIG_DEBUG */
|
||||
|
||||
#ifdef CONFIG_DEBUG_RTL871X
|
||||
#ifndef _RTL871X_DEBUG_C_
|
||||
extern u32 GlobalDebugLevel;
|
||||
extern u64 GlobalDebugComponents;
|
||||
#endif
|
||||
|
||||
#if defined (_dbgdump) && defined (_MODULE_DEFINE_)
|
||||
|
||||
#undef RT_TRACE
|
||||
#define RT_TRACE(_Comp, _Level, Fmt)\
|
||||
do {\
|
||||
if((_Comp & GlobalDebugComponents) && (_Level <= GlobalDebugLevel)) {\
|
||||
_dbgdump("%s [0x%08x,%d]", DRIVER_PREFIX, (unsigned int)_Comp, _Level);\
|
||||
_dbgdump Fmt;\
|
||||
}\
|
||||
}while(0)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#if defined (_dbgdump)
|
||||
|
||||
#undef _func_enter_
|
||||
#define _func_enter_ \
|
||||
do { \
|
||||
if (GlobalDebugLevel >= _drv_debug_) \
|
||||
{ \
|
||||
_dbgdump("\n %s : %s enters at %d\n", DRIVER_PREFIX, __FUNCTION__, __LINE__);\
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#undef _func_exit_
|
||||
#define _func_exit_ \
|
||||
do { \
|
||||
if (GlobalDebugLevel >= _drv_debug_) \
|
||||
{ \
|
||||
_dbgdump("\n %s : %s exits at %d\n", DRIVER_PREFIX, __FUNCTION__, __LINE__); \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#undef RT_PRINT_DATA
|
||||
#define RT_PRINT_DATA(_Comp, _Level, _TitleString, _HexData, _HexDataLen) \
|
||||
if(((_Comp) & GlobalDebugComponents) && (_Level <= GlobalDebugLevel)) \
|
||||
{ \
|
||||
int __i; \
|
||||
u8 *ptr = (u8 *)_HexData; \
|
||||
_dbgdump("%s", DRIVER_PREFIX); \
|
||||
_dbgdump(_TitleString); \
|
||||
for( __i=0; __i<(int)_HexDataLen; __i++ ) \
|
||||
{ \
|
||||
_dbgdump("%02X%s", ptr[__i], (((__i + 1) % 4) == 0)?" ":" "); \
|
||||
if (((__i + 1) % 16) == 0) _dbgdump("\n"); \
|
||||
} \
|
||||
_dbgdump("\n"); \
|
||||
}
|
||||
#endif
|
||||
#endif /* CONFIG_DEBUG_RTL871X */
|
||||
|
||||
|
||||
#ifdef CONFIG_PROC_DEBUG
|
||||
|
||||
int proc_get_drv_version(char *page, char **start,
|
||||
|
|
Loading…
Reference in a new issue