mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: Remove CONFIG_IOL_IOREG_CFG_DBG
This symbol is not defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
427ab12050
commit
3ce8fc76d7
5 changed files with 0 additions and 166 deletions
|
@ -434,24 +434,9 @@ ODM_ReadAndConfig_AGC_TAB_1T_8188E(
|
|||
/* printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__FUNCTION__,pxmit_frame->attrib.pktlen+4+32,bndy_cnt); */
|
||||
if(rtw_IOL_exec_cmds_sync(pDM_Odm->Adapter, pxmit_frame, 1000, bndy_cnt))
|
||||
{
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
printk("~~~ %s Success !!! \n",__FUNCTION__);
|
||||
{
|
||||
/* dump data from TX packet buffer */
|
||||
rtw_IOL_cmd_tx_pkt_buf_dump(pDM_Odm->Adapter,pxmit_frame->attrib.pktlen+32);
|
||||
}
|
||||
#endif /* CONFIG_IOL_IOREG_CFG_DBG */
|
||||
|
||||
}
|
||||
else{
|
||||
printk("~~~ %s IOL_exec_cmds Failed !!! \n",__FUNCTION__);
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
{
|
||||
/* dump data from TX packet buffer */
|
||||
rtw_IOL_cmd_tx_pkt_buf_dump(pDM_Odm->Adapter,pxmit_frame->attrib.pktlen+32);
|
||||
}
|
||||
#endif /* CONFIG_IOL_IOREG_CFG_DBG */
|
||||
|
||||
rst = HAL_STATUS_FAILURE;
|
||||
}
|
||||
}
|
||||
|
@ -910,10 +895,6 @@ ODM_ReadAndConfig_PHY_REG_1T_8188E(
|
|||
PADAPTER Adapter = pDM_Odm->Adapter;
|
||||
struct xmit_frame *pxmit_frame;
|
||||
u8 bndy_cnt=1;
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
struct cmd_cmp cmpdata[ArrayLen];
|
||||
u32 cmpdata_idx=0;
|
||||
#endif
|
||||
#endif/* ifdef CONFIG_IOL_IOREG_CFG */
|
||||
HAL_STATUS rst =HAL_STATUS_SUCCESS;
|
||||
hex += board;
|
||||
|
@ -970,11 +951,6 @@ ODM_ReadAndConfig_PHY_REG_1T_8188E(
|
|||
pDM_Odm->RFCalibrateInfo.RegA24 = v2;
|
||||
|
||||
rtw_IOL_append_WD_cmd(pxmit_frame,(u16)v1, v2,bMaskDWord);
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
cmpdata[cmpdata_idx].addr = v1;
|
||||
cmpdata[cmpdata_idx].value= v2;
|
||||
cmpdata_idx++;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1031,11 +1007,6 @@ ODM_ReadAndConfig_PHY_REG_1T_8188E(
|
|||
pDM_Odm->RFCalibrateInfo.RegA24 = v2;
|
||||
|
||||
rtw_IOL_append_WD_cmd(pxmit_frame,(u16)v1, v2,bMaskDWord);
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
cmpdata[cmpdata_idx].addr = v1;
|
||||
cmpdata[cmpdata_idx].value= v2;
|
||||
cmpdata_idx++;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1059,41 +1030,10 @@ ODM_ReadAndConfig_PHY_REG_1T_8188E(
|
|||
/* printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__FUNCTION__,pxmit_frame->attrib.pktlen+4+32,bndy_cnt); */
|
||||
if(rtw_IOL_exec_cmds_sync(pDM_Odm->Adapter, pxmit_frame, 1000, bndy_cnt))
|
||||
{
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
printk("~~~ %s IOL_exec_cmds Success !!! \n",__FUNCTION__);
|
||||
{
|
||||
u32 idx;
|
||||
u32 cdata;
|
||||
printk(" %s data compare => array_len:%d \n",__FUNCTION__,cmpdata_idx);
|
||||
printk("### %s data compared !!###\n",__FUNCTION__);
|
||||
for(idx=0;idx< cmpdata_idx;idx++)
|
||||
{
|
||||
cdata = ODM_Read4Byte(pDM_Odm, cmpdata[idx].addr);
|
||||
if(cdata != cmpdata[idx].value){
|
||||
printk(" addr:0x%04x, data:(0x%02x : 0x%02x) \n",
|
||||
cmpdata[idx].addr,cmpdata[idx].value,cdata);
|
||||
rst = HAL_STATUS_FAILURE;
|
||||
}
|
||||
}
|
||||
printk("### %s data compared !!###\n",__FUNCTION__);
|
||||
/* if(rst == HAL_STATUS_FAILURE) */
|
||||
{/* dump data from TX packet buffer */
|
||||
rtw_IOL_cmd_tx_pkt_buf_dump(pDM_Odm->Adapter,pxmit_frame->attrib.pktlen+32);
|
||||
}
|
||||
|
||||
}
|
||||
#endif /* CONFIG_IOL_IOREG_CFG_DBG */
|
||||
|
||||
}
|
||||
else{
|
||||
rst = HAL_STATUS_FAILURE;
|
||||
printk("~~~ IOL Config %s Failed !!! \n",__FUNCTION__);
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
{
|
||||
/* dump data from TX packet buffer */
|
||||
rtw_IOL_cmd_tx_pkt_buf_dump(pDM_Odm->Adapter,pxmit_frame->attrib.pktlen+32);
|
||||
}
|
||||
#endif /* CONFIG_IOL_IOREG_CFG_DBG */
|
||||
}
|
||||
}
|
||||
#endif /* ifdef CONFIG_IOL_IOREG_CFG */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue