/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 434 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, in check_indicate_seq() argument 437 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() 438 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) % 4096; in check_indicate_seq() 441 if (preorder_ctrl->indicate_seq == 0xffff) in check_indicate_seq() 442 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq() 444 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq() 451 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq() 452 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + in check_indicate_seq() 456 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq() 458 preorder_ctrl->indicate_seq = 4095 - (wsize - in check_indicate_seq() [all …]
|
D | rtl871x_sta_mgt.c | 95 struct recv_reorder_ctrl *preorder_ctrl; in r8712_alloc_stainfo() local 127 preorder_ctrl = &psta->recvreorder_ctrl[i]; in r8712_alloc_stainfo() 128 preorder_ctrl->padapter = pstapriv->padapter; in r8712_alloc_stainfo() 129 preorder_ctrl->indicate_seq = 0xffff; in r8712_alloc_stainfo() 130 preorder_ctrl->wend_b = 0xffff; in r8712_alloc_stainfo() 131 preorder_ctrl->wsize_b = 64; in r8712_alloc_stainfo() 132 _init_queue(&preorder_ctrl->pending_recvframe_queue); in r8712_alloc_stainfo() 133 r8712_init_recv_timer(preorder_ctrl); in r8712_alloc_stainfo() 147 struct recv_reorder_ctrl *preorder_ctrl; in r8712_free_stainfo() local 181 preorder_ctrl = &psta->recvreorder_ctrl[i]; in r8712_free_stainfo() [all …]
|
D | recv_linux.c | 135 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in r8712_init_recv_timer() argument 137 timer_setup(&preorder_ctrl->reordering_ctrl_timer, in r8712_init_recv_timer()
|
D | recv_osdep.h | 37 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
|
D | rtl8712_recv.h | 129 struct recv_reorder_ctrl *preorder_ctrl; member
|
D | rtl871x_mlme.c | 1684 struct recv_reorder_ctrl *preorder_ctrl; in update_ht_cap() local 1718 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in update_ht_cap() 1719 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap() 1720 preorder_ctrl->wend_b = 0xffff; in update_ht_cap() 1727 preorder_ctrl = &psta->recvreorder_ctrl[i]; in update_ht_cap() 1728 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap() 1729 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
|
D | rtl871x_recv.c | 521 precv_frame->u.hdr.preorder_ctrl = in validate_recv_data_frame()
|
/drivers/staging/r8188eu/core/ |
D | rtw_sta_mgt.c | 134 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_free_sta_priv() local 150 preorder_ctrl = &psta->recvreorder_ctrl[i]; in _rtw_free_sta_priv() 151 _cancel_timer_ex(&preorder_ctrl->reordering_ctrl_timer); in _rtw_free_sta_priv() 171 struct recv_reorder_ctrl *preorder_ctrl; in rtw_alloc_stainfo() local 215 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_alloc_stainfo() 217 preorder_ctrl->padapter = pstapriv->padapter; in rtw_alloc_stainfo() 219 preorder_ctrl->enable = false; in rtw_alloc_stainfo() 221 preorder_ctrl->indicate_seq = 0xffff; in rtw_alloc_stainfo() 222 preorder_ctrl->wend_b = 0xffff; in rtw_alloc_stainfo() 223 preorder_ctrl->wsize_b = 64;/* 64; */ in rtw_alloc_stainfo() [all …]
|
D | rtw_recv.c | 1127 precv_frame->preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; in validate_recv_data_frame() 1610 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument 1612 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() 1613 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq() 1616 if (preorder_ctrl->indicate_seq == 0xFFFF) in check_indicate_seq() 1617 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq() 1620 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq() 1628 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq() 1629 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1) & 0xFFF; in check_indicate_seq() 1632 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq() [all …]
|
D | rtw_debug.c | 242 struct recv_reorder_ctrl *preorder_ctrl; in proc_get_ap_info() local 255 preorder_ctrl = &psta->recvreorder_ctrl[i]; in proc_get_ap_info() 256 if (preorder_ctrl->enable) in proc_get_ap_info() 257 …len += snprintf(page + len, count - len, "tid=%d, indicate_seq=%d\n", i, preorder_ctrl->indicate_s… in proc_get_ap_info() 825 struct recv_reorder_ctrl *preorder_ctrl; in proc_get_all_sta_info() local 858 preorder_ctrl = &psta->recvreorder_ctrl[j]; in proc_get_all_sta_info() 859 if (preorder_ctrl->enable) in proc_get_all_sta_info() 860 …len += snprintf(page + len, count - len, "tid=%d, indicate_seq=%d\n", j, preorder_ctrl->indicate_s… in proc_get_all_sta_info()
|
D | rtw_mlme.c | 975 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local 1013 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo() 1014 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo() 1015 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo() 1016 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo() 1017 preorder_ctrl->wsize_b = 64;/* max_ampdu_sz; ex. 32(kbytes) -> wsize_b = 32 */ in rtw_joinbss_update_stainfo() 1023 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo() 1024 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo() 1025 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo() 1026 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo() [all …]
|
D | rtw_wlan_util.c | 1580 struct recv_reorder_ctrl *preorder_ctrl; in process_addba_req() local 1591 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in process_addba_req() 1592 preorder_ctrl->indicate_seq = 0xffff; in process_addba_req() 1593 preorder_ctrl->enable = (pmlmeinfo->bAcceptAddbaReq) ? true : false; in process_addba_req()
|
D | rtw_mlme_ext.c | 1725 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local 1785 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back() 1786 preorder_ctrl->enable = false; in OnAction_back() 1787 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_sta_mgt.c | 143 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_free_sta_priv() local 158 preorder_ctrl = &psta->recvreorder_ctrl[i]; in _rtw_free_sta_priv() 159 del_timer_sync(&preorder_ctrl->reordering_ctrl_timer); in _rtw_free_sta_priv() 180 struct recv_reorder_ctrl *preorder_ctrl; in rtw_alloc_stainfo() local 234 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_alloc_stainfo() 236 preorder_ctrl->padapter = pstapriv->padapter; in rtw_alloc_stainfo() 238 preorder_ctrl->enable = false; in rtw_alloc_stainfo() 240 preorder_ctrl->indicate_seq = 0xffff; in rtw_alloc_stainfo() 241 preorder_ctrl->wend_b = 0xffff; in rtw_alloc_stainfo() 243 preorder_ctrl->wsize_b = 64;/* 64; */ in rtw_alloc_stainfo() [all …]
|
D | rtw_recv.c | 1324 precv_frame->u.hdr.preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; in validate_recv_data_frame() 1636 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument 1638 struct adapter *padapter = preorder_ctrl->padapter; in check_indicate_seq() 1641 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() 1642 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq() 1645 if (preorder_ctrl->indicate_seq == 0xFFFF) { in check_indicate_seq() 1646 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq() 1650 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq() 1659 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq() 1660 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1) & 0xFFF; in check_indicate_seq() [all …]
|
D | rtw_mlme.c | 1020 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local 1078 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo() 1079 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo() 1080 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo() 1081 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo() 1082 preorder_ctrl->wsize_b = 64;/* max_ampdu_sz;ex. 32(kbytes) -> wsize_b =32 */ in rtw_joinbss_update_stainfo() 1089 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo() 1090 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo() 1091 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo() 1092 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo() [all …]
|
D | rtw_wlan_util.c | 1671 struct recv_reorder_ctrl *preorder_ctrl; in process_addba_req() local 1683 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in process_addba_req() 1685 preorder_ctrl->indicate_seq = 0xffff; in process_addba_req() 1687 preorder_ctrl->enable = pmlmeinfo->accept_addba_req; in process_addba_req()
|
D | rtw_mlme_ext.c | 1644 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local 1719 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back() 1720 preorder_ctrl->enable = false; in OnAction_back() 1721 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
|
/drivers/staging/r8188eu/os_dep/ |
D | recv_linux.c | 205 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_reordering_ctrl_timeout_handler() local 207 preorder_ctrl = from_timer(preorder_ctrl, t, reordering_ctrl_timer); in _rtw_reordering_ctrl_timeout_handler() 208 rtw_reordering_ctrl_timeout_handler(preorder_ctrl); in _rtw_reordering_ctrl_timeout_handler() 211 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in rtw_init_recv_timer() argument 213 timer_setup(&preorder_ctrl->reordering_ctrl_timer, _rtw_reordering_ctrl_timeout_handler, 0); in rtw_init_recv_timer()
|
D | ioctl_linux.c | 4117 struct recv_reorder_ctrl *preorder_ctrl; in rtw_dbg_port() local 4129 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_dbg_port() 4130 if (preorder_ctrl->enable) in rtw_dbg_port() 4131 DBG_88E("tid =%d, indicate_seq =%d\n", i, preorder_ctrl->indicate_seq); in rtw_dbg_port() 4165 struct recv_reorder_ctrl *preorder_ctrl; in rtw_dbg_port() local 4201 preorder_ctrl = &psta->recvreorder_ctrl[j]; in rtw_dbg_port() 4202 if (preorder_ctrl->enable) in rtw_dbg_port() 4203 DBG_88E("tid =%d, indicate_seq =%d\n", j, preorder_ctrl->indicate_seq); in rtw_dbg_port()
|
/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 224 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in rtw_init_recv_timer() argument 226 timer_setup(&preorder_ctrl->reordering_ctrl_timer, in rtw_init_recv_timer()
|
/drivers/staging/rtl8723bs/include/ |
D | recv_osdep.h | 37 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
|
D | rtw_recv.h | 339 struct recv_reorder_ctrl *preorder_ctrl; member
|
/drivers/staging/r8188eu/include/ |
D | recv_osdep.h | 32 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
|
D | rtw_recv.h | 272 struct recv_reorder_ctrl *preorder_ctrl; member
|