Searched refs:preorder_ctrl (Results 1 – 15 of 15) sorted by relevance
435 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, in check_indicate_seq() argument438 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 …]
95 struct recv_reorder_ctrl *preorder_ctrl; in r8712_alloc_stainfo() local127 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() local181 preorder_ctrl = &psta->recvreorder_ctrl[i]; in r8712_free_stainfo()[all …]
135 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in r8712_init_recv_timer() argument137 timer_setup(&preorder_ctrl->reordering_ctrl_timer, in r8712_init_recv_timer()
37 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
129 struct recv_reorder_ctrl *preorder_ctrl; member
1645 struct recv_reorder_ctrl *preorder_ctrl; in update_ht_cap() local1679 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()
522 precv_frame->u.hdr.preorder_ctrl = in validate_recv_data_frame()
147 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()184 struct recv_reorder_ctrl *preorder_ctrl; in rtw_alloc_stainfo() local238 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 …]
1323 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() argument1641 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 …]
1012 struct recv_reorder_ctrl *preorder_ctrl; in rtw_joinbss_update_stainfo() local1070 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 …]
1667 struct recv_reorder_ctrl *preorder_ctrl; in process_addba_req() local1679 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()
1629 struct recv_reorder_ctrl *preorder_ctrl; in OnAction_back() local1703 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()
37 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
339 struct recv_reorder_ctrl *preorder_ctrl; member
224 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl) in rtw_init_recv_timer() argument226 timer_setup(&preorder_ctrl->reordering_ctrl_timer, in rtw_init_recv_timer()