Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
main.c File Reference
#include <linux/hardirq.h>
#include <linux/slab.h>
#include <linux/etherdevice.h>
#include <linux/module.h>
#include "libertas_tf.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DRIVER_RELEASE_VERSION   "004.p0"
 
#define LBTF_FW_VER_MIN   0x05840300
 
#define LBTF_FW_VER_MAX   0x0584ffff
 
#define QOS_CONTROL_LEN   2
 
#define SUPPORTED_FIF_FLAGS   (FIF_PROMISC_IN_BSS | FIF_ALLMULTI)
 

Functions

 EXPORT_SYMBOL_GPL (lbtf_debug)
 
 module_param_named (libertas_tf_debug, lbtf_debug, int, 0644)
 
int lbtf_rx (struct lbtf_private *priv, struct sk_buff *skb)
 
 EXPORT_SYMBOL_GPL (lbtf_rx)
 
struct lbtf_privatelbtf_add_card (void *card, struct device *dmdev)
 
 EXPORT_SYMBOL_GPL (lbtf_add_card)
 
int lbtf_remove_card (struct lbtf_private *priv)
 
 EXPORT_SYMBOL_GPL (lbtf_remove_card)
 
void lbtf_send_tx_feedback (struct lbtf_private *priv, u8 retrycnt, u8 fail)
 
 EXPORT_SYMBOL_GPL (lbtf_send_tx_feedback)
 
void lbtf_bcn_sent (struct lbtf_private *priv)
 
 EXPORT_SYMBOL_GPL (lbtf_bcn_sent)
 
 module_init (lbtf_init_module)
 
 module_exit (lbtf_exit_module)
 
 MODULE_DESCRIPTION ("Libertas WLAN Thinfirm Driver Library")
 
 MODULE_AUTHOR ("Cozybit Inc.")
 
 MODULE_LICENSE ("GPL")
 

Variables

unsigned int lbtf_debug
 
struct workqueue_structlbtf_wq
 

Macro Definition Documentation

#define DRIVER_RELEASE_VERSION   "004.p0"

Definition at line 19 of file main.c.

#define LBTF_FW_VER_MAX   0x0584ffff

Definition at line 22 of file main.c.

#define LBTF_FW_VER_MIN   0x05840300

Definition at line 21 of file main.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 10 of file main.c.

#define QOS_CONTROL_LEN   2

Definition at line 23 of file main.c.

#define SUPPORTED_FIF_FLAGS   (FIF_PROMISC_IN_BSS | FIF_ALLMULTI)

Definition at line 442 of file main.c.

Function Documentation

EXPORT_SYMBOL_GPL ( lbtf_debug  )
EXPORT_SYMBOL_GPL ( lbtf_rx  )
EXPORT_SYMBOL_GPL ( lbtf_add_card  )
EXPORT_SYMBOL_GPL ( lbtf_remove_card  )
EXPORT_SYMBOL_GPL ( lbtf_send_tx_feedback  )
EXPORT_SYMBOL_GPL ( lbtf_bcn_sent  )
struct lbtf_private* lbtf_add_card ( void card,
struct device dmdev 
)
read

lbtf_add_card: Add and initialize the card, no fw upload yet.

A pointer to card

Returns: pointer to struct lbtf_priv.

Definition at line 620 of file main.c.

void lbtf_bcn_sent ( struct lbtf_private priv)

Definition at line 716 of file main.c.

int lbtf_remove_card ( struct lbtf_private priv)

Definition at line 675 of file main.c.

int lbtf_rx ( struct lbtf_private priv,
struct sk_buff skb 
)

Definition at line 560 of file main.c.

void lbtf_send_tx_feedback ( struct lbtf_private priv,
u8  retrycnt,
u8  fail 
)

Definition at line 693 of file main.c.

MODULE_AUTHOR ( "Cozybit Inc."  )
MODULE_DESCRIPTION ( "Libertas WLAN Thinfirm Driver Library"  )
module_exit ( lbtf_exit_module  )
module_init ( lbtf_init_module  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( libertas_tf_debug  ,
lbtf_debug  ,
int  ,
0644   
)

Variable Documentation

unsigned int lbtf_debug

Definition at line 26 of file main.c.

Definition at line 36 of file main.c.