114 of 124 |
Device Framework Tests
Ex
ami
n
er
U
se
r
G
u
ide
9.6
SuperSpeed Endpoint Companion Descriptors Test
Test Summary
Examiner verifies that all Endpoint Companion Descriptors are formatted properly. Some
checks are also made on the Configuration Descriptor. The test is performed three times- once
each for the default, addressed, and configured states.
Test Steps and Expected Results
1.
Examiner initializes link to U0.
2.
Examiner issues several standard descriptor requests, including a several Configuration
Descriptor requests (both short and long).
The configuration descriptor must be at least 9 bytes in length.
The bLength field in the Configuration Descriptor must be equal to 0x09.
The bDescriptorType field in the Configuration Descriptor must be equal to
CONFIGURATION (0x02).
A Companion Descriptor must follow all endpoint descriptors (except for the
default control pipe).
Bits D0 through D4 of the bmAttributes field in all Companion Descriptors
must be between 0 and 16 for bulk endpoints. For control and interrupt
endpoints, bits D0 through D7 are reserved and must be set to 0. For
isochronous endpoints, D2 through D7 are reserved and must be set to zero,
and D0-D1 may not be set to 11b.
For all endpoint types, D5 through D7 of the bmAttributes field in all
Companion Descriptors are reserved and must be 000b.
The wBytesPerInterval field in all Companion Descriptors must be zero for
non-periodic endpoints.
Specification Reference
USB Command Verifier Compliance Test Specification TD9.6.