Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
p54.h File Reference

Go to the source code of this file.

Data Structures

struct  bootrec
 
struct  bootrec_desc
 
struct  bootrec_comp_id
 
struct  bootrec_comp_ver
 
struct  bootrec_end
 
struct  p54_tx_info
 
struct  p54_edcf_queue_param
 
struct  p54_rssi_db_entry
 
struct  p54_cal_database
 
struct  p54_tx_queue_stats
 
struct  p54_common
 

Macros

#define ISL38XX_DEV_FIRMWARE_ADDR   0x20000
 
#define BR_CODE_MIN   0x80000000
 
#define BR_CODE_COMPONENT_ID   0x80000001
 
#define BR_CODE_COMPONENT_VERSION   0x80000002
 
#define BR_CODE_DEPENDENT_IF   0x80000003
 
#define BR_CODE_EXPOSED_IF   0x80000004
 
#define BR_CODE_DESCR   0x80000101
 
#define BR_CODE_MAX   0x8FFFFFFF
 
#define BR_CODE_END_OF_BRA   0xFF0000FF
 
#define LEGACY_BR_CODE_END_OF_BRA   0xFFFFFFFF
 
#define BR_INTERFACE_ROLE_SERVER   0x0000
 
#define BR_INTERFACE_ROLE_CLIENT   0x8000
 
#define BR_DESC_PRIV_CAP_WEP   BIT(0)
 
#define BR_DESC_PRIV_CAP_TKIP   BIT(1)
 
#define BR_DESC_PRIV_CAP_MICHAEL   BIT(2)
 
#define BR_DESC_PRIV_CAP_CCX_CP   BIT(3)
 
#define BR_DESC_PRIV_CAP_CCX_MIC   BIT(4)
 
#define BR_DESC_PRIV_CAP_AESCCMP   BIT(5)
 
#define FW_FMAC   0x464d4143
 
#define FW_LM86   0x4c4d3836
 
#define FW_LM87   0x4c4d3837
 
#define FW_LM20   0x4c4d3230
 
#define P54_TX_INFO_DATA_SIZE   16
 
#define P54_MAX_CTRL_FRAME_LEN   0x1000
 
#define P54_SET_QUEUE(queue, ai_fs, cw_min, cw_max, _txop)
 
#define EEPROM_READBACK_LEN   0x3fc
 

Enumerations

enum  fw_state {
  FW_STATE_OFF, FW_STATE_BOOTING, FW_STATE_READY, FW_STATE_RESET,
  FW_STATE_RESETTING
}
 

Functions

int p54_rx (struct ieee80211_hw *dev, struct sk_buff *skb)
 
void p54_free_skb (struct ieee80211_hw *dev, struct sk_buff *skb)
 
int p54_parse_firmware (struct ieee80211_hw *dev, const struct firmware *fw)
 
int p54_parse_eeprom (struct ieee80211_hw *dev, void *eeprom, int len)
 
int p54_read_eeprom (struct ieee80211_hw *dev)
 
struct ieee80211_hwp54_init_common (size_t priv_data_len)
 
int p54_register_common (struct ieee80211_hw *dev, struct device *pdev)
 
void p54_free_common (struct ieee80211_hw *dev)
 
void p54_unregister_common (struct ieee80211_hw *dev)
 

Variables

struct bootrec __packed
 

Macro Definition Documentation

#define BR_CODE_COMPONENT_ID   0x80000001

Definition at line 24 of file p54.h.

#define BR_CODE_COMPONENT_VERSION   0x80000002

Definition at line 25 of file p54.h.

#define BR_CODE_DEPENDENT_IF   0x80000003

Definition at line 26 of file p54.h.

#define BR_CODE_DESCR   0x80000101

Definition at line 28 of file p54.h.

#define BR_CODE_END_OF_BRA   0xFF0000FF

Definition at line 30 of file p54.h.

#define BR_CODE_EXPOSED_IF   0x80000004

Definition at line 27 of file p54.h.

#define BR_CODE_MAX   0x8FFFFFFF

Definition at line 29 of file p54.h.

#define BR_CODE_MIN   0x80000000

Definition at line 23 of file p54.h.

#define BR_DESC_PRIV_CAP_AESCCMP   BIT(5)

Definition at line 48 of file p54.h.

#define BR_DESC_PRIV_CAP_CCX_CP   BIT(3)

Definition at line 46 of file p54.h.

#define BR_DESC_PRIV_CAP_CCX_MIC   BIT(4)

Definition at line 47 of file p54.h.

#define BR_DESC_PRIV_CAP_MICHAEL   BIT(2)

Definition at line 45 of file p54.h.

#define BR_DESC_PRIV_CAP_TKIP   BIT(1)

Definition at line 44 of file p54.h.

#define BR_DESC_PRIV_CAP_WEP   BIT(0)

Definition at line 43 of file p54.h.

#define BR_INTERFACE_ROLE_CLIENT   0x8000

Definition at line 41 of file p54.h.

#define BR_INTERFACE_ROLE_SERVER   0x0000

Definition at line 40 of file p54.h.

#define EEPROM_READBACK_LEN   0x3fc

Definition at line 135 of file p54.h.

#define FW_FMAC   0x464d4143

Definition at line 68 of file p54.h.

#define FW_LM20   0x4c4d3230

Definition at line 71 of file p54.h.

#define FW_LM86   0x4c4d3836

Definition at line 69 of file p54.h.

#define FW_LM87   0x4c4d3837

Definition at line 70 of file p54.h.

#define ISL38XX_DEV_FIRMWARE_ADDR   0x20000

Definition at line 21 of file p54.h.

#define LEGACY_BR_CODE_END_OF_BRA   0xFFFFFFFF

Definition at line 31 of file p54.h.

#define P54_MAX_CTRL_FRAME_LEN   0x1000

Definition at line 102 of file p54.h.

#define P54_SET_QUEUE (   queue,
  ai_fs,
  cw_min,
  cw_max,
  _txop 
)
Value:
do { \
queue.aifs = cpu_to_le16(ai_fs); \
queue.txop = cpu_to_le16(_txop); \
} while (0)

Definition at line 104 of file p54.h.

#define P54_TX_INFO_DATA_SIZE   16

Definition at line 88 of file p54.h.

Enumeration Type Documentation

enum fw_state
Enumerator:
FW_STATE_OFF 
FW_STATE_BOOTING 
FW_STATE_READY 
FW_STATE_RESET 
FW_STATE_RESETTING 

Definition at line 137 of file p54.h.

Function Documentation

void p54_free_common ( struct ieee80211_hw dev)

Definition at line 827 of file main.c.

void p54_free_skb ( struct ieee80211_hw dev,
struct sk_buff skb 
)

Definition at line 237 of file txrx.c.

struct ieee80211_hw* p54_init_common ( size_t  priv_data_len)
read

Definition at line 732 of file main.c.

int p54_parse_eeprom ( struct ieee80211_hw dev,
void eeprom,
int  len 
)

Definition at line 730 of file eeprom.c.

int p54_parse_firmware ( struct ieee80211_hw dev,
const struct firmware fw 
)

Definition at line 31 of file fwio.c.

int p54_read_eeprom ( struct ieee80211_hw dev)

Definition at line 949 of file eeprom.c.

int p54_register_common ( struct ieee80211_hw dev,
struct device pdev 
)

Definition at line 802 of file main.c.

int p54_rx ( struct ieee80211_hw dev,
struct sk_buff skb 
)

Definition at line 666 of file txrx.c.

void p54_unregister_common ( struct ieee80211_hw dev)

Definition at line 851 of file main.c.

Variable Documentation