#include <asm/delay.h>
#include <asm/uaccess.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/proc_fs.h>
#include <linux/if_arp.h>
#include <linux/delay.h>
#include <linux/random.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/rtnetlink.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <net/lib80211.h>
#include <asm/irq.h>
#include "hostap_80211.h"
#include "hostap.h"
#include "hostap_ap.h"
#include "hostap_download.c"
Go to the source code of this file.
|
| module_param (mtu, int, 0444) |
|
| MODULE_PARM_DESC (mtu,"Maximum transfer unit") |
|
| module_param_array (channel, int, NULL, 0444) |
|
| MODULE_PARM_DESC (channel,"Initial channel") |
|
| module_param_string (essid, essid, sizeof(essid), 0444) |
|
| MODULE_PARM_DESC (essid,"Host AP's ESSID") |
|
| module_param_array (iw_mode, int, NULL, 0444) |
|
| MODULE_PARM_DESC (iw_mode,"Initial operation mode") |
|
| module_param_array (beacon_int, int, NULL, 0444) |
|
| MODULE_PARM_DESC (beacon_int,"Beacon interval (1 = 1024 usec)") |
|
| module_param_array (dtim_period, int, NULL, 0444) |
|
| MODULE_PARM_DESC (dtim_period,"DTIM period") |
|
| module_param_string (dev_template, dev_template, sizeof(dev_template), 0444) |
|
| MODULE_PARM_DESC (dev_template,"Prefix for network device name (default: ""wlan%d)") |
|
#define EXTRA_FID_READ_TESTS |
#define HFA384X_ALLOC_COMPL_TIMEOUT (HZ / 20) /* 50 ms */ |
#define HFA384X_BAP_BUSY_TIMEOUT 50000 |
#define HFA384X_CMD_BUSY_TIMEOUT 5000 |
#define HFA384X_CMD_COMPL_TIMEOUT 20000 |
#define HFA384X_DL_COMPL_TIMEOUT 1000000 |
#define HFA384X_EVENT_MASK |
#define HFA384X_INIT_TIMEOUT (HZ / 2) /* 500 ms */ |
#define HFA384X_MAGIC 0x8A32 |
#define HOSTAP_TASKLET_INIT |
( |
|
q, |
|
|
|
f, |
|
|
|
d |
|
) |
| |
#define SHOW_REG |
( |
|
n | ) |
p += sprintf(p, #n "=%04x\n", hfa384x_read_reg(local->dev, HFA384X_##n##_OFF)) |
module_param |
( |
mtu |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
iw_mode |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
module_param_string |
( |
essid |
, |
|
|
essid |
, |
|
|
sizeof(essid) |
, |
|
|
0444 |
|
|
) |
| |
module_param_string |
( |
dev_template |
, |
|
|
dev_template |
, |
|
|
sizeof(dev_template) |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mtu |
, |
|
|
"Maximum transfer unit" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
essid |
, |
|
|
"Host AP's ESSID" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
dev_template |
, |
|
|
"Prefix for network device name (default: ""wlan%d)" |
|
|
) |
| |