1224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng/* 2224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * USB CDC Device Management userspace API definitions 3224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * 4224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * This program is free software; you can redistribute it and/or 5224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * modify it under the terms of the GNU General Public License 6224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * version 2 as published by the Free Software Foundation. 7224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng */ 8224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng 9224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#ifndef _UAPI__LINUX_USB_CDC_WDM_H 10224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#define _UAPI__LINUX_USB_CDC_WDM_H 11224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng 12314752488cb92b9f86028836d0b8eabd8acb6a7cChristopher Ferris#include <linux/types.h> 13314752488cb92b9f86028836d0b8eabd8acb6a7cChristopher Ferris 14224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng/* 15224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * This IOCTL is used to retrieve the wMaxCommand for the device, 16224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * defining the message limit for both reading and writing. 17224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * 18224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * For CDC WDM functions this will be the wMaxCommand field of the 19224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * Device Management Functional Descriptor. 20224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng */ 21224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#define IOCTL_WDM_MAX_COMMAND _IOR('H', 0xA0, __u16) 22224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng 23224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#endif /* _UAPI__LINUX_USB_CDC_WDM_H */ 24