Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dhd_linux.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/mmc/sdio_func.h>
#include <linux/random.h>
#include <linux/spinlock.h>
#include <linux/ethtool.h>
#include <linux/fcntl.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/hardirq.h>
#include <linux/mutex.h>
#include <linux/wait.h>
#include <linux/module.h>
#include <net/cfg80211.h>
#include <net/rtnetlink.h>
#include <defs.h>
#include <brcmu_utils.h>
#include <brcmu_wifi.h>
#include "dhd.h"
#include "dhd_bus.h"
#include "dhd_proto.h"
#include "dhd_dbg.h"
#include "wl_cfg80211.h"

Go to the source code of this file.

Data Structures

struct  brcmf_if
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define MAX_WAIT_FOR_8021X_TX   10
 

Functions

 MODULE_AUTHOR ("Broadcom Corporation")
 
 MODULE_DESCRIPTION ("Broadcom 802.11n wireless LAN fullmac driver.")
 
 MODULE_SUPPORTED_DEVICE ("Broadcom 802.11n WLAN fullmac cards")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 module_param (brcmf_msg_level, int, 0)
 
int brcmf_ifname2idx (struct brcmf_pub *drvr, char *name)
 
charbrcmf_ifname (struct brcmf_pub *drvr, int ifidx)
 
void brcmf_txflowblock (struct device *dev, bool state)
 
void brcmf_rx_frame (struct device *dev, int ifidx, struct sk_buff_head *skb_list)
 
void brcmf_txcomplete (struct device *dev, struct sk_buff *txp, bool success)
 
s32 brcmf_exec_dcmd (struct net_device *ndev, u32 cmd, void *arg, u32 len)
 
int brcmf_netlink_dcmd (struct net_device *ndev, struct brcmf_dcmd *dcmd)
 
int brcmf_add_if (struct device *dev, int ifidx, char *name, u8 *mac_addr)
 
void brcmf_del_if (struct brcmf_pub *drvr, int ifidx)
 
int brcmf_attach (uint bus_hdrlen, struct device *dev)
 
int brcmf_bus_start (struct device *dev)
 
void brcmf_detach (struct device *dev)
 
int brcmf_netdev_wait_pend8021x (struct net_device *ndev)
 
 module_init (brcmfmac_module_init)
 
 module_exit (brcmfmac_module_exit)
 

Variables

int brcmf_msg_level = BRCMF_ERROR_VAL
 

Macro Definition Documentation

#define MAX_WAIT_FOR_8021X_TX   10

Definition at line 1144 of file dhd_linux.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 17 of file dhd_linux.c.

Function Documentation

int brcmf_add_if ( struct device dev,
int  ifidx,
char name,
u8 mac_addr 
)

Definition at line 912 of file dhd_linux.c.

int brcmf_attach ( uint  bus_hdrlen,
struct device dev 
)

Definition at line 993 of file dhd_linux.c.

int brcmf_bus_start ( struct device dev)

Definition at line 1036 of file dhd_linux.c.

void brcmf_del_if ( struct brcmf_pub drvr,
int  ifidx 
)

Definition at line 963 of file dhd_linux.c.

void brcmf_detach ( struct device dev)

Definition at line 1112 of file dhd_linux.c.

s32 brcmf_exec_dcmd ( struct net_device ndev,
u32  cmd,
void arg,
u32  len 
)

Definition at line 723 of file dhd_linux.c.

char* brcmf_ifname ( struct brcmf_pub drvr,
int  ifidx 
)

Definition at line 88 of file dhd_linux.c.

int brcmf_ifname2idx ( struct brcmf_pub drvr,
char name 
)

Definition at line 69 of file dhd_linux.c.

int brcmf_netdev_wait_pend8021x ( struct net_device ndev)

Definition at line 1146 of file dhd_linux.c.

int brcmf_netlink_dcmd ( struct net_device ndev,
struct brcmf_dcmd dcmd 
)

Definition at line 773 of file dhd_linux.c.

void brcmf_rx_frame ( struct device dev,
int  ifidx,
struct sk_buff_head skb_list 
)

Definition at line 380 of file dhd_linux.c.

void brcmf_txcomplete ( struct device dev,
struct sk_buff txp,
bool  success 
)

Definition at line 461 of file dhd_linux.c.

void brcmf_txflowblock ( struct device dev,
bool  state 
)

Definition at line 344 of file dhd_linux.c.

MODULE_AUTHOR ( "Broadcom Corporation"  )
MODULE_DESCRIPTION ( "Broadcom 802.11n wireless LAN fullmac driver."  )
module_exit ( brcmfmac_module_exit  )
module_init ( brcmfmac_module_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
module_param ( brcmf_msg_level  ,
int  ,
 
)
MODULE_SUPPORTED_DEVICE ( "Broadcom 802.11n WLAN fullmac cards"  )

Variable Documentation

int brcmf_msg_level = BRCMF_ERROR_VAL

Definition at line 66 of file dhd_linux.c.