staging: rtl8188eu: use __func__ in hal directory
Use __func__ instead of hardcoded function names to clear checkpatch warnings. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20200917071330.31740-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
91bccf883e
commit
a620afdb6d
|
@ -23,7 +23,7 @@ uint rtw_hal_init(struct adapter *adapt)
|
|||
rtw_hal_notch_filter(adapt, 1);
|
||||
} else {
|
||||
adapt->hw_init_completed = false;
|
||||
DBG_88E("rtw_hal_init: hal__init fail\n");
|
||||
DBG_88E("%s: hal__init fail\n", __func__);
|
||||
}
|
||||
|
||||
RT_TRACE(_module_hal_init_c_, _drv_err_,
|
||||
|
@ -41,7 +41,7 @@ uint rtw_hal_deinit(struct adapter *adapt)
|
|||
if (status == _SUCCESS)
|
||||
adapt->hw_init_completed = false;
|
||||
else
|
||||
DBG_88E("\n rtw_hal_deinit: hal_init fail\n");
|
||||
DBG_88E("\n %s: hal_init fail\n", __func__);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
|
|
@ -249,7 +249,7 @@ void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm)
|
|||
|
||||
void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoInit_Debug==>\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("%s==>\n", __func__));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportPlatform=%d\n", pDM_Odm->SupportPlatform));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportAbility=0x%x\n", pDM_Odm->SupportAbility));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportInterface=%d\n", pDM_Odm->SupportInterface));
|
||||
|
@ -267,7 +267,7 @@ void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm)
|
|||
|
||||
void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoHook_Debug==>\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("%s==>\n", __func__));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pNumTxBytesUnicast=%llu\n", *pDM_Odm->pNumTxBytesUnicast));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pNumRxBytesUnicast=%llu\n", *pDM_Odm->pNumRxBytesUnicast));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pWirelessMode=0x%x\n", *pDM_Odm->pWirelessMode));
|
||||
|
@ -282,7 +282,7 @@ void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm)
|
|||
|
||||
void odm_CmnInfoUpdate_Debug(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoUpdate_Debug==>\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("%s==>\n", __func__));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bWIFI_Direct=%d\n", pDM_Odm->bWIFI_Direct));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bWIFI_Display=%d\n", pDM_Odm->bWIFI_Display));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bLinked=%d\n", pDM_Odm->bLinked));
|
||||
|
@ -339,21 +339,21 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
|
|||
u8 dm_dig_max, dm_dig_min;
|
||||
u8 CurrentIGI = pDM_DigTable->CurIGValue;
|
||||
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG()==>\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s()==>\n", __func__));
|
||||
if ((!(pDM_Odm->SupportAbility & ODM_BB_DIG)) || (!(pDM_Odm->SupportAbility & ODM_BB_FA_CNT))) {
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD,
|
||||
("odm_DIG() Return: SupportAbility ODM_BB_DIG or ODM_BB_FA_CNT is disabled\n"));
|
||||
("%s() Return: SupportAbility ODM_BB_DIG or ODM_BB_FA_CNT is disabled\n", __func__));
|
||||
return;
|
||||
}
|
||||
|
||||
if (*pDM_Odm->pbScanInProcess) {
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG() Return: In Scan Progress\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s() Return: In Scan Progress\n", __func__));
|
||||
return;
|
||||
}
|
||||
|
||||
/* add by Neil Chen to avoid PSD is processing */
|
||||
if (!pDM_Odm->bDMInitialGainEnable) {
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG() Return: PSD is Processing\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s() Return: PSD is Processing\n", __func__));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -383,18 +383,18 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
|
|||
else
|
||||
DIG_Dynamic_MIN = pDM_Odm->RSSI_Min;
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD,
|
||||
("odm_DIG() : bOneEntryOnly=true, DIG_Dynamic_MIN=0x%x\n",
|
||||
DIG_Dynamic_MIN));
|
||||
("%s() : bOneEntryOnly=true, DIG_Dynamic_MIN=0x%x\n",
|
||||
__func__, DIG_Dynamic_MIN));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD,
|
||||
("odm_DIG() : pDM_Odm->RSSI_Min=%d\n",
|
||||
pDM_Odm->RSSI_Min));
|
||||
("%s() : pDM_Odm->RSSI_Min=%d\n",
|
||||
__func__, pDM_Odm->RSSI_Min));
|
||||
} else if (pDM_Odm->SupportAbility & ODM_BB_ANT_DIV) {
|
||||
/* 1 Lower Bound for 88E AntDiv */
|
||||
if (pDM_Odm->AntDivType == CG_TRX_HW_ANTDIV) {
|
||||
DIG_Dynamic_MIN = (u8)pDM_DigTable->AntDiv_RSSI_max;
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD,
|
||||
("odm_DIG(): pDM_DigTable->AntDiv_RSSI_max=%d\n",
|
||||
pDM_DigTable->AntDiv_RSSI_max));
|
||||
("%s(): pDM_DigTable->AntDiv_RSSI_max=%d\n",
|
||||
__func__, pDM_DigTable->AntDiv_RSSI_max));
|
||||
}
|
||||
} else {
|
||||
DIG_Dynamic_MIN = dm_dig_min;
|
||||
|
@ -402,7 +402,7 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
|
|||
} else {
|
||||
pDM_DigTable->rx_gain_range_max = dm_dig_max;
|
||||
DIG_Dynamic_MIN = dm_dig_min;
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG() : No Link\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s() : No Link\n", __func__));
|
||||
}
|
||||
|
||||
/* 1 Modify DIG lower bound, deal with abnormally large false alarm */
|
||||
|
@ -433,11 +433,11 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
|
|||
if ((pDM_DigTable->ForbiddenIGI - 1) < DIG_Dynamic_MIN) { /* DM_DIG_MIN) */
|
||||
pDM_DigTable->ForbiddenIGI = DIG_Dynamic_MIN; /* DM_DIG_MIN; */
|
||||
pDM_DigTable->rx_gain_range_min = DIG_Dynamic_MIN; /* DM_DIG_MIN; */
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Normal Case: At Lower Bound\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): Normal Case: At Lower Bound\n", __func__));
|
||||
} else {
|
||||
pDM_DigTable->ForbiddenIGI--;
|
||||
pDM_DigTable->rx_gain_range_min = (pDM_DigTable->ForbiddenIGI + 1);
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Normal Case: Approach Lower Bound\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): Normal Case: Approach Lower Bound\n", __func__));
|
||||
}
|
||||
} else {
|
||||
pDM_DigTable->LargeFAHit = 0;
|
||||
|
@ -445,12 +445,12 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
|
|||
}
|
||||
}
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD,
|
||||
("odm_DIG(): pDM_DigTable->LargeFAHit=%d\n",
|
||||
pDM_DigTable->LargeFAHit));
|
||||
("%s(): pDM_DigTable->LargeFAHit=%d\n",
|
||||
__func__, pDM_DigTable->LargeFAHit));
|
||||
|
||||
/* 1 Adjust initial gain by false alarm */
|
||||
if (pDM_Odm->bLinked) {
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): DIG AfterLink\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): DIG AfterLink\n", __func__));
|
||||
if (FirstConnect) {
|
||||
CurrentIGI = pDM_Odm->RSSI_Min;
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("DIG: First Connect\n"));
|
||||
|
@ -463,10 +463,10 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
|
|||
CurrentIGI = CurrentIGI - 2;/* pDM_DigTable->CurIGValue =pDM_DigTable->PreIGValue-1; */
|
||||
}
|
||||
} else {
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): DIG BeforeLink\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): DIG BeforeLink\n", __func__));
|
||||
if (FirstDisConnect) {
|
||||
CurrentIGI = pDM_DigTable->rx_gain_range_min;
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): First DisConnect\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): First DisConnect\n", __func__));
|
||||
} else {
|
||||
/* 2012.03.30 LukeLee: enable DIG before link but with very high thresholds */
|
||||
if (pFalseAlmCnt->Cnt_all > 10000)
|
||||
|
@ -475,10 +475,10 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
|
|||
CurrentIGI = CurrentIGI + 1;/* pDM_DigTable->CurIGValue = pDM_DigTable->PreIGValue+1; */
|
||||
else if (pFalseAlmCnt->Cnt_all < 500)
|
||||
CurrentIGI = CurrentIGI - 1;/* pDM_DigTable->CurIGValue =pDM_DigTable->PreIGValue-1; */
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): England DIG\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): England DIG\n", __func__));
|
||||
}
|
||||
}
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): DIG End Adjust IGI\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): DIG End Adjust IGI\n", __func__));
|
||||
/* 1 Check initial gain by upper/lower bound */
|
||||
if (CurrentIGI > pDM_DigTable->rx_gain_range_max)
|
||||
CurrentIGI = pDM_DigTable->rx_gain_range_max;
|
||||
|
@ -486,10 +486,10 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
|
|||
CurrentIGI = pDM_DigTable->rx_gain_range_min;
|
||||
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD,
|
||||
("odm_DIG(): rx_gain_range_max=0x%x, rx_gain_range_min=0x%x\n",
|
||||
pDM_DigTable->rx_gain_range_max, pDM_DigTable->rx_gain_range_min));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): TotalFA=%d\n", pFalseAlmCnt->Cnt_all));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): CurIGValue=0x%x\n", CurrentIGI));
|
||||
("%s(): rx_gain_range_max=0x%x, rx_gain_range_min=0x%x\n",
|
||||
__func__, pDM_DigTable->rx_gain_range_max, pDM_DigTable->rx_gain_range_min));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): TotalFA=%d\n", __func__, pFalseAlmCnt->Cnt_all));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("%s(): CurIGValue=0x%x\n", __func__, CurrentIGI));
|
||||
|
||||
/* 2 High power RSSI threshold */
|
||||
|
||||
|
@ -557,7 +557,7 @@ void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm)
|
|||
|
||||
FalseAlmCnt->Cnt_CCA_all = FalseAlmCnt->Cnt_OFDM_CCA + FalseAlmCnt->Cnt_CCK_CCA;
|
||||
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, ("Enter odm_FalseAlarmCounterStatistics\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, ("Enter %s\n", __func__));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD,
|
||||
("Cnt_Fast_Fsync=%d, Cnt_SB_Search_fail=%d\n",
|
||||
FalseAlmCnt->Cnt_Fast_Fsync, FalseAlmCnt->Cnt_SB_Search_fail));
|
||||
|
@ -1015,13 +1015,13 @@ void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm)
|
|||
/* 2011/09/29 MH In HW integration first stage, we provide 4 different handle to operate */
|
||||
/* at the same time. In the stage2/3, we need to prive universal interface and merge all */
|
||||
/* HW dynamic mechanism. */
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("odm_EdcaTurboCheck========================>\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("%s========================>\n", __func__));
|
||||
|
||||
if (!(pDM_Odm->SupportAbility & ODM_MAC_EDCA_TURBO))
|
||||
return;
|
||||
|
||||
odm_EdcaTurboCheckCE(pDM_Odm);
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("<========================odm_EdcaTurboCheck\n"));
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("<========================%s\n", __func__));
|
||||
} /* odm_CheckEdcaTurbo */
|
||||
|
||||
void odm_EdcaTurboCheckCE(struct odm_dm_struct *pDM_Odm)
|
||||
|
|
|
@ -345,7 +345,7 @@ static void dm_txpwr_track_setpwr(struct odm_dm_struct *dm_odm)
|
|||
{
|
||||
if (dm_odm->BbSwingFlagOfdm || dm_odm->BbSwingFlagCck) {
|
||||
ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD,
|
||||
("dm_txpwr_track_setpwr CH=%d\n", *dm_odm->pChannel));
|
||||
("%s CH=%d\n", __func__, *dm_odm->pChannel));
|
||||
phy_set_tx_power_level(dm_odm->Adapter, *dm_odm->pChannel);
|
||||
dm_odm->BbSwingFlagOfdm = false;
|
||||
dm_odm->BbSwingFlagCck = false;
|
||||
|
|
|
@ -26,25 +26,26 @@ u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, u8 cut_vers,
|
|||
pwrcfgcmd = pwrseqcmd[aryidx];
|
||||
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_,
|
||||
("rtl88eu_pwrseqcmdparsing: offset(%#x) cut_msk(%#x)"
|
||||
("%s: offset(%#x) cut_msk(%#x)"
|
||||
" cmd(%#x)"
|
||||
"msk(%#x) value(%#x)\n",
|
||||
GET_PWR_CFG_OFFSET(pwrcfgcmd),
|
||||
GET_PWR_CFG_CUT_MASK(pwrcfgcmd),
|
||||
GET_PWR_CFG_CMD(pwrcfgcmd),
|
||||
GET_PWR_CFG_MASK(pwrcfgcmd),
|
||||
GET_PWR_CFG_VALUE(pwrcfgcmd)));
|
||||
__func__,
|
||||
GET_PWR_CFG_OFFSET(pwrcfgcmd),
|
||||
GET_PWR_CFG_CUT_MASK(pwrcfgcmd),
|
||||
GET_PWR_CFG_CMD(pwrcfgcmd),
|
||||
GET_PWR_CFG_MASK(pwrcfgcmd),
|
||||
GET_PWR_CFG_VALUE(pwrcfgcmd)));
|
||||
|
||||
/* Only Handle the command whose CUT is matched */
|
||||
if (GET_PWR_CFG_CUT_MASK(pwrcfgcmd) & cut_vers) {
|
||||
switch (GET_PWR_CFG_CMD(pwrcfgcmd)) {
|
||||
case PWR_CMD_READ:
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_,
|
||||
("rtl88eu_pwrseqcmdparsing: PWR_CMD_READ\n"));
|
||||
("%s: PWR_CMD_READ\n", __func__));
|
||||
break;
|
||||
case PWR_CMD_WRITE:
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_,
|
||||
("rtl88eu_pwrseqcmdparsing: PWR_CMD_WRITE\n"));
|
||||
("%s: PWR_CMD_WRITE\n", __func__));
|
||||
offset = GET_PWR_CFG_OFFSET(pwrcfgcmd);
|
||||
|
||||
/* Read the value from system register */
|
||||
|
@ -59,7 +60,7 @@ u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, u8 cut_vers,
|
|||
break;
|
||||
case PWR_CMD_POLLING:
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_,
|
||||
("rtl88eu_pwrseqcmdparsing: PWR_CMD_POLLING\n"));
|
||||
("%s: PWR_CMD_POLLING\n", __func__));
|
||||
|
||||
poll_bit = false;
|
||||
offset = GET_PWR_CFG_OFFSET(pwrcfgcmd);
|
||||
|
@ -81,7 +82,7 @@ u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, u8 cut_vers,
|
|||
break;
|
||||
case PWR_CMD_DELAY:
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_,
|
||||
("rtl88eu_pwrseqcmdparsing: PWR_CMD_DELAY\n"));
|
||||
("%s: PWR_CMD_DELAY\n", __func__));
|
||||
if (GET_PWR_CFG_VALUE(pwrcfgcmd) == PWRSEQ_DELAY_US)
|
||||
udelay(GET_PWR_CFG_OFFSET(pwrcfgcmd));
|
||||
else
|
||||
|
@ -90,11 +91,11 @@ u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, u8 cut_vers,
|
|||
case PWR_CMD_END:
|
||||
/* When this command is parsed, end the process */
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_,
|
||||
("rtl88eu_pwrseqcmdparsing: PWR_CMD_END\n"));
|
||||
("%s: PWR_CMD_END\n", __func__));
|
||||
return true;
|
||||
default:
|
||||
RT_TRACE(_module_hal_init_c_, _drv_err_,
|
||||
("rtl88eu_pwrseqcmdparsing: Unknown CMD!!\n"));
|
||||
("%s: Unknown CMD!!\n", __func__));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -95,7 +95,7 @@ void _8051Reset88E(struct adapter *padapter)
|
|||
u1bTmp = usb_read8(padapter, REG_SYS_FUNC_EN + 1);
|
||||
usb_write8(padapter, REG_SYS_FUNC_EN + 1, u1bTmp & (~BIT(2)));
|
||||
usb_write8(padapter, REG_SYS_FUNC_EN + 1, u1bTmp | (BIT(2)));
|
||||
DBG_88E("=====> _8051Reset88E(): 8051 reset success .\n");
|
||||
DBG_88E("=====> %s(): 8051 reset success .\n", __func__);
|
||||
}
|
||||
|
||||
void rtl8188e_InitializeFirmwareVars(struct adapter *padapter)
|
||||
|
|
|
@ -346,7 +346,7 @@ static s32 rtw_dump_xframe(struct adapter *adapt, struct xmit_frame *pxmitframe)
|
|||
rtw_issue_addbareq_cmd(adapt, pxmitframe);
|
||||
mem_addr = pxmitframe->buf_addr;
|
||||
|
||||
RT_TRACE(_module_rtl871x_xmit_c_, _drv_info_, ("rtw_dump_xframe()\n"));
|
||||
RT_TRACE(_module_rtl871x_xmit_c_, _drv_info_, ("%s()\n", __func__));
|
||||
|
||||
for (t = 0; t < pattrib->nr_frags; t++) {
|
||||
if (inner_ret != _SUCCESS && ret == _SUCCESS)
|
||||
|
|
|
@ -876,7 +876,7 @@ static void CardDisableRTL8188EU(struct adapter *Adapter)
|
|||
{
|
||||
u8 val8;
|
||||
|
||||
RT_TRACE(_module_hci_hal_init_c_, _drv_info_, ("CardDisableRTL8188EU\n"));
|
||||
RT_TRACE(_module_hci_hal_init_c_, _drv_info_, ("%s\n", __func__));
|
||||
|
||||
/* Stop Tx Report Timer. 0x4EC[Bit1]=b'0 */
|
||||
val8 = usb_read8(Adapter, REG_TX_RPT_CTRL);
|
||||
|
@ -1038,8 +1038,7 @@ static void Hal_EfuseParseMACAddr_8188EU(struct adapter *adapt, u8 *hwinfo, bool
|
|||
memcpy(eeprom->mac_addr, &hwinfo[EEPROM_MAC_ADDR_88EU], ETH_ALEN);
|
||||
}
|
||||
RT_TRACE(_module_hci_hal_init_c_, _drv_notice_,
|
||||
("Hal_EfuseParseMACAddr_8188EU: Permanent Address = %pM\n",
|
||||
eeprom->mac_addr));
|
||||
("%s: Permanent Address = %pM\n", __func__, eeprom->mac_addr));
|
||||
}
|
||||
|
||||
static void readAdapterInfo_8188EU(struct adapter *adapt)
|
||||
|
|
Loading…
Reference in New Issue