# US 2022/0027305 A1 · Techniques for configuring endpoints within a usb extension environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0027305 A1
- Document ID: US20220027305A1
- Status: Published application
- Kind: A1
- Application number: 17/382,024
- Filed: 2021-07-21
- Published: 2022-01-27
- Earliest claimed: 2020-07-22
- Assignees: Icron Technologies Corporation
- Applicants: Icron Technologies Corporation
- Inventors: Mohsen Nahvi; Robert John Daniel Butt
- Web page: https://patentgrep.com/patent/US20220027305A1

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F 13/4059: {where the synchronisation uses buffers, e.g. for speed matching between buses}
- G06F 2213/0042: Universal serial bus [USB]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In providing USB communication functionality over a non-USB-compliant extension medium, increased latency and processing delays may be introduced, including during configuration of endpoints. In some embodiments of the present disclosure, an upstream facing port device (UFP device) and a downstream facing port device (DFP device) are used to extend USB communication across an extension medium. In some embodiments, the UFP device extracts information from packets sent between a host device and a USB device during configuration of an endpoint. In some embodiments, the UFP device sends a synthetic NRDY packet to the host device in response to a STATUS Transaction Packet to provide the UFP device and DFP device additional time to complete configuration for servicing the endpoint.

## Claims

### Claim at position 1

1-14. (canceled)

### Claim 15

An upstream facing port device (UFP device), comprising:
a USB upstream facing port; and
an extension interface configured to be coupled to a non-USB extension medium;
wherein the UFP device includes logic that, in response to execution by the UFP device, causes the UFP device to perform actions for configuring an endpoint for communication between a host device coupled to the USB upstream facing port via a USB-compliant connection and a USB device coupled to a downstream facing port device (DFP device) communicatively coupled to the UFP device via the non-USB extension medium, the actions comprising:
receiving, by the UFP device, a STATUS Transaction Packet from the host device via the USB upstream facing port, wherein the STATUS Transaction Packet relates to a Control Endpoint associated with the USB device;
transmitting, by the UFP device, a synthetic NRDY packet to the host device;
determining, by the UFP device, whether the UFP device and the DFP device have completed configuration related to the Control Endpoint; and
in response to determining that the UFP device and the DFP device have completed configuration related to the Control Endpoint, transmitting, by the UFP device, a synthetic ERDY packet to the host device to cause the host device to resend the STATUS Transaction Packet.

### Claim 16 (depends on 15)

The upstream facing port device of claim 15, wherein the actions further comprise:
receiving, by the UFP device, a packet from the host device or the DFP device; and
storing, by the UFP device, the packet in a buffer of the UFP device.

### Claim 17 (depends on 16)

The upstream facing port device of claim 16, wherein the UFP device further comprises a host-to-device buffer (H2D buffer);
wherein receiving the packet from the host device or the DFP device includes receiving, by the UFP device, a SETUP DP Packet from the host device; and
wherein storing the packet in a buffer of the UFP device includes storing, by the UFP device, the SETUP DP Packet in the H2D buffer.

### Claim 18 (depends on 16)

The upstream facing port device of claim 16, wherein receiving the packet from the host device or the DFP device includes receiving, by the UFP device, a Data Packet from the host device; and
wherein storing the packet in a buffer of the UFP device includes storing, by the UFP device, the Data Packet in the H2D buffer.

### Claim 19 (depends on 16)

The upstream facing port device of claim 16, wherein the UFP device further comprises at least one endpoint table;
wherein the actions further comprise:
extracting, by the UFP device, information from one or more packets stored in at least one buffer of the UFP device; and
storing, by the UFP device, at least a portion of the extracted information in the at least one endpoint table; and
wherein determining whether the UFP device and the DFP device have completed configuration related to the Control Endpoint includes determining whether the UFP device has completed storing the extracted information in the at least one endpoint table.

### Claim 20 (depends on 19)

The upstream facing port device of claim 19, wherein the actions further comprise transmitting, by the UFP device, at least a portion of the extracted information to the DFP device via the extension medium; and
wherein determining whether the UFP device and the DFP device have completed configuration related to the Control Endpoint includes determining whether the DFP device has completed processing the extracted information.

### Claim 21 (depends on 19)

The upstream facing port device of claim 19, wherein the extracted information includes at least one of a USB Device Address value, a USB Configuration Value, a USB Interface value, a USB Endpoint Number value, a Transfer Type value from bmAttributes, a Blnterval value, a bMaxBurst value, and a route string.

### Claim 22 (depends on 16)

The upstream facing port device of claim 16, wherein the UFP device further comprises a device-to-host buffer (D2H buffer);
wherein receiving the packet from the host device or the DFP device includes receiving, by the UFP device, a Data Packet from the DFP device via the extension medium, wherein the Data Packet was generated by the USB device in response to the SETUP DP Packet; and
wherein storing the packet in a buffer of the UFP device includes storing, by the UFP device, the Data Packet in the D2H buffer.

### Claim 23 (depends on 22)

The upstream facing port device of claim 22, wherein the actions further comprise:
extracting, by the UFP device, information from one or more packets stored in the D2H buffer of the UFP device, and
storing, by the UFP device, the information extracted from the one or more packets stored in the D2H buffer in at least one endpoint table of the UFP device.

### Claim 24 (depends on 16)

The upstream facing port device of claim 16, wherein storing the packet in a buffer of the UFP device includes:
storing, by the UFP device, the packet in the buffer along with a sequence number.

### Claim 25 (depends on 15)

The upstream facing port device of claim 15, wherein the UFP device further comprises one or more buffers, and wherein determining whether the UFP device and the DFP device have completed configuration related to the Control Endpoint includes determining whether the UFP device has assigned a buffer from the one or more buffers to be used in association with the Control Endpoint.

### Claim 26 (depends on 15)

The upstream facing port device of claim 15, wherein the actions further comprise:
receiving, by the UFP device, a packet from the host device;
comparing, by the UFP device, a free space available in a buffer of the UFP device to a predetermined threshold; and
in response to determining that the free space available in the buffer of the UFP device is below the predetermined threshold:
transmitting, by the UFP device, a synthetic NRDY packet to the host device.

### Claim 27 (depends on 26)

The upstream facing port device of claim 26, wherein the actions further comprise:
in response to determining that the packet is an ACK packet, comparing, by the UFP device, a free space available in a D2H buffer of the UFP device to the predetermined threshold; and
in response to determining that the packet is a DATA packet, comparing, by the UFP device, a free space available in a H2D buffer of the UFP device to the predetermined threshold.

### Claim 28 (depends on 26)

The upstream facing port device of claim 26, wherein the actions further comprise:
detecting, by the UFP device, that the free space available in the buffer of the UFP device has become greater than the predetermined threshold; and
transmitting, by the UFP device, a synthetic ERDY packet to the host device.

### Claim 29

A downstream facing port device (DFP device), comprising:
at least one endpoint table;
a USB downstream facing port; and
an extension interface configured to be coupled to a non-USB extension medium;
wherein the DFP device includes logic that, in response to execution by the DFP device, causes the DFP device to perform actions for configuring an endpoint for communication between a USB device coupled to the USB downstream facing port via a USB-compliant connection and a host device coupled to an upstream facing port device (UFP device) communicatively coupled to the DFP device via the non-USB extension medium, the actions comprising:
receiving, by the DFP device via the non-USB extension medium, information extracted by the UFP device from one or more packets relating to a Control Endpoint associated with the USB device;
storing, by the DFP device, the extracted information in the at least one endpoint table; and
in response to determining that the DFP device is ready to service the Control Endpoint, transmitting, by the DFP device, a notification to the UFP device that indicates that the DFP device is ready.

### Claim 30 (depends on 29)

The downstream facing port device of claim 29, wherein the DFP device further comprises one or more buffers;
wherein the actions further comprise assigning, by the DFP device, a buffer of the one or more buffers to be associated with the Control Endpoint; and
wherein determining that the DFP device is ready to service the Control Endpoint includes determining whether assignment of the buffer is complete.

### Claim 31 (depends on 29)

The downstream facing port device of claim 29, wherein receiving the information extracted by the UFP device from one or more packets relating to the Control Endpoint associated with the USB device includes receiving information extracted by the UFP device from at least one SETUP DP Packet or Data Packet.

### Claim 32 (depends on 29)

The downstream facing port device of claim 29, wherein the actions further comprise:
receiving, by the DFP device via the USB downstream facing port, a Data Packet generated by the USB device;
transmitting, by the DFP device via the non-USB extension medium, the Data Packet to the UFP device; and
receiving, by the DFP device via the non-USB extension medium, information extracted by the UFP device from the Data Packet.

### Claim at position 20

33-36. (canceled)

### Claim 37

A system, comprising:
an upstream facing port device (UFP device); and
a downstream facing port device (DFP device);
wherein the DFP device includes a USB downstream facing port and an extension interface configured to be coupled to a non-USB extension medium;
wherein the UFP device includes an USB upstream facing port and an extension interface configured to be coupled to the non-USB extension medium;
wherein the UFP device is communicatively coupled to the DFP device via the non-USB extension medium; and
wherein the UFP device includes logic that, in response to execution by the UFP device, causes the UFP device to perform actions for configuring an endpoint for communication between a host device coupled to the USB upstream facing port via a USB-compliant connection and a USB device coupled to the DFP device, the actions comprising:
receiving, by the UFP device, a STATUS Transaction Packet from the host device via the USB upstream facing port, wherein the STATUS Transaction Packet relates to a Control Endpoint associated with the USB device;
transmitting, by the UFP device, a synthetic NRDY packet to the host device;
determining, by the UFP device, whether the UFP device and the DFP device have completed configuration related to the Control Endpoint; and
in response to determining that the UFP device and the DFP device have completed configuration related to the Control Endpoint, transmitting, by the UFP device, a synthetic ERDY packet to the host device to cause the host device to resend the STATUS Transaction Packet.

### Claim at position 22

38-50. (canceled)

### Claim 51 (depends on 37)

The system of claim 37, wherein the DFP device includes at least one endpoint table and logic that, in response to execution by the DFP device, causes the DFP device to perform actions comprising:
receiving, by the DFP device via the non-USB extension medium, information extracted by the UFP device from one or more packets relating to a Control Endpoint associated with the USB device;
storing, by the DFP device, the extracted information in the at least one endpoint table; and
in response to determining that the DFP device is ready to service the Control Endpoint, transmitting, by the DFP device, a notification to the UFP device that indicates that the DFP device is ready.

### Claim at position 24

52-54. (canceled)
