mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-13 01:22:30 +00:00
Decreased log level from 4 to 3 and suppressed som debug
This commit is contained in:
parent
5ee5d67d22
commit
62e40de47b
8
Makefile
8
Makefile
@ -71,10 +71,8 @@ CONFIG_RTW_WIFI_HAL = n
|
|||||||
CONFIG_ICMP_VOQ = n
|
CONFIG_ICMP_VOQ = n
|
||||||
CONFIG_IP_R_MONITOR = n #arp VOQ and high rate
|
CONFIG_IP_R_MONITOR = n #arp VOQ and high rate
|
||||||
########################## Debug ###########################
|
########################## Debug ###########################
|
||||||
CONFIG_RTW_DEBUG = y
|
CONFIG_RTW_DEBUG = n
|
||||||
# default log level is _DRV_INFO_ = 4,
|
CONFIG_RTW_LOG_LEVEL = 3
|
||||||
# please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
|
|
||||||
CONFIG_RTW_LOG_LEVEL = 4
|
|
||||||
CONFIG_USB_DEBUG = n
|
CONFIG_USB_DEBUG = n
|
||||||
#DEBUG=1
|
#DEBUG=1
|
||||||
######################## Wake On Lan ##########################
|
######################## Wake On Lan ##########################
|
||||||
@ -303,7 +301,7 @@ endif
|
|||||||
ifeq ($(CONFIG_RTL8814A), y)
|
ifeq ($(CONFIG_RTL8814A), y)
|
||||||
## ADD NEW VHT MP HW TX MODE ##
|
## ADD NEW VHT MP HW TX MODE ##
|
||||||
#EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
|
#EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
|
||||||
#CONFIG_MP_VHT_HW_TX_MODE = y
|
CONFIG_MP_VHT_HW_TX_MODE = y
|
||||||
##########################################
|
##########################################
|
||||||
RTL871X = rtl8814a
|
RTL871X = rtl8814a
|
||||||
ifeq ($(CONFIG_USB_HCI), y)
|
ifeq ($(CONFIG_USB_HCI), y)
|
||||||
|
@ -24,7 +24,7 @@ void interrupt_handler_8812au(_adapter *padapter, u16 pkt_len, u8 *pbuf)
|
|||||||
struct reportpwrstate_parm pwr_rpt;
|
struct reportpwrstate_parm pwr_rpt;
|
||||||
|
|
||||||
if (pkt_len != INTERRUPT_MSG_FORMAT_LEN) {
|
if (pkt_len != INTERRUPT_MSG_FORMAT_LEN) {
|
||||||
RTW_INFO("%s Invalid interrupt content length (%d)!\n", __FUNCTION__, pkt_len);
|
//RTW_INFO("%s Invalid interrupt content length (%d)!\n", __FUNCTION__, pkt_len);
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ void interrupt_handler_8812au(_adapter *padapter, u16 pkt_len, u8 *pbuf)
|
|||||||
hisr_ex = le32_to_cpu(hisr_ex);
|
hisr_ex = le32_to_cpu(hisr_ex);
|
||||||
|
|
||||||
if ((hisr != 0) || (hisr_ex != 0))
|
if ((hisr != 0) || (hisr_ex != 0))
|
||||||
RTW_INFO("===> %s hisr:0x%08x ,hisr_ex:0x%08x\n", __FUNCTION__, hisr, hisr_ex);
|
//RTW_INFO("===> %s hisr:0x%08x ,hisr_ex:0x%08x\n", __FUNCTION__, hisr, hisr_ex);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -69,11 +69,11 @@ void interrupt_handler_8812au(_adapter *padapter, u16 pkt_len, u8 *pbuf)
|
|||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
if (pHalData->IntArray[0] & IMR_BCNDMAINT0_88E)
|
if (pHalData->IntArray[0] & IMR_BCNDMAINT0_88E)
|
||||||
RTW_INFO("%s: HISR_BCNERLY_INT\n", __func__);
|
//RTW_INFO("%s: HISR_BCNERLY_INT\n", __func__);
|
||||||
if (pHalData->IntArray[0] & IMR_TBDOK_88E)
|
if (pHalData->IntArray[0] & IMR_TBDOK_88E)
|
||||||
RTW_INFO("%s: HISR_TXBCNOK\n", __func__);
|
//RTW_INFO("%s: HISR_TXBCNOK\n", __func__);
|
||||||
if (pHalData->IntArray[0] & IMR_TBDER_88E)
|
if (pHalData->IntArray[0] & IMR_TBDER_88E)
|
||||||
RTW_INFO("%s: HISR_TXBCNERR\n", __func__);
|
//RTW_INFO("%s: HISR_TXBCNERR\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
rtw_mi_set_tx_beacon_cmd(padapter);
|
rtw_mi_set_tx_beacon_cmd(padapter);
|
||||||
}
|
}
|
||||||
@ -84,13 +84,13 @@ void interrupt_handler_8812au(_adapter *padapter, u16 pkt_len, u8 *pbuf)
|
|||||||
|
|
||||||
#ifdef DBG_CONFIG_ERROR_DETECT_INT
|
#ifdef DBG_CONFIG_ERROR_DETECT_INT
|
||||||
if (pHalData->IntArray[1] & IMR_TXERR_88E)
|
if (pHalData->IntArray[1] & IMR_TXERR_88E)
|
||||||
RTW_INFO("===> %s Tx Error Flag Interrupt Status\n", __FUNCTION__);
|
//RTW_INFO("===> %s Tx Error Flag Interrupt Status\n", __FUNCTION__);
|
||||||
if (pHalData->IntArray[1] & IMR_RXERR_88E)
|
if (pHalData->IntArray[1] & IMR_RXERR_88E)
|
||||||
RTW_INFO("===> %s Rx Error Flag INT Status\n", __FUNCTION__);
|
//RTW_INFO("===> %s Rx Error Flag INT Status\n", __FUNCTION__);
|
||||||
if (pHalData->IntArray[1] & IMR_TXFOVW_88E)
|
if (pHalData->IntArray[1] & IMR_TXFOVW_88E)
|
||||||
RTW_INFO("===> %s Transmit FIFO Overflow\n", __FUNCTION__);
|
//RTW_INFO("===> %s Transmit FIFO Overflow\n", __FUNCTION__);
|
||||||
if (pHalData->IntArray[1] & IMR_RXFOVW_88E)
|
if (pHalData->IntArray[1] & IMR_RXFOVW_88E)
|
||||||
RTW_INFO("===> %s Receive FIFO Overflow\n", __FUNCTION__);
|
//RTW_INFO("===> %s Receive FIFO Overflow\n", __FUNCTION__);
|
||||||
#endif/* DBG_CONFIG_ERROR_DETECT_INT */
|
#endif/* DBG_CONFIG_ERROR_DETECT_INT */
|
||||||
|
|
||||||
#ifdef CONFIG_FW_C2H_REG
|
#ifdef CONFIG_FW_C2H_REG
|
||||||
@ -133,7 +133,7 @@ int recvbuf2recvframe(PADAPTER padapter, void *ptr)
|
|||||||
do {
|
do {
|
||||||
precvframe = rtw_alloc_recvframe(pfree_recv_queue);
|
precvframe = rtw_alloc_recvframe(pfree_recv_queue);
|
||||||
if (precvframe == NULL) {
|
if (precvframe == NULL) {
|
||||||
RTW_INFO("%s()-%d: rtw_alloc_recvframe() failed! RX Drop!\n", __FUNCTION__, __LINE__);
|
//RTW_INFO("%s()-%d: rtw_alloc_recvframe() failed! RX Drop!\n", __FUNCTION__, __LINE__);
|
||||||
goto _exit_recvbuf2recvframe;
|
goto _exit_recvbuf2recvframe;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ int recvbuf2recvframe(PADAPTER padapter, void *ptr)
|
|||||||
pattrib = &precvframe->u.hdr.attrib;
|
pattrib = &precvframe->u.hdr.attrib;
|
||||||
|
|
||||||
if ((padapter->registrypriv.mp_mode == 0) && ((pattrib->crc_err) || (pattrib->icv_err))) {
|
if ((padapter->registrypriv.mp_mode == 0) && ((pattrib->crc_err) || (pattrib->icv_err))) {
|
||||||
RTW_INFO("%s: RX Warning! crc_err=%d icv_err=%d, skip!\n", __FUNCTION__, pattrib->crc_err, pattrib->icv_err);
|
//RTW_INFO("%s: RX Warning! crc_err=%d icv_err=%d, skip!\n", __FUNCTION__, pattrib->crc_err, pattrib->icv_err);
|
||||||
|
|
||||||
rtw_free_recvframe(precvframe, pfree_recv_queue);
|
rtw_free_recvframe(precvframe, pfree_recv_queue);
|
||||||
goto _exit_recvbuf2recvframe;
|
goto _exit_recvbuf2recvframe;
|
||||||
@ -155,7 +155,7 @@ int recvbuf2recvframe(PADAPTER padapter, void *ptr)
|
|||||||
pkt_offset = RXDESC_SIZE + pattrib->drvinfo_sz + pattrib->shift_sz + pattrib->pkt_len;
|
pkt_offset = RXDESC_SIZE + pattrib->drvinfo_sz + pattrib->shift_sz + pattrib->pkt_len;
|
||||||
|
|
||||||
if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) {
|
if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) {
|
||||||
RTW_INFO("%s()-%d: RX Warning!,pkt_len<=0 or pkt_offset> transfer_len\n", __FUNCTION__, __LINE__);
|
//RTW_INFO("%s()-%d: RX Warning!,pkt_len<=0 or pkt_offset> transfer_len\n", __FUNCTION__, __LINE__);
|
||||||
rtw_free_recvframe(precvframe, pfree_recv_queue);
|
rtw_free_recvframe(precvframe, pfree_recv_queue);
|
||||||
goto _exit_recvbuf2recvframe;
|
goto _exit_recvbuf2recvframe;
|
||||||
}
|
}
|
||||||
@ -215,7 +215,7 @@ void rtl8812au_xmit_tasklet(void *priv)
|
|||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
if (RTW_CANNOT_TX(padapter)) {
|
if (RTW_CANNOT_TX(padapter)) {
|
||||||
RTW_INFO("xmit_tasklet => bDriverStopped or bSurpriseRemoved or bWritePortCancel\n");
|
//RTW_INFO("xmit_tasklet => bDriverStopped or bSurpriseRemoved or bWritePortCancel\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user