Greg Kroah-Hartman | e2be04c | 2017-11-01 15:09:13 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Bjørn Mork | 3edce1c | 2013-03-17 21:00:06 +0100 | [diff] [blame] | 2 | /* |
| 3 | * USB CDC Device Management userspace API definitions |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License |
| 7 | * version 2 as published by the Free Software Foundation. |
| 8 | */ |
| 9 | |
| 10 | #ifndef _UAPI__LINUX_USB_CDC_WDM_H |
| 11 | #define _UAPI__LINUX_USB_CDC_WDM_H |
| 12 | |
Greg Kroah-Hartman | 7ac3764 | 2014-05-27 16:32:10 -0700 | [diff] [blame] | 13 | #include <linux/types.h> |
| 14 | |
Bjørn Mork | 3edce1c | 2013-03-17 21:00:06 +0100 | [diff] [blame] | 15 | /* |
| 16 | * This IOCTL is used to retrieve the wMaxCommand for the device, |
| 17 | * defining the message limit for both reading and writing. |
| 18 | * |
| 19 | * For CDC WDM functions this will be the wMaxCommand field of the |
| 20 | * Device Management Functional Descriptor. |
| 21 | */ |
| 22 | #define IOCTL_WDM_MAX_COMMAND _IOR('H', 0xA0, __u16) |
| 23 | |
| 24 | #endif /* _UAPI__LINUX_USB_CDC_WDM_H */ |