1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2018 Vincent Pelletier
10 #include <linux/types.h>
12 #define USB_INTERFACE_CLASS_CCID 0x0b
14 struct ccid_descriptor
{
21 __le32 dwDefaultClock
;
22 __le32 dwMaximumClock
;
23 __u8 bNumClockSupported
;
26 __u8 bNumDataRatesSupported
;
28 __le32 dwSynchProtocols
;
31 __le32 dwMaxCCIDMessageLength
;
32 __u8 bClassGetResponse
;
36 __u8 bMaxCCIDBusySlots
;
37 } __attribute__ ((packed
));