Most consumers continue to behave as USB SS devices. The main
difference is how the parent hub slot ID and port number are
resolved.
According to xHCI spec 6.2.2, the slot ID and port number should be
taken from the higher-rank hub. USB 3.2 spec 7.5.4.5.1 defines the
rank order as Gen 2x2, Gen 2x1, Gen 1x2, then Gen 1x1. In practice,
this can be simplified to preferring the higher-speed link.