mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 21:43:06 +00:00
Replace __FUNCTION__ with __func__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
4620c2a956
commit
d4fa4d178f
56 changed files with 865 additions and 865 deletions
|
@ -697,7 +697,7 @@ ODM_RAInfo_Init(
|
|||
max_rate_idx = 0x03;
|
||||
}
|
||||
|
||||
//printk("%s ==>WirelessMode:0x%08x ,max_raid_idx:0x%02x\n ",__FUNCTION__,WirelessMode,max_rate_idx);
|
||||
//printk("%s ==>WirelessMode:0x%08x ,max_raid_idx:0x%02x\n ",__func__,WirelessMode,max_rate_idx);
|
||||
ODM_RT_TRACE(pDM_Odm,ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD,
|
||||
("ODM_RAInfo_Init(): WirelessMode:0x%08x ,max_raid_idx:0x%02x\n",
|
||||
WirelessMode,max_rate_idx));
|
||||
|
|
|
@ -295,11 +295,11 @@ ODM_ReadAndConfig_AGC_TAB_1T_8188E(
|
|||
}
|
||||
#ifdef CONFIG_IOL_IOREG_CFG
|
||||
if (biol){
|
||||
//printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__FUNCTION__,pxmit_frame->attrib.pktlen+4+32,bndy_cnt);
|
||||
//printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__func__,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__);
|
||||
printk("~~~ %s Success !!!\n",__func__);
|
||||
{
|
||||
//dump data from TX packet buffer
|
||||
rtw_IOL_cmd_tx_pkt_buf_dump(pDM_Odm->Adapter,pxmit_frame->attrib.pktlen+32);
|
||||
|
@ -308,7 +308,7 @@ ODM_ReadAndConfig_AGC_TAB_1T_8188E(
|
|||
|
||||
}
|
||||
else{
|
||||
printk("~~~ %s IOL_exec_cmds Failed !!!\n",__FUNCTION__);
|
||||
printk("~~~ %s IOL_exec_cmds Failed !!!\n",__func__);
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
{
|
||||
//dump data from TX packet buffer
|
||||
|
@ -689,16 +689,16 @@ ODM_ReadAndConfig_PHY_REG_1T_8188E(
|
|||
}
|
||||
#ifdef CONFIG_IOL_IOREG_CFG
|
||||
if (biol){
|
||||
//printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__FUNCTION__,pxmit_frame->attrib.pktlen+4+32,bndy_cnt);
|
||||
//printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__func__,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__);
|
||||
printk("~~~ %s IOL_exec_cmds Success !!!\n",__func__);
|
||||
{
|
||||
u4Byte idx;
|
||||
u4Byte cdata;
|
||||
printk(" %s data compare => array_len:%d\n",__FUNCTION__,cmpdata_idx);
|
||||
printk("### %s data compared !!###\n",__FUNCTION__);
|
||||
printk(" %s data compare => array_len:%d\n",__func__,cmpdata_idx);
|
||||
printk("### %s data compared !!###\n",__func__);
|
||||
for (idx=0;idx< cmpdata_idx;idx++)
|
||||
{
|
||||
cdata = ODM_Read4Byte(pDM_Odm, cmpdata[idx].addr);
|
||||
|
@ -708,7 +708,7 @@ ODM_ReadAndConfig_PHY_REG_1T_8188E(
|
|||
rst = HAL_STATUS_FAILURE;
|
||||
}
|
||||
}
|
||||
printk("### %s data compared !!###\n",__FUNCTION__);
|
||||
printk("### %s data compared !!###\n",__func__);
|
||||
//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);
|
||||
|
@ -720,7 +720,7 @@ ODM_ReadAndConfig_PHY_REG_1T_8188E(
|
|||
}
|
||||
else{
|
||||
rst = HAL_STATUS_FAILURE;
|
||||
printk("~~~ IOL Config %s Failed !!!\n",__FUNCTION__);
|
||||
printk("~~~ IOL Config %s Failed !!!\n",__func__);
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
{
|
||||
//dump data from TX packet buffer
|
||||
|
|
|
@ -276,7 +276,7 @@ ODM_ReadAndConfig_MAC_REG_8188E(
|
|||
|
||||
#ifdef CONFIG_IOL_IOREG_CFG
|
||||
if (biol){
|
||||
//printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__FUNCTION__,pxmit_frame->attrib.pktlen+4+32,bndy_cnt);
|
||||
//printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__func__,pxmit_frame->attrib.pktlen+4+32,bndy_cnt);
|
||||
|
||||
if (rtw_IOL_exec_cmds_sync(pDM_Odm->Adapter, pxmit_frame, 1000, bndy_cnt))
|
||||
{
|
||||
|
|
|
@ -328,16 +328,16 @@ ODM_ReadAndConfig_RadioA_1T_8188E(
|
|||
}
|
||||
#ifdef CONFIG_IOL_IOREG_CFG
|
||||
if (biol){
|
||||
//printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__FUNCTION__,pxmit_frame->attrib.pktlen+4+32,bndy_cnt);
|
||||
//printk("==> %s, pktlen = %d,bndy_cnt = %d\n",__func__,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__);
|
||||
printk("~~~ %s Success !!!\n",__func__);
|
||||
{
|
||||
u4Byte idx;
|
||||
u4Byte cdata;
|
||||
printk(" %s data compare => array_len:%d\n",__FUNCTION__,cmpdata_idx);
|
||||
printk("### %s data compared !!###\n",__FUNCTION__);
|
||||
printk(" %s data compare => array_len:%d\n",__func__,cmpdata_idx);
|
||||
printk("### %s data compared !!###\n",__func__);
|
||||
for (idx=0;idx< cmpdata_idx;idx++)
|
||||
{
|
||||
cdata = ODM_GetRFReg(pDM_Odm, ODM_RF_PATH_A,cmpdata[idx].addr,bRFRegOffsetMask);
|
||||
|
@ -347,7 +347,7 @@ ODM_ReadAndConfig_RadioA_1T_8188E(
|
|||
rst = HAL_STATUS_FAILURE;
|
||||
}
|
||||
}
|
||||
printk("### %s data compared !!###\n",__FUNCTION__);
|
||||
printk("### %s data compared !!###\n",__func__);
|
||||
//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);
|
||||
|
@ -358,7 +358,7 @@ ODM_ReadAndConfig_RadioA_1T_8188E(
|
|||
}
|
||||
else{
|
||||
rst = HAL_STATUS_FAILURE;
|
||||
printk("~~~ IOL Config %s Failed !!!\n",__FUNCTION__);
|
||||
printk("~~~ IOL Config %s Failed !!!\n",__func__);
|
||||
#ifdef CONFIG_IOL_IOREG_CFG_DBG
|
||||
{
|
||||
//dump data from TX packet buffer
|
||||
|
|
|
@ -213,7 +213,7 @@ void rtw_hal_enable_interrupt(_adapter *padapter)
|
|||
if (padapter->HalFunc.enable_interrupt)
|
||||
padapter->HalFunc.enable_interrupt(padapter);
|
||||
else
|
||||
DBG_871X("%s: HalFunc.enable_interrupt is NULL!\n", __FUNCTION__);
|
||||
DBG_871X("%s: HalFunc.enable_interrupt is NULL!\n", __func__);
|
||||
|
||||
}
|
||||
void rtw_hal_disable_interrupt(_adapter *padapter)
|
||||
|
@ -221,7 +221,7 @@ void rtw_hal_disable_interrupt(_adapter *padapter)
|
|||
if (padapter->HalFunc.disable_interrupt)
|
||||
padapter->HalFunc.disable_interrupt(padapter);
|
||||
else
|
||||
DBG_871X("%s: HalFunc.disable_interrupt is NULL!\n", __FUNCTION__);
|
||||
DBG_871X("%s: HalFunc.disable_interrupt is NULL!\n", __func__);
|
||||
|
||||
}
|
||||
|
||||
|
@ -232,7 +232,7 @@ u32 rtw_hal_inirp_init(_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_871X(" %s HalFunc.inirp_init is NULL!!!\n",__func__);
|
||||
return rst;
|
||||
}
|
||||
|
||||
|
|
18
hal/odm.c
18
hal/odm.c
|
@ -2903,7 +2903,7 @@ u4Byte ODM_Get_Rate_Bitmap(
|
|||
|
||||
}
|
||||
|
||||
//printk("%s ==> rssi_level:0x%02x, WirelessMode:0x%02x, rate_bitmap:0x%08x\n",__FUNCTION__,rssi_level,WirelessMode,rate_bitmap);
|
||||
//printk("%s ==> rssi_level:0x%02x, WirelessMode:0x%02x, rate_bitmap:0x%08x\n",__func__,rssi_level,WirelessMode,rate_bitmap);
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, (" ==> rssi_level:0x%02x, WirelessMode:0x%02x, rate_bitmap:0x%08x\n",rssi_level,WirelessMode,rate_bitmap));
|
||||
|
||||
return rate_bitmap;
|
||||
|
@ -3095,7 +3095,7 @@ odm_RefreshRateAdaptiveMaskCE(
|
|||
return;
|
||||
}
|
||||
|
||||
//printk("==> %s\n",__FUNCTION__);
|
||||
//printk("==> %s\n",__func__);
|
||||
|
||||
for (i=0; i<ODM_ASSOCIATE_ENTRY_NUM; i++){
|
||||
PSTA_INFO_T pstat = pDM_Odm->pODM_StaInfo[i];
|
||||
|
@ -3196,7 +3196,7 @@ ODM_RAStateCheck(
|
|||
RATRState = DM_RATR_STA_MIDDLE;
|
||||
else
|
||||
RATRState = DM_RATR_STA_LOW;
|
||||
//printk("==>%s,RATRState:0x%02x ,RSSI:%d\n",__FUNCTION__,RATRState,RSSI);
|
||||
//printk("==>%s,RATRState:0x%02x ,RSSI:%d\n",__func__,RATRState,RSSI);
|
||||
|
||||
if ( *pRATRState!=RATRState || bForceUpdate)
|
||||
{
|
||||
|
@ -3585,7 +3585,7 @@ odm_DynamicTxPower_92C(
|
|||
if (Adapter->proximity.proxim_on== _TRUE){
|
||||
struct proximity_priv *prox_priv=Adapter->proximity.proximity_priv;
|
||||
// Intel set fixed tx power
|
||||
printk("\n %s Adapter->proximity.proxim_on=%d prox_priv->proxim_modeinfo->power_output=%d\n",__FUNCTION__,Adapter->proximity.proxim_on,prox_priv->proxim_modeinfo->power_output);
|
||||
printk("\n %s Adapter->proximity.proxim_on=%d prox_priv->proxim_modeinfo->power_output=%d\n",__func__,Adapter->proximity.proxim_on,prox_priv->proxim_modeinfo->power_output);
|
||||
if (prox_priv!=NULL){
|
||||
if (prox_priv->proxim_modeinfo->power_output> 0)
|
||||
{
|
||||
|
@ -4292,7 +4292,7 @@ IN PADAPTER pAdapter
|
|||
#if (RTL8192D_SUPPORT==1)
|
||||
FindMinimumRSSI_Dmsp(pAdapter);
|
||||
#endif
|
||||
//DBG_8192C("%s=>MinUndecoratedPWDBForDM(%d)\n",__FUNCTION__,pdmpriv->MinUndecoratedPWDBForDM);
|
||||
//DBG_8192C("%s=>MinUndecoratedPWDBForDM(%d)\n",__func__,pdmpriv->MinUndecoratedPWDBForDM);
|
||||
//ODM_RT_TRACE(pDM_Odm,COMP_DIG, DBG_LOUD, ("MinUndecoratedPWDBForDM =%d\n",pHalData->MinUndecoratedPWDBForDM));
|
||||
}
|
||||
#endif
|
||||
|
@ -4389,7 +4389,7 @@ odm_RSSIMonitorCheckCE(
|
|||
tmpEntryMaxPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB;
|
||||
|
||||
if (psta->rssi_stat.UndecoratedSmoothedPWDB != (-1)){
|
||||
//printk("%s==> mac_id(%d),rssi(%d)\n",__FUNCTION__,psta->mac_id,psta->rssi_stat.UndecoratedSmoothedPWDB);
|
||||
//printk("%s==> mac_id(%d),rssi(%d)\n",__func__,psta->mac_id,psta->rssi_stat.UndecoratedSmoothedPWDB);
|
||||
#if (RTL8192D_SUPPORT==1)
|
||||
PWDB_rssi[sta_cnt++] = (psta->mac_id | (psta->rssi_stat.UndecoratedSmoothedPWDB<<16) | ((Adapter->stapriv.asoc_sta_count+1) << 8));
|
||||
#else
|
||||
|
@ -4405,7 +4405,7 @@ odm_RSSIMonitorCheckCE(
|
|||
_exit_critical_bh(&pstapriv->sta_hash_lock, &irqL);
|
||||
#endif
|
||||
|
||||
//printk("%s==> sta_cnt(%d)\n",__FUNCTION__,sta_cnt);
|
||||
//printk("%s==> sta_cnt(%d)\n",__func__,sta_cnt);
|
||||
|
||||
for (i=0; i< sta_cnt; i++)
|
||||
{
|
||||
|
@ -4453,7 +4453,7 @@ odm_RSSIMonitorCheckCE(
|
|||
if (pHalData->fw_ractrl == _TRUE)
|
||||
{
|
||||
u32 param = (u32)(pdmpriv->UndecoratedSmoothedPWDB<<16);
|
||||
printk("%s==> rssi(%d)\n",__FUNCTION__,pdmpriv->UndecoratedSmoothedPWDB);
|
||||
printk("%s==> rssi(%d)\n",__func__,pdmpriv->UndecoratedSmoothedPWDB);
|
||||
param |= 0;//macid=0 for sta mode;
|
||||
|
||||
rtl8192c_set_rssi_cmd(Adapter, (u8*)¶m);
|
||||
|
@ -7736,7 +7736,7 @@ odm_IotEngine(
|
|||
}
|
||||
#if ((DM_ODM_SUPPORT_TYPE==ODM_ADSL)||((DM_ODM_SUPPORT_TYPE==ODM_AP)&&(defined WMM_VIBE_PRI)))
|
||||
if (priv->pshare->iot_mode_VO_exist) {
|
||||
//printk("[%s %d] BE_pkt_count=%d\n", __FUNCTION__, __LINE__, priv->pshare->phw->BE_pkt_count);
|
||||
//printk("[%s %d] BE_pkt_count=%d\n", __func__, __LINE__, priv->pshare->phw->BE_pkt_count);
|
||||
if (!priv->pshare->iot_mode_BE_exist && (priv->pshare->phw->BE_pkt_count > 250)) {
|
||||
priv->pshare->iot_mode_BE_exist++;
|
||||
switch_turbo++;
|
||||
|
|
|
@ -749,12 +749,12 @@ ODM_AntennaDiversity_88E(
|
|||
}
|
||||
if (pDM_Odm->Adapter->registrypriv.force_ant==1){
|
||||
ODM_UpdateRxIdleAnt_88E(pDM_Odm, MAIN_ANT);
|
||||
printk("%s fixed antenna in Main ant\n",__FUNCTION__);
|
||||
printk("%s fixed antenna in Main ant\n",__func__);
|
||||
return;
|
||||
}
|
||||
else if (pDM_Odm->Adapter->registrypriv.force_ant==2){
|
||||
ODM_UpdateRxIdleAnt_88E(pDM_Odm, AUX_ANT);
|
||||
printk("%s fixed antenna in AUX ant\n",__FUNCTION__);
|
||||
printk("%s fixed antenna in AUX ant\n",__func__);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -204,7 +204,7 @@ u8 rtl8192c_set_FwSelectSuspend_cmd(_adapter *padapter ,u8 bfwpoll, u16 period)
|
|||
{
|
||||
u8 res=_SUCCESS;
|
||||
struct H2C_SS_RFOFF_PARAM param;
|
||||
DBG_8192C("==>%s bfwpoll(%x)\n",__FUNCTION__,bfwpoll);
|
||||
DBG_8192C("==>%s bfwpoll(%x)\n",__func__,bfwpoll);
|
||||
param.gpio_period = period;//Polling GPIO_11 period time
|
||||
param.ROFOn = (_TRUE == bfwpoll)?1:0;
|
||||
FillH2CCmd_88E(padapter, SELECTIVE_SUSPEND_ROF_CMD, sizeof(param), (u8*)(¶m));
|
||||
|
@ -225,7 +225,7 @@ _func_enter_;
|
|||
FillH2CCmd_88E(padapter, RSSI_SETTING_EID, 3, param);
|
||||
#endif
|
||||
}else{
|
||||
DBG_8192C("==>%s fw dont support RA\n",__FUNCTION__);
|
||||
DBG_8192C("==>%s fw dont support RA\n",__func__);
|
||||
res=_FAIL;
|
||||
}
|
||||
|
||||
|
@ -247,7 +247,7 @@ _func_enter_;
|
|||
|
||||
FillH2CCmd_88E(padapter, H2C_DM_MACID_CFG, 3, buf);
|
||||
}else{
|
||||
DBG_8192C("==>%s fw dont support RA\n",__FUNCTION__);
|
||||
DBG_8192C("==>%s fw dont support RA\n",__func__);
|
||||
res=_FAIL;
|
||||
}
|
||||
|
||||
|
@ -301,7 +301,7 @@ void rtl8188e_Add_RateATid(PADAPTER pAdapter, u32 bitmap, u8 arg, u8 rssi_level)
|
|||
bitmap &= 0x0fffffff;
|
||||
|
||||
DBG_871X("%s=> mac_id:%d , raid:%d , ra_bitmap=0x%x, shortGIrate=0x%02x\n",
|
||||
__FUNCTION__,macid ,raid ,bitmap, shortGIrate);
|
||||
__func__,macid ,raid ,bitmap, shortGIrate);
|
||||
|
||||
|
||||
#if (RATE_ADAPTIVE_SUPPORT == 1)
|
||||
|
@ -323,7 +323,7 @@ void rtl8188e_set_FwPwrMode_cmd(PADAPTER padapter, u8 Mode)
|
|||
u8 RLBM = 0; // 0:Min, 1:Max , 2:User define
|
||||
_func_enter_;
|
||||
|
||||
DBG_871X("%s: Mode=%d SmartPS=%d UAPSD=%d\n", __FUNCTION__,
|
||||
DBG_871X("%s: Mode=%d SmartPS=%d UAPSD=%d\n", __func__,
|
||||
Mode, pwrpriv->smart_ps, padapter->registrypriv.uapsd_enable);
|
||||
|
||||
switch (Mode)
|
||||
|
@ -381,7 +381,7 @@ void rtl8188e_set_FwMediaStatus_cmd(PADAPTER padapter, u16 mstatus_rpt )
|
|||
opmode = (u8) mst_rpt;
|
||||
macid = (u8)(mst_rpt >> 8) ;
|
||||
|
||||
DBG_871X("### %s: MStatus=%x MACID=%d\n", __FUNCTION__,opmode,macid);
|
||||
DBG_871X("### %s: MStatus=%x MACID=%d\n", __func__,opmode,macid);
|
||||
FillH2CCmd_88E(padapter, H2C_COM_MEDIA_STATUS_RPT, sizeof(mst_rpt), (u8 *)&mst_rpt);
|
||||
}
|
||||
|
||||
|
@ -396,7 +396,7 @@ void ConstructBeacon(_adapter *padapter, u8 *pframe, u32 *pLength)
|
|||
u8 bc_addr[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
||||
|
||||
|
||||
//DBG_871X("%s\n", __FUNCTION__);
|
||||
//DBG_871X("%s\n", __func__);
|
||||
|
||||
pwlanhdr = (struct rtw_ieee80211_hdr *)pframe;
|
||||
|
||||
|
@ -483,7 +483,7 @@ _ConstructBeacon:
|
|||
|
||||
*pLength = pktlen;
|
||||
|
||||
//DBG_871X("%s bcn_sz=%d\n", __FUNCTION__, pktlen);
|
||||
//DBG_871X("%s bcn_sz=%d\n", __func__, pktlen);
|
||||
|
||||
}
|
||||
|
||||
|
@ -495,7 +495,7 @@ void ConstructPSPoll(_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_871X("%s\n", __func__);
|
||||
|
||||
pwlanhdr = (struct rtw_ieee80211_hdr *)pframe;
|
||||
|
||||
|
@ -536,7 +536,7 @@ void ConstructNullFunctionData(
|
|||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
|
||||
|
||||
//DBG_871X("%s:%d\n", __FUNCTION__, bForcePowerSave);
|
||||
//DBG_871X("%s:%d\n", __func__, bForcePowerSave);
|
||||
|
||||
pwlanhdr = (struct rtw_ieee80211_hdr*)pframe;
|
||||
|
||||
|
@ -601,7 +601,7 @@ void ConstructProbeRsp(_adapter *padapter, u8 *pframe, u32 *pLength, u8 *StaAddr
|
|||
WLAN_BSSID_EX *cur_network = &(pmlmeinfo->network);
|
||||
|
||||
|
||||
//DBG_871X("%s\n", __FUNCTION__);
|
||||
//DBG_871X("%s\n", __func__);
|
||||
|
||||
pwlanhdr = (struct rtw_ieee80211_hdr *)pframe;
|
||||
|
||||
|
@ -677,11 +677,11 @@ static void SetFwRsvdPagePkt(PADAPTER padapter, BOOLEAN bDLFinished)
|
|||
RSVDPAGE_LOC RsvdPageLoc;
|
||||
|
||||
|
||||
DBG_871X("%s\n", __FUNCTION__);
|
||||
DBG_871X("%s\n", __func__);
|
||||
|
||||
ReservedPagePacket = (u8*)rtw_zmalloc(1000);
|
||||
if (ReservedPagePacket == NULL) {
|
||||
DBG_871X("%s: alloc ReservedPagePacket fail!\n", __FUNCTION__);
|
||||
DBG_871X("%s: alloc ReservedPagePacket fail!\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -791,7 +791,7 @@ static void SetFwRsvdPagePkt(PADAPTER padapter, BOOLEAN bDLFinished)
|
|||
|
||||
rtw_hal_mgnt_xmit(padapter, pmgntframe);
|
||||
|
||||
DBG_871X("%s: Set RSVD page location to Fw\n", __FUNCTION__);
|
||||
DBG_871X("%s: Set RSVD page location to Fw\n", __func__);
|
||||
FillH2CCmd_88E(padapter, H2C_COM_RSVD_PAGE, sizeof(RsvdPageLoc), (u8*)&RsvdPageLoc);
|
||||
|
||||
exit:
|
||||
|
@ -811,7 +811,7 @@ void rtl8188e_set_FwJoinBssReport_cmd(PADAPTER padapter, u8 mstatus)
|
|||
|
||||
_func_enter_;
|
||||
|
||||
DBG_871X("%s mstatus(%x)\n", __FUNCTION__,mstatus);
|
||||
DBG_871X("%s mstatus(%x)\n", __func__,mstatus);
|
||||
|
||||
if (mstatus == 1)
|
||||
{
|
||||
|
@ -871,9 +871,9 @@ _func_enter_;
|
|||
{
|
||||
}
|
||||
else if (!bcn_valid)
|
||||
DBG_871X("%s: 1 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __FUNCTION__ ,DLBcnCount, poll);
|
||||
DBG_871X("%s: 1 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __func__ ,DLBcnCount, poll);
|
||||
else
|
||||
DBG_871X("%s: 1 Download RSVD success! DLBcnCount:%u, poll:%u\n", __FUNCTION__, DLBcnCount, poll);
|
||||
DBG_871X("%s: 1 Download RSVD success! DLBcnCount:%u, poll:%u\n", __func__, 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.
|
||||
|
@ -908,9 +908,9 @@ _func_enter_;
|
|||
{
|
||||
}
|
||||
else if (!bcn_valid)
|
||||
DBG_871X("%s: 2 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __FUNCTION__ ,DLBcnCount, poll);
|
||||
DBG_871X("%s: 2 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __func__ ,DLBcnCount, poll);
|
||||
else
|
||||
DBG_871X("%s: 2 Download RSVD success! DLBcnCount:%u, poll:%u\n", __FUNCTION__, DLBcnCount, poll);
|
||||
DBG_871X("%s: 2 Download RSVD success! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1000,16 +1000,16 @@ _func_enter_;
|
|||
p2p_ps_offload->NoA1_En = 1;
|
||||
|
||||
// config P2P NoA Descriptor Register
|
||||
//DBG_8192C("%s(): noa_duration = %x\n",__FUNCTION__,pwdinfo->noa_duration[i]);
|
||||
//DBG_8192C("%s(): noa_duration = %x\n",__func__,pwdinfo->noa_duration[i]);
|
||||
rtw_write32(padapter, REG_NOA_DESC_DURATION, pwdinfo->noa_duration[i]);
|
||||
|
||||
//DBG_8192C("%s(): noa_interval = %x\n",__FUNCTION__,pwdinfo->noa_interval[i]);
|
||||
//DBG_8192C("%s(): noa_interval = %x\n",__func__,pwdinfo->noa_interval[i]);
|
||||
rtw_write32(padapter, REG_NOA_DESC_INTERVAL, pwdinfo->noa_interval[i]);
|
||||
|
||||
//DBG_8192C("%s(): start_time = %x\n",__FUNCTION__,pwdinfo->noa_start_time[i]);
|
||||
//DBG_8192C("%s(): start_time = %x\n",__func__,pwdinfo->noa_start_time[i]);
|
||||
rtw_write32(padapter, REG_NOA_DESC_START, pwdinfo->noa_start_time[i]);
|
||||
|
||||
//DBG_8192C("%s(): noa_count = %x\n",__FUNCTION__,pwdinfo->noa_count[i]);
|
||||
//DBG_8192C("%s(): noa_count = %x\n",__func__,pwdinfo->noa_count[i]);
|
||||
rtw_write8(padapter, REG_NOA_DESC_COUNT, pwdinfo->noa_count[i]);
|
||||
}
|
||||
|
||||
|
@ -1129,21 +1129,21 @@ _func_enter_;
|
|||
|
||||
if (pwrpriv->wowlan_pattern ==_TRUE){
|
||||
pwowlan_parm.mode |= FW_WOWLAN_PATTERN_MATCH;
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 2.pwowlan_parm.mode=0x%x\n",__FUNCTION__,pwowlan_parm.mode );
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 2.pwowlan_parm.mode=0x%x\n",__func__,pwowlan_parm.mode );
|
||||
}
|
||||
if (pwrpriv->wowlan_magic ==_TRUE){
|
||||
pwowlan_parm.mode |=FW_WOWLAN_MAGIC_PKT;
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 3.pwowlan_parm.mode=0x%x\n",__FUNCTION__,pwowlan_parm.mode );
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 3.pwowlan_parm.mode=0x%x\n",__func__,pwowlan_parm.mode );
|
||||
}
|
||||
if (pwrpriv->wowlan_unicast ==_TRUE){
|
||||
pwowlan_parm.mode |=FW_WOWLAN_UNICAST;
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 4.pwowlan_parm.mode=0x%x\n",__FUNCTION__,pwowlan_parm.mode );
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 4.pwowlan_parm.mode=0x%x\n",__func__,pwowlan_parm.mode );
|
||||
}
|
||||
|
||||
if (!(padapter->pwrctrlpriv.wowlan_wake_reason & FWDecisionDisconnect))
|
||||
rtl8188e_set_FwJoinBssReport_cmd(padapter, 1);
|
||||
else
|
||||
DBG_871X_LEVEL(_drv_always_, "%s, disconnected, no FwJoinBssReport\n",__FUNCTION__);
|
||||
DBG_871X_LEVEL(_drv_always_, "%s, disconnected, no FwJoinBssReport\n",__func__);
|
||||
rtw_msleep_os(2);
|
||||
|
||||
//WOWLAN_GPIO_ACTIVE means GPIO high active
|
||||
|
@ -1160,8 +1160,8 @@ _func_enter_;
|
|||
pwowlan_parm.gpio_index=0x80;
|
||||
#endif //CONFIG_SDIO_HCI
|
||||
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 5.pwowlan_parm.mode=0x%x\n",__FUNCTION__,pwowlan_parm.mode);
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 6.pwowlan_parm.index=0x%x\n",__FUNCTION__,pwowlan_parm.gpio_index);
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 5.pwowlan_parm.mode=0x%x\n",__func__,pwowlan_parm.mode);
|
||||
DBG_871X_LEVEL(_drv_info_, "%s 6.pwowlan_parm.index=0x%x\n",__func__,pwowlan_parm.gpio_index);
|
||||
res = FillH2CCmd_88E(padapter, H2C_COM_WWLAN, 2, (u8 *)&pwowlan_parm);
|
||||
|
||||
rtw_msleep_os(2);
|
||||
|
|
|
@ -200,7 +200,7 @@ dm_InterruptMigration(
|
|||
|
||||
//Update current settings.
|
||||
if ( bCurrentIntMt != IntMtToSet ){
|
||||
DBG_8192C("%s(): Update interrrupt migration(%d)\n",__FUNCTION__,IntMtToSet);
|
||||
DBG_8192C("%s(): Update interrrupt migration(%d)\n",__func__,IntMtToSet);
|
||||
if (IntMtToSet)
|
||||
{
|
||||
//
|
||||
|
@ -220,7 +220,7 @@ dm_InterruptMigration(
|
|||
}
|
||||
|
||||
/*if ( bCurrentACIntDisable != ACIntToSet ){
|
||||
DBG_8192C("%s(): Update AC interrrupt(%d)\n",__FUNCTION__,ACIntToSet);
|
||||
DBG_8192C("%s(): Update AC interrrupt(%d)\n",__func__,ACIntToSet);
|
||||
if (ACIntToSet) // Disable four ACs interrupts.
|
||||
{
|
||||
//
|
||||
|
@ -644,7 +644,7 @@ u8 AntDivBeforeLink8188E(PADAPTER Adapter )
|
|||
|
||||
//PHY_SetBBReg(Adapter, rFPGA0_XA_RFInterfaceOE, 0x300, pDM_SWAT_Table->CurAntenna);
|
||||
rtw_antenna_select_cmd(Adapter, pDM_SWAT_Table->CurAntenna, _FALSE);
|
||||
//DBG_8192C("%s change antenna to ANT_( %s ).....\n",__FUNCTION__, (pDM_SWAT_Table->CurAntenna==Antenna_A)?"A":"B");
|
||||
//DBG_8192C("%s change antenna to ANT_( %s ).....\n",__func__, (pDM_SWAT_Table->CurAntenna==Antenna_A)?"A":"B");
|
||||
return _TRUE;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -39,7 +39,7 @@ static void iol_mode_enable(PADAPTER 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_871X("%s reg_0xf0:0x%02x, write 0x%02x\n", __func__, reg_0xf0, reg_0xf0|SW_OFFLOAD_EN);
|
||||
rtw_write8(padapter, REG_SYS_CFG, reg_0xf0|SW_OFFLOAD_EN);
|
||||
|
||||
if (padapter->bFWReady == _FALSE)
|
||||
|
@ -53,7 +53,7 @@ static void iol_mode_enable(PADAPTER 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_871X("%s reg_0xf0:0x%02x, write 0x%02x\n", __func__, reg_0xf0, reg_0xf0& ~SW_OFFLOAD_EN);
|
||||
rtw_write8(padapter, REG_SYS_CFG, reg_0xf0 & ~SW_OFFLOAD_EN);
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ static s32 iol_execute(PADAPTER 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_871X("%s reg_0x88:0x%02x, write 0x%02x\n", __func__, reg_0x88, reg_0x88|control);
|
||||
rtw_write8(padapter, REG_HMEBOX_E0, reg_0x88|control);
|
||||
|
||||
t1 = start = rtw_get_current_time();
|
||||
|
@ -76,7 +76,7 @@ static s32 iol_execute(PADAPTER 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_871X("%s polling reg_0x88:0x%02x,reg_0x1c7:0x%02x\n", __func__, reg_0x88,rtw_read8(padapter, 0x1c7) );
|
||||
//rtw_udelay_os(100);
|
||||
}
|
||||
|
||||
|
@ -86,7 +86,7 @@ static s32 iol_execute(PADAPTER padapter, u8 control)
|
|||
status = _FAIL;
|
||||
t2= rtw_get_current_time();
|
||||
//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_871X("%s in %u ms, reg_0x88:0x%02x\n", __func__, passing_time, reg_0x88);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ static s32 iol_InitLLTTable(
|
|||
{
|
||||
s32 rst = _SUCCESS;
|
||||
iol_mode_enable(padapter, 1);
|
||||
//DBG_871X("%s txpktbuf_bndy:%u\n", __FUNCTION__, txpktbuf_bndy);
|
||||
//DBG_871X("%s txpktbuf_bndy:%u\n", __func__, txpktbuf_bndy);
|
||||
rtw_write8(padapter, REG_TDECTRL+1, txpktbuf_bndy);
|
||||
rst = iol_execute(padapter, CMD_INIT_LLT);
|
||||
iol_mode_enable(padapter, 0);
|
||||
|
@ -122,14 +122,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_871X("%s: alloc efuseTbl fail!\n", __func__);
|
||||
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_871X("%s: alloc eFuseWord fail!\n", __func__);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -304,28 +304,28 @@ 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_871X("%s bcnhead:%d\n", __func__, 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_871X("%s reg_0x106:0x%02x, write 0x%02x\n", __func__, 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_871X("%s reg_0x106:0x%02x\n", __func__, 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_871X("%s dbg_addr:0x%x\n", __func__, dbg_addr+i);
|
||||
rtw_write16(adapter, REG_PKTBUF_DBG_ADDR, dbg_addr+i);
|
||||
|
||||
//DBG_871X("%s write reg_0x143:0x00\n", __FUNCTION__);
|
||||
//DBG_871X("%s write reg_0x143:0x00\n", __func__);
|
||||
rtw_write8(adapter, REG_TXPKTBUF_DBG, 0);
|
||||
start = rtw_get_current_time();
|
||||
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_871X("%s polling reg_0x143:0x%02x, reg_0x106:0x%02x\n", __func__, reg_0x143, rtw_read8(adapter, 0x106));
|
||||
rtw_usleep_os(100);
|
||||
}
|
||||
|
||||
|
@ -334,13 +334,13 @@ void efuse_read_phymap_from_txpktbuf(
|
|||
hi32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_H);
|
||||
|
||||
#if 0
|
||||
DBG_871X("%s lo32:0x%08x, %02x %02x %02x %02x\n", __FUNCTION__, lo32
|
||||
DBG_871X("%s lo32:0x%08x, %02x %02x %02x %02x\n", __func__, lo32
|
||||
, rtw_read8(adapter, REG_PKTBUF_DBG_DATA_L)
|
||||
, rtw_read8(adapter, REG_PKTBUF_DBG_DATA_L+1)
|
||||
, rtw_read8(adapter, REG_PKTBUF_DBG_DATA_L+2)
|
||||
, rtw_read8(adapter, REG_PKTBUF_DBG_DATA_L+3)
|
||||
);
|
||||
DBG_871X("%s hi32:0x%08x, %02x %02x %02x %02x\n", __FUNCTION__, hi32
|
||||
DBG_871X("%s hi32:0x%08x, %02x %02x %02x %02x\n", __func__, hi32
|
||||
, rtw_read8(adapter, REG_PKTBUF_DBG_DATA_H)
|
||||
, rtw_read8(adapter, REG_PKTBUF_DBG_DATA_H+1)
|
||||
, rtw_read8(adapter, REG_PKTBUF_DBG_DATA_H+2)
|
||||
|
@ -365,7 +365,7 @@ void efuse_read_phymap_from_txpktbuf(
|
|||
|
||||
limit = (len-2<limit)?len-2:limit;
|
||||
|
||||
DBG_871X("%s len:%u, lenbak:%u, aaa:%u, aaabak:%u\n", __FUNCTION__, len, lenbak, aaa, aaabak);
|
||||
DBG_871X("%s len:%u, lenbak:%u, aaa:%u, aaabak:%u\n", __func__, len, lenbak, aaa, aaabak);
|
||||
|
||||
_rtw_memcpy(pos, ((u8*)&lo32)+2, (limit>=count+2)?2:limit-count);
|
||||
count+= (limit>=count+2)?2:limit-count;
|
||||
|
@ -395,7 +395,7 @@ 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_871X("%s read count:%u\n", __func__, count);
|
||||
*size = count;
|
||||
|
||||
}
|
||||
|
@ -420,9 +420,9 @@ static s32 iol_read_efuse(
|
|||
_rtw_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_871X("%s reg_0x106:0x%02x, write 0x%02x\n", __func__, 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_871X("%s reg_0x106:0x%02x\n", __func__, rtw_read8(padapter, 0x106));
|
||||
|
||||
status = iol_execute(padapter, CMD_READ_EFUSE_MAP);
|
||||
|
||||
|
@ -430,7 +430,7 @@ static s32 iol_read_efuse(
|
|||
efuse_read_phymap_from_txpktbuf(padapter, txpktbuf_bndy, physical_map, &size);
|
||||
|
||||
#if 0
|
||||
DBG_871X("%s physical map\n", __FUNCTION__);
|
||||
DBG_871X("%s physical map\n", __func__);
|
||||
for (i=0;i<size;i++)
|
||||
{
|
||||
DBG_871X("%02x ", physical_map[i]);
|
||||
|
@ -448,7 +448,7 @@ static s32 iol_read_efuse(
|
|||
s32 rtl8188e_iol_efuse_patch(PADAPTER padapter)
|
||||
{
|
||||
s32 result = _SUCCESS;
|
||||
printk("==> %s\n",__FUNCTION__);
|
||||
printk("==> %s\n",__func__);
|
||||
|
||||
if (rtw_IOL_applied(padapter)){
|
||||
iol_mode_enable(padapter, 1);
|
||||
|
@ -468,7 +468,7 @@ static s32 iol_ioconfig(
|
|||
{
|
||||
s32 rst = _SUCCESS;
|
||||
|
||||
//DBG_871X("%s iocfg_bndy:%u\n", __FUNCTION__, iocfg_bndy);
|
||||
//DBG_871X("%s iocfg_bndy:%u\n", __func__, iocfg_bndy);
|
||||
rtw_write8(padapter, REG_TDECTRL+1, iocfg_bndy);
|
||||
rst = iol_execute(padapter, CMD_IOCONFIG);
|
||||
|
||||
|
@ -484,7 +484,7 @@ int rtl8188e_IOL_exec_cmds_sync(ADAPTER *adapter, struct xmit_frame *xmit_frame,
|
|||
int ret = _FAIL;
|
||||
u32 t1,t2;
|
||||
|
||||
//printk("===> %s ,bndy_cnt = %d\n",__FUNCTION__,bndy_cnt);
|
||||
//printk("===> %s ,bndy_cnt = %d\n",__func__,bndy_cnt);
|
||||
if (rtw_IOL_append_END_cmd(xmit_frame) != _SUCCESS)
|
||||
goto exit;
|
||||
#ifdef CONFIG_USB_HCI
|
||||
|
@ -517,7 +517,7 @@ int rtl8188e_IOL_exec_cmds_sync(ADAPTER *adapter, struct xmit_frame *xmit_frame,
|
|||
}
|
||||
iol_mode_enable(adapter, 0);
|
||||
t2 = rtw_get_current_time();
|
||||
//printk("==> %s : %5u\n",__FUNCTION__,rtw_get_time_interval_ms(t1,t2));
|
||||
//printk("==> %s : %5u\n",__func__,rtw_get_time_interval_ms(t1,t2));
|
||||
exit:
|
||||
//restore BCN_HEAD
|
||||
rtw_write8(adapter, REG_TDECTRL+1, 0);
|
||||
|
@ -531,7 +531,7 @@ void rtw_IOL_cmd_tx_pkt_buf_dump(ADAPTER *Adapter,int data_len)
|
|||
|
||||
u16 data_cnts = (data_len/8)+1;
|
||||
u8 *pbuf =rtw_zvmalloc(data_len+10);
|
||||
printk("###### %s ######\n",__FUNCTION__);
|
||||
printk("###### %s ######\n",__func__);
|
||||
|
||||
rtw_write8(Adapter, REG_PKT_BUFF_ACCESS_CTRL, TXPKT_BUF_SELECT);
|
||||
if (pbuf){
|
||||
|
@ -560,7 +560,7 @@ void rtw_IOL_cmd_tx_pkt_buf_dump(ADAPTER *Adapter,int data_len)
|
|||
rtw_vmfree(pbuf, data_len+10);
|
||||
|
||||
}
|
||||
printk("###### %s ######\n",__FUNCTION__);
|
||||
printk("###### %s ######\n",__func__);
|
||||
}
|
||||
|
||||
#endif /* defined(CONFIG_IOL) */
|
||||
|
@ -816,10 +816,10 @@ static s32 _FWFreeToGo(PADAPTER 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_871X("%s: chksum report fail! REG_MCUFWDL:0x%08x\n", __func__, value32);
|
||||
return _FAIL;
|
||||
}
|
||||
DBG_871X("%s: Checksum report OK! REG_MCUFWDL:0x%08x\n", __FUNCTION__, value32);
|
||||
DBG_871X("%s: Checksum report OK! REG_MCUFWDL:0x%08x\n", __func__, value32);
|
||||
|
||||
|
||||
value32 = rtw_read32(padapter, REG_MCUFWDL);
|
||||
|
@ -834,13 +834,13 @@ static s32 _FWFreeToGo(PADAPTER 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_871X("%s: Polling FW ready success!! REG_MCUFWDL:0x%08x\n", __func__, 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_871X ("%s: Polling FW ready fail!! REG_MCUFWDL:0x%08x\n", __func__, value32);
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
|
@ -881,7 +881,7 @@ s32 rtl8188e_FirmwareDownload(PADAPTER padapter)
|
|||
u32 FirmwareLen;
|
||||
|
||||
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_, ("+%s\n", __FUNCTION__));
|
||||
RT_TRACE(_module_hal_init_c_, _drv_info_, ("+%s\n", __func__));
|
||||
pFirmware = (PRT_FIRMWARE_8188E)rtw_zmalloc(sizeof(RT_FIRMWARE_8188E));
|
||||
if (!pFirmware)
|
||||
{
|
||||
|
@ -903,7 +903,7 @@ s32 rtl8188e_FirmwareDownload(PADAPTER padapter)
|
|||
#ifdef CONFIG_FILE_FWIMG
|
||||
if (rtw_is_file_readable(rtw_fw_file_path) == _TRUE)
|
||||
{
|
||||
DBG_871X("%s accquire FW from file:%s\n", __FUNCTION__, rtw_fw_file_path);
|
||||
DBG_871X("%s accquire FW from file:%s\n", __func__, rtw_fw_file_path);
|
||||
pFirmware->eFWSource = FW_SOURCE_IMG_FILE;
|
||||
}
|
||||
else
|
||||
|
@ -959,7 +959,7 @@ s32 rtl8188e_FirmwareDownload(PADAPTER padapter)
|
|||
pHalData->FirmwareSignature = le16_to_cpu(pFwHdr->Signature);
|
||||
|
||||
DBG_871X ("%s: fw_ver=%d fw_subver=%d sig=0x%x\n",
|
||||
__FUNCTION__, pHalData->FirmwareVersion, pHalData->FirmwareSubVersion, pHalData->FirmwareSignature);
|
||||
__func__, pHalData->FirmwareVersion, pHalData->FirmwareSubVersion, pHalData->FirmwareSignature);
|
||||
|
||||
if (IS_FW_HEADER_EXIST(pFwHdr))
|
||||
{
|
||||
|
@ -989,7 +989,7 @@ s32 rtl8188e_FirmwareDownload(PADAPTER padapter)
|
|||
)
|
||||
break;
|
||||
|
||||
DBG_871X("%s writeFW_retry:%u, time after fwdl_start_time:%ums\n", __FUNCTION__
|
||||
DBG_871X("%s writeFW_retry:%u, time after fwdl_start_time:%ums\n", __func__
|
||||
, writeFW_retry
|
||||
, rtw_get_passing_time_ms(fwdl_start_time)
|
||||
);
|
||||
|
@ -1267,14 +1267,14 @@ Hal_EfuseReadEFuse88E(
|
|||
efuseTbl = (u8*)rtw_zmalloc(EFUSE_MAP_LEN_88E);
|
||||
if (efuseTbl == NULL)
|
||||
{
|
||||
DBG_871X("%s: alloc efuseTbl fail!\n", __FUNCTION__);
|
||||
DBG_871X("%s: alloc efuseTbl fail!\n", __func__);
|
||||
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_871X("%s: alloc eFuseWord fail!\n", __func__);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -1524,7 +1524,7 @@ 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_871X("%s compare first 0x130 byte fail\n", __func__);
|
||||
for (i=0;i<512;i++)
|
||||
{
|
||||
if (i%16==0)
|
||||
|
@ -2840,7 +2840,7 @@ void rtl8188e_start_thread(_adapter *padapter)
|
|||
pHalData->SdioXmitThread = kthread_run(rtl8188es_xmit_thread, padapter, "RTWHALXT");
|
||||
if (IS_ERR(pHalData->SdioXmitThread))
|
||||
{
|
||||
RT_TRACE(_module_hal_xmit_c_, _drv_err_, ("%s: start rtl8188es_xmit_thread FAIL!!\n", __FUNCTION__));
|
||||
RT_TRACE(_module_hal_xmit_c_, _drv_err_, ("%s: start rtl8188es_xmit_thread FAIL!!\n", __func__));
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -3401,7 +3401,7 @@ void Hal_ReadPowerSavingMode88E(
|
|||
//if (SUPPORT_HW_RADIO_DETECT(Adapter))
|
||||
//Adapter->registrypriv.usbss_enable = Adapter->pwrctrlpriv.bSupportRemoteWakeup ;
|
||||
|
||||
DBG_8192C("%s...bHWPwrPindetect(%x)-bHWPowerdown(%x) ,bSupportRemoteWakeup(%x)\n",__FUNCTION__,
|
||||
DBG_8192C("%s...bHWPwrPindetect(%x)-bHWPowerdown(%x) ,bSupportRemoteWakeup(%x)\n",__func__,
|
||||
padapter->pwrctrlpriv.bHWPwrPindetect,padapter->pwrctrlpriv.bHWPowerdown ,padapter->pwrctrlpriv.bSupportRemoteWakeup);
|
||||
|
||||
DBG_8192C("### PS params=> power_mgnt(%x),usbss_enable(%x) ###\n",padapter->registrypriv.power_mgnt,padapter->registrypriv.usbss_enable);
|
||||
|
|
|
@ -2942,7 +2942,7 @@ static void _PHY_SwChnl8192C(PADAPTER Adapter, u8 channel)
|
|||
|
||||
if ( Adapter->bNotifyChannelChange )
|
||||
{
|
||||
DBG_871X( "[%s] ch = %d\n", __FUNCTION__, channel );
|
||||
DBG_871X( "[%s] ch = %d\n", __func__, channel );
|
||||
}
|
||||
|
||||
//s1. pre common command - CmdID_SetTxPowerLevel
|
||||
|
|
|
@ -314,7 +314,7 @@ void update_recvframe_phyinfo_88e(
|
|||
if (psta)
|
||||
{
|
||||
pkt_info.StationID = psta->mac_id;
|
||||
//DBG_8192C("%s ==> StationID(%d)\n",__FUNCTION__,pkt_info.StationID);
|
||||
//DBG_8192C("%s ==> StationID(%d)\n",__func__,pkt_info.StationID);
|
||||
}
|
||||
pkt_info.Rate = pattrib->mcs_rate;
|
||||
//rtl8188e_query_rx_phy_status(precvframe, pphy_status);
|
||||
|
|
|
@ -142,7 +142,7 @@ void rtl8188e_silentreset_for_specific_platform(_adapter *padapter)
|
|||
|
||||
#ifdef DBG_CONFIG_ERROR_RESET
|
||||
|
||||
DBG_871X("%s\n", __FUNCTION__);
|
||||
DBG_871X("%s\n", __func__);
|
||||
|
||||
psrtpriv->Wifi_Error_Status = WIFI_STATUS_SUCCESS;
|
||||
|
||||
|
@ -189,13 +189,13 @@ void rtl8188e_sreset_xmit_status_check(_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_871X("%s REG_TXDMA_STATUS:0x%08x\n", __func__, txdma_status);
|
||||
rtw_write32(padapter,REG_TXDMA_STATUS,txdma_status);
|
||||
rtl8188e_silentreset_for_specific_platform(padapter);
|
||||
}
|
||||
#ifdef CONFIG_USB_HCI
|
||||
//total xmit irp = 4
|
||||
//DBG_8192C("==>%s free_xmitbuf_cnt(%d),txirp_cnt(%d)\n",__FUNCTION__,pxmitpriv->free_xmitbuf_cnt,pxmitpriv->txirp_cnt);
|
||||
//DBG_8192C("==>%s free_xmitbuf_cnt(%d),txirp_cnt(%d)\n",__func__,pxmitpriv->free_xmitbuf_cnt,pxmitpriv->txirp_cnt);
|
||||
//if (pxmitpriv->txirp_cnt == NR_XMITBUFF+1)
|
||||
current_time = rtw_get_current_time();
|
||||
if (0==pxmitpriv->free_xmitbuf_cnt)
|
||||
|
@ -210,7 +210,7 @@ void rtl8188e_sreset_xmit_status_check(_adapter *padapter)
|
|||
diff_time = jiffies_to_msecs(current_time - psrtpriv->last_tx_complete_time);
|
||||
if (diff_time > 4000){
|
||||
//padapter->Wifi_Error_Status = WIFI_TX_HANG;
|
||||
DBG_8192C("%s tx hang\n", __FUNCTION__);
|
||||
DBG_8192C("%s tx hang\n", __func__);
|
||||
rtl8188e_silentreset_for_specific_platform(padapter);
|
||||
}
|
||||
}
|
||||
|
@ -225,16 +225,16 @@ void rtl8188e_sreset_linked_status_check(_adapter *padapter)
|
|||
u8 fw_status=0;
|
||||
rx_dma_status = rtw_read32(padapter,REG_RXDMA_STATUS);
|
||||
if (rx_dma_status!= 0x00){
|
||||
DBG_8192C("%s REG_RXDMA_STATUS:0x%08x\n",__FUNCTION__,rx_dma_status);
|
||||
DBG_8192C("%s REG_RXDMA_STATUS:0x%08x\n",__func__,rx_dma_status);
|
||||
rtw_write32(padapter,REG_RXDMA_STATUS,rx_dma_status);
|
||||
}
|
||||
fw_status = rtw_read8(padapter,REG_FMETHR);
|
||||
if (fw_status != 0x00)
|
||||
{
|
||||
if (fw_status == 1)
|
||||
DBG_8192C("%s REG_FW_STATUS (0x%02x), Read_Efuse_Fail !! \n",__FUNCTION__,fw_status);
|
||||
DBG_8192C("%s REG_FW_STATUS (0x%02x), Read_Efuse_Fail !! \n",__func__,fw_status);
|
||||
else if (fw_status == 2)
|
||||
DBG_8192C("%s REG_FW_STATUS (0x%02x), Condition_No_Match !! \n",__FUNCTION__,fw_status);
|
||||
DBG_8192C("%s REG_FW_STATUS (0x%02x), Condition_No_Match !! \n",__func__,fw_status);
|
||||
}
|
||||
#if 0
|
||||
u32 regc50,regc58,reg824,reg800;
|
||||
|
@ -247,7 +247,7 @@ void rtl8188e_sreset_linked_status_check(_adapter *padapter)
|
|||
(((reg824&0xFFFFFF00)!= 0x00390000)&&(((reg824&0xFFFFFF00)!= 0x80390000)))||
|
||||
( ((reg800&0xFFFFFF00)!= 0x03040000)&&((reg800&0xFFFFFF00)!= 0x83040000)))
|
||||
{
|
||||
DBG_8192C("%s regc50:0x%08x, regc58:0x%08x, reg824:0x%08x, reg800:0x%08x,\n", __FUNCTION__,
|
||||
DBG_8192C("%s regc50:0x%08x, regc58:0x%08x, reg824:0x%08x, reg800:0x%08x,\n", __func__,
|
||||
regc50, regc58, reg824, reg800);
|
||||
rtl8188e_silentreset_for_specific_platform(padapter);
|
||||
}
|
||||
|
|
|
@ -145,9 +145,9 @@ InsertEMContent_8188E(
|
|||
#ifdef DBG_EMINFO
|
||||
{
|
||||
int i;
|
||||
DBG_8192C("\n%s ==> pEMInfo->EMPktNum =%d\n",__FUNCTION__,pEMInfo->EMPktNum);
|
||||
DBG_8192C("\n%s ==> pEMInfo->EMPktNum =%d\n",__func__,pEMInfo->EMPktNum);
|
||||
for (i=0;i< EARLY_MODE_MAX_PKT_NUM;i++){
|
||||
DBG_8192C("%s ==> pEMInfo->EMPktLen[%d] =%d\n",__FUNCTION__,i,pEMInfo->EMPktLen[i]);
|
||||
DBG_8192C("%s ==> pEMInfo->EMPktLen[%d] =%d\n",__func__,i,pEMInfo->EMPktLen[i]);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -227,12 +227,12 @@ void UpdateEarlyModeInfo8188E(struct xmit_priv *pxmitpriv,struct xmit_buf *pxmit
|
|||
pmem= pframe->buf_addr;
|
||||
|
||||
#ifdef DBG_EMINFO
|
||||
DBG_8192C("\n%s ==> agg_num:%d\n",__FUNCTION__, pframe->agg_num);
|
||||
DBG_8192C("\n%s ==> agg_num:%d\n",__func__, pframe->agg_num);
|
||||
for (index=0;index<pframe->agg_num;index++){
|
||||
offset = pxmitpriv->agg_pkt[index].offset;
|
||||
pktlen = pxmitpriv->agg_pkt[index].pkt_len;
|
||||
DBG_8192C("%s ==> agg_pkt[%d].offset=%d\n",__FUNCTION__,index,offset);
|
||||
DBG_8192C("%s ==> agg_pkt[%d].pkt_len=%d\n",__FUNCTION__,index,pktlen);
|
||||
DBG_8192C("%s ==> agg_pkt[%d].offset=%d\n",__func__,index,offset);
|
||||
DBG_8192C("%s ==> agg_pkt[%d].pkt_len=%d\n",__func__,index,pktlen);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -277,7 +277,7 @@ void UpdateEarlyModeInfo8188E(struct xmit_priv *pxmitpriv,struct xmit_buf *pxmit
|
|||
}
|
||||
|
||||
#ifdef DBG_EMINFO
|
||||
DBG_8192C("%s ==> desc.pkt_len=%d\n",__FUNCTION__,ptxdesc->pktlen);
|
||||
DBG_8192C("%s ==> desc.pkt_len=%d\n",__func__,ptxdesc->pktlen);
|
||||
#endif
|
||||
InsertEMContent_8188E(&eminfo,pEMInfo_mem);
|
||||
}
|
||||
|
|
|
@ -291,7 +291,7 @@ if (padapter->registrypriv.mp_mode == 0)
|
|||
|
||||
//4 offset 0
|
||||
ptxdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG);
|
||||
//DBG_8192C("%s==> pkt_len=%d,bagg_pkt=%02x\n",__FUNCTION__,sz,bagg_pkt);
|
||||
//DBG_8192C("%s==> pkt_len=%d,bagg_pkt=%02x\n",__func__,sz,bagg_pkt);
|
||||
ptxdesc->txdw0 |= cpu_to_le32(sz & 0x0000ffff);//update TXPKTSIZE
|
||||
|
||||
offset = TXDESC_SIZE + OFFSET_SZ;
|
||||
|
@ -301,7 +301,7 @@ if (padapter->registrypriv.mp_mode == 0)
|
|||
offset += EARLY_MODE_INFO_SIZE ;//0x28
|
||||
}
|
||||
#endif
|
||||
//DBG_8192C("%s==>offset(0x%02x) \n",__FUNCTION__,offset);
|
||||
//DBG_8192C("%s==>offset(0x%02x) \n",__func__,offset);
|
||||
ptxdesc->txdw0 |= cpu_to_le32(((offset) << OFFSET_SHT) & 0x00ff0000);//32 bytes for TX Desc
|
||||
|
||||
if (bmcst) ptxdesc->txdw0 |= cpu_to_le32(BMC);
|
||||
|
@ -316,7 +316,7 @@ if (padapter->registrypriv.mp_mode == 0)
|
|||
}
|
||||
}
|
||||
#endif
|
||||
//DBG_8192C("%s, pkt_offset=0x%02x\n",__FUNCTION__,pxmitframe->pkt_offset);
|
||||
//DBG_8192C("%s, pkt_offset=0x%02x\n",__func__,pxmitframe->pkt_offset);
|
||||
|
||||
// pkt_offset, unit:8 bytes padding
|
||||
if (pxmitframe->pkt_offset > 0)
|
||||
|
@ -368,7 +368,7 @@ if (padapter->registrypriv.mp_mode == 0)
|
|||
//offset 20
|
||||
#ifdef CONFIG_USB_TX_AGGREGATION
|
||||
if (pxmitframe->agg_num > 1){
|
||||
//DBG_8192C("%s agg_num:%d\n",__FUNCTION__,pxmitframe->agg_num );
|
||||
//DBG_8192C("%s agg_num:%d\n",__func__,pxmitframe->agg_num );
|
||||
ptxdesc->txdw5 |= cpu_to_le32((pxmitframe->agg_num << USB_TXAGG_NUM_SHT) & 0xFF000000);
|
||||
}
|
||||
#endif
|
||||
|
@ -484,7 +484,7 @@ if (padapter->registrypriv.mp_mode == 0)
|
|||
|
||||
#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_871X("\n %s pattrib->rate=%d\n",__func__,pattrib->rate);
|
||||
ptxdesc->txdw5 |= cpu_to_le32( pattrib->rate);
|
||||
}
|
||||
else
|
||||
|
@ -574,7 +574,7 @@ s32 rtl8188eu_xmit_buf_handler(PADAPTER padapter)
|
|||
ret = _rtw_down_sema(&pxmitpriv->xmit_sema);
|
||||
if (_FAIL == ret) {
|
||||
RT_TRACE(_module_hal_xmit_c_, _drv_emerg_,
|
||||
("%s: down SdioXmitBufSema fail!\n", __FUNCTION__));
|
||||
("%s: down SdioXmitBufSema fail!\n", __func__));
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
|
@ -582,7 +582,7 @@ s32 rtl8188eu_xmit_buf_handler(PADAPTER padapter)
|
|||
if (ret) {
|
||||
RT_TRACE(_module_hal_xmit_c_, _drv_notice_,
|
||||
("%s: bDriverStopped(%d) bSurpriseRemoved(%d)!\n",
|
||||
__FUNCTION__, padapter->bDriverStopped, padapter->bSurpriseRemoved));
|
||||
__func__, padapter->bDriverStopped, padapter->bSurpriseRemoved));
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
|
@ -593,7 +593,7 @@ s32 rtl8188eu_xmit_buf_handler(PADAPTER padapter)
|
|||
ret = rtw_register_tx_alive(padapter);
|
||||
if (ret != _SUCCESS) {
|
||||
RT_TRACE(_module_hal_xmit_c_, _drv_notice_,
|
||||
("%s: wait to leave LPS_LCLK\n", __FUNCTION__));
|
||||
("%s: wait to leave LPS_LCLK\n", __func__));
|
||||
return _SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
@ -763,12 +763,12 @@ s32 rtl8188eu_xmitframe_complete(_adapter *padapter, struct xmit_priv *pxmitpriv
|
|||
if (pxmitbuf == NULL) {
|
||||
pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv);
|
||||
if (pxmitbuf == NULL){
|
||||
//DBG_871X("%s #1, connot alloc xmitbuf!!!!\n",__FUNCTION__);
|
||||
//DBG_871X("%s #1, connot alloc xmitbuf!!!!\n",__func__);
|
||||
return _FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
//DBG_8192C("%s =====================================\n",__FUNCTION__);
|
||||
//DBG_8192C("%s =====================================\n",__func__);
|
||||
//3 1. pick up first frame
|
||||
do {
|
||||
rtw_free_xmitframe(pxmitpriv, pxmitframe);
|
||||
|
@ -898,7 +898,7 @@ s32 rtl8188eu_xmitframe_complete(_adapter *padapter, struct xmit_priv *pxmitpriv
|
|||
if (_RND8(pbuf + len) > MAX_XMITBUF_SZ)
|
||||
//if (_RND8(pbuf + len) > (MAX_XMITBUF_SZ/2))//to do : for TX TP finial tune , Georgia 2012-0323
|
||||
{
|
||||
//DBG_8192C("%s....len> MAX_XMITBUF_SZ\n",__FUNCTION__);
|
||||
//DBG_8192C("%s....len> MAX_XMITBUF_SZ\n",__func__);
|
||||
pxmitframe->agg_num = 1;
|
||||
pxmitframe->pkt_offset = 1;
|
||||
break;
|
||||
|
@ -936,7 +936,7 @@ s32 rtl8188eu_xmitframe_complete(_adapter *padapter, struct xmit_priv *pxmitpriv
|
|||
#else
|
||||
res = rtw_xmitframe_coalesce(padapter, pxmitframe->pkt, pxmitframe);
|
||||
if (res == _FALSE) {
|
||||
DBG_871X("%s coalesce failed\n",__FUNCTION__);
|
||||
DBG_871X("%s coalesce failed\n",__func__);
|
||||
rtw_free_xmitframe(pxmitpriv, pxmitframe);
|
||||
continue;
|
||||
}
|
||||
|
@ -1011,7 +1011,7 @@ s32 rtl8188eu_xmitframe_complete(_adapter *padapter, struct xmit_priv *pxmitpriv
|
|||
|
||||
//3 4. write xmit buffer to USB FIFO
|
||||
ff_hwaddr = rtw_get_ff_hwaddr(pfirstframe);
|
||||
//DBG_8192C("%s ===================================== write port,buf_size(%d)\n",__FUNCTION__,pbuf_tail);
|
||||
//DBG_8192C("%s ===================================== write port,buf_size(%d)\n",__func__,pbuf_tail);
|
||||
// xmit address == ((xmit_frame*)pxmitbuf->priv_data)->buf_addr
|
||||
rtw_write_port(padapter, ff_hwaddr, pbuf_tail, (u8*)pxmitbuf);
|
||||
|
||||
|
@ -1112,14 +1112,14 @@ s32 rtl8188eu_xmitframe_complete(_adapter *padapter, struct xmit_priv *pxmitpriv
|
|||
static s32 xmitframe_direct(_adapter *padapter, struct xmit_frame *pxmitframe)
|
||||
{
|
||||
s32 res = _SUCCESS;
|
||||
//DBG_8192C("==> %s\n",__FUNCTION__);
|
||||
//DBG_8192C("==> %s\n",__func__);
|
||||
|
||||
res = rtw_xmitframe_coalesce(padapter, pxmitframe->pkt, pxmitframe);
|
||||
if (res == _SUCCESS) {
|
||||
rtw_dump_xframe(padapter, pxmitframe);
|
||||
}
|
||||
else{
|
||||
DBG_8192C("==> %s xmitframe_coalsece failed\n",__FUNCTION__);
|
||||
DBG_8192C("==> %s xmitframe_coalsece failed\n",__func__);
|
||||
}
|
||||
|
||||
return res;
|
||||
|
@ -1145,7 +1145,7 @@ static s32 pre_xmitframe(_adapter *padapter, struct xmit_frame *pxmitframe)
|
|||
|
||||
_enter_critical_bh(&pxmitpriv->lock, &irqL);
|
||||
|
||||
//DBG_8192C("==> %s\n",__FUNCTION__);
|
||||
//DBG_8192C("==> %s\n",__func__);
|
||||
|
||||
if (rtw_txframes_sta_ac_pending(padapter, pattrib) > 0)
|
||||
{
|
||||
|
@ -1218,7 +1218,7 @@ static void rtl8188eu_hostap_mgnt_xmit_cb(struct urb *urb)
|
|||
#ifdef PLATFORM_LINUX
|
||||
struct sk_buff *skb = (struct sk_buff *)urb->context;
|
||||
|
||||
//DBG_8192C("%s\n", __FUNCTION__);
|
||||
//DBG_8192C("%s\n", __func__);
|
||||
|
||||
dev_kfree_skb_any(skb);
|
||||
#endif
|
||||
|
@ -1241,7 +1241,7 @@ s32 rtl8188eu_hostap_mgnt_xmit_entry(_adapter *padapter, _pkt *pkt)
|
|||
struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter);
|
||||
|
||||
|
||||
//DBG_8192C("%s\n", __FUNCTION__);
|
||||
//DBG_8192C("%s\n", __func__);
|
||||
|
||||
skb = pkt;
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ _ConfigNormalChipOutEP_8188E(
|
|||
break;
|
||||
|
||||
}
|
||||
DBG_871X("%s OutEpQueueSel(0x%02x), OutEpNumber(%d)\n",__FUNCTION__,pHalData->OutEpQueueSel,pHalData->OutEpNumber );
|
||||
DBG_871X("%s OutEpQueueSel(0x%02x), OutEpNumber(%d)\n",__func__,pHalData->OutEpQueueSel,pHalData->OutEpNumber );
|
||||
|
||||
}
|
||||
|
||||
|
@ -1350,7 +1350,7 @@ _InitAntenna_Selection(IN PADAPTER Adapter)
|
|||
|
||||
if (pHalData->AntDivCfg==0)
|
||||
return;
|
||||
DBG_8192C("==> %s ....\n",__FUNCTION__);
|
||||
DBG_8192C("==> %s ....\n",__func__);
|
||||
|
||||
rtw_write32(Adapter, REG_LEDCFG0, rtw_read32(Adapter, REG_LEDCFG0)|BIT23);
|
||||
PHY_SetBBReg(Adapter, rFPGA0_XAB_RFParameter, BIT13, 0x01);
|
||||
|
@ -1359,7 +1359,7 @@ _InitAntenna_Selection(IN PADAPTER Adapter)
|
|||
pHalData->CurAntenna = Antenna_A;
|
||||
else
|
||||
pHalData->CurAntenna = Antenna_B;
|
||||
DBG_8192C("%s,Cur_ant:(%x)%s\n",__FUNCTION__,pHalData->CurAntenna,(pHalData->CurAntenna == Antenna_A)?"Antenna_A":"Antenna_B");
|
||||
DBG_8192C("%s,Cur_ant:(%x)%s\n",__func__,pHalData->CurAntenna,(pHalData->CurAntenna == Antenna_A)?"Antenna_A":"Antenna_B");
|
||||
|
||||
|
||||
}
|
||||
|
@ -1703,7 +1703,7 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_DOWNLOAD_FW);
|
|||
#endif //CONFIG_WOWLAN
|
||||
|
||||
if (status != _SUCCESS) {
|
||||
DBG_871X("%s: Download Firmware failed!!\n", __FUNCTION__);
|
||||
DBG_871X("%s: Download Firmware failed!!\n", __func__);
|
||||
Adapter->bFWReady = _FALSE;
|
||||
pHalData->fw_ractrl = _FALSE;
|
||||
return status;
|
||||
|
@ -1757,7 +1757,7 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_EFUSE_PATCH);
|
|||
#if defined(CONFIG_IOL_EFUSE_PATCH)
|
||||
status = rtl8188e_iol_efuse_patch(Adapter);
|
||||
if (status == _FAIL){
|
||||
DBG_871X("%s rtl8188e_iol_efuse_patch failed\n",__FUNCTION__);
|
||||
DBG_871X("%s rtl8188e_iol_efuse_patch failed\n",__func__);
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
|
@ -2070,7 +2070,7 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_LCK);
|
|||
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_871X("%s in %dms\n", __func__, rtw_get_passing_time_ms(init_start_time));
|
||||
|
||||
#ifdef DBG_HAL_INIT_PROFILING
|
||||
hal_init_stages_timestamp[HAL_INIT_STAGES_END]=rtw_get_current_time();
|
||||
|
@ -2197,7 +2197,7 @@ u32 rtl8188eu_hal_deinit(PADAPTER Adapter)
|
|||
{
|
||||
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
DBG_8192C("==> %s\n",__FUNCTION__);
|
||||
DBG_8192C("==> %s\n",__func__);
|
||||
|
||||
#ifdef CONFIG_SUPPORT_USB_INT
|
||||
rtw_write32(Adapter, REG_HIMR_88E, IMR_DISABLED_88E);
|
||||
|
@ -2270,7 +2270,7 @@ _func_enter_;
|
|||
if (pHalData->RtIntInPipe != 0x05)
|
||||
{
|
||||
status = _FAIL;
|
||||
DBG_871X("%s =>Warning !! Have not USB Int-IN pipe, pHalData->RtIntInPipe(%d)!!!\n",__FUNCTION__,pHalData->RtIntInPipe);
|
||||
DBG_871X("%s =>Warning !! Have not USB Int-IN pipe, pHalData->RtIntInPipe(%d)!!!\n",__func__,pHalData->RtIntInPipe);
|
||||
goto exit;
|
||||
}
|
||||
_read_interrupt = pintfhdl->io_ops._read_interrupt;
|
||||
|
@ -2583,7 +2583,7 @@ _ReadMACAddress(
|
|||
//sMacAddr[5] = (u8)GetRandomNumber(1, 254);
|
||||
_rtw_memcpy(pEEPROM->mac_addr, sMacAddr, ETH_ALEN);
|
||||
}
|
||||
DBG_8192C("%s MAC Address from EFUSE = "MAC_FMT"\n",__FUNCTION__, MAC_ARG(pEEPROM->mac_addr));
|
||||
DBG_8192C("%s MAC Address from EFUSE = "MAC_FMT"\n",__func__, MAC_ARG(pEEPROM->mac_addr));
|
||||
//NicIFSetMacAddress(Adapter, Adapter->PermanentAddress);
|
||||
//RT_PRINT_ADDR(COMP_INIT|COMP_EFUSE, DBG_LOUD, "MAC Addr: %s", Adapter->PermanentAddress);
|
||||
#endif
|
||||
|
@ -2911,7 +2911,7 @@ static void _ReadPSSetting(IN PADAPTER Adapter,IN u8*PROMContent,IN u8 AutoloadF
|
|||
//if (SUPPORT_HW_RADIO_DETECT(Adapter))
|
||||
//Adapter->registrypriv.usbss_enable = Adapter->pwrctrlpriv.bSupportRemoteWakeup ;
|
||||
|
||||
DBG_8192C("%s...bHWPwrPindetect(%x)-bHWPowerdown(%x) ,bSupportRemoteWakeup(%x)\n",__FUNCTION__,
|
||||
DBG_8192C("%s...bHWPwrPindetect(%x)-bHWPowerdown(%x) ,bSupportRemoteWakeup(%x)\n",__func__,
|
||||
Adapter->pwrctrlpriv.bHWPwrPindetect,Adapter->pwrctrlpriv.bHWPowerdown ,Adapter->pwrctrlpriv.bSupportRemoteWakeup);
|
||||
|
||||
DBG_8192C("### PS params=> power_mgnt(%x),usbss_enable(%x) ###\n",Adapter->registrypriv.power_mgnt,Adapter->registrypriv.usbss_enable);
|
||||
|
@ -3134,7 +3134,7 @@ static int _ReadAdapterInfo8188EU(PADAPTER Adapter)
|
|||
//HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
u32 start=rtw_get_current_time();
|
||||
|
||||
MSG_8192C("====> %s\n", __FUNCTION__);
|
||||
MSG_8192C("====> %s\n", __func__);
|
||||
|
||||
//Efuse_InitSomeVar(Adapter);
|
||||
|
||||
|
@ -3144,9 +3144,9 @@ static int _ReadAdapterInfo8188EU(PADAPTER Adapter)
|
|||
_ReadRFType(Adapter);//rf_chip -> _InitRFType()
|
||||
_ReadPROMContent(Adapter);
|
||||
|
||||
//MSG_8192C("%s()(done), rf_chip=0x%x, rf_type=0x%x\n", __FUNCTION__, pHalData->rf_chip, pHalData->rf_type);
|
||||
//MSG_8192C("%s()(done), rf_chip=0x%x, rf_type=0x%x\n", __func__, pHalData->rf_chip, pHalData->rf_type);
|
||||
|
||||
MSG_8192C("<==== %s in %d ms\n", __FUNCTION__, rtw_get_passing_time_ms(start));
|
||||
MSG_8192C("<==== %s in %d ms\n", __func__, rtw_get_passing_time_ms(start));
|
||||
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
@ -3250,7 +3250,7 @@ static void hw_var_set_opmode(PADAPTER Adapter, u8 variable, u8* val)
|
|||
val8 |= (mode<<2);
|
||||
rtw_write8(Adapter, MSR, val8);
|
||||
|
||||
DBG_871X("%s()-%d mode = %d\n", __FUNCTION__, __LINE__, mode);
|
||||
DBG_871X("%s()-%d mode = %d\n", __func__, __LINE__, mode);
|
||||
|
||||
if ((mode == _HW_STATE_STATION_) || (mode == _HW_STATE_NOLINK_))
|
||||
{
|
||||
|
@ -3343,7 +3343,7 @@ static void hw_var_set_opmode(PADAPTER Adapter, u8 variable, u8* val)
|
|||
if ( check_buddy_fwstate(Adapter, (WIFI_STATION_STATE|WIFI_ASOC_STATE)) ) {
|
||||
if (reset_tsf(Adapter, IFACE_PORT1) == _FALSE)
|
||||
DBG_871X("ERROR! %s()-%d: Reset port1 TSF fail\n",
|
||||
__FUNCTION__, __LINE__);
|
||||
__func__, __LINE__);
|
||||
}
|
||||
#endif // CONFIG_TSF_RESET_OFFLOAD
|
||||
}
|
||||
|
@ -3359,7 +3359,7 @@ static void hw_var_set_opmode(PADAPTER Adapter, u8 variable, u8* val)
|
|||
val8 |= mode;
|
||||
rtw_write8(Adapter, MSR, val8);
|
||||
|
||||
DBG_871X("%s()-%d mode = %d\n", __FUNCTION__, __LINE__, mode);
|
||||
DBG_871X("%s()-%d mode = %d\n", __func__, __LINE__, mode);
|
||||
|
||||
if ((mode == _HW_STATE_STATION_) || (mode == _HW_STATE_NOLINK_))
|
||||
{
|
||||
|
@ -3453,7 +3453,7 @@ static void hw_var_set_opmode(PADAPTER Adapter, u8 variable, u8* val)
|
|||
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",
|
||||
__FUNCTION__, __LINE__);
|
||||
__func__, __LINE__);
|
||||
}
|
||||
#endif // CONFIG_TSF_RESET_OFFLOAD
|
||||
}
|
||||
|
@ -3580,7 +3580,7 @@ static void hw_var_set_correct_tsf(PADAPTER Adapter, u8 variable, u8* val)
|
|||
// Update buddy port's TSF(TBTT) if it is SoftAP for beacon TX issue!
|
||||
if (reset_tsf(Adapter, IFACE_PORT0) == _FALSE)
|
||||
DBG_871X("ERROR! %s()-%d: Reset port0 TSF fail\n",
|
||||
__FUNCTION__, __LINE__);
|
||||
__func__, __LINE__);
|
||||
|
||||
#endif // CONFIG_TSF_RESET_OFFLOAD
|
||||
}
|
||||
|
@ -3614,7 +3614,7 @@ static void hw_var_set_correct_tsf(PADAPTER Adapter, u8 variable, u8* val)
|
|||
// Update buddy port's TSF if it is SoftAP for beacon TX issue!
|
||||
if (reset_tsf(Adapter, IFACE_PORT1) == _FALSE)
|
||||
DBG_871X("ERROR! %s()-%d: Reset port1 TSF fail\n",
|
||||
__FUNCTION__, __LINE__);
|
||||
__func__, __LINE__);
|
||||
#endif // CONFIG_TSF_RESET_OFFLOAD
|
||||
}
|
||||
|
||||
|
@ -4069,7 +4069,7 @@ _func_enter_;
|
|||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
u16 bcn_interval = *((u16 *)val);
|
||||
if ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE){
|
||||
DBG_8192C("%s==> bcn_interval:%d, eraly_int:%d\n",__FUNCTION__,bcn_interval,bcn_interval>>1);
|
||||
DBG_8192C("%s==> bcn_interval:%d, eraly_int:%d\n",__func__,bcn_interval,bcn_interval>>1);
|
||||
rtw_write8(Adapter, REG_DRVERLYINT, bcn_interval>>1);// 50ms for sdio
|
||||
}
|
||||
}
|
||||
|
@ -5073,7 +5073,7 @@ void UpdateHalRAMask8188EUsb(PADAPTER padapter, u32 mac_id, u8 rssi_level)
|
|||
{
|
||||
rate_bitmap = ODM_Get_Rate_Bitmap(&pHalData->odmpriv,mac_id,mask,rssi_level);
|
||||
printk("%s => mac_id:%d, networkType:0x%02x, mask:0x%08x\n\t ==> rssi_level:%d, rate_bitmap:0x%08x\n",
|
||||
__FUNCTION__,mac_id,networkType,mask,rssi_level,rate_bitmap);
|
||||
__func__,mac_id,networkType,mask,rssi_level,rate_bitmap);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ static int usbctrl_vendorreq(struct intf_hdl *pintfhdl, u8 request, u16 value, u
|
|||
}
|
||||
#endif
|
||||
|
||||
//DBG_871X("%s %s:%d\n",__FUNCTION__, current->comm, current->pid);
|
||||
//DBG_871X("%s %s:%d\n",__func__, current->comm, current->pid);
|
||||
|
||||
if ((padapter->bSurpriseRemoved) ||(padapter->pwrctrlpriv.pnp_bstop_trx)){
|
||||
RT_TRACE(_module_hci_ops_os_c_,_drv_err_,("usbctrl_vendorreq:(padapter->bSurpriseRemoved ||adapter->pwrctrlpriv.pnp_bstop_trx)!!!\n"));
|
||||
|
@ -71,7 +71,7 @@ static int usbctrl_vendorreq(struct intf_hdl *pintfhdl, u8 request, u16 value, u
|
|||
}
|
||||
|
||||
if (len>MAX_VENDOR_REQ_CMD_SIZE){
|
||||
DBG_8192C( "[%s] Buffer len error ,vendor request failed\n", __FUNCTION__ );
|
||||
DBG_8192C( "[%s] Buffer len error ,vendor request failed\n", __func__ );
|
||||
status = -EINVAL;
|
||||
goto exit;
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ static int usbctrl_vendorreq(struct intf_hdl *pintfhdl, u8 request, u16 value, u
|
|||
#endif
|
||||
|
||||
if ( pIo_buf== NULL) {
|
||||
DBG_8192C( "[%s] pIo_buf == NULL\n", __FUNCTION__ );
|
||||
DBG_8192C( "[%s] pIo_buf == NULL\n", __func__ );
|
||||
status = -ENOMEM;
|
||||
goto release_mutex;
|
||||
}
|
||||
|
@ -391,7 +391,7 @@ void interrupt_handler_8188eu(_adapter *padapter,u16 pkt_len,u8 *pbuf)
|
|||
|
||||
if ( pkt_len != INTERRUPT_MSG_FORMAT_LEN )
|
||||
{
|
||||
DBG_8192C("%s Invalid interrupt content length (%d)!\n", __FUNCTION__, pkt_len);
|
||||
DBG_8192C("%s Invalid interrupt content length (%d)!\n", __func__, pkt_len);
|
||||
return ;
|
||||
}
|
||||
|
||||
|
@ -409,7 +409,7 @@ void interrupt_handler_8188eu(_adapter *padapter,u16 pkt_len,u8 *pbuf)
|
|||
hisr_ex = le32_to_cpu(hisr_ex);
|
||||
|
||||
if ((hisr != 0) || (hisr_ex!=0))
|
||||
DBG_871X("===> %s hisr:0x%08x ,hisr_ex:0x%08x\n",__FUNCTION__,hisr,hisr_ex);
|
||||
DBG_871X("===> %s hisr:0x%08x ,hisr_ex:0x%08x\n",__func__,hisr,hisr_ex);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -475,13 +475,13 @@ void interrupt_handler_8188eu(_adapter *padapter,u16 pkt_len,u8 *pbuf)
|
|||
|
||||
#ifdef DBG_CONFIG_ERROR_DETECT_INT
|
||||
if ( pHalData->IntArray[1] & IMR_TXERR_88E )
|
||||
DBG_871X("===> %s Tx Error Flag Interrupt Status\n",__FUNCTION__);
|
||||
DBG_871X("===> %s Tx Error Flag Interrupt Status\n",__func__);
|
||||
if ( pHalData->IntArray[1] & IMR_RXERR_88E )
|
||||
DBG_871X("===> %s Rx Error Flag INT Status\n",__FUNCTION__);
|
||||
DBG_871X("===> %s Rx Error Flag INT Status\n",__func__);
|
||||
if ( pHalData->IntArray[1] & IMR_TXFOVW_88E )
|
||||
DBG_871X("===> %s Transmit FIFO Overflow\n",__FUNCTION__);
|
||||
DBG_871X("===> %s Transmit FIFO Overflow\n",__func__);
|
||||
if ( pHalData->IntArray[1] & IMR_RXFOVW_88E )
|
||||
DBG_871X("===> %s Receive FIFO Overflow\n",__FUNCTION__);
|
||||
DBG_871X("===> %s Receive FIFO Overflow\n",__func__);
|
||||
#endif//DBG_CONFIG_ERROR_DETECT_INT
|
||||
|
||||
|
||||
|
@ -503,7 +503,7 @@ static void usb_read_interrupt_complete(struct urb *purb, struct pt_regs *regs)
|
|||
if (padapter->bSurpriseRemoved || padapter->bDriverStopped||padapter->bReadPortCancel)
|
||||
{
|
||||
DBG_8192C("%s() RX Warning! bDriverStopped(%d) OR bSurpriseRemoved(%d) bReadPortCancel(%d)\n",
|
||||
__FUNCTION__,padapter->bDriverStopped, padapter->bSurpriseRemoved,padapter->bReadPortCancel);
|
||||
__func__,padapter->bDriverStopped, padapter->bSurpriseRemoved,padapter->bReadPortCancel);
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -769,7 +769,7 @@ static s32 pre_recv_entry(union recv_frame *precvframe, struct recv_stat *prxsta
|
|||
}
|
||||
else {
|
||||
rtw_free_recvframe(precvframe_if2, pfree_recv_queue);
|
||||
DBG_8192C("%s()-%d: alloc_skb() failed!\n", __FUNCTION__, __LINE__);
|
||||
DBG_8192C("%s()-%d: alloc_skb() failed!\n", __func__, __LINE__);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -829,7 +829,7 @@ static int recvbuf2recvframe(_adapter *padapter, struct recv_buf *precvbuf)
|
|||
if (precvframe==NULL)
|
||||
{
|
||||
RT_TRACE(_module_rtl871x_recv_c_,_drv_err_,("recvbuf2recvframe: precvframe==NULL\n"));
|
||||
DBG_8192C("%s()-%d: rtw_alloc_recvframe() failed! RX Drop!\n", __FUNCTION__, __LINE__);
|
||||
DBG_8192C("%s()-%d: rtw_alloc_recvframe() failed! RX Drop!\n", __func__, __LINE__);
|
||||
goto _exit_recvbuf2recvframe;
|
||||
}
|
||||
|
||||
|
@ -844,15 +844,15 @@ static int recvbuf2recvframe(_adapter *padapter, struct recv_buf *precvbuf)
|
|||
|
||||
#ifdef CONFIG_SPECIAL_SETTING_FOR_FUNAI_TV
|
||||
//if (pattrib->pkt_len>2000){
|
||||
// printk("%s: RX Warning!pkt_len= %d, data rate=0x%02x\n", __FUNCTION__,pattrib->pkt_len,pattrib->mcs_rate);
|
||||
// printk("%s: RX Warning!pkt_len= %d, data rate=0x%02x\n", __func__,pattrib->pkt_len,pattrib->mcs_rate);
|
||||
//}
|
||||
#endif
|
||||
if ((pattrib->crc_err) || (pattrib->icv_err))
|
||||
{
|
||||
if (pattrib->pkt_len>2000){
|
||||
DBG_8192C("%s: RX Warning! crc_err=%d icv_err=%d, skip!\n", __FUNCTION__, pattrib->crc_err, pattrib->icv_err);
|
||||
DBG_8192C("%s: RX Warning! crc_err=%d icv_err=%d, skip!\n", __func__, pattrib->crc_err, pattrib->icv_err);
|
||||
#ifdef CONFIG_SPECIAL_SETTING_FOR_FUNAI_TV
|
||||
printk("%s: RX Warning!pkt_len= %d, data rate=0x%02x\n", __FUNCTION__,pattrib->pkt_len,pattrib->mcs_rate);
|
||||
printk("%s: RX Warning!pkt_len= %d, data rate=0x%02x\n", __func__,pattrib->pkt_len,pattrib->mcs_rate);
|
||||
#endif
|
||||
}
|
||||
rtw_free_recvframe(precvframe, pfree_recv_queue);
|
||||
|
@ -870,7 +870,7 @@ static int recvbuf2recvframe(_adapter *padapter, struct recv_buf *precvbuf)
|
|||
if ((pattrib->pkt_len<=0) || (pkt_offset>transfer_len))
|
||||
{
|
||||
RT_TRACE(_module_rtl871x_recv_c_,_drv_info_,("recvbuf2recvframe: pkt_len<=0\n"));
|
||||
DBG_8192C("%s()-%d: RX Warning!\n", __FUNCTION__, __LINE__);
|
||||
DBG_8192C("%s()-%d: RX Warning!\n", __func__, __LINE__);
|
||||
rtw_free_recvframe(precvframe, pfree_recv_queue);
|
||||
goto _exit_recvbuf2recvframe;
|
||||
}
|
||||
|
@ -998,7 +998,7 @@ static int recvbuf2recvframe(_adapter *padapter, struct recv_buf *precvbuf)
|
|||
}
|
||||
else if (pattrib->pkt_rpt_type == HIS_REPORT)
|
||||
{
|
||||
//DBG_8192C("%s , rx USB HISR\n",__FUNCTION__);
|
||||
//DBG_8192C("%s , rx USB HISR\n",__func__);
|
||||
#ifdef CONFIG_SUPPORT_USB_INT
|
||||
interrupt_handler_8188eu(padapter,pattrib->pkt_len,precvframe->u.hdr.rx_data);
|
||||
#endif
|
||||
|
@ -1060,7 +1060,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
|
|||
{
|
||||
RT_TRACE(_module_hci_ops_os_c_,_drv_err_,("usb_read_port_complete:bDriverStopped(%d) OR bSurpriseRemoved(%d)\n", padapter->bDriverStopped, padapter->bSurpriseRemoved));
|
||||
DBG_8192C("%s() RX Warning! bDriverStopped(%d) OR bSurpriseRemoved(%d) bReadPortCancel(%d)\n",
|
||||
__FUNCTION__,padapter->bDriverStopped, padapter->bSurpriseRemoved,padapter->bReadPortCancel);
|
||||
__func__,padapter->bDriverStopped, padapter->bSurpriseRemoved,padapter->bReadPortCancel);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -1234,7 +1234,7 @@ static int recvbuf2recvframe(_adapter *padapter, _pkt *pskb)
|
|||
if (precvframe==NULL)
|
||||
{
|
||||
RT_TRACE(_module_rtl871x_recv_c_,_drv_err_,("recvbuf2recvframe: precvframe==NULL\n"));
|
||||
DBG_8192C("%s()-%d: rtw_alloc_recvframe() failed! RX Drop!\n", __FUNCTION__, __LINE__);
|
||||
DBG_8192C("%s()-%d: rtw_alloc_recvframe() failed! RX Drop!\n", __func__, __LINE__);
|
||||
goto _exit_recvbuf2recvframe;
|
||||
}
|
||||
|
||||
|
@ -1249,7 +1249,7 @@ static int recvbuf2recvframe(_adapter *padapter, _pkt *pskb)
|
|||
|
||||
if ((pattrib->crc_err) || (pattrib->icv_err))
|
||||
{
|
||||
DBG_8192C("%s: RX Warning! crc_err=%d icv_err=%d, skip!\n", __FUNCTION__, pattrib->crc_err, pattrib->icv_err);
|
||||
DBG_8192C("%s: RX Warning! crc_err=%d icv_err=%d, skip!\n", __func__, pattrib->crc_err, pattrib->icv_err);
|
||||
|
||||
rtw_free_recvframe(precvframe, pfree_recv_queue);
|
||||
goto _exit_recvbuf2recvframe;
|
||||
|
@ -1265,7 +1265,7 @@ static int recvbuf2recvframe(_adapter *padapter, _pkt *pskb)
|
|||
if ((pattrib->pkt_len<=0) || (pkt_offset>transfer_len))
|
||||
{
|
||||
RT_TRACE(_module_rtl871x_recv_c_,_drv_info_,("recvbuf2recvframe: pkt_len<=0\n"));
|
||||
DBG_8192C("%s()-%d: RX Warning!,pkt_len<=0 or pkt_offset> transfoer_len\n", __FUNCTION__, __LINE__);
|
||||
DBG_8192C("%s()-%d: RX Warning!,pkt_len<=0 or pkt_offset> transfoer_len\n", __func__, __LINE__);
|
||||
rtw_free_recvframe(precvframe, pfree_recv_queue);
|
||||
goto _exit_recvbuf2recvframe;
|
||||
}
|
||||
|
@ -1403,7 +1403,7 @@ static int recvbuf2recvframe(_adapter *padapter, _pkt *pskb)
|
|||
}
|
||||
else if (pattrib->pkt_rpt_type == HIS_REPORT)
|
||||
{
|
||||
//DBG_8192C("%s , rx USB HISR\n",__FUNCTION__);
|
||||
//DBG_8192C("%s , rx USB HISR\n",__func__);
|
||||
#ifdef CONFIG_SUPPORT_USB_INT
|
||||
interrupt_handler_8188eu(padapter,pattrib->pkt_len,precvframe->u.hdr.rx_data);
|
||||
#endif
|
||||
|
@ -1498,7 +1498,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
|
|||
}
|
||||
#endif
|
||||
DBG_8192C("%s() RX Warning! bDriverStopped(%d) OR bSurpriseRemoved(%d) bReadPortCancel(%d)\n",
|
||||
__FUNCTION__,padapter->bDriverStopped, padapter->bSurpriseRemoved,padapter->bReadPortCancel);
|
||||
__func__,padapter->bDriverStopped, padapter->bSurpriseRemoved,padapter->bReadPortCancel);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
@ -1509,7 +1509,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
|
|||
RT_TRACE(_module_hci_ops_os_c_,_drv_err_,("usb_read_port_complete: (purb->actual_length > MAX_RECVBUF_SZ) || (purb->actual_length < RXDESC_SIZE)\n"));
|
||||
precvbuf->reuse = _TRUE;
|
||||
rtw_read_port(padapter, precvpriv->ff_hwaddr, 0, (unsigned char *)precvbuf);
|
||||
DBG_8192C("%s()-%d: RX Warning!\n", __FUNCTION__, __LINE__);
|
||||
DBG_8192C("%s()-%d: RX Warning!\n", __func__, __LINE__);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue