Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
main.c File Reference
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/wl12xx.h>
#include "../wlcore/wlcore.h"
#include "../wlcore/debug.h"
#include "../wlcore/io.h"
#include "../wlcore/acx.h"
#include "../wlcore/tx.h"
#include "../wlcore/rx.h"
#include "../wlcore/boot.h"
#include "wl12xx.h"
#include "reg.h"
#include "cmd.h"
#include "acx.h"
#include "debugfs.h"

Go to the source code of this file.

Macros

#define WL12XX_TX_HW_BLOCK_SPARE_DEFAULT   1
 
#define WL12XX_TX_HW_BLOCK_GEM_SPARE   2
 
#define WL12XX_TX_HW_BLOCK_SIZE   252
 
#define WL127X_FW_NAME_MULTI   "ti-connectivity/wl127x-fw-5-mr.bin"
 
#define WL127X_FW_NAME_SINGLE   "ti-connectivity/wl127x-fw-5-sr.bin"
 
#define WL127X_PLT_FW_NAME   "ti-connectivity/wl127x-fw-5-plt.bin"
 
#define WL128X_FW_NAME_MULTI   "ti-connectivity/wl128x-fw-5-mr.bin"
 
#define WL128X_FW_NAME_SINGLE   "ti-connectivity/wl128x-fw-5-sr.bin"
 
#define WL128X_PLT_FW_NAME   "ti-connectivity/wl128x-fw-5-plt.bin"
 

Enumerations

enum  wl12xx_hw_rates {
  WL12XX_CONF_HW_RXTX_RATE_MCS7_SGI = 0, WL12XX_CONF_HW_RXTX_RATE_MCS7, WL12XX_CONF_HW_RXTX_RATE_MCS6, WL12XX_CONF_HW_RXTX_RATE_MCS5,
  WL12XX_CONF_HW_RXTX_RATE_MCS4, WL12XX_CONF_HW_RXTX_RATE_MCS3, WL12XX_CONF_HW_RXTX_RATE_MCS2, WL12XX_CONF_HW_RXTX_RATE_MCS1,
  WL12XX_CONF_HW_RXTX_RATE_MCS0, WL12XX_CONF_HW_RXTX_RATE_54, WL12XX_CONF_HW_RXTX_RATE_48, WL12XX_CONF_HW_RXTX_RATE_36,
  WL12XX_CONF_HW_RXTX_RATE_24, WL12XX_CONF_HW_RXTX_RATE_22, WL12XX_CONF_HW_RXTX_RATE_18, WL12XX_CONF_HW_RXTX_RATE_12,
  WL12XX_CONF_HW_RXTX_RATE_11, WL12XX_CONF_HW_RXTX_RATE_9, WL12XX_CONF_HW_RXTX_RATE_6, WL12XX_CONF_HW_RXTX_RATE_5_5,
  WL12XX_CONF_HW_RXTX_RATE_2, WL12XX_CONF_HW_RXTX_RATE_1, WL12XX_CONF_HW_RXTX_RATE_MAX
}
 

Functions

 MODULE_DEVICE_TABLE (platform, wl12xx_id_table)
 
 module_platform_driver (wl12xx_driver)
 
 module_param_named (fref, fref_param, charp, 0)
 
 MODULE_PARM_DESC (fref,"FREF clock: 19.2, 26, 26x, 38.4, 38.4x, 52")
 
 module_param_named (tcxo, tcxo_param, charp, 0)
 
 MODULE_PARM_DESC (tcxo,"TCXO clock: 19.2, 26, 38.4, 52, 16.368, 32.736, 16.8, 33.6")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Luciano Coelho <[email protected]>")
 
 MODULE_FIRMWARE (WL127X_FW_NAME_SINGLE)
 
 MODULE_FIRMWARE (WL127X_FW_NAME_MULTI)
 
 MODULE_FIRMWARE (WL127X_PLT_FW_NAME)
 
 MODULE_FIRMWARE (WL128X_FW_NAME_SINGLE)
 
 MODULE_FIRMWARE (WL128X_FW_NAME_MULTI)
 
 MODULE_FIRMWARE (WL128X_PLT_FW_NAME)
 

Macro Definition Documentation

#define WL127X_FW_NAME_MULTI   "ti-connectivity/wl127x-fw-5-mr.bin"

Definition at line 592 of file main.c.

#define WL127X_FW_NAME_SINGLE   "ti-connectivity/wl127x-fw-5-sr.bin"

Definition at line 593 of file main.c.

#define WL127X_PLT_FW_NAME   "ti-connectivity/wl127x-fw-5-plt.bin"

Definition at line 594 of file main.c.

#define WL128X_FW_NAME_MULTI   "ti-connectivity/wl128x-fw-5-mr.bin"

Definition at line 596 of file main.c.

#define WL128X_FW_NAME_SINGLE   "ti-connectivity/wl128x-fw-5-sr.bin"

Definition at line 597 of file main.c.

#define WL128X_PLT_FW_NAME   "ti-connectivity/wl128x-fw-5-plt.bin"

Definition at line 598 of file main.c.

#define WL12XX_TX_HW_BLOCK_GEM_SPARE   2

Definition at line 398 of file main.c.

#define WL12XX_TX_HW_BLOCK_SIZE   252

Definition at line 399 of file main.c.

#define WL12XX_TX_HW_BLOCK_SPARE_DEFAULT   1

Definition at line 397 of file main.c.

Enumeration Type Documentation

Enumerator:
WL12XX_CONF_HW_RXTX_RATE_MCS7_SGI 
WL12XX_CONF_HW_RXTX_RATE_MCS7 
WL12XX_CONF_HW_RXTX_RATE_MCS6 
WL12XX_CONF_HW_RXTX_RATE_MCS5 
WL12XX_CONF_HW_RXTX_RATE_MCS4 
WL12XX_CONF_HW_RXTX_RATE_MCS3 
WL12XX_CONF_HW_RXTX_RATE_MCS2 
WL12XX_CONF_HW_RXTX_RATE_MCS1 
WL12XX_CONF_HW_RXTX_RATE_MCS0 
WL12XX_CONF_HW_RXTX_RATE_54 
WL12XX_CONF_HW_RXTX_RATE_48 
WL12XX_CONF_HW_RXTX_RATE_36 
WL12XX_CONF_HW_RXTX_RATE_24 
WL12XX_CONF_HW_RXTX_RATE_22 
WL12XX_CONF_HW_RXTX_RATE_18 
WL12XX_CONF_HW_RXTX_RATE_12 
WL12XX_CONF_HW_RXTX_RATE_11 
WL12XX_CONF_HW_RXTX_RATE_9 
WL12XX_CONF_HW_RXTX_RATE_6 
WL12XX_CONF_HW_RXTX_RATE_5_5 
WL12XX_CONF_HW_RXTX_RATE_2 
WL12XX_CONF_HW_RXTX_RATE_1 
WL12XX_CONF_HW_RXTX_RATE_MAX 

Definition at line 466 of file main.c.

Function Documentation

MODULE_AUTHOR ( "Luciano Coelho <[email protected]>"  )
MODULE_DEVICE_TABLE ( platform  ,
wl12xx_id_table   
)
MODULE_FIRMWARE ( WL127X_FW_NAME_SINGLE  )
MODULE_FIRMWARE ( WL127X_FW_NAME_MULTI  )
MODULE_FIRMWARE ( WL127X_PLT_FW_NAME  )
MODULE_FIRMWARE ( WL128X_FW_NAME_SINGLE  )
MODULE_FIRMWARE ( WL128X_FW_NAME_MULTI  )
MODULE_FIRMWARE ( WL128X_PLT_FW_NAME  )
MODULE_LICENSE ( "GPL v2 )
module_param_named ( fref  ,
fref_param  ,
charp  ,
 
)
module_param_named ( tcxo  ,
tcxo_param  ,
charp  ,
 
)
MODULE_PARM_DESC ( fref  ,
"FREF clock: 19.  2,
26  ,
26x  ,
38.  4,
38.  4x,
52"   
)
MODULE_PARM_DESC ( tcxo  ,
"TCXO clock: 19.  2,
26  ,
38.  4,
52  ,
16.  368,
32.  736,
16.  8,
33.6"   
)
module_platform_driver ( wl12xx_driver  )