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

Go to the source code of this file.

Data Structures

struct  evt_entry
 

Macros

#define gdm_wimax_send(n, d, l)   (n->phy_dev->send_func)(n->phy_dev->priv_dev, d, l, NULL, NULL)
 
#define gdm_wimax_send_with_cb(n, d, l, c, b)   (n->phy_dev->send_func)(n->phy_dev->priv_dev, d, l, c, b)
 
#define gdm_wimax_rcv_with_cb(n, c, b)   (n->phy_dev->rcv_func)(n->phy_dev->priv_dev, c, b)
 
#define EVT_MAX_SIZE   2048
 
#define BIT_MULTI_CS   0
 
#define BIT_WIMAX   1
 
#define BIT_QOS   2
 
#define BIT_AGGREGATION   3
 
#define __U82U16(b)   ((u16)((u8 *)(b))[0] | ((u16)((u8 *)(b))[1] << 8))
 
#define HCI_PADDING_BYTE   4
 
#define HCI_RESERVED_BYTE   4
 

Functions

int gdm_wimax_send_tx (struct sk_buff *skb, struct net_device *dev)
 
int register_wimax_device (struct phy_dev *phy_dev, struct device *pdev)
 
void unregister_wimax_device (struct phy_dev *phy_dev)
 

Macro Definition Documentation

#define __U82U16 (   b)    ((u16)((u8 *)(b))[0] | ((u16)((u8 *)(b))[1] << 8))
#define BIT_AGGREGATION   3
#define BIT_MULTI_CS   0
#define BIT_QOS   2
#define BIT_WIMAX   1
#define EVT_MAX_SIZE   2048

Definition at line 33 of file gdm_wimax.c.

#define gdm_wimax_rcv_with_cb (   n,
  c,
  b 
)    (n->phy_dev->rcv_func)(n->phy_dev->priv_dev, c, b)

Definition at line 30 of file gdm_wimax.c.

#define gdm_wimax_send (   n,
  d,
  l 
)    (n->phy_dev->send_func)(n->phy_dev->priv_dev, d, l, NULL, NULL)

Definition at line 26 of file gdm_wimax.c.

#define gdm_wimax_send_with_cb (   n,
  d,
  l,
  c,
  b 
)    (n->phy_dev->send_func)(n->phy_dev->priv_dev, d, l, c, b)

Definition at line 28 of file gdm_wimax.c.

#define HCI_PADDING_BYTE   4
#define HCI_RESERVED_BYTE   4

Function Documentation

int gdm_wimax_send_tx ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 395 of file gdm_wimax.c.

int register_wimax_device ( struct phy_dev phy_dev,
struct device pdev 
)

Definition at line 942 of file gdm_wimax.c.

void unregister_wimax_device ( struct phy_dev phy_dev)

Definition at line 1004 of file gdm_wimax.c.

Variable Documentation

spinlock_t evt_lock

Definition at line 52 of file gdm_wimax.c.

Definition at line 51 of file gdm_wimax.c.

Definition at line 54 of file gdm_wimax.c.

int ref_cnt

Definition at line 49 of file gdm_wimax.c.

Definition at line 50 of file gdm_wimax.c.

Definition at line 55 of file gdm_wimax.c.