Patent ID: 7865636

Claim:
An apparatus for improved buffer management and for packaging Wireless Universal Serial Bus (WUSB) isochronous packets for transmission to a host, comprising: a WUSB isochronous IN endpoint receiving data segments from a device function; memory associated with the WUSB isochronous IN endpoint including a loop buffer and registers; and an endpoint controller managing the loop buffer with a set of buffer indices, storing the data segments sequentially in the loop buffer, assigning a set of the registers equal to the maximum burst size MBS defined for the WUSB isochronous IN endpoint to each of the WUSB isochronous packets in a transmit window, and deriving additional packet information to be stored in the assigned set of registers for each of the WUSB isochronous packets requested in the transmit window responsive to a received request from the host including a presentation time derived by the endpoint controller from a sample time of a last segment in the buffer and a time interval between two consecutive data segments in the buffer, a sequence number and an index into the loop buffer for the endpoint controller packaging the stored data segments into the WUSB isochronous packets to the host based on the data segments in the loop buffer having sequence numbers in the corresponding set of registers matching the transmit window sequence numbers, wherein the endpoint controller dynamically changes a maximum packet size (MPS) and/or a time interval between the data segments.