Lines Matching refs:pReorderEntry

504 static bool AddReorderEntry(struct rx_ts_record *pTS, struct rx_reorder_entry *pReorderEntry)  in AddReorderEntry()  argument
508 …if (SN_LESS(pReorderEntry->SeqNum, list_entry(pList->next, struct rx_reorder_entry, List)->SeqNum)) in AddReorderEntry()
510 …else if (SN_EQUAL(pReorderEntry->SeqNum, list_entry(pList->next, struct rx_reorder_entry, List)->S… in AddReorderEntry()
515 pReorderEntry->List.next = pList->next; in AddReorderEntry()
516 pReorderEntry->List.next->prev = &pReorderEntry->List; in AddReorderEntry()
517 pReorderEntry->List.prev = pList; in AddReorderEntry()
518 pList->next = &pReorderEntry->List; in AddReorderEntry()
590 struct rx_reorder_entry *pReorderEntry = NULL; in RxReorderIndicatePacket() local
663 pReorderEntry = list_entry(ieee->RxReorder_Unused_List.next, struct rx_reorder_entry, List); in RxReorderIndicatePacket()
664 list_del_init(&pReorderEntry->List); in RxReorderIndicatePacket()
667 pReorderEntry->SeqNum = SeqNum; in RxReorderIndicatePacket()
668 pReorderEntry->prxb = prxb; in RxReorderIndicatePacket()
671 if (!AddReorderEntry(pTS, pReorderEntry)) { in RxReorderIndicatePacket()
674 list_add_tail(&pReorderEntry->List, &ieee->RxReorder_Unused_List); in RxReorderIndicatePacket()
708 pReorderEntry = list_entry(pTS->rx_pending_pkt_list.prev, struct rx_reorder_entry, List); in RxReorderIndicatePacket()
709 if (SN_LESS(pReorderEntry->SeqNum, pTS->rx_indicate_seq) || in RxReorderIndicatePacket()
710 SN_EQUAL(pReorderEntry->SeqNum, pTS->rx_indicate_seq)) { in RxReorderIndicatePacket()
718 list_del_init(&pReorderEntry->List); in RxReorderIndicatePacket()
720 if (SN_EQUAL(pReorderEntry->SeqNum, pTS->rx_indicate_seq)) in RxReorderIndicatePacket()
724 prxbIndicateArray[index] = pReorderEntry->prxb; in RxReorderIndicatePacket()
728 list_add_tail(&pReorderEntry->List, &ieee->RxReorder_Unused_List); in RxReorderIndicatePacket()