Home
last modified time | relevance | path

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

/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.c1684 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()
Drtl871x_recv.c521 precv_frame->u.hdr.preorder_ctrl = in validate_recv_data_frame()
/drivers/staging/r8188eu/core/
Drtw_sta_mgt.c134 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 …]
Drtw_recv.c1127 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 …]
Drtw_debug.c242 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()
Drtw_mlme.c975 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 …]
Drtw_wlan_util.c1580 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()
Drtw_mlme_ext.c1725 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/
Drtw_sta_mgt.c143 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 …]
Drtw_recv.c1324 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 …]
Drtw_mlme.c1020 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 …]
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.c1644 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/
Drecv_linux.c205 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()
Dioctl_linux.c4117 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/
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()
/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
/drivers/staging/r8188eu/include/
Drecv_osdep.h32 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
Drtw_recv.h272 struct recv_reorder_ctrl *preorder_ctrl; member