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

Go to the source code of this file.

Data Structures

struct  qos_value_t
 
struct  qos_info
 

Macros

#define PI_BAUD_RATE   0x01
 
#define PI_MAX_TURN_TIME   0x82
 
#define PI_DATA_SIZE   0x83
 
#define PI_WINDOW_SIZE   0x84
 
#define PI_ADD_BOFS   0x85
 
#define PI_MIN_TURN_TIME   0x86
 
#define PI_LINK_DISC   0x08
 
#define IR_115200_MAX   0x3f
 
#define IR_2400   0x01
 
#define IR_9600   0x02
 
#define IR_19200   0x04
 
#define IR_38400   0x08
 
#define IR_57600   0x10
 
#define IR_115200   0x20
 
#define IR_576000   0x40
 
#define IR_1152000   0x80
 
#define IR_4000000   0x01
 
#define IR_16000000   0x02
 
#define irlap_min_turn_time_in_bytes(speed, min_turn_time)
 
#define irlap_xbofs_in_usec(speed, xbofs)
 

Functions

void irda_init_max_qos_capabilies (struct qos_info *qos)
 
void irda_qos_compute_intersection (struct qos_info *, struct qos_info *)
 
__u32 irlap_max_line_capacity (__u32 speed, __u32 max_turn_time)
 
void irda_qos_bits_to_value (struct qos_info *qos)
 

Variables

int sysctl_max_baud_rate
 
int sysctl_max_inactive_time
 

Macro Definition Documentation

#define IR_115200   0x20

Definition at line 54 of file qos.h.

#define IR_1152000   0x80

Definition at line 56 of file qos.h.

#define IR_115200_MAX   0x3f

Definition at line 46 of file qos.h.

#define IR_16000000   0x02

Definition at line 60 of file qos.h.

#define IR_19200   0x04

Definition at line 51 of file qos.h.

#define IR_2400   0x01

Definition at line 49 of file qos.h.

#define IR_38400   0x08

Definition at line 52 of file qos.h.

#define IR_4000000   0x01

Definition at line 59 of file qos.h.

#define IR_57600   0x10

Definition at line 53 of file qos.h.

#define IR_576000   0x40

Definition at line 55 of file qos.h.

#define IR_9600   0x02

Definition at line 50 of file qos.h.

#define irlap_min_turn_time_in_bytes (   speed,
  min_turn_time 
)
Value:
( \
speed * min_turn_time / 10000000 \
)

Definition at line 95 of file qos.h.

#define irlap_xbofs_in_usec (   speed,
  xbofs 
)
Value:
( \
xbofs * 10000000 / speed \
)

Definition at line 98 of file qos.h.

#define PI_ADD_BOFS   0x85

Definition at line 42 of file qos.h.

#define PI_BAUD_RATE   0x01

Definition at line 38 of file qos.h.

#define PI_DATA_SIZE   0x83

Definition at line 40 of file qos.h.

#define PI_LINK_DISC   0x08

Definition at line 44 of file qos.h.

#define PI_MAX_TURN_TIME   0x82

Definition at line 39 of file qos.h.

#define PI_MIN_TURN_TIME   0x86

Definition at line 43 of file qos.h.

#define PI_WINDOW_SIZE   0x84

Definition at line 41 of file qos.h.

Function Documentation

void irda_init_max_qos_capabilies ( struct qos_info qos)

Definition at line 305 of file qos.c.

void irda_qos_bits_to_value ( struct qos_info qos)

Definition at line 749 of file qos.c.

void irda_qos_compute_intersection ( struct qos_info ,
struct qos_info  
)

Definition at line 281 of file qos.c.

__u32 irlap_max_line_capacity ( __u32  speed,
__u32  max_turn_time 
)

Definition at line 710 of file qos.c.

Variable Documentation

int sysctl_max_baud_rate

Definition at line 49 of file qos.c.

int sysctl_max_inactive_time