mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 04:23:39 +00:00
rtl8188eu: Remove DBG_EXPIRATION_CHK - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
c7c446f21a
commit
41163d07a7
2 changed files with 0 additions and 51 deletions
|
@ -267,14 +267,6 @@ void rtw_remove_bcn_ie(_adapter *padapter, WLAN_BSSID_EX *pnetwork, u8 index)
|
|||
static u8 chk_sta_is_alive(struct sta_info *psta)
|
||||
{
|
||||
u8 ret = false;
|
||||
#ifdef DBG_EXPIRATION_CHK
|
||||
DBG_88E("sta:%pM, rssi:%d, rx:"STA_PKTS_FMT", expire_to:%u, %s%ssq_len:%u\n",
|
||||
(psta->hwaddr), psta->rssi_stat.UndecoratedSmoothedPWDB,
|
||||
STA_RX_PKTS_DIFF_ARG(psta), psta->expire_to,
|
||||
psta->state&WIFI_SLEEP_STATE ? "PS, " : "",
|
||||
psta->state&WIFI_STA_ALIVE_CHK_STATE ? "SAC, " : "",
|
||||
psta->sleepq_len);
|
||||
#endif
|
||||
|
||||
if ((psta->sta_stats.last_rx_data_pkts + psta->sta_stats.last_rx_ctrl_pkts) ==
|
||||
(psta->sta_stats.rx_data_pkts + psta->sta_stats.rx_ctrl_pkts))
|
||||
|
@ -304,12 +296,6 @@ void expire_timeout_chk(_adapter *padapter)
|
|||
plist = get_next(phead);
|
||||
|
||||
/* check auth_queue */
|
||||
#ifdef DBG_EXPIRATION_CHK
|
||||
if (rtw_end_of_queue_search(phead, plist) == false) {
|
||||
DBG_88E(FUNC_NDEV_FMT" auth_list, cnt:%u\n"
|
||||
, FUNC_NDEV_ARG(padapter->pnetdev), pstapriv->auth_list_cnt);
|
||||
}
|
||||
#endif
|
||||
while ((rtw_end_of_queue_search(phead, plist)) == false) {
|
||||
psta = LIST_CONTAINOR(plist, struct sta_info, auth_list);
|
||||
plist = get_next(plist);
|
||||
|
@ -345,12 +331,6 @@ void expire_timeout_chk(_adapter *padapter)
|
|||
plist = get_next(phead);
|
||||
|
||||
/* check asoc_queue */
|
||||
#ifdef DBG_EXPIRATION_CHK
|
||||
if (rtw_end_of_queue_search(phead, plist) == false) {
|
||||
DBG_88E(FUNC_NDEV_FMT" asoc_list, cnt:%u\n"
|
||||
, FUNC_NDEV_ARG(padapter->pnetdev), pstapriv->asoc_list_cnt);
|
||||
}
|
||||
#endif
|
||||
while ((rtw_end_of_queue_search(phead, plist)) == false) {
|
||||
psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list);
|
||||
plist = get_next(plist);
|
||||
|
|
|
@ -8724,38 +8724,13 @@ static u8 chk_ap_is_alive(_adapter *padapter, struct sta_info *psta)
|
|||
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
|
||||
#ifdef DBG_EXPIRATION_CHK
|
||||
DBG_88E(FUNC_ADPT_FMT" rx:"STA_PKTS_FMT", beacon:%llu, probersp_to_self:%llu"
|
||||
/*", probersp_bm:%llu, probersp_uo:%llu, probereq:%llu, BI:%u"*/
|
||||
", retry:%u\n"
|
||||
, FUNC_ADPT_ARG(padapter)
|
||||
, STA_RX_PKTS_DIFF_ARG(psta)
|
||||
, psta->sta_stats.rx_beacon_pkts - psta->sta_stats.last_rx_beacon_pkts
|
||||
, psta->sta_stats.rx_probersp_pkts - psta->sta_stats.last_rx_probersp_pkts
|
||||
/*, psta->sta_stats.rx_probersp_bm_pkts - psta->sta_stats.last_rx_probersp_bm_pkts
|
||||
, psta->sta_stats.rx_probersp_uo_pkts - psta->sta_stats.last_rx_probersp_uo_pkts
|
||||
, psta->sta_stats.rx_probereq_pkts - psta->sta_stats.last_rx_probereq_pkts
|
||||
, pmlmeinfo->bcn_interval*/
|
||||
, pmlmeext->retry
|
||||
);
|
||||
|
||||
DBG_88E(FUNC_ADPT_FMT" tx_pkts:%llu, link_count:%u\n", FUNC_ADPT_ARG(padapter)
|
||||
, padapter->xmitpriv.tx_pkts
|
||||
, pmlmeinfo->link_count
|
||||
);
|
||||
#endif
|
||||
|
||||
if ((sta_rx_data_pkts(psta) == sta_last_rx_data_pkts(psta))
|
||||
&& sta_rx_beacon_pkts(psta) == sta_last_rx_beacon_pkts(psta)
|
||||
&& sta_rx_probersp_pkts(psta) == sta_last_rx_probersp_pkts(psta)
|
||||
)
|
||||
{
|
||||
ret = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = true;
|
||||
}
|
||||
|
||||
sta_update_last_rx_pkts(psta);
|
||||
|
||||
|
@ -8821,9 +8796,6 @@ void linked_status_chk(_adapter *padapter)
|
|||
} else {
|
||||
if (rx_chk != _SUCCESS) {
|
||||
if (pmlmeext->retry == 0) {
|
||||
#ifdef DBG_EXPIRATION_CHK
|
||||
DBG_88E("issue_probereq to trigger probersp, retry=%d\n", pmlmeext->retry);
|
||||
#endif
|
||||
issue_probereq(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress);
|
||||
issue_probereq(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress);
|
||||
issue_probereq(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress);
|
||||
|
@ -8831,9 +8803,6 @@ void linked_status_chk(_adapter *padapter)
|
|||
}
|
||||
|
||||
if (tx_chk != _SUCCESS && pmlmeinfo->link_count++ == 0xf) {
|
||||
#ifdef DBG_EXPIRATION_CHK
|
||||
DBG_88E("%s issue_nulldata 0\n", __func__);
|
||||
#endif
|
||||
tx_chk = issue_nulldata(padapter, NULL, 0, 1, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue