Lines Matching refs:cur_idx
621 uint8 flow_id, max_idx, cur_idx, exp_idx; in dhd_process_pkt_reorder_info() local
715 ptr->cur_idx = reorder_info_buf[WLHOST_REORDERDATA_CURIDX_OFFSET]; in dhd_process_pkt_reorder_info()
718 ptr->p[ptr->cur_idx] = cur_pkt; in dhd_process_pkt_reorder_info()
723 cur_idx = reorder_info_buf[WLHOST_REORDERDATA_CURIDX_OFFSET]; in dhd_process_pkt_reorder_info()
727 if ((exp_idx == ptr->exp_idx) && (cur_idx != ptr->exp_idx)) { in dhd_process_pkt_reorder_info()
730 if (ptr->p[cur_idx] != NULL) { in dhd_process_pkt_reorder_info()
733 PKTFREE(dhd->osh, ptr->p[cur_idx], TRUE); in dhd_process_pkt_reorder_info()
734 ptr->p[cur_idx] = NULL; in dhd_process_pkt_reorder_info()
736 ptr->p[cur_idx] = cur_pkt; in dhd_process_pkt_reorder_info()
738 ptr->cur_idx = cur_idx; in dhd_process_pkt_reorder_info()
744 else if (ptr->exp_idx == cur_idx) { in dhd_process_pkt_reorder_info()
747 __FUNCTION__, cur_idx)); in dhd_process_pkt_reorder_info()
748 if (ptr->p[cur_idx] != NULL) { in dhd_process_pkt_reorder_info()
751 PKTFREE(dhd->osh, ptr->p[cur_idx], TRUE); in dhd_process_pkt_reorder_info()
752 ptr->p[cur_idx] = NULL; in dhd_process_pkt_reorder_info()
754 ptr->p[cur_idx] = cur_pkt; in dhd_process_pkt_reorder_info()
757 ptr->cur_idx = cur_idx; in dhd_process_pkt_reorder_info()
761 cur_idx, exp_idx); in dhd_process_pkt_reorder_info()
772 __FUNCTION__, flow_id, ptr->cur_idx, cur_idx, in dhd_process_pkt_reorder_info()
783 if (cur_idx == ptr->max_idx) { in dhd_process_pkt_reorder_info()
787 if (exp_idx == cur_idx + 1) in dhd_process_pkt_reorder_info()
798 ptr->p[cur_idx] = cur_pkt; in dhd_process_pkt_reorder_info()
802 ptr->cur_idx = cur_idx; in dhd_process_pkt_reorder_info()
812 __FUNCTION__, ptr->cur_idx, ptr->exp_idx, exp_idx)); in dhd_process_pkt_reorder_info()