logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

cdc-wdm.h (739B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  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. #ifndef __LINUX_USB_CDC_WDM_H
  10. #define __LINUX_USB_CDC_WDM_H
  11. #include <linux/types.h>
  12. /*
  13. * This IOCTL is used to retrieve the wMaxCommand for the device,
  14. * defining the message limit for both reading and writing.
  15. *
  16. * For CDC WDM functions this will be the wMaxCommand field of the
  17. * Device Management Functional Descriptor.
  18. */
  19. #define IOCTL_WDM_MAX_COMMAND _IOR('H', 0xA0, __u16)
  20. #endif /* __LINUX_USB_CDC_WDM_H */