Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gdm_qos.c File Reference
#include <linux/etherdevice.h>
#include <asm/byteorder.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/if_ether.h>
#include "gdm_wimax.h"
#include "hci.h"
#include "gdm_qos.h"

Go to the source code of this file.

Macros

#define B2H(x)   __be16_to_cpu(x)
 
#define dprintk(fmt, args...)   printk(KERN_DEBUG "[QoS] " fmt, ## args)
 
#define wprintk(fmt, args...)   printk(KERN_WARNING "[QoS WARNING] " fmt, ## args)
 
#define eprintk(fmt, args...)   printk(KERN_ERR "[QoS ERROR] " fmt, ## args)
 
#define MAX_FREE_LIST_CNT   32
 
#define QOS_CHANGE_DEL   0xFC
 
#define QOS_ADD   0xFD
 
#define QOS_REPORT   0xFE
 

Functions

void gdm_qos_init (void *nic_ptr)
 
void gdm_qos_release_list (void *nic_ptr)
 
int gdm_qos_send_hci_pkt (struct sk_buff *skb, struct net_device *dev)
 
void gdm_recv_qos_hci_packet (void *nic_ptr, u8 *buf, int size)
 

Macro Definition Documentation

#define B2H (   x)    __be16_to_cpu(x)

Definition at line 25 of file gdm_qos.c.

#define dprintk (   fmt,
  args... 
)    printk(KERN_DEBUG "[QoS] " fmt, ## args)

Definition at line 28 of file gdm_qos.c.

#define eprintk (   fmt,
  args... 
)    printk(KERN_ERR "[QoS ERROR] " fmt, ## args)

Definition at line 33 of file gdm_qos.c.

#define MAX_FREE_LIST_CNT   32

Definition at line 36 of file gdm_qos.c.

#define QOS_ADD   0xFD

Definition at line 336 of file gdm_qos.c.

#define QOS_CHANGE_DEL   0xFC

Definition at line 335 of file gdm_qos.c.

#define QOS_REPORT   0xFE

Definition at line 337 of file gdm_qos.c.

#define wprintk (   fmt,
  args... 
)    printk(KERN_WARNING "[QoS WARNING] " fmt, ## args)

Definition at line 30 of file gdm_qos.c.

Function Documentation

void gdm_qos_init ( void nic_ptr)

Definition at line 101 of file gdm_qos.c.

void gdm_qos_release_list ( void nic_ptr)

Definition at line 122 of file gdm_qos.c.

int gdm_qos_send_hci_pkt ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 263 of file gdm_qos.c.

void gdm_recv_qos_hci_packet ( void nic_ptr,
u8 buf,
int  size 
)

Definition at line 339 of file gdm_qos.c.

Variable Documentation

int cnt

Definition at line 39 of file gdm_qos.c.

Definition at line 38 of file gdm_qos.c.

spinlock_t lock

Definition at line 40 of file gdm_qos.c.