Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c135 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_free_sta_priv() local
154 preorder_ctrl = &psta->recvreorder_ctrl[i]; in _rtw_free_sta_priv()
155 del_timer_sync(&preorder_ctrl->reordering_ctrl_timer); in _rtw_free_sta_priv()
172 struct recv_reorder_ctrl *preorder_ctrl; in rtw_alloc_stainfo() local
225 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_alloc_stainfo()
227 preorder_ctrl->padapter = pstapriv->padapter; in rtw_alloc_stainfo()
229 preorder_ctrl->enable = false; in rtw_alloc_stainfo()
231 preorder_ctrl->indicate_seq = 0xffff; in rtw_alloc_stainfo()
232 preorder_ctrl->wend_b = 0xffff; in rtw_alloc_stainfo()
233 preorder_ctrl->wsize_b = 64;/* 64; */ in rtw_alloc_stainfo()
[all …]
Drtw_recv.c1107 precv_frame->preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; in validate_recv_data_frame()
1586 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument
1588 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq()
1589 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq()
1592 if (preorder_ctrl->indicate_seq == 0xFFFF) in check_indicate_seq()
1593 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
1596 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
1604 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
1605 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1) & 0xFFF; in check_indicate_seq()
1608 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
[all …]
Drtw_mlme.c832 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local
873 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
874 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
875 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
876 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
877 preorder_ctrl->wsize_b = 64;/* max_ampdu_sz; ex. 32(kbytes) -> wsize_b = 32 */ in rtw_joinbss_update_stainfo()
883 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
884 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
885 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
886 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
[all …]
Drtw_wlan_util.c1401 struct recv_reorder_ctrl *preorder_ctrl; in process_addba_req() local
1412 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in process_addba_req()
1413 preorder_ctrl->indicate_seq = 0xffff; in process_addba_req()
1414 preorder_ctrl->enable = pmlmeinfo->accept_addba_req; in process_addba_req()
Drtw_mlme_ext.c3575 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local
3637 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back()
3638 preorder_ctrl->enable = false; in OnAction_back()
3639 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl8712_recv.c434 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 …]
Drtl871x_sta_mgt.c95 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 …]
Drecv_linux.c135 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()
Drecv_osdep.h37 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
Drtl8712_recv.h129 struct recv_reorder_ctrl *preorder_ctrl; member
Drtl871x_mlme.c1686 struct recv_reorder_ctrl *preorder_ctrl; in update_ht_cap() local
1720 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in update_ht_cap()
1721 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap()
1722 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
1729 preorder_ctrl = &psta->recvreorder_ctrl[i]; in update_ht_cap()
1730 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap()
1731 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
Drtl871x_recv.c519 precv_frame->u.hdr.preorder_ctrl = in validate_recv_data_frame()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c153 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_free_sta_priv() local
170 preorder_ctrl = &psta->recvreorder_ctrl[i]; in _rtw_free_sta_priv()
171 del_timer_sync(&preorder_ctrl->reordering_ctrl_timer); in _rtw_free_sta_priv()
194 struct recv_reorder_ctrl *preorder_ctrl; in rtw_alloc_stainfo() local
266 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_alloc_stainfo()
268 preorder_ctrl->padapter = pstapriv->padapter; in rtw_alloc_stainfo()
270 preorder_ctrl->enable = false; in rtw_alloc_stainfo()
272 preorder_ctrl->indicate_seq = 0xffff; in rtw_alloc_stainfo()
275 preorder_ctrl->indicate_seq); in rtw_alloc_stainfo()
277 preorder_ctrl->wend_b = 0xffff; in rtw_alloc_stainfo()
[all …]
Drtw_recv.c1365 precv_frame->u.hdr.preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; in validate_recv_data_frame()
1966 int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num);
1967 int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument
1969 struct adapter *padapter = preorder_ctrl->padapter; in check_indicate_seq()
1972 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq()
1973 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq()
1976 if (preorder_ctrl->indicate_seq == 0xFFFF) { in check_indicate_seq()
1977 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
1980 preorder_ctrl->indicate_seq, seq_num); in check_indicate_seq()
1989 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
[all …]
Drtw_mlme.c1124 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local
1184 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
1185 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
1186 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
1189 preorder_ctrl->indicate_seq); in rtw_joinbss_update_stainfo()
1191 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
1192 preorder_ctrl->wsize_b = 64;/* max_ampdu_sz;ex. 32(kbytes) -> wsize_b =32 */ in rtw_joinbss_update_stainfo()
1199 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
1200 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
1201 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
[all …]
Drtw_wlan_util.c1794 struct recv_reorder_ctrl *preorder_ctrl; in process_addba_req() local
1808 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in process_addba_req()
1811 preorder_ctrl->indicate_seq = start_seq; in process_addba_req()
1814 preorder_ctrl->indicate_seq, start_seq); in process_addba_req()
1817 preorder_ctrl->indicate_seq = 0xffff; in process_addba_req()
1820 preorder_ctrl->enable = pmlmeinfo->accept_addba_req; in process_addba_req()
Drtw_mlme_ext.c1913 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local
1997 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back()
1998 preorder_ctrl->enable = false; in OnAction_back()
1999 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
2002 preorder_ctrl->indicate_seq); in OnAction_back()
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Drecv_linux.c141 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in rtw_init_recv_timer() argument
143 timer_setup(&preorder_ctrl->reordering_ctrl_timer, in rtw_init_recv_timer()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drecv_osdep.h24 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
Drtw_recv.h227 struct recv_reorder_ctrl *preorder_ctrl; member
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drecv_osdep.h37 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
Drtw_recv.h362 struct recv_reorder_ctrl *preorder_ctrl; member
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c300 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in rtw_init_recv_timer() argument
302 timer_setup(&preorder_ctrl->reordering_ctrl_timer, in rtw_init_recv_timer()
Dioctl_linux.c2799 struct recv_reorder_ctrl *preorder_ctrl; in rtw_dbg_port() local
2812 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_dbg_port()
2813 if (preorder_ctrl->enable) in rtw_dbg_port()
2814 DBG_871X("tid =%d, indicate_seq =%d\n", i, preorder_ctrl->indicate_seq); in rtw_dbg_port()
2844 struct recv_reorder_ctrl *preorder_ctrl; in rtw_dbg_port() local
2878 preorder_ctrl = &psta->recvreorder_ctrl[j]; in rtw_dbg_port()
2879 if (preorder_ctrl->enable) in rtw_dbg_port()
2880 DBG_871X("tid =%d, indicate_seq =%d\n", j, preorder_ctrl->indicate_seq); in rtw_dbg_port()