Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
irda-usb.h File Reference
#include <linux/time.h>
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>

Go to the source code of this file.

Data Structures

struct  irda_class_desc
 
struct  irda_usb_cb
 

Macros

#define RX_COPY_THRESHOLD   200
 
#define IRDA_USB_MAX_MTU   2051
 
#define IRDA_USB_SPEED_MTU   64 /* Weird, but work like this */
 
#define IU_MAX_ACTIVE_RX_URBS   1 /* Don't touch !!! */
 
#define IU_MAX_RX_URBS   (IU_MAX_ACTIVE_RX_URBS + 1)
 
#define IU_BUG_KICK_TIMEOUT
 
#define IU_USB_MIN_RTT   500 /* This should be safe in most cases */
 
#define MEDIA_BUSY   0x80
 
#define SPEED_2400   0x01
 
#define SPEED_9600   0x02
 
#define SPEED_19200   0x03
 
#define SPEED_38400   0x04
 
#define SPEED_57600   0x05
 
#define SPEED_115200   0x06
 
#define SPEED_576000   0x07
 
#define SPEED_1152000   0x08
 
#define SPEED_4000000   0x09
 
#define SPEED_16000000   0x0a
 
#define IUC_DEFAULT   0x00 /* Basic device compliant with 1.0 spec */
 
#define IUC_SPEED_BUG   0x01 /* Device doesn't set speed after the frame */
 
#define IUC_NO_WINDOW   0x02 /* Device doesn't behave with big Rx window */
 
#define IUC_NO_TURN   0x04 /* Device doesn't do turnaround by itself */
 
#define IUC_SIR_ONLY   0x08 /* Device doesn't behave at FIR speeds */
 
#define IUC_SMALL_PKT   0x10 /* Device doesn't behave with big Rx packets */
 
#define IUC_MAX_WINDOW   0x20 /* Device underestimate the Rx window */
 
#define IUC_MAX_XBOFS   0x40 /* Device need more xbofs than advertised */
 
#define IUC_STIR421X   0x80 /* SigmaTel 4210/4220/4116 VFIR */
 
#define USB_IRDA_HEADER   0x01
 
#define USB_CLASS_IRDA   0x02 /* USB_CLASS_APP_SPEC subclass */
 
#define USB_DT_IRDA   0x21
 
#define USB_IRDA_STIR421X_HEADER   0x03
 
#define IU_SIGMATEL_MAX_RX_URBS
 
#define IU_REQ_GET_CLASS_DESC   0x06
 
#define STIR421X_MAX_PATCH_DOWNLOAD_SIZE   1023
 

Variables

struct irda_class_desc __packed
 

Macro Definition Documentation

#define IRDA_USB_MAX_MTU   2051

Definition at line 38 of file irda-usb.h.

#define IRDA_USB_SPEED_MTU   64 /* Weird, but work like this */

Definition at line 39 of file irda-usb.h.

#define IU_BUG_KICK_TIMEOUT

Definition at line 69 of file irda-usb.h.

#define IU_MAX_ACTIVE_RX_URBS   1 /* Don't touch !!! */

Definition at line 59 of file irda-usb.h.

#define IU_MAX_RX_URBS   (IU_MAX_ACTIVE_RX_URBS + 1)

Definition at line 65 of file irda-usb.h.

#define IU_REQ_GET_CLASS_DESC   0x06

Definition at line 133 of file irda-usb.h.

#define IU_SIGMATEL_MAX_RX_URBS
Value:
USB_IRDA_STIR421X_HEADER)

Definition at line 114 of file irda-usb.h.

#define IU_USB_MIN_RTT   500 /* This should be safe in most cases */

Definition at line 80 of file irda-usb.h.

#define IUC_DEFAULT   0x00 /* Basic device compliant with 1.0 spec */

Definition at line 97 of file irda-usb.h.

#define IUC_MAX_WINDOW   0x20 /* Device underestimate the Rx window */

Definition at line 105 of file irda-usb.h.

#define IUC_MAX_XBOFS   0x40 /* Device need more xbofs than advertised */

Definition at line 106 of file irda-usb.h.

#define IUC_NO_TURN   0x04 /* Device doesn't do turnaround by itself */

Definition at line 101 of file irda-usb.h.

#define IUC_NO_WINDOW   0x02 /* Device doesn't behave with big Rx window */

Definition at line 100 of file irda-usb.h.

#define IUC_SIR_ONLY   0x08 /* Device doesn't behave at FIR speeds */

Definition at line 103 of file irda-usb.h.

#define IUC_SMALL_PKT   0x10 /* Device doesn't behave with big Rx packets */

Definition at line 104 of file irda-usb.h.

#define IUC_SPEED_BUG   0x01 /* Device doesn't set speed after the frame */

Definition at line 99 of file irda-usb.h.

#define IUC_STIR421X   0x80 /* SigmaTel 4210/4220/4116 VFIR */

Definition at line 107 of file irda-usb.h.

#define MEDIA_BUSY   0x80

Definition at line 83 of file irda-usb.h.

#define RX_COPY_THRESHOLD   200

Definition at line 37 of file irda-usb.h.

#define SPEED_115200   0x06

Definition at line 90 of file irda-usb.h.

#define SPEED_1152000   0x08

Definition at line 92 of file irda-usb.h.

#define SPEED_16000000   0x0a

Definition at line 94 of file irda-usb.h.

#define SPEED_19200   0x03

Definition at line 87 of file irda-usb.h.

#define SPEED_2400   0x01

Definition at line 85 of file irda-usb.h.

#define SPEED_38400   0x04

Definition at line 88 of file irda-usb.h.

#define SPEED_4000000   0x09

Definition at line 93 of file irda-usb.h.

#define SPEED_57600   0x05

Definition at line 89 of file irda-usb.h.

#define SPEED_576000   0x07

Definition at line 91 of file irda-usb.h.

#define SPEED_9600   0x02

Definition at line 86 of file irda-usb.h.

#define STIR421X_MAX_PATCH_DOWNLOAD_SIZE   1023

Definition at line 134 of file irda-usb.h.

#define USB_CLASS_IRDA   0x02 /* USB_CLASS_APP_SPEC subclass */

Definition at line 111 of file irda-usb.h.

#define USB_DT_IRDA   0x21

Definition at line 112 of file irda-usb.h.

#define USB_IRDA_HEADER   0x01

Definition at line 110 of file irda-usb.h.

#define USB_IRDA_STIR421X_HEADER   0x03

Definition at line 113 of file irda-usb.h.

Variable Documentation