CPC G06F 13/4291 (2013.01) [H04N 23/66 (2023.01); G06F 2213/0042 (2013.01)] | 22 Claims |
1. A universal serial bus (USB) controller, comprising:
a USB interface configured to receive an isochronous timestamp packet (ITP) from a host device, the ITP including a current time value provided by the host device and a delay value associated with each hub through which the ITP passed;
controller hardware configured to initiate a counter, send a link delay measurement (LDM) link management packet (LMP) request to a nearest upstream hub, store a first timestamp that corresponds to when the LDM LMP request was sent, receive an LDM LMP response from the nearest upstream hub, and store a second timestamp that corresponds to when the LDM LMP response was received; and
controller software configured to calculate a link delay between the USB controller and the nearest upstream hub based on the first and second timestamps and delay information included in the LDM LMP response, and adjust a value of the counter based on the calculated link delay.
|