diff options
author | Hemant Kumar <hemantk@codeaurora.org> | 2017-06-07 18:54:42 -0700 |
---|---|---|
committer | Hemant Kumar <hemantk@codeaurora.org> | 2017-06-07 19:04:31 -0700 |
commit | e5223a9107e5ee250ad67ea4cb68eac7f1365e17 (patch) | |
tree | d2a25b425455cb3a8ee55f1094fb454096738e8a /include/linux/usb.h | |
parent | eb28d0da158f7bfe2f94b3d1cb003fb7abda0c15 (diff) |
usb: core: Add support to parse config summary capability descriptors
This descriptor describes the list of functions present in a given
configuration. There should be one such descriptor per configuration
supported by the device. The order in which these descriptors appear
in the BOS descriptor reflects the order of preference of configurations
as desired by the device for optimal functionality. Configuration Summary
descriptors are used by Host software to decide which Configuration to set
to obtain the desired functionality.
Change-Id: I7ec095ce19caa690c0d3dc0fdd3add5ad37a74f3
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index a55f127d6836..e8b2ed4ad851 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -330,6 +330,8 @@ struct usb_host_bos { struct usb_ss_cap_descriptor *ss_cap; struct usb_ssp_cap_descriptor *ssp_cap; struct usb_ss_container_id_descriptor *ss_id; + struct usb_config_summary_descriptor *config_summary; + unsigned int num_config_summary_desc; }; int __usb_get_extra_descriptor(char *buffer, unsigned size, |