1*e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23edce1cfSBjørn Mork /* 33edce1cfSBjørn Mork * USB CDC Device Management userspace API definitions 43edce1cfSBjørn Mork * 53edce1cfSBjørn Mork * This program is free software; you can redistribute it and/or 63edce1cfSBjørn Mork * modify it under the terms of the GNU General Public License 73edce1cfSBjørn Mork * version 2 as published by the Free Software Foundation. 83edce1cfSBjørn Mork */ 93edce1cfSBjørn Mork 103edce1cfSBjørn Mork #ifndef _UAPI__LINUX_USB_CDC_WDM_H 113edce1cfSBjørn Mork #define _UAPI__LINUX_USB_CDC_WDM_H 123edce1cfSBjørn Mork 137ac3764fSGreg Kroah-Hartman #include <linux/types.h> 147ac3764fSGreg Kroah-Hartman 153edce1cfSBjørn Mork /* 163edce1cfSBjørn Mork * This IOCTL is used to retrieve the wMaxCommand for the device, 173edce1cfSBjørn Mork * defining the message limit for both reading and writing. 183edce1cfSBjørn Mork * 193edce1cfSBjørn Mork * For CDC WDM functions this will be the wMaxCommand field of the 203edce1cfSBjørn Mork * Device Management Functional Descriptor. 213edce1cfSBjørn Mork */ 223edce1cfSBjørn Mork #define IOCTL_WDM_MAX_COMMAND _IOR('H', 0xA0, __u16) 233edce1cfSBjørn Mork 243edce1cfSBjørn Mork #endif /* _UAPI__LINUX_USB_CDC_WDM_H */ 25