Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8712/
H A Drtl8712_recv.c435 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, in check_indicate_seq() argument
438 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq()
439 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) % 4096; in check_indicate_seq()
442 if (preorder_ctrl->indicate_seq == 0xffff) in check_indicate_seq()
443 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
445 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
452 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
453 preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + in check_indicate_seq()
457 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
459 preorder_ctrl->indicate_seq = 4095 - (wsize - in check_indicate_seq()
[all …]
H A 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 …]
H A 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()
H A Drecv_osdep.h37 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
H A Drtl8712_recv.h129 struct recv_reorder_ctrl *preorder_ctrl; member
H A Drtl871x_mlme.c1645 struct recv_reorder_ctrl *preorder_ctrl; in update_ht_cap() local
1679 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in update_ht_cap()
1680 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap()
1681 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
1688 preorder_ctrl = &psta->recvreorder_ctrl[i]; in update_ht_cap()
1689 preorder_ctrl->indicate_seq = 0xffff; in update_ht_cap()
1690 preorder_ctrl->wend_b = 0xffff; in update_ht_cap()
H A Drtl871x_recv.c522 precv_frame->u.hdr.preorder_ctrl = in validate_recv_data_frame()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A 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 …]
H A 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 …]
H A Drtw_mlme.c1012 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local
1070 preorder_ctrl = &psta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
1071 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
1072 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
1073 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
1074 preorder_ctrl->wsize_b = 64;/* max_ampdu_sz;ex. 32(kbytes) -> wsize_b =32 */ in rtw_joinbss_update_stainfo()
1081 preorder_ctrl = &bmc_sta->recvreorder_ctrl[i]; in rtw_joinbss_update_stainfo()
1082 preorder_ctrl->enable = false; in rtw_joinbss_update_stainfo()
1083 preorder_ctrl->indicate_seq = 0xffff; in rtw_joinbss_update_stainfo()
1084 preorder_ctrl->wend_b = 0xffff; in rtw_joinbss_update_stainfo()
[all …]
H A Drtw_wlan_util.c1667 struct recv_reorder_ctrl *preorder_ctrl; in process_addba_req() local
1679 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in process_addba_req()
1681 preorder_ctrl->indicate_seq = 0xffff; in process_addba_req()
1683 preorder_ctrl->enable = pmlmeinfo->accept_addba_req; in process_addba_req()
H A Drtw_mlme_ext.c1629 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local
1703 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back()
1704 preorder_ctrl->enable = false; in OnAction_back()
1705 preorder_ctrl->indicate_seq = 0xffff; in OnAction_back()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drecv_osdep.h37 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
H A Drtw_recv.h339 struct recv_reorder_ctrl *preorder_ctrl; member
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A 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()