Techniques for delivering data recovered by a HARQ entity in proper order
to higher layers in a CDMA system. In a method, packets are received from the HARQ
entity by the re-ordering entity and missing packets among the received packets
are detected. Packets may be transmitted in a sequential order based on transmission
sequence numbers (TSNs) assigned to the packets, and missing packets may be detected
based on the TSNs of the received packets. Delivery of received packets later than
the missing packets are stalled because higher layers expect data in-order. A determination
is thereafter made whether each missing packet is (1) subsequently received from
the HARQ entity or (2) lost, by successively eliminating HARQ channels that may
be used to send the missing packet. Received packets previously stalled by each
missing packet are delivered after the missing packet is determined to be lost
or received.