Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_sta_mgt.c113 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_free_sta_priv() local
129 preorder_ctrl = &psta->recvreorder_ctrl[i]; in _rtw_free_sta_priv()
130 _cancel_timer_ex(&preorder_ctrl->reordering_ctrl_timer); in _rtw_free_sta_priv()
143 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_reordering_ctrl_timeout_handler() local
145 preorder_ctrl = from_timer(preorder_ctrl, t, reordering_ctrl_timer); in _rtw_reordering_ctrl_timeout_handler()
146 rtw_reordering_ctrl_timeout_handler(preorder_ctrl); in _rtw_reordering_ctrl_timeout_handler()
149 static void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in rtw_init_recv_timer() argument
151 timer_setup(&preorder_ctrl->reordering_ctrl_timer, _rtw_reordering_ctrl_timeout_handler, 0); in rtw_init_recv_timer()
172 struct recv_reorder_ctrl *preorder_ctrl; in rtw_alloc_stainfo() local
216 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_alloc_stainfo()
[all …]
Drtw_recv.c1091 precv_frame->preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; in validate_recv_data_frame()
1519 static bool check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument
1521 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq()
1522 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq()
1525 if (preorder_ctrl->indicate_seq == 0xFFFF) in check_indicate_seq()
1526 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
1529 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
1537 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
1538 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1) & 0xFFF; in check_indicate_seq()
1541 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
[all …]
Drtw_mlme.c944 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local
980 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
981 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
982 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
983 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
984 preorder_ctrl->wsize_b = 64;/* max_ampdu_sz; ex. 32(kbytes) -> wsize_b = 32 */ in rtw_joinbss_update_stainfo()
990 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
991 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
992 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
993 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
[all …]
Drtw_mlme_ext.c1574 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local
1604 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back()
1605 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
1606 preorder_ctrl->enable = pmlmeinfo->bAcceptAddbaReq; in OnAction_back()
1630 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back()
1631 preorder_ctrl->enable = false; in OnAction_back()
1632 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c147 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()
184 struct recv_reorder_ctrl *preorder_ctrl; in rtw_alloc_stainfo() local
238 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_alloc_stainfo()
240 preorder_ctrl->padapter = pstapriv->padapter; in rtw_alloc_stainfo()
242 preorder_ctrl->enable = false; in rtw_alloc_stainfo()
244 preorder_ctrl->indicate_seq = 0xffff; in rtw_alloc_stainfo()
245 preorder_ctrl->wend_b = 0xffff; in rtw_alloc_stainfo()
247 preorder_ctrl->wsize_b = 64;/* 64; */ in rtw_alloc_stainfo()
[all …]
Drtw_recv.c1323 precv_frame->u.hdr.preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; in validate_recv_data_frame()
1639 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument
1641 struct adapter *padapter = preorder_ctrl->padapter; in check_indicate_seq()
1644 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq()
1645 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq()
1648 if (preorder_ctrl->indicate_seq == 0xFFFF) in check_indicate_seq()
1649 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
1652 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
1660 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
1661 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1) & 0xFFF; in check_indicate_seq()
[all …]
Drtw_mlme.c1022 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local
1080 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
1081 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
1082 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
1083 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
1084 preorder_ctrl->wsize_b = 64;/* max_ampdu_sz;ex. 32(kbytes) -> wsize_b =32 */ in rtw_joinbss_update_stainfo()
1091 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
1092 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
1093 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
1094 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
[all …]
Drtw_wlan_util.c1671 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()
Drtw_mlme_ext.c1631 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local
1705 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back()
1706 preorder_ctrl->enable = false; in OnAction_back()
1707 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
/linux-6.1.9/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.c1644 struct recv_reorder_ctrl *preorder_ctrl; in update_ht_cap() local
1678 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in update_ht_cap()
1679 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap()
1680 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
1687 preorder_ctrl = &psta->recvreorder_ctrl[i]; in update_ht_cap()
1688 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap()
1689 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
Drtl871x_recv.c520 precv_frame->u.hdr.preorder_ctrl = in validate_recv_data_frame()
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drecv_osdep.h37 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
Drtw_recv.h339 struct recv_reorder_ctrl *preorder_ctrl; member
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c224 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()
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_recv.h243 struct recv_reorder_ctrl *preorder_ctrl; member