Home
last modified time | relevance | path

Searched refs:preorder_ctrl (Results 1 – 15 of 15) sorted by relevance

/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c145 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_free_sta_priv() local
162 preorder_ctrl = &psta->recvreorder_ctrl[i]; in _rtw_free_sta_priv()
163 del_timer_sync(&preorder_ctrl->reordering_ctrl_timer); in _rtw_free_sta_priv()
182 struct recv_reorder_ctrl *preorder_ctrl; in rtw_alloc_stainfo() local
228 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_alloc_stainfo()
230 preorder_ctrl->padapter = pstapriv->padapter; in rtw_alloc_stainfo()
232 preorder_ctrl->enable = false; in rtw_alloc_stainfo()
234 preorder_ctrl->indicate_seq = 0xffff; in rtw_alloc_stainfo()
235 preorder_ctrl->wend_b = 0xffff; in rtw_alloc_stainfo()
236 preorder_ctrl->wsize_b = 64;/* 64; */ in rtw_alloc_stainfo()
[all …]
Drtw_recv.c1187 precv_frame->preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; in validate_recv_data_frame()
1693 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument
1695 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq()
1696 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq()
1699 if (preorder_ctrl->indicate_seq == 0xFFFF) in check_indicate_seq()
1700 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
1703 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
1711 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
1712 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1) & 0xFFF; in check_indicate_seq()
1715 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
[all …]
Drtw_mlme.c875 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local
916 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
917 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
918 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
919 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
920 preorder_ctrl->wsize_b = 64;/* max_ampdu_sz; ex. 32(kbytes) -> wsize_b = 32 */ in rtw_joinbss_update_stainfo()
926 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
927 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
928 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
929 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
[all …]
Drtw_wlan_util.c1564 struct recv_reorder_ctrl *preorder_ctrl; in process_addba_req() local
1575 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in process_addba_req()
1576 preorder_ctrl->indicate_seq = 0xffff; in process_addba_req()
1577 preorder_ctrl->enable = (pmlmeinfo->accept_addba_req) ? true in process_addba_req()
Drtw_mlme_ext.c3636 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local
3697 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back()
3698 preorder_ctrl->enable = false; in OnAction_back()
3699 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
/drivers/staging/rtl8712/
Drtl8712_recv.c462 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, in check_indicate_seq() argument
465 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq()
466 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) % 4096; in check_indicate_seq()
469 if (preorder_ctrl->indicate_seq == 0xffff) in check_indicate_seq()
470 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
472 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
479 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
480 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + in check_indicate_seq()
484 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
486 preorder_ctrl->indicate_seq = 4095 - (wsize - in check_indicate_seq()
[all …]
Drtl871x_sta_mgt.c108 struct recv_reorder_ctrl *preorder_ctrl; in r8712_alloc_stainfo() local
140 preorder_ctrl = &psta->recvreorder_ctrl[i]; in r8712_alloc_stainfo()
141 preorder_ctrl->padapter = pstapriv->padapter; in r8712_alloc_stainfo()
142 preorder_ctrl->indicate_seq = 0xffff; in r8712_alloc_stainfo()
143 preorder_ctrl->wend_b = 0xffff; in r8712_alloc_stainfo()
144 preorder_ctrl->wsize_b = 64; in r8712_alloc_stainfo()
145 _init_queue(&preorder_ctrl->pending_recvframe_queue); in r8712_alloc_stainfo()
146 r8712_init_recv_timer(preorder_ctrl); in r8712_alloc_stainfo()
160 struct recv_reorder_ctrl *preorder_ctrl; in r8712_free_stainfo() local
194 preorder_ctrl = &psta->recvreorder_ctrl[i]; in r8712_free_stainfo()
[all …]
Drecv_linux.c143 struct recv_reorder_ctrl *preorder_ctrl = in _r8712_reordering_ctrl_timeout_handler() local
146 r8712_reordering_ctrl_timeout_handler(preorder_ctrl); in _r8712_reordering_ctrl_timeout_handler()
149 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in r8712_init_recv_timer() argument
151 setup_timer(&preorder_ctrl->reordering_ctrl_timer, in r8712_init_recv_timer()
153 (unsigned long)preorder_ctrl); in r8712_init_recv_timer()
Drecv_osdep.h49 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
Drtl8712_recv.h141 struct recv_reorder_ctrl *preorder_ctrl; member
Drtl871x_mlme.c1740 struct recv_reorder_ctrl *preorder_ctrl; in update_ht_cap() local
1774 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in update_ht_cap()
1775 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap()
1776 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
1783 preorder_ctrl = &psta->recvreorder_ctrl[i]; in update_ht_cap()
1784 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap()
1785 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
Drtl871x_recv.c540 precv_frame->u.hdr.preorder_ctrl = in validate_recv_data_frame()
/drivers/staging/rtl8188eu/os_dep/
Drecv_linux.c182 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in rtw_init_recv_timer() argument
185 setup_timer(&preorder_ctrl->reordering_ctrl_timer, in rtw_init_recv_timer()
187 (unsigned long)preorder_ctrl); in rtw_init_recv_timer()
/drivers/staging/rtl8188eu/include/
Drecv_osdep.h36 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
Drtw_recv.h251 struct recv_reorder_ctrl *preorder_ctrl; member