Main Page | Data Structures | Directories | File List | Data Fields | Globals

hostap_download.c File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NUM_PDA_ADDRS   3

Functions

static int prism2_enable_aux_port (struct net_device *dev, int enable)
static int hfa384x_from_aux (struct net_device *dev, unsigned int addr, int len, void *buf)
static int hfa384x_to_aux (struct net_device *dev, unsigned int addr, int len, void *buf)
static int prism2_pda_ok (u8 *buf)
static u8 * prism2_read_pda (struct net_device *dev)
static int prism2_download_volatile (local_info_t *local, struct prism2_download_data *param)
static int prism2_enable_genesis (local_info_t *local, int hcr)
static int prism2_download_genesis (local_info_t *local, struct prism2_download_data *param)
static void prism2_download_free_data (struct prism2_download_data *dl)
static int prism2_download (local_info_t *local, struct prism2_download_param *param)


Define Documentation

#define NUM_PDA_ADDRS   3
 

Referenced by prism2_read_pda().


Function Documentation

static int hfa384x_from_aux struct net_device * dev,
unsigned int addr,
int len,
void * buf
[static]
 

Definition at line 75 of file hostap_download.c.

References HFA384X_INSW, HFA384X_INW_DATA, and HFA384X_OUTW.

Referenced by prism2_enable_genesis(), and prism2_read_pda().

static int hfa384x_to_aux struct net_device * dev,
unsigned int addr,
int len,
void * buf
[static]
 

Definition at line 106 of file hostap_download.c.

References HFA384X_OUTSW, HFA384X_OUTW, and HFA384X_OUTW_DATA.

Referenced by prism2_download_genesis(), prism2_download_volatile(), and prism2_enable_genesis().

static int prism2_download local_info_t * local,
struct prism2_download_paramparam
[static]
 

Definition at line 598 of file hostap_download.c.

References prism2_download_free_data(), prism2_download_genesis(), PRISM2_DOWNLOAD_NON_VOLATILE, prism2_download_volatile(), PRISM2_DOWNLOAD_VOLATILE, PRISM2_DOWNLOAD_VOLATILE_GENESIS, PRISM2_DOWNLOAD_VOLATILE_GENESIS_PERSISTENT, PRISM2_DOWNLOAD_VOLATILE_PERSISTENT, PRISM2_MAX_DOWNLOAD_AREA_LEN, and PRISM2_MAX_DOWNLOAD_LEN.

Here is the call graph for this function:

static void prism2_download_free_data struct prism2_download_data * dl  ) [static]
 

Definition at line 585 of file hostap_download.c.

Referenced by prism2_download(), and prism2_free_local_data().

static int prism2_download_genesis local_info_t * local,
struct prism2_download_data * param
[static]
 

Definition at line 342 of file hostap_download.c.

References hfa384x_to_aux(), prism2_enable_aux_port(), prism2_enable_genesis(), prism2_hw_init(), and prism2_hw_init2().

Referenced by prism2_download(), and prism2_hw_reset().

Here is the call graph for this function:

static int prism2_download_volatile local_info_t * local,
struct prism2_download_data * param
[static]
 

Definition at line 212 of file hostap_download.c.

References hfa384x_cmd_no_wait(), hfa384x_cmd_wait(), HFA384X_CMDCODE_DOWNLOAD, hfa384x_disable_interrupts(), HFA384X_EV_CMD, HFA384X_OUTW, HFA384X_PROGMODE_DISABLE, HFA384X_PROGMODE_ENABLE_VOLATILE, hfa384x_to_aux(), prism2_enable_aux_port(), prism2_hw_config(), prism2_hw_init(), and prism2_hw_shutdown().

Referenced by prism2_download(), and prism2_hw_reset().

Here is the call graph for this function:

static int prism2_enable_aux_port struct net_device * dev,
int enable
[static]
 

Definition at line 1 of file hostap_download.c.

References HFA384X_AUX_MAGIC0, HFA384X_AUX_MAGIC1, HFA384X_AUX_MAGIC2, HFA384X_AUX_PORT_DISABLE, HFA384X_AUX_PORT_DISABLED, HFA384X_AUX_PORT_ENABLE, HFA384X_AUX_PORT_ENABLED, HFA384X_AUX_PORT_MASK, HFA384X_CMD_BUSY, HFA384X_CMD_BUSY_TIMEOUT, HFA384X_INW, and HFA384X_OUTW.

Referenced by prism2_download_genesis(), prism2_download_volatile(), and prism2_read_pda().

static int prism2_enable_genesis local_info_t * local,
int hcr
[static]
 

Definition at line 311 of file hostap_download.c.

References hfa384x_from_aux(), and hfa384x_to_aux().

Referenced by prism2_download_genesis().

Here is the call graph for this function:

static int prism2_pda_ok u8 * buf  ) [static]
 

Definition at line 137 of file hostap_download.c.

References PRISM2_PDA_SIZE.

Referenced by prism2_read_pda().

static u8* prism2_read_pda struct net_device * dev  ) [static]
 

Definition at line 166 of file hostap_download.c.

References hfa384x_from_aux(), NUM_PDA_ADDRS, prism2_enable_aux_port(), prism2_pda_ok(), and PRISM2_PDA_SIZE.

Referenced by prism2_hw_init2().

Here is the call graph for this function:


Generated on Mon Nov 21 16:00:27 2005 for openwifi by  doxygen 1.4.1