mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Replace degub macro DBG_871X with DBG_88E
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
1e6accffc4
commit
3a3339b715
46 changed files with 1548 additions and 1548 deletions
|
@ -273,7 +273,7 @@ odm_TxPwrTrackSetPwr88E(
|
|||
PHY_SetBBReg(Adapter, rTxAGC_A_CCK1_Mcs32, bMaskByte1, pwr);
|
||||
TxAGC = (pwr<<16)|(pwr<<8)|(pwr);
|
||||
PHY_SetBBReg(Adapter, rTxAGC_B_CCK11_A_CCK2_11, 0xffffff00, TxAGC);
|
||||
DBG_871X("ODM_TxPwrTrackSetPwr88E: CCK Tx-rf(A) Power = 0x%x\n", TxAGC);
|
||||
DBG_88E("ODM_TxPwrTrackSetPwr88E: CCK Tx-rf(A) Power = 0x%x\n", TxAGC);
|
||||
|
||||
pwr = PHY_QueryBBReg(Adapter, rTxAGC_A_Rate18_06, 0xFF);
|
||||
pwr += (pDM_Odm->BbSwingIdxOfdm - pDM_Odm->BbSwingIdxOfdmBase);
|
||||
|
@ -284,7 +284,7 @@ odm_TxPwrTrackSetPwr88E(
|
|||
PHY_SetBBReg(Adapter, rTxAGC_A_Mcs07_Mcs04, bMaskDWord, TxAGC);
|
||||
PHY_SetBBReg(Adapter, rTxAGC_A_Mcs11_Mcs08, bMaskDWord, TxAGC);
|
||||
PHY_SetBBReg(Adapter, rTxAGC_A_Mcs15_Mcs12, bMaskDWord, TxAGC);
|
||||
DBG_871X("ODM_TxPwrTrackSetPwr88E: OFDM Tx-rf(A) Power = 0x%x\n", TxAGC);
|
||||
DBG_88E("ODM_TxPwrTrackSetPwr88E: OFDM Tx-rf(A) Power = 0x%x\n", TxAGC);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -112,7 +112,7 @@ u8 HalPwrSeqCmdParsing(
|
|||
rtw_udelay_os(10);
|
||||
|
||||
if (pollingCount++ > maxPollingCnt) {
|
||||
DBG_871X("Fail to polling Offset[%#x]\n", offset);
|
||||
DBG_88E("Fail to polling Offset[%#x]\n", offset);
|
||||
return false;
|
||||
}
|
||||
} while (!bPollingBit);
|
||||
|
|
|
@ -65,7 +65,7 @@ void dump_chip_info(struct hal_version ChipVersion)
|
|||
|
||||
cnt += sprintf((buf+cnt), "RomVer(%d)\n", ChipVersion.ROMVer);
|
||||
|
||||
DBG_871X("%s", buf);
|
||||
DBG_88E("%s", buf);
|
||||
}
|
||||
|
||||
|
||||
|
@ -357,7 +357,7 @@ s32 c2h_evt_read(struct adapter *adapter, u8 *buf)
|
|||
&c2h_evt , sizeof(c2h_evt));
|
||||
|
||||
if (0) {
|
||||
DBG_871X("%s id:%u, len:%u, seq:%u, trigger:0x%02x\n", __func__
|
||||
DBG_88E("%s id:%u, len:%u, seq:%u, trigger:0x%02x\n", __func__
|
||||
, c2h_evt->id, c2h_evt->plen, c2h_evt->seq, trigger);
|
||||
}
|
||||
|
||||
|
@ -401,7 +401,7 @@ SetHalDefVar(struct adapter *adapter, enum HAL_DEF_VARIABLE variable, void *valu
|
|||
ODM_CmnInfoUpdate(pDM_Odm, ODM_CMNINFO_DBG_LEVEL, *((u32*)value));
|
||||
break;
|
||||
default:
|
||||
DBG_871X_LEVEL(_drv_always_, "%s: [WARNING] HAL_DEF_VARIABLE(%d) not defined!\n", __FUNCTION__, variable);
|
||||
DBG_88E_LEVEL(_drv_always_, "%s: [WARNING] HAL_DEF_VARIABLE(%d) not defined!\n", __FUNCTION__, variable);
|
||||
bResult = _FAIL;
|
||||
break;
|
||||
}
|
||||
|
@ -427,7 +427,7 @@ GetHalDefVar(struct adapter *adapter, enum HAL_DEF_VARIABLE variable, void *valu
|
|||
*((u32*)value) = pHalData->odmpriv.SupportAbility;
|
||||
break;
|
||||
default:
|
||||
DBG_871X_LEVEL(_drv_always_, "%s: [WARNING] HAL_DEF_VARIABLE(%d) not defined!\n", __FUNCTION__, variable);
|
||||
DBG_88E_LEVEL(_drv_always_, "%s: [WARNING] HAL_DEF_VARIABLE(%d) not defined!\n", __FUNCTION__, variable);
|
||||
bResult = _FAIL;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@ uint rtw_hal_init(struct adapter *padapter)
|
|||
padapter = dvobj->padapters[i];
|
||||
padapter->hw_init_completed = false;
|
||||
}
|
||||
DBG_871X("rtw_hal_init: hal__init fail\n");
|
||||
DBG_88E("rtw_hal_init: hal__init fail\n");
|
||||
}
|
||||
|
||||
RT_TRACE(_module_hal_init_c_,_drv_err_,("-rtl871x_hal_init:status=0x%x\n",status));
|
||||
|
@ -141,7 +141,7 @@ uint rtw_hal_deinit(struct adapter *padapter)
|
|||
|
||||
;
|
||||
if (!is_primary_adapter(padapter)) {
|
||||
DBG_871X(" rtw_hal_deinit: Secondary adapter return l\n");
|
||||
DBG_88E(" rtw_hal_deinit: Secondary adapter return l\n");
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -155,7 +155,7 @@ uint rtw_hal_deinit(struct adapter *padapter)
|
|||
}
|
||||
else
|
||||
{
|
||||
DBG_871X("\n rtw_hal_deinit: hal_init fail\n");
|
||||
DBG_88E("\n rtw_hal_deinit: hal_init fail\n");
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
@ -201,28 +201,28 @@ void rtw_hal_get_odm_var(struct adapter *padapter, enum HAL_ODM_VARIABLE eVariab
|
|||
void rtw_hal_enable_interrupt(struct adapter *padapter)
|
||||
{
|
||||
if (!is_primary_adapter(padapter)) {
|
||||
DBG_871X(" rtw_hal_enable_interrupt: Secondary adapter return l\n");
|
||||
DBG_88E(" rtw_hal_enable_interrupt: Secondary adapter return l\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (padapter->HalFunc.enable_interrupt)
|
||||
padapter->HalFunc.enable_interrupt(padapter);
|
||||
else
|
||||
DBG_871X("%s: HalFunc.enable_interrupt is NULL!\n", __FUNCTION__);
|
||||
DBG_88E("%s: HalFunc.enable_interrupt is NULL!\n", __FUNCTION__);
|
||||
|
||||
}
|
||||
|
||||
void rtw_hal_disable_interrupt(struct adapter *padapter)
|
||||
{
|
||||
if (!is_primary_adapter(padapter)) {
|
||||
DBG_871X(" rtw_hal_disable_interrupt: Secondary adapter return l\n");
|
||||
DBG_88E(" rtw_hal_disable_interrupt: Secondary adapter return l\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (padapter->HalFunc.disable_interrupt)
|
||||
padapter->HalFunc.disable_interrupt(padapter);
|
||||
else
|
||||
DBG_871X("%s: HalFunc.disable_interrupt is NULL!\n", __FUNCTION__);
|
||||
DBG_88E("%s: HalFunc.disable_interrupt is NULL!\n", __FUNCTION__);
|
||||
|
||||
}
|
||||
|
||||
|
@ -232,7 +232,7 @@ u32 rtw_hal_inirp_init(struct adapter *padapter)
|
|||
if (padapter->HalFunc.inirp_init)
|
||||
rst = padapter->HalFunc.inirp_init(padapter);
|
||||
else
|
||||
DBG_871X(" %s HalFunc.inirp_init is NULL!!!\n",__FUNCTION__);
|
||||
DBG_88E(" %s HalFunc.inirp_init is NULL!!!\n",__FUNCTION__);
|
||||
return rst;
|
||||
}
|
||||
|
||||
|
|
|
@ -3897,7 +3897,7 @@ void odm_dtc(PDM_ODM_T pDM_Odm)
|
|||
resp_txagc = resp_txagc | (resp_txagc << 5);
|
||||
ODM_Write1Byte(pDM_Odm, 0x06d9, resp_txagc);
|
||||
|
||||
DBG_871X("%s RSSI_Min:%u, set RESP_TXAGC to %s %u\n",
|
||||
DBG_88E("%s RSSI_Min:%u, set RESP_TXAGC to %s %u\n",
|
||||
__func__, pDM_Odm->RSSI_Min, sign?"minus":"plus", dtc_steps);
|
||||
#endif /* CONFIG_RESP_TXAGC_ADJUST */
|
||||
}
|
||||
|
|
|
@ -228,7 +228,7 @@ void rtl8188e_Add_RateATid(struct adapter *pAdapter, u32 bitmap, u8 arg, u8 rssi
|
|||
|
||||
bitmap &= 0x0fffffff;
|
||||
|
||||
DBG_871X("%s=> mac_id:%d , raid:%d , ra_bitmap=0x%x, shortGIrate=0x%02x\n",
|
||||
DBG_88E("%s=> mac_id:%d , raid:%d , ra_bitmap=0x%x, shortGIrate=0x%02x\n",
|
||||
__FUNCTION__,macid ,raid ,bitmap, shortGIrate);
|
||||
|
||||
|
||||
|
@ -251,7 +251,7 @@ void rtl8188e_set_FwPwrMode_cmd(struct adapter *padapter, u8 Mode)
|
|||
u8 RLBM = 0; /* 0:Min, 1:Max , 2:User define */
|
||||
;
|
||||
|
||||
DBG_871X("%s: Mode=%d SmartPS=%d UAPSD=%d\n", __FUNCTION__,
|
||||
DBG_88E("%s: Mode=%d SmartPS=%d UAPSD=%d\n", __FUNCTION__,
|
||||
Mode, pwrpriv->smart_ps, padapter->registrypriv.uapsd_enable);
|
||||
|
||||
H2CSetPwrMode.AwakeInterval = 2; /* DTIM =1 */
|
||||
|
@ -309,7 +309,7 @@ void rtl8188e_set_FwMediaStatus_cmd(struct adapter *padapter, __le16 mstatus_rpt
|
|||
u32 reg_macid_no_link = REG_MACID_NO_LINK_0;
|
||||
opmode = (u8) mst_rpt;
|
||||
macid = (u8)(mst_rpt >> 8) ;
|
||||
DBG_871X("### %s: MStatus=%x MACID=%d\n", __FUNCTION__,opmode,macid);
|
||||
DBG_88E("### %s: MStatus=%x MACID=%d\n", __FUNCTION__,opmode,macid);
|
||||
FillH2CCmd_88E(padapter, H2C_COM_MEDIA_STATUS_RPT, sizeof(mst_rpt), (u8 *)&mst_rpt);
|
||||
|
||||
if (macid > 31) {
|
||||
|
@ -342,7 +342,7 @@ static void ConstructBeacon(struct adapter *padapter, u8 *pframe, u32 *pLength)
|
|||
u8 bc_addr[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
||||
|
||||
|
||||
/* DBG_871X("%s\n", __FUNCTION__); */
|
||||
/* DBG_88E("%s\n", __FUNCTION__); */
|
||||
|
||||
pwlanhdr = (struct rtw_ieee80211_hdr *)pframe;
|
||||
|
||||
|
@ -378,7 +378,7 @@ static void ConstructBeacon(struct adapter *padapter, u8 *pframe, u32 *pLength)
|
|||
|
||||
if ( (pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE)
|
||||
{
|
||||
/* DBG_871X("ie len=%d\n", cur_network->IELength); */
|
||||
/* DBG_88E("ie len=%d\n", cur_network->IELength); */
|
||||
pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fixed_ies);
|
||||
memcpy(pframe, cur_network->IEs+sizeof(struct ndis_802_11_fixed_ies), pktlen);
|
||||
|
||||
|
@ -423,13 +423,13 @@ _ConstructBeacon:
|
|||
|
||||
if ((pktlen + TXDESC_SIZE) > 512)
|
||||
{
|
||||
DBG_871X("beacon frame too large\n");
|
||||
DBG_88E("beacon frame too large\n");
|
||||
return;
|
||||
}
|
||||
|
||||
*pLength = pktlen;
|
||||
|
||||
/* DBG_871X("%s bcn_sz=%d\n", __FUNCTION__, pktlen); */
|
||||
/* DBG_88E("%s bcn_sz=%d\n", __FUNCTION__, pktlen); */
|
||||
|
||||
}
|
||||
|
||||
|
@ -441,7 +441,7 @@ static void ConstructPSPoll(struct adapter *padapter, u8 *pframe, u32 *pLength)
|
|||
struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv);
|
||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
|
||||
/* DBG_871X("%s\n", __FUNCTION__); */
|
||||
/* DBG_88E("%s\n", __FUNCTION__); */
|
||||
|
||||
pwlanhdr = (struct rtw_ieee80211_hdr *)pframe;
|
||||
|
||||
|
@ -482,7 +482,7 @@ static void ConstructNullFunctionData(
|
|||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
|
||||
|
||||
/* DBG_871X("%s:%d\n", __FUNCTION__, bForcePowerSave); */
|
||||
/* DBG_88E("%s:%d\n", __FUNCTION__, bForcePowerSave); */
|
||||
|
||||
pwlanhdr = (struct rtw_ieee80211_hdr*)pframe;
|
||||
|
||||
|
@ -541,7 +541,7 @@ static void rtl8188e_set_FwRsvdPage_cmd(struct adapter *padapter, PRSVDPAGE_LOC
|
|||
u8 u1H2CRsvdPageParm[H2C_8188E_RSVDPAGE_LOC_LEN]={0};
|
||||
u8 u1H2CAoacRsvdPageParm[H2C_8188E_AOAC_RSVDPAGE_LOC_LEN]={0};
|
||||
|
||||
/* DBG_871X("8188RsvdPageLoc: PsPoll=%d Null=%d QoSNull=%d\n", */
|
||||
/* DBG_88E("8188RsvdPageLoc: PsPoll=%d Null=%d QoSNull=%d\n", */
|
||||
/* rsvdpageloc->LocPsPoll, rsvdpageloc->LocNullData, rsvdpageloc->LocQosNull); */
|
||||
|
||||
SET_8188E_H2CCMD_RSVDPAGE_LOC_PSPOLL(u1H2CRsvdPageParm, rsvdpageloc->LocPsPoll);
|
||||
|
@ -597,11 +597,11 @@ static void SetFwRsvdPagePkt(struct adapter *padapter, bool bDLFinished)
|
|||
u32 TotalPacketLen;
|
||||
RSVDPAGE_LOC RsvdPageLoc;
|
||||
|
||||
DBG_871X("%s\n", __FUNCTION__);
|
||||
DBG_88E("%s\n", __FUNCTION__);
|
||||
|
||||
ReservedPagePacket = (u8*)rtw_zmalloc(RTL88E_RSVDPAGE_SIZE);
|
||||
if (ReservedPagePacket == NULL) {
|
||||
DBG_871X("%s: alloc ReservedPagePacket fail!\n", __FUNCTION__);
|
||||
DBG_88E("%s: alloc ReservedPagePacket fail!\n", __FUNCTION__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -683,11 +683,11 @@ static void SetFwRsvdPagePkt(struct adapter *padapter, bool bDLFinished)
|
|||
if (TotalPacketLen < RTL88E_RSVDPAGE_SIZE)
|
||||
memcpy(pmgntframe->buf_addr, ReservedPagePacket, TotalPacketLen);
|
||||
else
|
||||
DBG_871X("%s: memory copy fail at Line: %d\n", __FUNCTION__, __LINE__);
|
||||
DBG_88E("%s: memory copy fail at Line: %d\n", __FUNCTION__, __LINE__);
|
||||
|
||||
rtw_hal_mgnt_xmit(padapter, pmgntframe);
|
||||
|
||||
DBG_871X("%s: Set RSVD page location to Fw\n", __FUNCTION__);
|
||||
DBG_88E("%s: Set RSVD page location to Fw\n", __FUNCTION__);
|
||||
rtl8188e_set_FwRsvdPage_cmd(padapter, &RsvdPageLoc);
|
||||
/* FillH2CCmd_88E(padapter, H2C_COM_RSVD_PAGE, sizeof(RsvdPageLoc), (u8*)&RsvdPageLoc); */
|
||||
|
||||
|
@ -706,7 +706,7 @@ void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus)
|
|||
u8 DLBcnCount=0;
|
||||
u32 poll = 0;
|
||||
|
||||
DBG_871X("%s mstatus(%x)\n", __FUNCTION__,mstatus);
|
||||
DBG_88E("%s mstatus(%x)\n", __FUNCTION__,mstatus);
|
||||
|
||||
if (mstatus == 1) {
|
||||
/* We should set AID, correct TSF, HW seq enable before set JoinBssReport to Fw in 88/92C. */
|
||||
|
@ -732,7 +732,7 @@ void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus)
|
|||
|
||||
if (pHalData->RegFwHwTxQCtrl&BIT6)
|
||||
{
|
||||
DBG_871X("HalDownloadRSVDPage(): There is an Adapter is sending beacon.\n");
|
||||
DBG_88E("HalDownloadRSVDPage(): There is an Adapter is sending beacon.\n");
|
||||
bSendBeacon = true;
|
||||
}
|
||||
|
||||
|
@ -765,9 +765,9 @@ void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus)
|
|||
{
|
||||
}
|
||||
else if (!bcn_valid)
|
||||
DBG_871X("%s: 1 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __FUNCTION__ ,DLBcnCount, poll);
|
||||
DBG_88E("%s: 1 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __FUNCTION__ ,DLBcnCount, poll);
|
||||
else
|
||||
DBG_871X("%s: 1 Download RSVD success! DLBcnCount:%u, poll:%u\n", __FUNCTION__, DLBcnCount, poll);
|
||||
DBG_88E("%s: 1 Download RSVD success! DLBcnCount:%u, poll:%u\n", __FUNCTION__, DLBcnCount, poll);
|
||||
/* */
|
||||
/* We just can send the reserved page twice during the time that Tx thread is stopped (e.g. pnpsetpower) */
|
||||
/* becuase we need to free the Tx BCN Desc which is used by the first reserved page packet. */
|
||||
|
@ -802,9 +802,9 @@ void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus)
|
|||
{
|
||||
}
|
||||
else if (!bcn_valid)
|
||||
DBG_871X("%s: 2 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __FUNCTION__ ,DLBcnCount, poll);
|
||||
DBG_88E("%s: 2 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __FUNCTION__ ,DLBcnCount, poll);
|
||||
else
|
||||
DBG_871X("%s: 2 Download RSVD success! DLBcnCount:%u, poll:%u\n", __FUNCTION__, DLBcnCount, poll);
|
||||
DBG_88E("%s: 2 Download RSVD success! DLBcnCount:%u, poll:%u\n", __FUNCTION__, DLBcnCount, poll);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -831,7 +831,7 @@ void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus)
|
|||
if (bcn_valid)
|
||||
{
|
||||
rtw_hal_set_hwreg(padapter, HW_VAR_BCN_VALID, NULL);
|
||||
DBG_871X("Set RSVD page location to Fw.\n");
|
||||
DBG_88E("Set RSVD page location to Fw.\n");
|
||||
/* FillH2CCmd88E(Adapter, H2C_88E_RSVDPAGE, H2C_RSVDPAGE_LOC_LENGTH, pMgntInfo->u1RsvdPageLoc); */
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ static void iol_mode_enable(struct adapter *padapter, u8 enable)
|
|||
{
|
||||
/* Enable initial offload */
|
||||
reg_0xf0 = rtw_read8(padapter, REG_SYS_CFG);
|
||||
/* DBG_871X("%s reg_0xf0:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0xf0, reg_0xf0|SW_OFFLOAD_EN); */
|
||||
/* DBG_88E("%s reg_0xf0:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0xf0, reg_0xf0|SW_OFFLOAD_EN); */
|
||||
rtw_write8(padapter, REG_SYS_CFG, reg_0xf0|SW_OFFLOAD_EN);
|
||||
|
||||
if (padapter->bFWReady == false)
|
||||
|
@ -51,7 +51,7 @@ static void iol_mode_enable(struct adapter *padapter, u8 enable)
|
|||
{
|
||||
/* disable initial offload */
|
||||
reg_0xf0 = rtw_read8(padapter, REG_SYS_CFG);
|
||||
/* DBG_871X("%s reg_0xf0:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0xf0, reg_0xf0& ~SW_OFFLOAD_EN); */
|
||||
/* DBG_88E("%s reg_0xf0:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0xf0, reg_0xf0& ~SW_OFFLOAD_EN); */
|
||||
rtw_write8(padapter, REG_SYS_CFG, reg_0xf0 & ~SW_OFFLOAD_EN);
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ static s32 iol_execute(struct adapter *padapter, u8 control)
|
|||
u32 t1,t2;
|
||||
control = control&0x0f;
|
||||
reg_0x88 = rtw_read8(padapter, REG_HMEBOX_E0);
|
||||
/* DBG_871X("%s reg_0x88:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0x88, reg_0x88|control); */
|
||||
/* DBG_88E("%s reg_0x88:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0x88, reg_0x88|control); */
|
||||
rtw_write8(padapter, REG_HMEBOX_E0, reg_0x88|control);
|
||||
|
||||
t1 = start = jiffies;
|
||||
|
@ -74,7 +74,7 @@ static s32 iol_execute(struct adapter *padapter, u8 control)
|
|||
(reg_0x88=rtw_read8(padapter, REG_HMEBOX_E0)) & control
|
||||
&& (passing_time=rtw_get_passing_time_ms(start))<1000
|
||||
) {
|
||||
/* DBG_871X("%s polling reg_0x88:0x%02x,reg_0x1c7:0x%02x\n", __FUNCTION__, reg_0x88,rtw_read8(padapter, 0x1c7) ); */
|
||||
/* DBG_88E("%s polling reg_0x88:0x%02x,reg_0x1c7:0x%02x\n", __FUNCTION__, reg_0x88,rtw_read8(padapter, 0x1c7) ); */
|
||||
/* rtw_udelay_os(100); */
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@ static s32 iol_execute(struct adapter *padapter, u8 control)
|
|||
status = _FAIL;
|
||||
t2= jiffies;
|
||||
/* printk("==> step iol_execute : %5u reg-0x1c0= 0x%02x\n",rtw_get_time_interval_ms(t1,t2),rtw_read8(padapter, 0x1c0)); */
|
||||
/* DBG_871X("%s in %u ms, reg_0x88:0x%02x\n", __FUNCTION__, passing_time, reg_0x88); */
|
||||
/* DBG_88E("%s in %u ms, reg_0x88:0x%02x\n", __FUNCTION__, passing_time, reg_0x88); */
|
||||
|
||||
return status;
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ static s32 iol_InitLLTTable(
|
|||
{
|
||||
s32 rst = _SUCCESS;
|
||||
iol_mode_enable(padapter, 1);
|
||||
/* DBG_871X("%s txpktbuf_bndy:%u\n", __FUNCTION__, txpktbuf_bndy); */
|
||||
/* DBG_88E("%s txpktbuf_bndy:%u\n", __FUNCTION__, txpktbuf_bndy); */
|
||||
rtw_write8(padapter, REG_TDECTRL+1, txpktbuf_bndy);
|
||||
rst = iol_execute(padapter, CMD_INIT_LLT);
|
||||
iol_mode_enable(padapter, 0);
|
||||
|
@ -120,14 +120,14 @@ efuse_phymap_to_logical(u8 * phymap, u16 _offset, u16 _size_byte, u8 *pbuf)
|
|||
efuseTbl = (u8*)rtw_zmalloc(EFUSE_MAP_LEN_88E);
|
||||
if (efuseTbl == NULL)
|
||||
{
|
||||
DBG_871X("%s: alloc efuseTbl fail!\n", __FUNCTION__);
|
||||
DBG_88E("%s: alloc efuseTbl fail!\n", __FUNCTION__);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
eFuseWord= (u16 **)rtw_malloc2d(EFUSE_MAX_SECTION_88E, EFUSE_MAX_WORD_UNIT, sizeof(u16));
|
||||
if (eFuseWord == NULL)
|
||||
{
|
||||
DBG_871X("%s: alloc eFuseWord fail!\n", __FUNCTION__);
|
||||
DBG_88E("%s: alloc eFuseWord fail!\n", __FUNCTION__);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -149,7 +149,7 @@ efuse_phymap_to_logical(u8 * phymap, u16 _offset, u16 _size_byte, u8 *pbuf)
|
|||
}
|
||||
else
|
||||
{
|
||||
DBG_871X("EFUSE is empty efuse_Addr-%d efuse_data=%x\n", eFuse_Addr, rtemp8);
|
||||
DBG_88E("EFUSE is empty efuse_Addr-%d efuse_data=%x\n", eFuse_Addr, rtemp8);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -302,28 +302,28 @@ static void efuse_read_phymap_from_txpktbuf(
|
|||
if (bcnhead<0) /* if not valid */
|
||||
bcnhead = rtw_read8(adapter, REG_TDECTRL+1);
|
||||
|
||||
DBG_871X("%s bcnhead:%d\n", __FUNCTION__, bcnhead);
|
||||
DBG_88E("%s bcnhead:%d\n", __FUNCTION__, bcnhead);
|
||||
|
||||
/* reg_0x106 = rtw_read8(adapter, REG_PKT_BUFF_ACCESS_CTRL); */
|
||||
/* DBG_871X("%s reg_0x106:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0x106, 0x69); */
|
||||
/* DBG_88E("%s reg_0x106:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0x106, 0x69); */
|
||||
rtw_write8(adapter, REG_PKT_BUFF_ACCESS_CTRL, TXPKT_BUF_SELECT);
|
||||
/* DBG_871X("%s reg_0x106:0x%02x\n", __FUNCTION__, rtw_read8(adapter, 0x106)); */
|
||||
/* DBG_88E("%s reg_0x106:0x%02x\n", __FUNCTION__, rtw_read8(adapter, 0x106)); */
|
||||
|
||||
dbg_addr = bcnhead*128/8; /* 8-bytes addressing */
|
||||
|
||||
while (1)
|
||||
{
|
||||
/* DBG_871X("%s dbg_addr:0x%x\n", __FUNCTION__, dbg_addr+i); */
|
||||
/* DBG_88E("%s dbg_addr:0x%x\n", __FUNCTION__, dbg_addr+i); */
|
||||
rtw_write16(adapter, REG_PKTBUF_DBG_ADDR, dbg_addr+i);
|
||||
|
||||
/* DBG_871X("%s write reg_0x143:0x00\n", __FUNCTION__); */
|
||||
/* DBG_88E("%s write reg_0x143:0x00\n", __FUNCTION__); */
|
||||
rtw_write8(adapter, REG_TXPKTBUF_DBG, 0);
|
||||
start = jiffies;
|
||||
while (!(reg_0x143=rtw_read8(adapter, REG_TXPKTBUF_DBG))/* dbg */
|
||||
/* while (rtw_read8(adapter, REG_TXPKTBUF_DBG) & BIT0 */
|
||||
&& (passing_time=rtw_get_passing_time_ms(start))<1000
|
||||
) {
|
||||
DBG_871X("%s polling reg_0x143:0x%02x, reg_0x106:0x%02x\n", __FUNCTION__, reg_0x143, rtw_read8(adapter, 0x106));
|
||||
DBG_88E("%s polling reg_0x143:0x%02x, reg_0x106:0x%02x\n", __FUNCTION__, reg_0x143, rtw_read8(adapter, 0x106));
|
||||
rtw_usleep_os(100);
|
||||
}
|
||||
|
||||
|
@ -342,7 +342,7 @@ static void efuse_read_phymap_from_txpktbuf(
|
|||
len = le32_to_cpu(lo32) & 0x0000ffff;
|
||||
limit = (len - 2 < limit) ? len - 2 : limit;
|
||||
|
||||
DBG_871X("%s len:%u, lenc:%u\n", __func__, len, lenc);
|
||||
DBG_88E("%s len:%u, lenc:%u\n", __func__, len, lenc);
|
||||
|
||||
memcpy(pos, ((u8*)&lo32)+2, (limit>=count+2)?2:limit-count);
|
||||
count+= (limit>=count+2)?2:limit-count;
|
||||
|
@ -366,7 +366,7 @@ static void efuse_read_phymap_from_txpktbuf(
|
|||
|
||||
rtw_write8(adapter, REG_PKT_BUFF_ACCESS_CTRL, DISABLE_TRXPKT_BUF_ACCESS);
|
||||
|
||||
DBG_871X("%s read count:%u\n", __FUNCTION__, count);
|
||||
DBG_88E("%s read count:%u\n", __FUNCTION__, count);
|
||||
*size = count;
|
||||
}
|
||||
|
||||
|
@ -389,9 +389,9 @@ static s32 iol_read_efuse(
|
|||
memset(physical_map, 0xFF, 512);
|
||||
|
||||
/* reg_0x106 = rtw_read8(padapter, REG_PKT_BUFF_ACCESS_CTRL); */
|
||||
/* DBG_871X("%s reg_0x106:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0x106, 0x69); */
|
||||
/* DBG_88E("%s reg_0x106:0x%02x, write 0x%02x\n", __FUNCTION__, reg_0x106, 0x69); */
|
||||
rtw_write8(padapter, REG_PKT_BUFF_ACCESS_CTRL, TXPKT_BUF_SELECT);
|
||||
/* DBG_871X("%s reg_0x106:0x%02x\n", __FUNCTION__, rtw_read8(padapter, 0x106)); */
|
||||
/* DBG_88E("%s reg_0x106:0x%02x\n", __FUNCTION__, rtw_read8(padapter, 0x106)); */
|
||||
|
||||
status = iol_execute(padapter, CMD_READ_EFUSE_MAP);
|
||||
|
||||
|
@ -426,7 +426,7 @@ static s32 iol_ioconfig(
|
|||
{
|
||||
s32 rst = _SUCCESS;
|
||||
|
||||
/* DBG_871X("%s iocfg_bndy:%u\n", __FUNCTION__, iocfg_bndy); */
|
||||
/* DBG_88E("%s iocfg_bndy:%u\n", __FUNCTION__, iocfg_bndy); */
|
||||
rtw_write8(padapter, REG_TDECTRL+1, iocfg_bndy);
|
||||
rst = iol_execute(padapter, CMD_IOCONFIG);
|
||||
|
||||
|
@ -726,7 +726,7 @@ void _8051Reset88E(struct adapter *padapter)
|
|||
_MCUIO_Reset88E(padapter,false);
|
||||
rtw_write8(padapter, REG_SYS_FUNC_EN+1, u1bTmp|(BIT2));
|
||||
|
||||
DBG_871X("=====> _8051Reset88E(): 8051 reset success .\n");
|
||||
DBG_88E("=====> _8051Reset88E(): 8051 reset success .\n");
|
||||
}
|
||||
|
||||
static s32 _FWFreeToGo(struct adapter *padapter)
|
||||
|
@ -742,10 +742,10 @@ static s32 _FWFreeToGo(struct adapter *padapter)
|
|||
} while (counter++ < POLLING_READY_TIMEOUT_COUNT);
|
||||
|
||||
if (counter >= POLLING_READY_TIMEOUT_COUNT) {
|
||||
DBG_871X("%s: chksum report fail! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
DBG_88E("%s: chksum report fail! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
return _FAIL;
|
||||
}
|
||||
DBG_871X("%s: Checksum report OK! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
DBG_88E("%s: Checksum report OK! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
|
||||
|
||||
value32 = rtw_read32(padapter, REG_MCUFWDL);
|
||||
|
@ -760,13 +760,13 @@ static s32 _FWFreeToGo(struct adapter *padapter)
|
|||
do {
|
||||
value32 = rtw_read32(padapter, REG_MCUFWDL);
|
||||
if (value32 & WINTINI_RDY) {
|
||||
DBG_871X("%s: Polling FW ready success!! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
DBG_88E("%s: Polling FW ready success!! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
return _SUCCESS;
|
||||
}
|
||||
rtw_udelay_os(5);
|
||||
} while (counter++ < POLLING_READY_TIMEOUT_COUNT);
|
||||
|
||||
DBG_871X ("%s: Polling FW ready fail!! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
DBG_88E ("%s: Polling FW ready fail!! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
|
@ -803,7 +803,7 @@ static int load_firmware(struct rt_firmware *pFirmware, struct device *device, c
|
|||
memcpy(pFirmware->szFwBuffer, fw->data, fw->size);
|
||||
pFirmware->ulFwLength = fw->size;
|
||||
release_firmware(fw);
|
||||
DBG_871X_LEVEL(_drv_info_, "+%s: !bUsedWoWLANFw, FmrmwareLen:%d+\n", __func__, pFirmware->ulFwLength);
|
||||
DBG_88E_LEVEL(_drv_info_, "+%s: !bUsedWoWLANFw, FmrmwareLen:%d+\n", __func__, pFirmware->ulFwLength);
|
||||
|
||||
Exit:
|
||||
return rtStatus;
|
||||
|
@ -873,19 +873,19 @@ s32 rtl8188e_FirmwareDownload(struct adapter *padapter)
|
|||
(rtw_get_passing_time_ms(fwdl_start_time) > 500 && writeFW_retry++ >= 3))
|
||||
break;
|
||||
|
||||
DBG_871X("%s writeFW_retry:%u, time after fwdl_start_time:%ums\n",
|
||||
DBG_88E("%s writeFW_retry:%u, time after fwdl_start_time:%ums\n",
|
||||
__func__, writeFW_retry, rtw_get_passing_time_ms(fwdl_start_time)
|
||||
);
|
||||
}
|
||||
_FWDownloadEnable(padapter, false);
|
||||
if (_SUCCESS != rtStatus) {
|
||||
DBG_871X("DL Firmware failed!\n");
|
||||
DBG_88E("DL Firmware failed!\n");
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
rtStatus = _FWFreeToGo(padapter);
|
||||
if (_SUCCESS != rtStatus) {
|
||||
DBG_871X("DL Firmware failed!\n");
|
||||
DBG_88E("DL Firmware failed!\n");
|
||||
goto Exit;
|
||||
}
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_, ("Firmware is ready to run!\n"));
|
||||
|
@ -1080,14 +1080,14 @@ Hal_EfuseReadEFuse88E(
|
|||
efuseTbl = (u8*)rtw_zmalloc(EFUSE_MAP_LEN_88E);
|
||||
if (efuseTbl == NULL)
|
||||
{
|
||||
DBG_871X("%s: alloc efuseTbl fail!\n", __FUNCTION__);
|
||||
DBG_88E("%s: alloc efuseTbl fail!\n", __FUNCTION__);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
eFuseWord= (u16 **)rtw_malloc2d(EFUSE_MAX_SECTION_88E, EFUSE_MAX_WORD_UNIT, sizeof(u16));
|
||||
if (eFuseWord == NULL)
|
||||
{
|
||||
DBG_871X("%s: alloc eFuseWord fail!\n", __FUNCTION__);
|
||||
DBG_88E("%s: alloc eFuseWord fail!\n", __FUNCTION__);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -1109,7 +1109,7 @@ Hal_EfuseReadEFuse88E(
|
|||
}
|
||||
else
|
||||
{
|
||||
DBG_871X("EFUSE is empty efuse_Addr-%d efuse_data=%x\n", eFuse_Addr, *rtemp8);
|
||||
DBG_88E("EFUSE is empty efuse_Addr-%d efuse_data=%x\n", eFuse_Addr, *rtemp8);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -1335,16 +1335,16 @@ exit:
|
|||
if (_rtw_memcmp(logical_map, Adapter->eeprompriv.efuse_eeprom_data, 0x130) == false)
|
||||
{
|
||||
int i;
|
||||
DBG_871X("%s compare first 0x130 byte fail\n", __FUNCTION__);
|
||||
DBG_88E("%s compare first 0x130 byte fail\n", __FUNCTION__);
|
||||
for (i=0;i<512;i++)
|
||||
{
|
||||
if (i%16== 0)
|
||||
DBG_871X("0x%03x: ", i);
|
||||
DBG_871X("%02x ", logical_map[i]);
|
||||
DBG_88E("0x%03x: ", i);
|
||||
DBG_88E("%02x ", logical_map[i]);
|
||||
if (i%16==15)
|
||||
DBG_871X("\n");
|
||||
DBG_88E("\n");
|
||||
}
|
||||
DBG_871X("\n");
|
||||
DBG_88E("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -2605,10 +2605,10 @@ void rtl8188e_stop_thread(struct adapter *padapter)
|
|||
static void hal_notch_filter_8188e(struct adapter *adapter, bool enable)
|
||||
{
|
||||
if (enable) {
|
||||
DBG_871X("Enable notch filter\n");
|
||||
DBG_88E("Enable notch filter\n");
|
||||
rtw_write8(adapter, rOFDM0_RxDSP+1, rtw_read8(adapter, rOFDM0_RxDSP+1) | BIT1);
|
||||
} else {
|
||||
DBG_871X("Disable notch filter\n");
|
||||
DBG_88E("Disable notch filter\n");
|
||||
rtw_write8(adapter, rOFDM0_RxDSP+1, rtw_read8(adapter, rOFDM0_RxDSP+1) & ~BIT1);
|
||||
}
|
||||
}
|
||||
|
@ -2843,7 +2843,7 @@ Hal_EfuseParseIDCode88E(
|
|||
pEEPROM->bautoload_fail_flag = false;
|
||||
}
|
||||
|
||||
DBG_871X("EEPROM ID=0x%04x\n", EEPROMId);
|
||||
DBG_88E("EEPROM ID=0x%04x\n", EEPROMId);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -3176,9 +3176,9 @@ Hal_ReadTxPowerInfo88E(
|
|||
|
||||
if (bIn24G)
|
||||
{
|
||||
DBG_871X("======= Path %d, Channel %d =======\n",rfPath,ch+1 );
|
||||
DBG_871X("Index24G_CCK_Base[%d][%d] = 0x%x\n",rfPath,ch+1 ,pHalData->Index24G_CCK_Base[rfPath][ch]);
|
||||
DBG_871X("Index24G_BW40_Base[%d][%d] = 0x%x\n",rfPath,ch+1 ,pHalData->Index24G_BW40_Base[rfPath][ch]);
|
||||
DBG_88E("======= Path %d, Channel %d =======\n",rfPath,ch+1 );
|
||||
DBG_88E("Index24G_CCK_Base[%d][%d] = 0x%x\n",rfPath,ch+1 ,pHalData->Index24G_CCK_Base[rfPath][ch]);
|
||||
DBG_88E("Index24G_BW40_Base[%d][%d] = 0x%x\n",rfPath,ch+1 ,pHalData->Index24G_BW40_Base[rfPath][ch]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3189,11 +3189,11 @@ Hal_ReadTxPowerInfo88E(
|
|||
pHalData->BW20_24G_Diff[rfPath][TxCount]=pwrInfo24G.BW20_Diff[rfPath][TxCount];
|
||||
pHalData->BW40_24G_Diff[rfPath][TxCount]=pwrInfo24G.BW40_Diff[rfPath][TxCount];
|
||||
#if DBG
|
||||
DBG_871X("======= TxCount %d =======\n",TxCount );
|
||||
DBG_871X("CCK_24G_Diff[%d][%d]= %d\n",rfPath,TxCount,pHalData->CCK_24G_Diff[rfPath][TxCount]);
|
||||
DBG_871X("OFDM_24G_Diff[%d][%d]= %d\n",rfPath,TxCount,pHalData->OFDM_24G_Diff[rfPath][TxCount]);
|
||||
DBG_871X("BW20_24G_Diff[%d][%d]= %d\n",rfPath,TxCount,pHalData->BW20_24G_Diff[rfPath][TxCount]);
|
||||
DBG_871X("BW40_24G_Diff[%d][%d]= %d\n",rfPath,TxCount,pHalData->BW40_24G_Diff[rfPath][TxCount]);
|
||||
DBG_88E("======= TxCount %d =======\n",TxCount );
|
||||
DBG_88E("CCK_24G_Diff[%d][%d]= %d\n",rfPath,TxCount,pHalData->CCK_24G_Diff[rfPath][TxCount]);
|
||||
DBG_88E("OFDM_24G_Diff[%d][%d]= %d\n",rfPath,TxCount,pHalData->OFDM_24G_Diff[rfPath][TxCount]);
|
||||
DBG_88E("BW20_24G_Diff[%d][%d]= %d\n",rfPath,TxCount,pHalData->BW20_24G_Diff[rfPath][TxCount]);
|
||||
DBG_88E("BW40_24G_Diff[%d][%d]= %d\n",rfPath,TxCount,pHalData->BW40_24G_Diff[rfPath][TxCount]);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -3216,7 +3216,7 @@ Hal_ReadTxPowerInfo88E(
|
|||
{
|
||||
pHalData->EEPROMRegulatory = 0;
|
||||
}
|
||||
DBG_871X("EEPROMRegulatory = 0x%x\n", pHalData->EEPROMRegulatory);
|
||||
DBG_88E("EEPROMRegulatory = 0x%x\n", pHalData->EEPROMRegulatory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -3240,7 +3240,7 @@ Hal_EfuseParseXtal_8188E(
|
|||
{
|
||||
pHalData->CrystalCap = EEPROM_Default_CrystalCap_88E;
|
||||
}
|
||||
DBG_871X("CrystalCap: 0x%2x\n", pHalData->CrystalCap);
|
||||
DBG_88E("CrystalCap: 0x%2x\n", pHalData->CrystalCap);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -3256,7 +3256,7 @@ Hal_EfuseParseBoardType88E(
|
|||
pHalData->BoardType = ((hwinfo[EEPROM_RF_BOARD_OPTION_88E]&0xE0)>>5);
|
||||
else
|
||||
pHalData->BoardType = 0;
|
||||
DBG_871X("Board Type: 0x%2x\n", pHalData->BoardType);
|
||||
DBG_88E("Board Type: 0x%2x\n", pHalData->BoardType);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -3295,7 +3295,7 @@ rtl8188e_EfuseParseChnlPlan(
|
|||
, AutoLoadFail
|
||||
);
|
||||
|
||||
DBG_871X("mlmepriv.ChannelPlan = 0x%02x\n", padapter->mlmepriv.ChannelPlan);
|
||||
DBG_88E("mlmepriv.ChannelPlan = 0x%02x\n", padapter->mlmepriv.ChannelPlan);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -3317,8 +3317,8 @@ Hal_EfuseParseCustomerID88E(
|
|||
pHalData->EEPROMCustomerID = 0;
|
||||
pHalData->EEPROMSubCustomerID = 0;
|
||||
}
|
||||
DBG_871X("EEPROM Customer ID: 0x%2x\n", pHalData->EEPROMCustomerID);
|
||||
/* DBG_871X("EEPROM SubCustomer ID: 0x%02x\n", pHalData->EEPROMSubCustomerID); */
|
||||
DBG_88E("EEPROM Customer ID: 0x%2x\n", pHalData->EEPROMCustomerID);
|
||||
/* DBG_88E("EEPROM SubCustomer ID: 0x%02x\n", pHalData->EEPROMSubCustomerID); */
|
||||
}
|
||||
|
||||
|
||||
|
@ -3365,7 +3365,7 @@ Hal_ReadAntennaDiversity88E(
|
|||
pHalData->TRxAntDivType = pHalData->TRxAntDivType; /* The value in the driver setting of device manager. */
|
||||
}
|
||||
|
||||
DBG_871X("EEPROM : AntDivCfg = %x, TRxAntDivType = %x\n",pHalData->AntDivCfg, pHalData->TRxAntDivType);
|
||||
DBG_88E("EEPROM : AntDivCfg = %x, TRxAntDivType = %x\n",pHalData->AntDivCfg, pHalData->TRxAntDivType);
|
||||
|
||||
|
||||
}
|
||||
|
@ -3395,7 +3395,7 @@ Hal_ReadThermalMeter_88E(
|
|||
}
|
||||
|
||||
/* pHalData->ThermalMeter[0] = pHalData->EEPROMThermalMeter; */
|
||||
DBG_871X("ThermalMeter = 0x%x\n", pHalData->EEPROMThermalMeter);
|
||||
DBG_88E("ThermalMeter = 0x%x\n", pHalData->EEPROMThermalMeter);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1872,7 +1872,7 @@ static void _PHY_SwChnl8192C(struct adapter *Adapter, u8 channel)
|
|||
|
||||
if ( Adapter->bNotifyChannelChange )
|
||||
{
|
||||
DBG_871X( "[%s] ch = %d\n", __FUNCTION__, channel );
|
||||
DBG_88E( "[%s] ch = %d\n", __FUNCTION__, channel );
|
||||
}
|
||||
|
||||
/* s1. pre common command - CmdID_SetTxPowerLevel */
|
||||
|
|
|
@ -295,7 +295,7 @@ static void getPowerBase88E(
|
|||
|
||||
powerBase0 = (powerBase0<<24) | (powerBase0<<16) |(powerBase0<<8) |powerBase0;
|
||||
*(OfdmBase+i) = powerBase0;
|
||||
/* DBG_871X(" [OFDM power base index rf(%c) = 0x%x]\n", ((i== 0)?'A':'B'), *(OfdmBase+i)); */
|
||||
/* DBG_88E(" [OFDM power base index rf(%c) = 0x%x]\n", ((i== 0)?'A':'B'), *(OfdmBase+i)); */
|
||||
}
|
||||
|
||||
for (i=0; i<pHalData->NumTotalRFPath; i++)
|
||||
|
@ -312,7 +312,7 @@ static void getPowerBase88E(
|
|||
powerBase1 = powerlevel[i];
|
||||
powerBase1 = (powerBase1<<24) | (powerBase1<<16) |(powerBase1<<8) |powerBase1;
|
||||
*(MCSBase+i) = powerBase1;
|
||||
/* DBG_871X(" [MCS power base index rf(%c) = 0x%x]\n", ((i== 0)?'A':'B'), *(MCSBase+i)); */
|
||||
/* DBG_88E(" [MCS power base index rf(%c) = 0x%x]\n", ((i== 0)?'A':'B'), *(MCSBase+i)); */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -541,7 +541,7 @@ rtl8188e_PHY_RF6052SetOFDMTxPower(
|
|||
u8 index = 0;
|
||||
|
||||
|
||||
/* DBG_871X("PHY_RF6052SetOFDMTxPower, channel(%d)\n", Channel); */
|
||||
/* DBG_88E("PHY_RF6052SetOFDMTxPower, channel(%d)\n", Channel); */
|
||||
|
||||
getPowerBase88E(Adapter, pPowerLevelOFDM,pPowerLevelBW20,pPowerLevelBW40, Channel, &powerBase0[0], &powerBase1[0]);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ void rtl8188e_sreset_xmit_status_check(struct adapter *padapter)
|
|||
u32 txdma_status;
|
||||
|
||||
if ( (txdma_status=rtw_read32(padapter, REG_TXDMA_STATUS)) !=0x00) {
|
||||
DBG_871X("%s REG_TXDMA_STATUS:0x%08x\n", __FUNCTION__, txdma_status);
|
||||
DBG_88E("%s REG_TXDMA_STATUS:0x%08x\n", __FUNCTION__, txdma_status);
|
||||
rtw_hal_sreset_reset(padapter);
|
||||
}
|
||||
current_time = jiffies;
|
||||
|
@ -53,7 +53,7 @@ void rtl8188e_sreset_xmit_status_check(struct adapter *padapter)
|
|||
|
||||
rtw_hal_get_def_var(padapter, HAL_DEF_DBG_DM_FUNC, &ability);
|
||||
|
||||
DBG_871X("%s tx hang %s\n", __FUNCTION__,
|
||||
DBG_88E("%s tx hang %s\n", __FUNCTION__,
|
||||
(ability & ODM_BB_ADAPTIVITY)? "ODM_BB_ADAPTIVITY" : "");
|
||||
|
||||
if (!(ability & ODM_BB_ADAPTIVITY))
|
||||
|
|
|
@ -28,7 +28,7 @@ void dump_txrpt_ccx_88e(void *buf)
|
|||
{
|
||||
struct txrpt_ccx_88e *txrpt_ccx = (struct txrpt_ccx_88e *)buf;
|
||||
|
||||
DBG_871X("%s:\n"
|
||||
DBG_88E("%s:\n"
|
||||
"tag1:%u, pkt_num:%u, txdma_underflow:%u, int_bt:%u, int_tri:%u, int_ccx:%u\n"
|
||||
"mac_id:%u, pkt_ok:%u, bmc:%u\n"
|
||||
"retry_cnt:%u, lifetime_over:%u, retry_over:%u\n"
|
||||
|
@ -68,13 +68,13 @@ void _dbg_dump_tx_info(struct adapter *padapter,int frame_tag,struct tx_desc *pt
|
|||
rtw_hal_get_def_var(padapter, HAL_DEF_DBG_DUMP_TXPKT, &(bDumpTxPkt));
|
||||
|
||||
if (bDumpTxPkt ==1) {/* dump txdesc for data frame */
|
||||
DBG_871X("dump tx_desc for data frame\n");
|
||||
DBG_88E("dump tx_desc for data frame\n");
|
||||
if ((frame_tag&0x0f) == DATA_FRAMETAG) {
|
||||
bDumpTxDesc = true;
|
||||
}
|
||||
}
|
||||
else if (bDumpTxPkt ==2) {/* dump txdesc for mgnt frame */
|
||||
DBG_871X("dump tx_desc for mgnt frame\n");
|
||||
DBG_88E("dump tx_desc for mgnt frame\n");
|
||||
if ((frame_tag&0x0f) == MGNT_FRAMETAG) {
|
||||
bDumpTxDesc = true;
|
||||
}
|
||||
|
|
|
@ -367,7 +367,7 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag
|
|||
#ifdef DBG_CCX
|
||||
static u16 ccx_sw = 0x123;
|
||||
ptxdesc->txdw7 |= cpu_to_le32(((ccx_sw)<<16)&0x0fff0000);
|
||||
DBG_871X("%s set ccx, sw:0x%03x\n", __func__, ccx_sw);
|
||||
DBG_88E("%s set ccx, sw:0x%03x\n", __func__, ccx_sw);
|
||||
ccx_sw = (ccx_sw+1)%0xfff;
|
||||
#endif
|
||||
ptxdesc->txdw2 |= cpu_to_le32(BIT(19));
|
||||
|
@ -385,7 +385,7 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag
|
|||
|
||||
#ifdef CONFIG_INTEL_PROXIM
|
||||
if ((padapter->proximity.proxim_on==true)&&(pattrib->intel_proxim==true)) {
|
||||
DBG_871X("\n %s pattrib->rate=%d\n",__FUNCTION__,pattrib->rate);
|
||||
DBG_88E("\n %s pattrib->rate=%d\n",__FUNCTION__,pattrib->rate);
|
||||
ptxdesc->txdw5 |= cpu_to_le32( pattrib->rate);
|
||||
}
|
||||
else
|
||||
|
@ -568,7 +568,7 @@ s32 rtl8188eu_xmitframe_complete(struct adapter *padapter, struct xmit_priv *pxm
|
|||
if (pxmitbuf == NULL) {
|
||||
pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv);
|
||||
if (pxmitbuf == NULL) {
|
||||
/* DBG_871X("%s #1, connot alloc xmitbuf!!!!\n",__FUNCTION__); */
|
||||
/* DBG_88E("%s #1, connot alloc xmitbuf!!!!\n",__FUNCTION__); */
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -614,7 +614,7 @@ s32 rtl8188eu_xmitframe_complete(struct adapter *padapter, struct xmit_priv *pxm
|
|||
pxmitframe->pkt_offset = 1; /* first frame of aggregation, reserve offset */
|
||||
|
||||
if (rtw_xmitframe_coalesce(padapter, pxmitframe->pkt, pxmitframe) == false) {
|
||||
DBG_871X("%s coalesce 1st xmitframe failed\n",__FUNCTION__);
|
||||
DBG_88E("%s coalesce 1st xmitframe failed\n",__FUNCTION__);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -644,13 +644,13 @@ s32 rtl8188eu_xmitframe_complete(struct adapter *padapter, struct xmit_priv *pxm
|
|||
/* psta = pfirstframe->attrib.psta; */
|
||||
psta = rtw_get_stainfo(&padapter->stapriv, pfirstframe->attrib.ra);
|
||||
if (pfirstframe->attrib.psta != psta) {
|
||||
DBG_871X("%s, pattrib->psta(%p) != psta(%p)\n", __func__, pfirstframe->attrib.psta, psta);
|
||||
DBG_88E("%s, pattrib->psta(%p) != psta(%p)\n", __func__, pfirstframe->attrib.psta, psta);
|
||||
}
|
||||
if (psta == NULL) {
|
||||
DBG_8192C("rtw_xmit_classifier: psta == NULL\n");
|
||||
}
|
||||
if (!(psta->state &_FW_LINKED)) {
|
||||
DBG_871X("%s, psta->state(0x%x) != _FW_LINKED\n", __func__, psta->state);
|
||||
DBG_88E("%s, psta->state(0x%x) != _FW_LINKED\n", __func__, psta->state);
|
||||
}
|
||||
|
||||
switch (pfirstframe->attrib.priority) {
|
||||
|
@ -731,7 +731,7 @@ s32 rtl8188eu_xmitframe_complete(struct adapter *padapter, struct xmit_priv *pxm
|
|||
pxmitframe->buf_addr = pxmitbuf->pbuf + pbuf;
|
||||
|
||||
if (rtw_xmitframe_coalesce(padapter, pxmitframe->pkt, pxmitframe) == false) {
|
||||
DBG_871X("%s coalesce failed\n",__FUNCTION__);
|
||||
DBG_88E("%s coalesce failed\n",__FUNCTION__);
|
||||
rtw_free_xmitframe(pxmitpriv, pxmitframe);
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ _ConfigNormalChipOutEP_8188E(
|
|||
break;
|
||||
|
||||
}
|
||||
DBG_871X("%s OutEpQueueSel(0x%02x), OutEpNumber(%d)\n",__FUNCTION__,pHalData->OutEpQueueSel,pHalData->OutEpNumber );
|
||||
DBG_88E("%s OutEpQueueSel(0x%02x), OutEpNumber(%d)\n",__FUNCTION__,pHalData->OutEpQueueSel,pHalData->OutEpNumber );
|
||||
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ static u32 InitPowerOn_rtl8188eu(struct adapter *padapter)
|
|||
|
||||
if (!HalPwrSeqCmdParsing(padapter, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_USB_MSK, Rtl8188E_NIC_PWR_ON_FLOW))
|
||||
{
|
||||
DBG_871X(KERN_ERR "%s: run power on flow fail\n", __func__);
|
||||
DBG_88E(KERN_ERR "%s: run power on flow fail\n", __func__);
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
|
@ -1301,7 +1301,7 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
|||
#endif /* MP_DRIVER == 1 */
|
||||
status = rtl8188e_FirmwareDownload(Adapter);
|
||||
if (status != _SUCCESS) {
|
||||
DBG_871X("%s: Download Firmware failed!!\n", __FUNCTION__);
|
||||
DBG_88E("%s: Download Firmware failed!!\n", __FUNCTION__);
|
||||
Adapter->bFWReady = false;
|
||||
pHalData->fw_ractrl = false;
|
||||
return status;
|
||||
|
@ -1317,7 +1317,7 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
|||
status = PHY_MACConfig8188E(Adapter);
|
||||
if (status == _FAIL)
|
||||
{
|
||||
DBG_871X(" ### Failed to init MAC ......\n ");
|
||||
DBG_88E(" ### Failed to init MAC ......\n ");
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
|
@ -1330,7 +1330,7 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
|||
status = PHY_BBConfig8188E(Adapter);
|
||||
if (status == _FAIL)
|
||||
{
|
||||
DBG_871X(" ### Failed to init BB ......\n ");
|
||||
DBG_88E(" ### Failed to init BB ......\n ");
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
|
@ -1341,7 +1341,7 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
|||
status = PHY_RFConfig8188E(Adapter);
|
||||
if (status == _FAIL)
|
||||
{
|
||||
DBG_871X(" ### Failed to init RF ......\n ");
|
||||
DBG_88E(" ### Failed to init RF ......\n ");
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
|
@ -1349,7 +1349,7 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
|||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_EFUSE_PATCH);
|
||||
status = rtl8188e_iol_efuse_patch(Adapter);
|
||||
if (status == _FAIL) {
|
||||
DBG_871X("%s rtl8188e_iol_efuse_patch failed\n",__FUNCTION__);
|
||||
DBG_88E("%s rtl8188e_iol_efuse_patch failed\n",__FUNCTION__);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -1522,13 +1522,13 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
|||
exit:
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_END);
|
||||
|
||||
DBG_871X("%s in %dms\n", __FUNCTION__, rtw_get_passing_time_ms(init_start_time));
|
||||
DBG_88E("%s in %dms\n", __FUNCTION__, rtw_get_passing_time_ms(init_start_time));
|
||||
|
||||
#ifdef DBG_HAL_INIT_PROFILING
|
||||
hal_init_stages_timestamp[HAL_INIT_STAGES_END]=jiffies;
|
||||
|
||||
for (hal_init_profiling_i=0;hal_init_profiling_i<HAL_INIT_STAGES_NUM-1;hal_init_profiling_i++) {
|
||||
DBG_871X("DBG_HAL_INIT_PROFILING: %35s, %u, %5u, %5u\n"
|
||||
DBG_88E("DBG_HAL_INIT_PROFILING: %35s, %u, %5u, %5u\n"
|
||||
, hal_init_stages_str[hal_init_profiling_i]
|
||||
, hal_init_stages_timestamp[hal_init_profiling_i]
|
||||
, (hal_init_stages_timestamp[hal_init_profiling_i+1]-hal_init_stages_timestamp[hal_init_profiling_i])
|
||||
|
@ -1695,7 +1695,7 @@ static unsigned int rtl8188eu_inirp_init(struct adapter *Adapter)
|
|||
if (pHalData->RtIntInPipe != 0x05)
|
||||
{
|
||||
status = _FAIL;
|
||||
DBG_871X("%s =>Warning !! Have not USB Int-IN pipe, pHalData->RtIntInPipe(%d)!!!\n",__FUNCTION__,pHalData->RtIntInPipe);
|
||||
DBG_88E("%s =>Warning !! Have not USB Int-IN pipe, pHalData->RtIntInPipe(%d)!!!\n",__FUNCTION__,pHalData->RtIntInPipe);
|
||||
goto exit;
|
||||
}
|
||||
_read_interrupt = pintfhdl->io_ops._read_interrupt;
|
||||
|
@ -1857,8 +1857,8 @@ Hal_EfuseParsePIDVID_8188EU(
|
|||
pHalData->EEPROMSubCustomerID = EEPROM_Default_SubCustomerID;
|
||||
}
|
||||
|
||||
DBG_871X("VID = 0x%04X, PID = 0x%04X\n", pHalData->EEPROMVID, pHalData->EEPROMPID);
|
||||
DBG_871X("Customer ID: 0x%02X, SubCustomer ID: 0x%02X\n", pHalData->EEPROMCustomerID, pHalData->EEPROMSubCustomerID);
|
||||
DBG_88E("VID = 0x%04X, PID = 0x%04X\n", pHalData->EEPROMVID, pHalData->EEPROMPID);
|
||||
DBG_88E("Customer ID: 0x%02X, SubCustomer ID: 0x%02X\n", pHalData->EEPROMCustomerID, pHalData->EEPROMSubCustomerID);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -2088,7 +2088,7 @@ static void hw_var_set_opmode(struct adapter *Adapter, u8 variable, u8* val)
|
|||
val8 |= mode;
|
||||
rtw_write8(Adapter, MSR, val8);
|
||||
|
||||
DBG_871X("%s()-%d mode = %d\n", __FUNCTION__, __LINE__, mode);
|
||||
DBG_88E("%s()-%d mode = %d\n", __FUNCTION__, __LINE__, mode);
|
||||
|
||||
if ((mode == _HW_STATE_STATION_) || (mode == _HW_STATE_NOLINK_))
|
||||
{
|
||||
|
@ -2141,7 +2141,7 @@ static void hw_var_set_opmode(struct adapter *Adapter, u8 variable, u8* val)
|
|||
/* Reset TSF for STA+AP concurrent mode */
|
||||
if ( check_buddy_fwstate(Adapter, (WIFI_STATION_STATE|WIFI_ASOC_STATE)) ) {
|
||||
if (reset_tsf(Adapter, IFACE_PORT0) == false)
|
||||
DBG_871X("ERROR! %s()-%d: Reset port0 TSF fail\n",
|
||||
DBG_88E("ERROR! %s()-%d: Reset port0 TSF fail\n",
|
||||
__FUNCTION__, __LINE__);
|
||||
}
|
||||
#endif /* CONFIG_TSF_RESET_OFFLOAD */
|
||||
|
@ -2446,11 +2446,11 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
break;
|
||||
case HW_VAR_ON_RCR_AM:
|
||||
rtw_write32(Adapter, REG_RCR, rtw_read32(Adapter, REG_RCR)|RCR_AM);
|
||||
DBG_871X("%s, %d, RCR= %x\n", __FUNCTION__,__LINE__, rtw_read32(Adapter, REG_RCR));
|
||||
DBG_88E("%s, %d, RCR= %x\n", __FUNCTION__,__LINE__, rtw_read32(Adapter, REG_RCR));
|
||||
break;
|
||||
case HW_VAR_OFF_RCR_AM:
|
||||
rtw_write32(Adapter, REG_RCR, rtw_read32(Adapter, REG_RCR)& (~RCR_AM));
|
||||
DBG_871X("%s, %d, RCR= %x\n", __FUNCTION__,__LINE__, rtw_read32(Adapter, REG_RCR));
|
||||
DBG_88E("%s, %d, RCR= %x\n", __FUNCTION__,__LINE__, rtw_read32(Adapter, REG_RCR));
|
||||
break;
|
||||
case HW_VAR_BEACON_INTERVAL:
|
||||
rtw_write16(Adapter, REG_BCN_INTERVAL, *((u16 *)val));
|
||||
|
@ -2507,7 +2507,7 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
break;
|
||||
case HW_VAR_DM_FLAG:
|
||||
podmpriv->SupportAbility = *((u8 *)val);
|
||||
/* DBG_871X("HW_VAR_DM_FLAG ==> SupportAbility:0x%08x\n",podmpriv->SupportAbility ); */
|
||||
/* DBG_88E("HW_VAR_DM_FLAG ==> SupportAbility:0x%08x\n",podmpriv->SupportAbility ); */
|
||||
break;
|
||||
case HW_VAR_DM_FUNC_OP:
|
||||
if (val[0])
|
||||
|
@ -2518,7 +2518,7 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
{/* restore dm flag */
|
||||
podmpriv->SupportAbility = podmpriv->BK_SupportAbility;
|
||||
}
|
||||
/* DBG_871X("HW_VAR_DM_FUNC_OP ==> %s SupportAbility:0x%08x\n", */
|
||||
/* DBG_88E("HW_VAR_DM_FUNC_OP ==> %s SupportAbility:0x%08x\n", */
|
||||
/* (val[0]==1)?"Save":"Restore", */
|
||||
/* podmpriv->SupportAbility */
|
||||
/* ); */
|
||||
|
@ -2531,7 +2531,7 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
else {
|
||||
podmpriv->SupportAbility |= *((u32 *)val);
|
||||
}
|
||||
/* DBG_871X("HW_VAR_DM_FUNC_SET ==> SupportAbility:0x%08x\n",podmpriv->SupportAbility ); */
|
||||
/* DBG_88E("HW_VAR_DM_FUNC_SET ==> SupportAbility:0x%08x\n",podmpriv->SupportAbility ); */
|
||||
break;
|
||||
case HW_VAR_DM_FUNC_CLR:
|
||||
podmpriv->SupportAbility &= *((u32 *)val);
|
||||
|
@ -2617,7 +2617,7 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
else
|
||||
AcmCtrl &= (~AcmHw_BeqEn);
|
||||
|
||||
DBG_871X("[HW_VAR_ACM_CTRL] Write 0x%X\n", AcmCtrl );
|
||||
DBG_88E("[HW_VAR_ACM_CTRL] Write 0x%X\n", AcmCtrl );
|
||||
rtw_write8(Adapter, REG_ACMHWCTRL, AcmCtrl );
|
||||
}
|
||||
break;
|
||||
|
@ -2825,13 +2825,13 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
break;
|
||||
case HW_VAR_APFM_ON_MAC:
|
||||
pHalData->bMacPwrCtrlOn = *val;
|
||||
DBG_871X("%s: bMacPwrCtrlOn=%d\n", __func__, pHalData->bMacPwrCtrlOn);
|
||||
DBG_88E("%s: bMacPwrCtrlOn=%d\n", __func__, pHalData->bMacPwrCtrlOn);
|
||||
break;
|
||||
#if (RATE_ADAPTIVE_SUPPORT == 1)
|
||||
case HW_VAR_TX_RPT_MAX_MACID:
|
||||
{
|
||||
u8 maxMacid = *val;
|
||||
DBG_871X("### MacID(%d),Set Max Tx RPT MID(%d)\n",maxMacid,maxMacid+1);
|
||||
DBG_88E("### MacID(%d),Set Max Tx RPT MID(%d)\n",maxMacid,maxMacid+1);
|
||||
rtw_write8(Adapter, REG_TX_RPT_CTRL+1, maxMacid+1);
|
||||
}
|
||||
break;
|
||||
|
@ -3015,7 +3015,7 @@ static u8 GetHalDefVar8188EUsb(
|
|||
bLinked = true;
|
||||
|
||||
if (bLinked) {
|
||||
DBG_871X("============ RA status check ===================\n");
|
||||
DBG_88E("============ RA status check ===================\n");
|
||||
if (Adapter->bRxRSSIDisplay >30)
|
||||
Adapter->bRxRSSIDisplay = 1;
|
||||
for (i=0;i< Adapter->bRxRSSIDisplay;i++) {
|
||||
|
@ -3221,7 +3221,7 @@ static void UpdateHalRAMask8188EUsb(struct adapter *padapter, u32 mac_id, u8 rss
|
|||
if (shortGIrate==true)
|
||||
arg |= BIT(5);
|
||||
mask |= ((raid<<28)&0xf0000000);
|
||||
DBG_871X("update raid entry, mask=0x%x, arg=0x%x\n", mask, arg);
|
||||
DBG_88E("update raid entry, mask=0x%x, arg=0x%x\n", mask, arg);
|
||||
psta->ra_mask=mask;
|
||||
#ifdef CONFIG_INTEL_PROXIM
|
||||
if (padapter->proximity.proxim_on ==true) {
|
||||
|
|
|
@ -301,13 +301,13 @@ static void interrupt_handler_8188eu(struct adapter *padapter,u16 pkt_len,u8 *pb
|
|||
memcpy(&(pHalData->IntArray[1]), &(pbuf[USB_INTR_CONTENT_HISRE_OFFSET]), 4);
|
||||
|
||||
if ( pHalData->IntArray[1] & IMR_TXERR_88E )
|
||||
DBG_871X("===> %s Tx Error Flag Interrupt Status\n",__FUNCTION__);
|
||||
DBG_88E("===> %s Tx Error Flag Interrupt Status\n",__FUNCTION__);
|
||||
if ( pHalData->IntArray[1] & IMR_RXERR_88E )
|
||||
DBG_871X("===> %s Rx Error Flag INT Status\n",__FUNCTION__);
|
||||
DBG_88E("===> %s Rx Error Flag INT Status\n",__FUNCTION__);
|
||||
if ( pHalData->IntArray[1] & IMR_TXFOVW_88E )
|
||||
DBG_871X("===> %s Transmit FIFO Overflow\n",__FUNCTION__);
|
||||
DBG_88E("===> %s Transmit FIFO Overflow\n",__FUNCTION__);
|
||||
if ( pHalData->IntArray[1] & IMR_RXFOVW_88E )
|
||||
DBG_871X("===> %s Receive FIFO Overflow\n",__FUNCTION__);
|
||||
DBG_88E("===> %s Receive FIFO Overflow\n",__FUNCTION__);
|
||||
|
||||
/* C2H Event */
|
||||
if (pbuf[0]!= 0) {
|
||||
|
@ -885,5 +885,5 @@ void rtl8188eu_set_hw_type(struct adapter *padapter)
|
|||
{
|
||||
padapter->chip_type = RTL8188E;
|
||||
padapter->HardwareType = HARDWARE_TYPE_RTL8188EU;
|
||||
DBG_871X("CHIP TYPE: RTL8188E\n");
|
||||
DBG_88E("CHIP TYPE: RTL8188E\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue