Searched refs:preorder_ctrl (Results 1 – 15 of 15) sorted by relevance
145 struct recv_reorder_ctrl *preorder_ctrl; in _rtw_free_sta_priv() local162 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() local228 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 …]
1187 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() argument1695 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 …]
875 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local916 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 …]
1564 struct recv_reorder_ctrl *preorder_ctrl; in process_addba_req() local1575 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()
3636 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local3697 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()
462 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, in check_indicate_seq() argument465 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 …]
108 struct recv_reorder_ctrl *preorder_ctrl; in r8712_alloc_stainfo() local140 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() local194 preorder_ctrl = &psta->recvreorder_ctrl[i]; in r8712_free_stainfo()[all …]
143 struct recv_reorder_ctrl *preorder_ctrl = in _r8712_reordering_ctrl_timeout_handler() local146 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() argument151 setup_timer(&preorder_ctrl->reordering_ctrl_timer, in r8712_init_recv_timer()153 (unsigned long)preorder_ctrl); in r8712_init_recv_timer()
49 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
141 struct recv_reorder_ctrl *preorder_ctrl; member
1740 struct recv_reorder_ctrl *preorder_ctrl; in update_ht_cap() local1774 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()
540 precv_frame->u.hdr.preorder_ctrl = in validate_recv_data_frame()
182 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in rtw_init_recv_timer() argument185 setup_timer(&preorder_ctrl->reordering_ctrl_timer, in rtw_init_recv_timer()187 (unsigned long)preorder_ctrl); in rtw_init_recv_timer()
36 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
251 struct recv_reorder_ctrl *preorder_ctrl; member