iPXE
Data Structures | Defines | Functions
acm.h File Reference

USB RNDIS Ethernet driver. More...

#include <ipxe/usb.h>
#include <ipxe/cdc.h>

Go to the source code of this file.

Data Structures

struct  acm_device
 A USB RNDIS network device. More...

Defines

#define USB_SUBCLASS_CDC_ACM   0x02
 CDC-ACM subclass.
#define USB_PROTOCOL_ACM_RNDIS   0xff
 CDC-ACM RNDIS device protocol.
#define USB_CLASS_WIRELESS   0xe0
 Class code for wireless devices.
#define USB_SUBCLASS_WIRELESS_RADIO   0x01
 Radio frequency device subclass.
#define USB_PROTOCOL_RADIO_RNDIS   0x03
 Radio frequency RNDIS device protocol.
#define ACM_INTR_MAX_FILL   2
 Interrupt maximum fill level.
#define ACM_IN_MAX_FILL   8
 Bulk IN maximum fill level.
#define ACM_IN_MTU   2048
 Bulk IN buffer size.
#define ACM_RESPONSE_MTU   128
 Encapsulated response buffer size.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Detailed Description

USB RNDIS Ethernet driver.

Definition in file acm.h.


Define Documentation

#define USB_SUBCLASS_CDC_ACM   0x02

CDC-ACM subclass.

Definition at line 16 of file acm.h.

#define USB_PROTOCOL_ACM_RNDIS   0xff

CDC-ACM RNDIS device protocol.

Definition at line 19 of file acm.h.

#define USB_CLASS_WIRELESS   0xe0

Class code for wireless devices.

Definition at line 22 of file acm.h.

#define USB_SUBCLASS_WIRELESS_RADIO   0x01

Radio frequency device subclass.

Definition at line 25 of file acm.h.

#define USB_PROTOCOL_RADIO_RNDIS   0x03

Radio frequency RNDIS device protocol.

Definition at line 28 of file acm.h.

#define ACM_INTR_MAX_FILL   2

Interrupt maximum fill level.

This is a policy decision.

Definition at line 49 of file acm.h.

Referenced by acm_probe().

#define ACM_IN_MAX_FILL   8

Bulk IN maximum fill level.

This is a policy decision.

Definition at line 55 of file acm.h.

Referenced by acm_probe().

#define ACM_IN_MTU   2048

Bulk IN buffer size.

This is a policy decision.

Definition at line 61 of file acm.h.

Referenced by acm_probe().

#define ACM_RESPONSE_MTU   128

Encapsulated response buffer size.

This is a policy decision.

Definition at line 67 of file acm.h.

Referenced by acm_control_receive().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )