Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 1a440d96387bbbf04c24ef024e0bc19e99cd849f
https://github.com/tianocore/edk2/commit/1a440d96387bbbf04c24ef024e0bc19e99cd849f
Author: Oleg Ilyasov <[email protected]>
Date: 2024-12-13 (Fri, 13 Dec 2024)
Changed paths:
M MdePkg/Include/Library/UefiUsbLib.h
M MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
M MdePkg/Library/UefiUsbLib/UefiUsbLibInternal.h
M MdePkg/Library/UefiUsbLib/UsbDxeLib.c
Log Message:
-----------
Retrieve the USB class specific data from the configuration descriptor
If USB device reports class specific descriptors, it is currently the job of
device driver to parse the configuration to find the class specific data.
The new library functions parse the configuration descriptor and return class
specific interface and class specific endpoint descriptors.
Also, these new functions allow to retrieve the data from non-default alternate
settings without performing a switch to this setting. Switching to the
alternate setting currently implies the execution of UsbSetInterface function
that performs USB control trnasfer.
In some cases this switch is not desirable so the new functions
UsbGetInterfaceDescriptorSetting and UsbGetEndpointDescriptorSetting come
in handy.
Signed-off-by: Oleg Ilyasov <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits