Patent ID: 8165104

Claim:
A method for decompressing a header of a current packet, the method comprising: receiving at least a previous packet and the current packet, wherein the previous packet comprises the first link layer sequence number, and wherein the current packet comprises a header of the current packet and a second link layer sequence number; determining whether decompression of the header of the current packet failed by receiving a decompression error for the header of the current packet after attempting to decompress the header of the current packet; if the decompression of the header of the current packet failed, determining a difference in link layer sequence numbers between the first link layer sequence number of the previous packet and the second link layer sequence number of the current packet, to generate repaired information used for header decompression; if the difference in link layer sequence numbers is determined, determining if the difference between the first link layer sequence number and the second link layer sequence number is greater than or equal to 2^k, where k is a number of link layer sequence number bits in the current packet, and if the difference is greater than or equal to 2^k, adding the difference to the first link layer sequence number to generate the repaired information; and decompressing the header of the current packet with the repaired information.