Andrei Emeltchenko
c8af08e5d4
usb: osdesc: Use definition for string descriptor index
...
Use definition and add description block.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2018-07-12 23:10:22 -04:00
Andrei Emeltchenko
5a9c069c83
usb: tests: Add testing os_desc feature
...
Add testing usb_handle_os_desc_feature()
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2018-07-12 23:10:22 -04:00
Andrei Emeltchenko
65cbe9db57
usb: tests: Add unit tests for MS OS Descriptors testing
...
Add test for testing MS OS String Descriptor version 1.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2018-07-12 23:10:22 -04:00
Andrei Emeltchenko
6e15dc789a
usb: tests: Fix BOS test related to linker order
...
The current test expects particular order of cap_webusb and cap_msosv2
structures, create alternative structure for comparison.
Fixes : #8732
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2018-07-04 15:10:31 -04:00
Andrei Emeltchenko
b9c82121c6
usb: bos: unit: Add unit test for BOS testing
...
Add testing USB Binary Device Object Store descriptors and macros.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2018-06-20 15:47:00 -04:00