Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Variables
ipw2200.h File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/skbuff.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#include <linux/random.h>
#include <linux/dma-mapping.h>
#include <linux/firmware.h>
#include <linux/wireless.h>
#include <linux/jiffies.h>
#include <asm/io.h>
#include <net/lib80211.h>
#include <net/ieee80211_radiotap.h>
#include <linux/workqueue.h>
#include "libipw.h"
#include <linux/ctype.h>

Go to the source code of this file.

Data Structures

struct  ipw_qos_info
 
struct  clx2_queue
 
struct  machdr32
 
struct  machdr30
 
struct  machdr26
 
struct  machdr24
 
struct  tx_tfd_32
 
struct  tx_tfd_30
 
struct  tx_tfd_26
 
struct  tx_tfd_24
 
struct  tfd_command
 
struct  tfd_data
 
struct  txrx_control_flags
 
struct  tfd_frame
 
struct  clx2_tx_queue
 
struct  rate_histogram
 
struct  ipw_cmd_stats
 
struct  notif_channel_result
 
struct  notif_scan_complete
 
struct  notif_frag_length
 
struct  notif_beacon_state
 
struct  notif_tgi_tx_key
 
struct  notif_link_deterioration
 
struct  notif_association
 
struct  notif_authenticate
 
struct  notif_calibration
 
struct  notif_noise
 
struct  ipw_rx_notification
 
struct  ipw_rx_frame
 
struct  ipw_rx_header
 
struct  ipw_rx_packet
 
struct  ipw_rx_mem_buffer
 
struct  ipw_rx_queue
 
struct  alive_command_responce
 
struct  ipw_rates
 
struct  command_block
 
struct  fw_image_desc
 
struct  ipw_sys_config
 
struct  ipw_multicast_addr
 
struct  ipw_wep_key
 
struct  ipw_tgi_tx_key
 
struct  ipw_scan_request
 
struct  ipw_scan_request_ext
 
struct  ipw_associate
 
struct  ipw_supported_rates
 
struct  ipw_rts_threshold
 
struct  ipw_frag_threshold
 
struct  ipw_retry_limit
 
struct  ipw_dino_config
 
struct  ipw_aironet_info
 
struct  ipw_rx_key
 
struct  ipw_country_channel_info
 
struct  ipw_country_info
 
struct  ipw_channel_tx_power
 
struct  ipw_tx_power
 
struct  ipw_rsn_capabilities
 
struct  ipw_sensitivity_calib
 
struct  ipw_cmd
 
struct  ipw_station_entry
 
struct  average
 
struct  ipw_ibss_seq
 
struct  ipw_error_elem
 
struct  ipw_event
 
struct  ipw_fw_error
 
struct  ipw_priv
 
struct  ipw_fixed_rate
 
struct  host_cmd
 
struct  cmdlog_host_cmd
 
struct  ipw_cmd_log
 

Macros

#define DRV_NAME   "ipw2200"
 
#define IPW_WAIT   (1<<0)
 
#define IPW_QUIET   (1<<1)
 
#define IPW_ROAMING   (1<<2)
 
#define IPW_POWER_MODE_CAM   0x00
 
#define IPW_POWER_INDEX_1   0x01
 
#define IPW_POWER_INDEX_2   0x02
 
#define IPW_POWER_INDEX_3   0x03
 
#define IPW_POWER_INDEX_4   0x04
 
#define IPW_POWER_INDEX_5   0x05
 
#define IPW_POWER_AC   0x06
 
#define IPW_POWER_BATTERY   0x07
 
#define IPW_POWER_LIMIT   0x07
 
#define IPW_POWER_MASK   0x0F
 
#define IPW_POWER_ENABLED   0x10
 
#define IPW_POWER_LEVEL(x)   ((x) & IPW_POWER_MASK)
 
#define IPW_CMD_HOST_COMPLETE   2
 
#define IPW_CMD_POWER_DOWN   4
 
#define IPW_CMD_SYSTEM_CONFIG   6
 
#define IPW_CMD_MULTICAST_ADDRESS   7
 
#define IPW_CMD_SSID   8
 
#define IPW_CMD_ADAPTER_ADDRESS   11
 
#define IPW_CMD_PORT_TYPE   12
 
#define IPW_CMD_RTS_THRESHOLD   15
 
#define IPW_CMD_FRAG_THRESHOLD   16
 
#define IPW_CMD_POWER_MODE   17
 
#define IPW_CMD_WEP_KEY   18
 
#define IPW_CMD_TGI_TX_KEY   19
 
#define IPW_CMD_SCAN_REQUEST   20
 
#define IPW_CMD_ASSOCIATE   21
 
#define IPW_CMD_SUPPORTED_RATES   22
 
#define IPW_CMD_SCAN_ABORT   23
 
#define IPW_CMD_TX_FLUSH   24
 
#define IPW_CMD_QOS_PARAMETERS   25
 
#define IPW_CMD_SCAN_REQUEST_EXT   26
 
#define IPW_CMD_DINO_CONFIG   30
 
#define IPW_CMD_RSN_CAPABILITIES   31
 
#define IPW_CMD_RX_KEY   32
 
#define IPW_CMD_CARD_DISABLE   33
 
#define IPW_CMD_SEED_NUMBER   34
 
#define IPW_CMD_TX_POWER   35
 
#define IPW_CMD_COUNTRY_INFO   36
 
#define IPW_CMD_AIRONET_INFO   37
 
#define IPW_CMD_AP_TX_POWER   38
 
#define IPW_CMD_CCKM_INFO   39
 
#define IPW_CMD_CCX_VER_INFO   40
 
#define IPW_CMD_SET_CALIBRATION   41
 
#define IPW_CMD_SENSITIVITY_CALIB   42
 
#define IPW_CMD_RETRY_LIMIT   51
 
#define IPW_CMD_IPW_PRE_POWER_DOWN   58
 
#define IPW_CMD_VAP_BEACON_TEMPLATE   60
 
#define IPW_CMD_VAP_DTIM_PERIOD   61
 
#define IPW_CMD_EXT_SUPPORTED_RATES   62
 
#define IPW_CMD_VAP_LOCAL_TX_PWR_CONSTRAINT   63
 
#define IPW_CMD_VAP_QUIET_INTERVALS   64
 
#define IPW_CMD_VAP_CHANNEL_SWITCH   65
 
#define IPW_CMD_VAP_MANDATORY_CHANNELS   66
 
#define IPW_CMD_VAP_CELL_PWR_LIMIT   67
 
#define IPW_CMD_VAP_CF_PARAM_SET   68
 
#define IPW_CMD_VAP_SET_BEACONING_STATE   69
 
#define IPW_CMD_MEASUREMENT   80
 
#define IPW_CMD_POWER_CAPABILITY   81
 
#define IPW_CMD_SUPPORTED_CHANNELS   82
 
#define IPW_CMD_TPC_REPORT   83
 
#define IPW_CMD_WME_INFO   84
 
#define IPW_CMD_PRODUCTION_COMMAND   85
 
#define IPW_CMD_LINKSYS_EOU_INFO   90
 
#define RFD_SIZE   4
 
#define NUM_TFD_CHUNKS   6
 
#define TX_QUEUE_SIZE   32
 
#define RX_QUEUE_SIZE   32
 
#define DINO_CMD_WEP_KEY   0x08
 
#define DINO_CMD_TX   0x0B
 
#define DCT_ANTENNA_A   0x01
 
#define DCT_ANTENNA_B   0x02
 
#define IPW_A_MODE   0
 
#define IPW_B_MODE   1
 
#define IPW_G_MODE   2
 
#define DCT_WEP_KEY_NOT_IMMIDIATE   0x00
 
#define DCT_WEP_KEY_64Bit   0x40
 
#define DCT_WEP_KEY_128Bit   0x80
 
#define DCT_WEP_KEY_128bitIV   0xC0
 
#define DCT_WEP_KEY_SIZE_MASK   0xC0
 
#define DCT_WEP_KEY_INDEX_MASK   0x0F
 
#define DCT_WEP_INDEX_USE_IMMEDIATE   0x20
 
#define DCT_FLAG_ABORT_MGMT   0x01
 
#define DCT_FLAG_CTS_REQUIRED   0x02
 
#define DCT_FLAG_LONG_PREAMBLE   0x00
 
#define DCT_FLAG_SHORT_PREAMBLE   0x04
 
#define DCT_FLAG_RTS_REQD   0x08
 
#define DCT_FLAG_DUR_SET   0x10
 
#define DCT_FLAG_NO_WEP   0x20
 
#define DCT_FLAG_TSF_REQD   0x40
 
#define DCT_FLAG_ACK_REQD   0x80
 
#define DCT_FLAG_EXT_MODE_CCK   0x01
 
#define DCT_FLAG_EXT_MODE_OFDM   0x00
 
#define DCT_FLAG_EXT_SECURITY_WEP   0x00
 
#define DCT_FLAG_EXT_SECURITY_NO   DCT_FLAG_EXT_SECURITY_WEP
 
#define DCT_FLAG_EXT_SECURITY_CKIP   0x04
 
#define DCT_FLAG_EXT_SECURITY_CCM   0x08
 
#define DCT_FLAG_EXT_SECURITY_TKIP   0x0C
 
#define DCT_FLAG_EXT_SECURITY_MASK   0x0C
 
#define DCT_FLAG_EXT_QOS_ENABLED   0x10
 
#define DCT_FLAG_EXT_HC_NO_SIFS_PIFS   0x00
 
#define DCT_FLAG_EXT_HC_SIFS   0x20
 
#define DCT_FLAG_EXT_HC_PIFS   0x40
 
#define TX_RX_TYPE_MASK   0xFF
 
#define TX_FRAME_TYPE   0x00
 
#define TX_HOST_COMMAND_TYPE   0x01
 
#define RX_FRAME_TYPE   0x09
 
#define RX_HOST_NOTIFICATION_TYPE   0x03
 
#define RX_HOST_CMD_RESPONSE_TYPE   0x04
 
#define RX_TX_FRAME_RESPONSE_TYPE   0x05
 
#define TFD_NEED_IRQ_MASK   0x04
 
#define HOST_CMD_DINO_CONFIG   30
 
#define HOST_NOTIFICATION_STATUS_ASSOCIATED   10
 
#define HOST_NOTIFICATION_STATUS_AUTHENTICATE   11
 
#define HOST_NOTIFICATION_STATUS_SCAN_CHANNEL_RESULT   12
 
#define HOST_NOTIFICATION_STATUS_SCAN_COMPLETED   13
 
#define HOST_NOTIFICATION_STATUS_FRAG_LENGTH   14
 
#define HOST_NOTIFICATION_STATUS_LINK_DETERIORATION   15
 
#define HOST_NOTIFICATION_DINO_CONFIG_RESPONSE   16
 
#define HOST_NOTIFICATION_STATUS_BEACON_STATE   17
 
#define HOST_NOTIFICATION_STATUS_TGI_TX_KEY   18
 
#define HOST_NOTIFICATION_TX_STATUS   19
 
#define HOST_NOTIFICATION_CALIB_KEEP_RESULTS   20
 
#define HOST_NOTIFICATION_MEASUREMENT_STARTED   21
 
#define HOST_NOTIFICATION_MEASUREMENT_ENDED   22
 
#define HOST_NOTIFICATION_CHANNEL_SWITCHED   23
 
#define HOST_NOTIFICATION_RX_DURING_QUIET_PERIOD   24
 
#define HOST_NOTIFICATION_NOISE_STATS   25
 
#define HOST_NOTIFICATION_S36_MEASUREMENT_ACCEPTED   30
 
#define HOST_NOTIFICATION_S36_MEASUREMENT_REFUSED   31
 
#define HOST_NOTIFICATION_STATUS_BEACON_MISSING   1
 
#define IPW_MB_SCAN_CANCEL_THRESHOLD   3
 
#define IPW_MB_ROAMING_THRESHOLD_MIN   1
 
#define IPW_MB_ROAMING_THRESHOLD_DEFAULT   8
 
#define IPW_MB_ROAMING_THRESHOLD_MAX   30
 
#define IPW_MB_DISASSOCIATE_THRESHOLD_DEFAULT   3*IPW_MB_ROAMING_THRESHOLD_DEFAULT
 
#define IPW_REAL_RATE_RX_PACKET_THRESHOLD   300
 
#define MACADRR_BYTE_LEN   6
 
#define DCR_TYPE_AP   0x01
 
#define DCR_TYPE_WLAP   0x02
 
#define DCR_TYPE_MU_ESS   0x03
 
#define DCR_TYPE_MU_IBSS   0x04
 
#define DCR_TYPE_MU_PIBSS   0x05
 
#define DCR_TYPE_SNIFFER   0x06
 
#define DCR_TYPE_MU_BSS   DCR_TYPE_MU_ESS
 
#define CW_MIN_OFDM   15
 
#define CW_MAX_OFDM   1023
 
#define CW_MIN_CCK   31
 
#define CW_MAX_CCK   1023
 
#define QOS_TX0_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)
 
#define QOS_TX1_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)
 
#define QOS_TX2_CW_MIN_OFDM   cpu_to_le16((CW_MIN_OFDM + 1)/2 - 1)
 
#define QOS_TX3_CW_MIN_OFDM   cpu_to_le16((CW_MIN_OFDM + 1)/4 - 1)
 
#define QOS_TX0_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)
 
#define QOS_TX1_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)
 
#define QOS_TX2_CW_MIN_CCK   cpu_to_le16((CW_MIN_CCK + 1)/2 - 1)
 
#define QOS_TX3_CW_MIN_CCK   cpu_to_le16((CW_MIN_CCK + 1)/4 - 1)
 
#define QOS_TX0_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)
 
#define QOS_TX1_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)
 
#define QOS_TX2_CW_MAX_OFDM   cpu_to_le16(CW_MIN_OFDM)
 
#define QOS_TX3_CW_MAX_OFDM   cpu_to_le16((CW_MIN_OFDM + 1)/2 - 1)
 
#define QOS_TX0_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)
 
#define QOS_TX1_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)
 
#define QOS_TX2_CW_MAX_CCK   cpu_to_le16(CW_MIN_CCK)
 
#define QOS_TX3_CW_MAX_CCK   cpu_to_le16((CW_MIN_CCK + 1)/2 - 1)
 
#define QOS_TX0_AIFS   (3 - QOS_AIFSN_MIN_VALUE)
 
#define QOS_TX1_AIFS   (7 - QOS_AIFSN_MIN_VALUE)
 
#define QOS_TX2_AIFS   (2 - QOS_AIFSN_MIN_VALUE)
 
#define QOS_TX3_AIFS   (2 - QOS_AIFSN_MIN_VALUE)
 
#define QOS_TX0_ACM   0
 
#define QOS_TX1_ACM   0
 
#define QOS_TX2_ACM   0
 
#define QOS_TX3_ACM   0
 
#define QOS_TX0_TXOP_LIMIT_CCK   0
 
#define QOS_TX1_TXOP_LIMIT_CCK   0
 
#define QOS_TX2_TXOP_LIMIT_CCK   cpu_to_le16(6016)
 
#define QOS_TX3_TXOP_LIMIT_CCK   cpu_to_le16(3264)
 
#define QOS_TX0_TXOP_LIMIT_OFDM   0
 
#define QOS_TX1_TXOP_LIMIT_OFDM   0
 
#define QOS_TX2_TXOP_LIMIT_OFDM   cpu_to_le16(3008)
 
#define QOS_TX3_TXOP_LIMIT_OFDM   cpu_to_le16(1504)
 
#define DEF_TX0_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)
 
#define DEF_TX1_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)
 
#define DEF_TX2_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)
 
#define DEF_TX3_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)
 
#define DEF_TX0_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)
 
#define DEF_TX1_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)
 
#define DEF_TX2_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)
 
#define DEF_TX3_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)
 
#define DEF_TX0_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)
 
#define DEF_TX1_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)
 
#define DEF_TX2_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)
 
#define DEF_TX3_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)
 
#define DEF_TX0_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)
 
#define DEF_TX1_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)
 
#define DEF_TX2_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)
 
#define DEF_TX3_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)
 
#define DEF_TX0_AIFS   0
 
#define DEF_TX1_AIFS   0
 
#define DEF_TX2_AIFS   0
 
#define DEF_TX3_AIFS   0
 
#define DEF_TX0_ACM   0
 
#define DEF_TX1_ACM   0
 
#define DEF_TX2_ACM   0
 
#define DEF_TX3_ACM   0
 
#define DEF_TX0_TXOP_LIMIT_CCK   0
 
#define DEF_TX1_TXOP_LIMIT_CCK   0
 
#define DEF_TX2_TXOP_LIMIT_CCK   0
 
#define DEF_TX3_TXOP_LIMIT_CCK   0
 
#define DEF_TX0_TXOP_LIMIT_OFDM   0
 
#define DEF_TX1_TXOP_LIMIT_OFDM   0
 
#define DEF_TX2_TXOP_LIMIT_OFDM   0
 
#define DEF_TX3_TXOP_LIMIT_OFDM   0
 
#define QOS_QOS_SETS   3
 
#define QOS_PARAM_SET_ACTIVE   0
 
#define QOS_PARAM_SET_DEF_CCK   1
 
#define QOS_PARAM_SET_DEF_OFDM   2
 
#define CTRL_QOS_NO_ACK   (0x0020)
 
#define IPW_TX_QUEUE_1   1
 
#define IPW_TX_QUEUE_2   2
 
#define IPW_TX_QUEUE_3   3
 
#define IPW_TX_QUEUE_4   4
 
#define DCT_WEP_KEY_FIELD_LENGTH   16
 
#define TFD_SIZE   128
 
#define TFD_CMD_IMMEDIATE_PAYLOAD_LENGTH   (TFD_SIZE - sizeof(struct txrx_control_flags))
 
#define RX_FREE_BUFFERS   32
 
#define RX_LOW_WATERMARK   8
 
#define SUP_RATE_11A_MAX_NUM_CHANNELS   8
 
#define SUP_RATE_11B_MAX_NUM_CHANNELS   4
 
#define SUP_RATE_11G_MAX_NUM_CHANNELS   12
 
#define SCAN_COMPLETED_STATUS_COMPLETE   1
 
#define SCAN_COMPLETED_STATUS_ABORTED   2
 
#define SILENCE_OVER_THRESH   (1)
 
#define SILENCE_UNDER_THRESH   (2)
 
#define IPW_RX_NOTIFICATION_SIZE   sizeof(struct ipw_rx_header) + 12
 
#define IPW_RX_FRAME_SIZE
 
#define IPW_MAX_RATES   12
 
#define CB_NUMBER_OF_ELEMENTS_SMALL   64
 
#define DCW_WEP_KEY_INDEX_MASK   0x03 /* bits [0:1] */
 
#define DCW_WEP_KEY_SEC_TYPE_MASK   0x30 /* bits [4:5] */
 
#define DCW_WEP_KEY_SEC_TYPE_WEP   0x00
 
#define DCW_WEP_KEY_SEC_TYPE_CCM   0x20
 
#define DCW_WEP_KEY_SEC_TYPE_TKIP   0x30
 
#define DCW_WEP_KEY_INVALID_SIZE   0x00 /* 0 = Invalid key */
 
#define DCW_WEP_KEY64Bit_SIZE   0x05 /* 64-bit encryption */
 
#define DCW_WEP_KEY128Bit_SIZE   0x0D /* 128-bit encryption */
 
#define DCW_CCM_KEY128Bit_SIZE   0x10 /* 128-bit key */
 
#define IPW_SCAN_CHANNELS   54
 
#define SCAN_ASSOCIATED_INTERVAL   (HZ)
 
#define SCAN_INTERVAL   (HZ / 10)
 
#define MAX_A_CHANNELS   37
 
#define MAX_B_CHANNELS   14
 
#define STATUS_HCMD_ACTIVE   (1<<0)
 
#define STATUS_INT_ENABLED   (1<<1)
 
#define STATUS_RF_KILL_HW   (1<<2)
 
#define STATUS_RF_KILL_SW   (1<<3)
 
#define STATUS_RF_KILL_MASK   (STATUS_RF_KILL_HW | STATUS_RF_KILL_SW)
 
#define STATUS_INIT   (1<<5)
 
#define STATUS_AUTH   (1<<6)
 
#define STATUS_ASSOCIATED   (1<<7)
 
#define STATUS_STATE_MASK   (STATUS_INIT | STATUS_AUTH | STATUS_ASSOCIATED)
 
#define STATUS_ASSOCIATING   (1<<8)
 
#define STATUS_DISASSOCIATING   (1<<9)
 
#define STATUS_ROAMING   (1<<10)
 
#define STATUS_EXIT_PENDING   (1<<11)
 
#define STATUS_DISASSOC_PENDING   (1<<12)
 
#define STATUS_STATE_PENDING   (1<<13)
 
#define STATUS_DIRECT_SCAN_PENDING   (1<<19)
 
#define STATUS_SCAN_PENDING   (1<<20)
 
#define STATUS_SCANNING   (1<<21)
 
#define STATUS_SCAN_ABORTING   (1<<22)
 
#define STATUS_SCAN_FORCED   (1<<23)
 
#define STATUS_LED_LINK_ON   (1<<24)
 
#define STATUS_LED_ACT_ON   (1<<25)
 
#define STATUS_INDIRECT_BYTE   (1<<28) /* sysfs entry configured for access */
 
#define STATUS_INDIRECT_DWORD   (1<<29) /* sysfs entry configured for access */
 
#define STATUS_DIRECT_DWORD   (1<<30) /* sysfs entry configured for access */
 
#define STATUS_SECURITY_UPDATED   (1<<31) /* Security sync needed */
 
#define CFG_STATIC_CHANNEL   (1<<0) /* Restrict assoc. to single channel */
 
#define CFG_STATIC_ESSID   (1<<1) /* Restrict assoc. to single SSID */
 
#define CFG_STATIC_BSSID   (1<<2) /* Restrict assoc. to single BSSID */
 
#define CFG_CUSTOM_MAC   (1<<3)
 
#define CFG_PREAMBLE_LONG   (1<<4)
 
#define CFG_ADHOC_PERSIST   (1<<5)
 
#define CFG_ASSOCIATE   (1<<6)
 
#define CFG_FIXED_RATE   (1<<7)
 
#define CFG_ADHOC_CREATE   (1<<8)
 
#define CFG_NO_LED   (1<<9)
 
#define CFG_BACKGROUND_SCAN   (1<<10)
 
#define CFG_SPEED_SCAN   (1<<11)
 
#define CFG_NET_STATS   (1<<12)
 
#define CAP_SHARED_KEY   (1<<0) /* Off = OPEN */
 
#define CAP_PRIVACY_ON   (1<<1) /* Off = No privacy */
 
#define MAX_STATIONS   32
 
#define IPW_INVALID_STATION   (0xff)
 
#define AVG_ENTRIES   8
 
#define MAX_SPEED_SCAN   100
 
#define IPW_IBSS_MAC_HASH_SIZE   31
 
#define IPW_2200BG   1
 
#define IPW_2915ABG   2
 
#define BIT_FMT8   "%c%c%c%c-%c%c%c%c"
 
#define BIT_FMT16   BIT_FMT8 ":" BIT_FMT8
 
#define BIT_FMT32   BIT_FMT16 " " BIT_FMT16
 
#define BITC(x, y)   (((x>>y)&1)?'1':'0')
 
#define BIT_ARG8(x)
 
#define BIT_ARG16(x)
 
#define BIT_ARG32(x)
 
#define IPW_DEBUG(level, fmt, args...)
 
#define IPW_LL_DEBUG(level, fmt, args...)   do {} while (0)
 
#define IPW_DL_ERROR   (1<<0)
 
#define IPW_DL_WARNING   (1<<1)
 
#define IPW_DL_INFO   (1<<2)
 
#define IPW_DL_WX   (1<<3)
 
#define IPW_DL_HOST_COMMAND   (1<<5)
 
#define IPW_DL_STATE   (1<<6)
 
#define IPW_DL_NOTIF   (1<<10)
 
#define IPW_DL_SCAN   (1<<11)
 
#define IPW_DL_ASSOC   (1<<12)
 
#define IPW_DL_DROP   (1<<13)
 
#define IPW_DL_IOCTL   (1<<14)
 
#define IPW_DL_MANAGE   (1<<15)
 
#define IPW_DL_FW   (1<<16)
 
#define IPW_DL_RF_KILL   (1<<17)
 
#define IPW_DL_FW_ERRORS   (1<<18)
 
#define IPW_DL_LED   (1<<19)
 
#define IPW_DL_ORD   (1<<20)
 
#define IPW_DL_FRAG   (1<<21)
 
#define IPW_DL_WEP   (1<<22)
 
#define IPW_DL_TX   (1<<23)
 
#define IPW_DL_RX   (1<<24)
 
#define IPW_DL_ISR   (1<<25)
 
#define IPW_DL_FW_INFO   (1<<26)
 
#define IPW_DL_IO   (1<<27)
 
#define IPW_DL_TRACE   (1<<28)
 
#define IPW_DL_STATS   (1<<29)
 
#define IPW_DL_MERGE   (1<<30)
 
#define IPW_DL_QOS   (1<<31)
 
#define IPW_ERROR(f, a...)   printk(KERN_ERR DRV_NAME ": " f, ## a)
 
#define IPW_WARNING(f, a...)   printk(KERN_WARNING DRV_NAME ": " f, ## a)
 
#define IPW_DEBUG_INFO(f, a...)   IPW_DEBUG(IPW_DL_INFO, f, ## a)
 
#define IPW_DEBUG_WX(f, a...)   IPW_DEBUG(IPW_DL_WX, f, ## a)
 
#define IPW_DEBUG_SCAN(f, a...)   IPW_DEBUG(IPW_DL_SCAN, f, ## a)
 
#define IPW_DEBUG_TRACE(f, a...)   IPW_LL_DEBUG(IPW_DL_TRACE, f, ## a)
 
#define IPW_DEBUG_RX(f, a...)   IPW_LL_DEBUG(IPW_DL_RX, f, ## a)
 
#define IPW_DEBUG_TX(f, a...)   IPW_LL_DEBUG(IPW_DL_TX, f, ## a)
 
#define IPW_DEBUG_ISR(f, a...)   IPW_LL_DEBUG(IPW_DL_ISR, f, ## a)
 
#define IPW_DEBUG_MANAGEMENT(f, a...)   IPW_DEBUG(IPW_DL_MANAGE, f, ## a)
 
#define IPW_DEBUG_LED(f, a...)   IPW_LL_DEBUG(IPW_DL_LED, f, ## a)
 
#define IPW_DEBUG_WEP(f, a...)   IPW_LL_DEBUG(IPW_DL_WEP, f, ## a)
 
#define IPW_DEBUG_HC(f, a...)   IPW_LL_DEBUG(IPW_DL_HOST_COMMAND, f, ## a)
 
#define IPW_DEBUG_FRAG(f, a...)   IPW_LL_DEBUG(IPW_DL_FRAG, f, ## a)
 
#define IPW_DEBUG_FW(f, a...)   IPW_LL_DEBUG(IPW_DL_FW, f, ## a)
 
#define IPW_DEBUG_RF_KILL(f, a...)   IPW_DEBUG(IPW_DL_RF_KILL, f, ## a)
 
#define IPW_DEBUG_DROP(f, a...)   IPW_DEBUG(IPW_DL_DROP, f, ## a)
 
#define IPW_DEBUG_IO(f, a...)   IPW_LL_DEBUG(IPW_DL_IO, f, ## a)
 
#define IPW_DEBUG_ORD(f, a...)   IPW_LL_DEBUG(IPW_DL_ORD, f, ## a)
 
#define IPW_DEBUG_FW_INFO(f, a...)   IPW_LL_DEBUG(IPW_DL_FW_INFO, f, ## a)
 
#define IPW_DEBUG_NOTIF(f, a...)   IPW_DEBUG(IPW_DL_NOTIF, f, ## a)
 
#define IPW_DEBUG_STATE(f, a...)   IPW_DEBUG(IPW_DL_STATE | IPW_DL_ASSOC | IPW_DL_INFO, f, ## a)
 
#define IPW_DEBUG_ASSOC(f, a...)   IPW_DEBUG(IPW_DL_ASSOC | IPW_DL_INFO, f, ## a)
 
#define IPW_DEBUG_STATS(f, a...)   IPW_LL_DEBUG(IPW_DL_STATS, f, ## a)
 
#define IPW_DEBUG_MERGE(f, a...)   IPW_LL_DEBUG(IPW_DL_MERGE, f, ## a)
 
#define IPW_DEBUG_QOS(f, a...)   IPW_LL_DEBUG(IPW_DL_QOS, f, ## a)
 
#define IPW_INTA_RW   0x00000008
 
#define IPW_INTA_MASK_R   0x0000000C
 
#define IPW_INDIRECT_ADDR   0x00000010
 
#define IPW_INDIRECT_DATA   0x00000014
 
#define IPW_AUTOINC_ADDR   0x00000018
 
#define IPW_AUTOINC_DATA   0x0000001C
 
#define IPW_RESET_REG   0x00000020
 
#define IPW_GP_CNTRL_RW   0x00000024
 
#define IPW_READ_INT_REGISTER   0xFF4
 
#define IPW_GP_CNTRL_BIT_INIT_DONE   0x00000004
 
#define IPW_REGISTER_DOMAIN1_END   0x00001000
 
#define IPW_SRAM_READ_INT_REGISTER   0x00000ff4
 
#define IPW_SHARED_LOWER_BOUND   0x00000200
 
#define IPW_INTERRUPT_AREA_LOWER_BOUND   0x00000f80
 
#define IPW_NIC_SRAM_LOWER_BOUND   0x00000000
 
#define IPW_NIC_SRAM_UPPER_BOUND   0x00030000
 
#define IPW_BIT_INT_HOST_SRAM_READ_INT_REGISTER   (1 << 29)
 
#define IPW_GP_CNTRL_BIT_CLOCK_READY   0x00000001
 
#define IPW_GP_CNTRL_BIT_HOST_ALLOWS_STANDBY   0x00000002
 
#define CBD_RESET_REG_PRINCETON_RESET   (1<<0)
 
#define IPW_START_STANDBY   (1<<2)
 
#define IPW_ACTIVITY_LED   (1<<4)
 
#define IPW_ASSOCIATED_LED   (1<<5)
 
#define IPW_OFDM_LED   (1<<6)
 
#define IPW_RESET_REG_SW_RESET   (1<<7)
 
#define IPW_RESET_REG_MASTER_DISABLED   (1<<8)
 
#define IPW_RESET_REG_STOP_MASTER   (1<<9)
 
#define IPW_GATE_ODMA   (1<<25)
 
#define IPW_GATE_IDMA   (1<<26)
 
#define IPW_ARC_KESHET_CONFIG   (1<<27)
 
#define IPW_GATE_ADMA   (1<<29)
 
#define IPW_CSR_CIS_UPPER_BOUND   0x00000200
 
#define IPW_DOMAIN_0_END   0x1000
 
#define CLX_MEM_BAR_SIZE   0x1000
 
#define DINO_ENABLE_SYSTEM   0x80 /* 1 = baseband processor on, 0 = reset */
 
#define DINO_ENABLE_CS   0x40 /* 1 = enable ucode load */
 
#define DINO_RXFIFO_DATA   0x01 /* 1 = data available */
 
#define IPW_BASEBAND_CONTROL_STATUS   0X00200000
 
#define IPW_BASEBAND_TX_FIFO_WRITE   0X00200004
 
#define IPW_BASEBAND_RX_FIFO_READ   0X00200004
 
#define IPW_BASEBAND_CONTROL_STORE   0X00200010
 
#define IPW_INTERNAL_CMD_EVENT   0X00300004
 
#define IPW_BASEBAND_POWER_DOWN   0x00000001
 
#define IPW_MEM_HALT_AND_RESET   0x003000e0
 
#define IPW_BIT_HALT_RESET_ON   0x80000000
 
#define IPW_BIT_HALT_RESET_OFF   0x00000000
 
#define CB_LAST_VALID   0x20000000
 
#define CB_INT_ENABLED   0x40000000
 
#define CB_VALID   0x80000000
 
#define CB_SRC_LE   0x08000000
 
#define CB_DEST_LE   0x04000000
 
#define CB_SRC_AUTOINC   0x00800000
 
#define CB_SRC_IO_GATED   0x00400000
 
#define CB_DEST_AUTOINC   0x00080000
 
#define CB_SRC_SIZE_LONG   0x00200000
 
#define CB_DEST_SIZE_LONG   0x00020000
 
#define DMA_CONTROL_SMALL_CB_CONST_VALUE   0x00540000
 
#define DMA_CB_STOP_AND_ABORT   0x00000C00
 
#define DMA_CB_START   0x00000100
 
#define IPW_SHARED_SRAM_SIZE   0x00030000
 
#define IPW_SHARED_SRAM_DMA_CONTROL   0x00027000
 
#define CB_MAX_LENGTH   0x1FFF
 
#define IPW_HOST_EEPROM_DATA_SRAM_SIZE   0xA18
 
#define IPW_EEPROM_IMAGE_SIZE   0x100
 
#define IPW_DMA_I_CURRENT_CB   0x003000D0
 
#define IPW_DMA_O_CURRENT_CB   0x003000D4
 
#define IPW_DMA_I_DMA_CONTROL   0x003000A4
 
#define IPW_DMA_I_CB_BASE   0x003000A0
 
#define IPW_TX_CMD_QUEUE_BD_BASE   0x00000200
 
#define IPW_TX_CMD_QUEUE_BD_SIZE   0x00000204
 
#define IPW_TX_QUEUE_0_BD_BASE   0x00000208
 
#define IPW_TX_QUEUE_0_BD_SIZE   (0x0000020C)
 
#define IPW_TX_QUEUE_1_BD_BASE   0x00000210
 
#define IPW_TX_QUEUE_1_BD_SIZE   0x00000214
 
#define IPW_TX_QUEUE_2_BD_BASE   0x00000218
 
#define IPW_TX_QUEUE_2_BD_SIZE   (0x0000021C)
 
#define IPW_TX_QUEUE_3_BD_BASE   0x00000220
 
#define IPW_TX_QUEUE_3_BD_SIZE   0x00000224
 
#define IPW_RX_BD_BASE   0x00000240
 
#define IPW_RX_BD_SIZE   0x00000244
 
#define IPW_RFDS_TABLE_LOWER   0x00000500
 
#define IPW_TX_CMD_QUEUE_READ_INDEX   0x00000280
 
#define IPW_TX_QUEUE_0_READ_INDEX   0x00000284
 
#define IPW_TX_QUEUE_1_READ_INDEX   0x00000288
 
#define IPW_TX_QUEUE_2_READ_INDEX   (0x0000028C)
 
#define IPW_TX_QUEUE_3_READ_INDEX   0x00000290
 
#define IPW_RX_READ_INDEX   (0x000002A0)
 
#define IPW_TX_CMD_QUEUE_WRITE_INDEX   (0x00000F80)
 
#define IPW_TX_QUEUE_0_WRITE_INDEX   (0x00000F84)
 
#define IPW_TX_QUEUE_1_WRITE_INDEX   (0x00000F88)
 
#define IPW_TX_QUEUE_2_WRITE_INDEX   (0x00000F8C)
 
#define IPW_TX_QUEUE_3_WRITE_INDEX   (0x00000F90)
 
#define IPW_RX_WRITE_INDEX   (0x00000FA0)
 
#define IPW_EEPROM_DATA_SRAM_ADDRESS   (IPW_SHARED_LOWER_BOUND + 0x814)
 
#define IPW_EEPROM_DATA_SRAM_SIZE   (IPW_SHARED_LOWER_BOUND + 0x818)
 
#define IPW_EEPROM_LOAD_DISABLE   (IPW_SHARED_LOWER_BOUND + 0x81C)
 
#define IPW_EEPROM_DATA   (IPW_SHARED_LOWER_BOUND + 0x820)
 
#define IPW_EEPROM_UPPER_ADDRESS   (IPW_SHARED_LOWER_BOUND + 0x9E0)
 
#define IPW_STATION_TABLE_LOWER   (IPW_SHARED_LOWER_BOUND + 0xA0C)
 
#define IPW_STATION_TABLE_UPPER   (IPW_SHARED_LOWER_BOUND + 0xB0C)
 
#define IPW_REQUEST_ATIM   (IPW_SHARED_LOWER_BOUND + 0xB0C)
 
#define IPW_ATIM_SENT   (IPW_SHARED_LOWER_BOUND + 0xB10)
 
#define IPW_WHO_IS_AWAKE   (IPW_SHARED_LOWER_BOUND + 0xB14)
 
#define IPW_DURING_ATIM_WINDOW   (IPW_SHARED_LOWER_BOUND + 0xB18)
 
#define MSB   1
 
#define LSB   0
 
#define WORD_TO_BYTE(_word)   ((_word) * sizeof(u16))
 
#define GET_EEPROM_ADDR(_wordoffset, _byteoffset)   ( WORD_TO_BYTE(_wordoffset) + (_byteoffset) )
 
#define EEPROM_PME_CAPABILITY   (GET_EEPROM_ADDR(0x09,MSB)) /* 1 byte */
 
#define EEPROM_MAC_ADDRESS   (GET_EEPROM_ADDR(0x21,LSB)) /* 6 byte */
 
#define EEPROM_VERSION   (GET_EEPROM_ADDR(0x24,MSB)) /* 1 byte */
 
#define EEPROM_NIC_TYPE   (GET_EEPROM_ADDR(0x25,LSB)) /* 1 byte */
 
#define EEPROM_SKU_CAPABILITY   (GET_EEPROM_ADDR(0x25,MSB)) /* 1 byte */
 
#define EEPROM_COUNTRY_CODE   (GET_EEPROM_ADDR(0x26,LSB)) /* 3 bytes */
 
#define EEPROM_IBSS_CHANNELS_BG   (GET_EEPROM_ADDR(0x28,LSB)) /* 2 bytes */
 
#define EEPROM_IBSS_CHANNELS_A   (GET_EEPROM_ADDR(0x29,MSB)) /* 5 bytes */
 
#define EEPROM_BSS_CHANNELS_BG   (GET_EEPROM_ADDR(0x2c,LSB)) /* 2 bytes */
 
#define EEPROM_HW_VERSION   (GET_EEPROM_ADDR(0x72,LSB)) /* 2 bytes */
 
#define EEPROM_NIC_TYPE_0   0
 
#define EEPROM_NIC_TYPE_1   1
 
#define EEPROM_NIC_TYPE_2   2
 
#define EEPROM_NIC_TYPE_3   3
 
#define EEPROM_NIC_TYPE_4   4
 
#define EEPROM_SKU_CAP_BT_CHANNEL_SIG   0x01 /* we can tell BT our channel # */
 
#define EEPROM_SKU_CAP_BT_PRIORITY   0x02 /* BT can take priority over us */
 
#define EEPROM_SKU_CAP_BT_OOB   0x04 /* we can signal BT out-of-band */
 
#define FW_MEM_REG_LOWER_BOUND   0x00300000
 
#define FW_MEM_REG_EEPROM_ACCESS   (FW_MEM_REG_LOWER_BOUND + 0x40)
 
#define IPW_EVENT_REG   (FW_MEM_REG_LOWER_BOUND + 0x04)
 
#define EEPROM_BIT_SK   (1<<0)
 
#define EEPROM_BIT_CS   (1<<1)
 
#define EEPROM_BIT_DI   (1<<2)
 
#define EEPROM_BIT_DO   (1<<4)
 
#define EEPROM_CMD_READ   0x2
 
#define IPW_INTA_NONE   0x00000000
 
#define IPW_INTA_BIT_RX_TRANSFER   0x00000002
 
#define IPW_INTA_BIT_STATUS_CHANGE   0x00000010
 
#define IPW_INTA_BIT_BEACON_PERIOD_EXPIRED   0x00000020
 
#define IPW_INTA_BIT_TX_CMD_QUEUE   0x00000800
 
#define IPW_INTA_BIT_TX_QUEUE_1   0x00001000
 
#define IPW_INTA_BIT_TX_QUEUE_2   0x00002000
 
#define IPW_INTA_BIT_TX_QUEUE_3   0x00004000
 
#define IPW_INTA_BIT_TX_QUEUE_4   0x00008000
 
#define IPW_INTA_BIT_SLAVE_MODE_HOST_CMD_DONE   0x00010000
 
#define IPW_INTA_BIT_PREPARE_FOR_POWER_DOWN   0x00100000
 
#define IPW_INTA_BIT_POWER_DOWN   0x00200000
 
#define IPW_INTA_BIT_FW_INITIALIZATION_DONE   0x01000000
 
#define IPW_INTA_BIT_FW_CARD_DISABLE_PHY_OFF_DONE   0x02000000
 
#define IPW_INTA_BIT_RF_KILL_DONE   0x04000000
 
#define IPW_INTA_BIT_FATAL_ERROR   0x40000000
 
#define IPW_INTA_BIT_PARITY_ERROR   0x80000000
 
#define IPW_INTA_MASK_ALL
 
#define EVENT_ELEM_SIZE   (3 * sizeof(u32))
 
#define EVENT_START_OFFSET   (1 * sizeof(u32) + 2 * sizeof(u16))
 
#define ERROR_ELEM_SIZE   (7 * sizeof(u32))
 
#define ERROR_START_OFFSET   (1 * sizeof(u32))
 
#define IPW_TX_POWER_MIN   -12
 
#define IPW_TX_POWER_MAX   20
 
#define IPW_TX_POWER_DEFAULT   IPW_TX_POWER_MAX
 
#define AUTH_OPEN   0
 
#define AUTH_SHARED_KEY   1
 
#define AUTH_LEAP   2
 
#define AUTH_IGNORE   3
 
#define HC_ASSOCIATE   0
 
#define HC_REASSOCIATE   1
 
#define HC_DISASSOCIATE   2
 
#define HC_IBSS_START   3
 
#define HC_IBSS_RECONF   4
 
#define HC_DISASSOC_QUIET   5
 
#define HC_QOS_SUPPORT_ASSOC   cpu_to_le16(0x01)
 
#define IPW_RATE_CAPABILITIES   1
 
#define IPW_RATE_CONNECT   0
 
#define IPW_TX_RATE_1MB   0x0A
 
#define IPW_TX_RATE_2MB   0x14
 
#define IPW_TX_RATE_5MB   0x37
 
#define IPW_TX_RATE_6MB   0x0D
 
#define IPW_TX_RATE_9MB   0x0F
 
#define IPW_TX_RATE_11MB   0x6E
 
#define IPW_TX_RATE_12MB   0x05
 
#define IPW_TX_RATE_18MB   0x07
 
#define IPW_TX_RATE_24MB   0x09
 
#define IPW_TX_RATE_36MB   0x0B
 
#define IPW_TX_RATE_48MB   0x01
 
#define IPW_TX_RATE_54MB   0x03
 
#define IPW_ORD_TABLE_ID_MASK   0x0000FF00
 
#define IPW_ORD_TABLE_VALUE_MASK   0x000000FF
 
#define IPW_ORD_TABLE_0_MASK   0x0000F000
 
#define IPW_ORD_TABLE_1_MASK   0x0000F100
 
#define IPW_ORD_TABLE_2_MASK   0x0000F200
 
#define IPW_ORD_TABLE_3_MASK   0x0000F300
 
#define IPW_ORD_TABLE_4_MASK   0x0000F400
 
#define IPW_ORD_TABLE_5_MASK   0x0000F500
 
#define IPW_ORD_TABLE_6_MASK   0x0000F600
 
#define IPW_ORD_TABLE_7_MASK   0x0000F700
 
#define IPW_RSSI_TO_DBM   112
 
#define IPW_ERROR_LOG   (IPW_SHARED_LOWER_BOUND + 0x410)
 
#define IPW_EVENT_LOG   (IPW_SHARED_LOWER_BOUND + 0x414)
 
#define IPW_ORDINALS_TABLE_LOWER   (IPW_SHARED_LOWER_BOUND + 0x500)
 
#define IPW_ORDINALS_TABLE_0   (IPW_SHARED_LOWER_BOUND + 0x180)
 
#define IPW_ORDINALS_TABLE_1   (IPW_SHARED_LOWER_BOUND + 0x184)
 
#define IPW_ORDINALS_TABLE_2   (IPW_SHARED_LOWER_BOUND + 0x188)
 
#define IPW_MEM_FIXED_OVERRIDE   (IPW_SHARED_LOWER_BOUND + 0x41C)
 
#define IPW_INDIRECT_ADDR_MASK   (~0x3ul)
 
#define CFG_BT_COEXISTENCE_SIGNAL_CHNL   0x01 /* tell BT our chnl # */
 
#define CFG_BT_COEXISTENCE_DEFER   0x02 /* defer our Tx if BT traffic */
 
#define CFG_BT_COEXISTENCE_KILL   0x04 /* kill our Tx if BT traffic */
 
#define CFG_BT_COEXISTENCE_WME_OVER_BT   0x08 /* multimedia extensions */
 
#define CFG_BT_COEXISTENCE_OOB   0x10 /* signal BT via out-of-band */
 
#define CFG_CTS_TO_ITSELF_ENABLED_MIN   0x00
 
#define CFG_CTS_TO_ITSELF_ENABLED_MAX   0x01
 
#define CFG_CTS_TO_ITSELF_ENABLED_DEF   CFG_CTS_TO_ITSELF_ENABLED_MIN
 
#define CFG_SYS_ANTENNA_BOTH   0x00 /* NIC selects best antenna */
 
#define CFG_SYS_ANTENNA_A   0x01 /* force antenna A */
 
#define CFG_SYS_ANTENNA_B   0x03 /* force antenna B */
 
#define CFG_SYS_ANTENNA_SLOW_DIV   0x02 /* consider background noise */
 
#define IPW_MAX_CONFIG_RETRIES   10
 

Typedefs

typedef void destructor_func (const void *)
 

Enumerations

enum  connection_manager_assoc_states {
  CMAS_INIT = 0, CMAS_TX_AUTH_SEQ_1, CMAS_RX_AUTH_SEQ_2, CMAS_AUTH_SEQ_1_PASS,
  CMAS_AUTH_SEQ_1_FAIL, CMAS_TX_AUTH_SEQ_3, CMAS_RX_AUTH_SEQ_4, CMAS_AUTH_SEQ_2_PASS,
  CMAS_AUTH_SEQ_2_FAIL, CMAS_AUTHENTICATED, CMAS_TX_ASSOC, CMAS_RX_ASSOC_RESP,
  CMAS_ASSOCIATED, CMAS_LAST
}
 
enum  {
  IPW_SCAN_PASSIVE_TILL_FIRST_BEACON_SCAN = 0, IPW_SCAN_PASSIVE_FULL_DWELL_SCAN, IPW_SCAN_ACTIVE_DIRECT_SCAN, IPW_SCAN_ACTIVE_BROADCAST_SCAN,
  IPW_SCAN_ACTIVE_BROADCAST_AND_DIRECT_SCAN, IPW_SCAN_TYPES
}
 
enum  {
  IPW_FW_ERROR_OK = 0, IPW_FW_ERROR_FAIL, IPW_FW_ERROR_MEMORY_UNDERFLOW, IPW_FW_ERROR_MEMORY_OVERFLOW,
  IPW_FW_ERROR_BAD_PARAM, IPW_FW_ERROR_BAD_CHECKSUM, IPW_FW_ERROR_NMI_INTERRUPT, IPW_FW_ERROR_BAD_DATABASE,
  IPW_FW_ERROR_ALLOC_FAIL, IPW_FW_ERROR_DMA_UNDERRUN, IPW_FW_ERROR_DMA_STATUS, IPW_FW_ERROR_DINO_ERROR,
  IPW_FW_ERROR_EEPROM_ERROR, IPW_FW_ERROR_SYSASSERT, IPW_FW_ERROR_FATAL_ERROR
}
 
enum  {
  IPW_ORD_STAT_TX_CURR_RATE = IPW_ORD_TABLE_0_MASK + 1, IPW_ORD_STAT_FRAG_TRESHOLD, IPW_ORD_STAT_RTS_THRESHOLD, IPW_ORD_STAT_TX_HOST_REQUESTS,
  IPW_ORD_STAT_TX_HOST_COMPLETE, IPW_ORD_STAT_TX_DIR_DATA, IPW_ORD_STAT_TX_DIR_DATA_B_1, IPW_ORD_STAT_TX_DIR_DATA_B_2,
  IPW_ORD_STAT_TX_DIR_DATA_B_5_5, IPW_ORD_STAT_TX_DIR_DATA_B_11, IPW_ORD_STAT_TX_DIR_DATA_G_1 = IPW_ORD_TABLE_0_MASK + 19, IPW_ORD_STAT_TX_DIR_DATA_G_2,
  IPW_ORD_STAT_TX_DIR_DATA_G_5_5, IPW_ORD_STAT_TX_DIR_DATA_G_6, IPW_ORD_STAT_TX_DIR_DATA_G_9, IPW_ORD_STAT_TX_DIR_DATA_G_11,
  IPW_ORD_STAT_TX_DIR_DATA_G_12, IPW_ORD_STAT_TX_DIR_DATA_G_18, IPW_ORD_STAT_TX_DIR_DATA_G_24, IPW_ORD_STAT_TX_DIR_DATA_G_36,
  IPW_ORD_STAT_TX_DIR_DATA_G_48, IPW_ORD_STAT_TX_DIR_DATA_G_54, IPW_ORD_STAT_TX_NON_DIR_DATA, IPW_ORD_STAT_TX_NON_DIR_DATA_B_1,
  IPW_ORD_STAT_TX_NON_DIR_DATA_B_2, IPW_ORD_STAT_TX_NON_DIR_DATA_B_5_5, IPW_ORD_STAT_TX_NON_DIR_DATA_B_11, IPW_ORD_STAT_TX_NON_DIR_DATA_G_1 = IPW_ORD_TABLE_0_MASK + 44,
  IPW_ORD_STAT_TX_NON_DIR_DATA_G_2, IPW_ORD_STAT_TX_NON_DIR_DATA_G_5_5, IPW_ORD_STAT_TX_NON_DIR_DATA_G_6, IPW_ORD_STAT_TX_NON_DIR_DATA_G_9,
  IPW_ORD_STAT_TX_NON_DIR_DATA_G_11, IPW_ORD_STAT_TX_NON_DIR_DATA_G_12, IPW_ORD_STAT_TX_NON_DIR_DATA_G_18, IPW_ORD_STAT_TX_NON_DIR_DATA_G_24,
  IPW_ORD_STAT_TX_NON_DIR_DATA_G_36, IPW_ORD_STAT_TX_NON_DIR_DATA_G_48, IPW_ORD_STAT_TX_NON_DIR_DATA_G_54, IPW_ORD_STAT_TX_RETRY,
  IPW_ORD_STAT_TX_FAILURE, IPW_ORD_STAT_RX_ERR_CRC, IPW_ORD_STAT_RX_ERR_ICV, IPW_ORD_STAT_RX_NO_BUFFER,
  IPW_ORD_STAT_FULL_SCANS, IPW_ORD_STAT_PARTIAL_SCANS, IPW_ORD_STAT_TGH_ABORTED_SCANS, IPW_ORD_STAT_TX_TOTAL_BYTES,
  IPW_ORD_STAT_CURR_RSSI_RAW, IPW_ORD_STAT_RX_BEACON, IPW_ORD_STAT_MISSED_BEACONS, IPW_ORD_TABLE_0_LAST
}
 
enum  { IPW_ORD_TABLE_1_LAST = IPW_ORD_TABLE_1_MASK | 1 }
 
enum  {
  IPW_ORD_STAT_FW_VERSION = IPW_ORD_TABLE_2_MASK | 1, IPW_ORD_STAT_FW_DATE, IPW_ORD_STAT_UCODE_VERSION, IPW_ORD_STAT_UCODE_DATE,
  IPW_ORD_STAT_ADAPTER_MAC, IPW_ORD_STAT_RTC, IPW_ORD_TABLE_2_LAST
}
 
enum  {
  IPW_ORD_STAT_TX_PACKET = IPW_ORD_TABLE_3_MASK | 0, IPW_ORD_STAT_TX_PACKET_FAILURE, IPW_ORD_STAT_TX_PACKET_SUCCESS, IPW_ORD_STAT_TX_PACKET_ABORTED,
  IPW_ORD_TABLE_3_LAST
}
 
enum  { IPW_ORD_TABLE_4_LAST = IPW_ORD_TABLE_4_MASK }
 
enum  {
  IPW_ORD_STAT_AVAILABLE_AP_COUNT = IPW_ORD_TABLE_5_MASK, IPW_ORD_STAT_AP_ASSNS, IPW_ORD_STAT_ROAM, IPW_ORD_STAT_ROAM_CAUSE_MISSED_BEACONS,
  IPW_ORD_STAT_ROAM_CAUSE_UNASSOC, IPW_ORD_STAT_ROAM_CAUSE_RSSI, IPW_ORD_STAT_ROAM_CAUSE_LINK_QUALITY, IPW_ORD_STAT_ROAM_CAUSE_AP_LOAD_BALANCE,
  IPW_ORD_STAT_ROAM_CAUSE_AP_NO_TX, IPW_ORD_STAT_LINK_UP, IPW_ORD_STAT_LINK_DOWN, IPW_ORD_ANTENNA_DIVERSITY,
  IPW_ORD_CURR_FREQ, IPW_ORD_TABLE_5_LAST
}
 
enum  { IPW_ORD_COUNTRY_CODE = IPW_ORD_TABLE_6_MASK, IPW_ORD_CURR_BSSID, IPW_ORD_CURR_SSID, IPW_ORD_TABLE_6_LAST }
 
enum  {
  IPW_ORD_STAT_PERCENT_MISSED_BEACONS = IPW_ORD_TABLE_7_MASK, IPW_ORD_STAT_PERCENT_TX_RETRIES, IPW_ORD_STAT_PERCENT_LINK_QUALITY, IPW_ORD_STAT_CURR_RSSI_DBM,
  IPW_ORD_TABLE_7_LAST
}
 

Variables

struct clx2_queue __packed
 

Macro Definition Documentation

#define AUTH_IGNORE   3

Definition at line 1765 of file ipw2200.h.

#define AUTH_LEAP   2

Definition at line 1764 of file ipw2200.h.

#define AUTH_OPEN   0

Definition at line 1762 of file ipw2200.h.

#define AUTH_SHARED_KEY   1

Definition at line 1763 of file ipw2200.h.

#define AVG_ENTRIES   8

Definition at line 1083 of file ipw2200.h.

#define BIT_ARG16 (   x)
Value:
BITC(x,15),BITC(x,14),BITC(x,13),BITC(x,12),\
BITC(x,11),BITC(x,10),BITC(x,9),BITC(x,8),\
BIT_ARG8(x)

Definition at line 1385 of file ipw2200.h.

#define BIT_ARG32 (   x)
Value:
BITC(x,31),BITC(x,30),BITC(x,29),BITC(x,28),\
BITC(x,27),BITC(x,26),BITC(x,25),BITC(x,24),\
BITC(x,23),BITC(x,22),BITC(x,21),BITC(x,20),\
BITC(x,19),BITC(x,18),BITC(x,17),BITC(x,16),\
BIT_ARG16(x)

Definition at line 1390 of file ipw2200.h.

#define BIT_ARG8 (   x)
Value:
BITC(x,7),BITC(x,6),BITC(x,5),BITC(x,4),\
BITC(x,3),BITC(x,2),BITC(x,1),BITC(x,0)

Definition at line 1381 of file ipw2200.h.

#define BIT_FMT16   BIT_FMT8 ":" BIT_FMT8

Definition at line 1377 of file ipw2200.h.

#define BIT_FMT32   BIT_FMT16 " " BIT_FMT16

Definition at line 1378 of file ipw2200.h.

#define BIT_FMT8   "%c%c%c%c-%c%c%c%c"

Definition at line 1376 of file ipw2200.h.

#define BITC (   x,
  y 
)    (((x>>y)&1)?'1':'0')

Definition at line 1380 of file ipw2200.h.

#define CAP_PRIVACY_ON   (1<<1) /* Off = No privacy */

Definition at line 1072 of file ipw2200.h.

#define CAP_SHARED_KEY   (1<<0) /* Off = OPEN */

Definition at line 1071 of file ipw2200.h.

#define CB_DEST_AUTOINC   0x00080000

Definition at line 1579 of file ipw2200.h.

#define CB_DEST_LE   0x04000000

Definition at line 1576 of file ipw2200.h.

#define CB_DEST_SIZE_LONG   0x00020000

Definition at line 1581 of file ipw2200.h.

#define CB_INT_ENABLED   0x40000000

Definition at line 1573 of file ipw2200.h.

#define CB_LAST_VALID   0x20000000

Definition at line 1572 of file ipw2200.h.

#define CB_MAX_LENGTH   0x1FFF

Definition at line 1591 of file ipw2200.h.

#define CB_NUMBER_OF_ELEMENTS_SMALL   64

Definition at line 763 of file ipw2200.h.

#define CB_SRC_AUTOINC   0x00800000

Definition at line 1577 of file ipw2200.h.

#define CB_SRC_IO_GATED   0x00400000

Definition at line 1578 of file ipw2200.h.

#define CB_SRC_LE   0x08000000

Definition at line 1575 of file ipw2200.h.

#define CB_SRC_SIZE_LONG   0x00200000

Definition at line 1580 of file ipw2200.h.

#define CB_VALID   0x80000000

Definition at line 1574 of file ipw2200.h.

#define CBD_RESET_REG_PRINCETON_RESET   (1<<0)

Definition at line 1536 of file ipw2200.h.

#define CFG_ADHOC_CREATE   (1<<8)

Definition at line 1065 of file ipw2200.h.

#define CFG_ADHOC_PERSIST   (1<<5)

Definition at line 1062 of file ipw2200.h.

#define CFG_ASSOCIATE   (1<<6)

Definition at line 1063 of file ipw2200.h.

#define CFG_BACKGROUND_SCAN   (1<<10)

Definition at line 1067 of file ipw2200.h.

#define CFG_BT_COEXISTENCE_DEFER   0x02 /* defer our Tx if BT traffic */

Definition at line 1984 of file ipw2200.h.

#define CFG_BT_COEXISTENCE_KILL   0x04 /* kill our Tx if BT traffic */

Definition at line 1985 of file ipw2200.h.

#define CFG_BT_COEXISTENCE_OOB   0x10 /* signal BT via out-of-band */

Definition at line 1987 of file ipw2200.h.

#define CFG_BT_COEXISTENCE_SIGNAL_CHNL   0x01 /* tell BT our chnl # */

Definition at line 1983 of file ipw2200.h.

#define CFG_BT_COEXISTENCE_WME_OVER_BT   0x08 /* multimedia extensions */

Definition at line 1986 of file ipw2200.h.

#define CFG_CTS_TO_ITSELF_ENABLED_DEF   CFG_CTS_TO_ITSELF_ENABLED_MIN

Definition at line 1992 of file ipw2200.h.

#define CFG_CTS_TO_ITSELF_ENABLED_MAX   0x01

Definition at line 1991 of file ipw2200.h.

#define CFG_CTS_TO_ITSELF_ENABLED_MIN   0x00

Definition at line 1990 of file ipw2200.h.

#define CFG_CUSTOM_MAC   (1<<3)

Definition at line 1060 of file ipw2200.h.

#define CFG_FIXED_RATE   (1<<7)

Definition at line 1064 of file ipw2200.h.

#define CFG_NET_STATS   (1<<12)

Definition at line 1069 of file ipw2200.h.

#define CFG_NO_LED   (1<<9)

Definition at line 1066 of file ipw2200.h.

#define CFG_PREAMBLE_LONG   (1<<4)

Definition at line 1061 of file ipw2200.h.

#define CFG_SPEED_SCAN   (1<<11)

Definition at line 1068 of file ipw2200.h.

#define CFG_STATIC_BSSID   (1<<2) /* Restrict assoc. to single BSSID */

Definition at line 1059 of file ipw2200.h.

#define CFG_STATIC_CHANNEL   (1<<0) /* Restrict assoc. to single channel */

Definition at line 1057 of file ipw2200.h.

#define CFG_STATIC_ESSID   (1<<1) /* Restrict assoc. to single SSID */

Definition at line 1058 of file ipw2200.h.

#define CFG_SYS_ANTENNA_A   0x01 /* force antenna A */

Definition at line 1996 of file ipw2200.h.

#define CFG_SYS_ANTENNA_B   0x03 /* force antenna B */

Definition at line 1997 of file ipw2200.h.

#define CFG_SYS_ANTENNA_BOTH   0x00 /* NIC selects best antenna */

Definition at line 1995 of file ipw2200.h.

#define CFG_SYS_ANTENNA_SLOW_DIV   0x02 /* consider background noise */

Definition at line 1998 of file ipw2200.h.

#define CLX_MEM_BAR_SIZE   0x1000

Definition at line 1551 of file ipw2200.h.

#define CTRL_QOS_NO_ACK   (0x0020)

Definition at line 357 of file ipw2200.h.

#define CW_MAX_CCK   1023

Definition at line 270 of file ipw2200.h.

#define CW_MAX_OFDM   1023

Definition at line 268 of file ipw2200.h.

#define CW_MIN_CCK   31

Definition at line 269 of file ipw2200.h.

#define CW_MIN_OFDM   15

Definition at line 267 of file ipw2200.h.

#define DCR_TYPE_AP   0x01

Definition at line 257 of file ipw2200.h.

#define DCR_TYPE_MU_BSS   DCR_TYPE_MU_ESS

Definition at line 263 of file ipw2200.h.

#define DCR_TYPE_MU_ESS   0x03

Definition at line 259 of file ipw2200.h.

#define DCR_TYPE_MU_IBSS   0x04

Definition at line 260 of file ipw2200.h.

#define DCR_TYPE_MU_PIBSS   0x05

Definition at line 261 of file ipw2200.h.

#define DCR_TYPE_SNIFFER   0x06

Definition at line 262 of file ipw2200.h.

#define DCR_TYPE_WLAP   0x02

Definition at line 258 of file ipw2200.h.

#define DCT_ANTENNA_A   0x01

Definition at line 154 of file ipw2200.h.

#define DCT_ANTENNA_B   0x02

Definition at line 155 of file ipw2200.h.

#define DCT_FLAG_ABORT_MGMT   0x01

Definition at line 176 of file ipw2200.h.

#define DCT_FLAG_ACK_REQD   0x80

Definition at line 198 of file ipw2200.h.

#define DCT_FLAG_CTS_REQUIRED   0x02

Definition at line 179 of file ipw2200.h.

#define DCT_FLAG_DUR_SET   0x10

Definition at line 189 of file ipw2200.h.

#define DCT_FLAG_EXT_HC_NO_SIFS_PIFS   0x00

Definition at line 213 of file ipw2200.h.

#define DCT_FLAG_EXT_HC_PIFS   0x40

Definition at line 215 of file ipw2200.h.

#define DCT_FLAG_EXT_HC_SIFS   0x20

Definition at line 214 of file ipw2200.h.

#define DCT_FLAG_EXT_MODE_CCK   0x01

Definition at line 201 of file ipw2200.h.

#define DCT_FLAG_EXT_MODE_OFDM   0x00

Definition at line 202 of file ipw2200.h.

#define DCT_FLAG_EXT_QOS_ENABLED   0x10

Definition at line 211 of file ipw2200.h.

#define DCT_FLAG_EXT_SECURITY_CCM   0x08

Definition at line 207 of file ipw2200.h.

#define DCT_FLAG_EXT_SECURITY_CKIP   0x04

Definition at line 206 of file ipw2200.h.

#define DCT_FLAG_EXT_SECURITY_MASK   0x0C

Definition at line 209 of file ipw2200.h.

#define DCT_FLAG_EXT_SECURITY_NO   DCT_FLAG_EXT_SECURITY_WEP

Definition at line 205 of file ipw2200.h.

#define DCT_FLAG_EXT_SECURITY_TKIP   0x0C

Definition at line 208 of file ipw2200.h.

#define DCT_FLAG_EXT_SECURITY_WEP   0x00

Definition at line 204 of file ipw2200.h.

#define DCT_FLAG_LONG_PREAMBLE   0x00

Definition at line 182 of file ipw2200.h.

#define DCT_FLAG_NO_WEP   0x20

Definition at line 192 of file ipw2200.h.

#define DCT_FLAG_RTS_REQD   0x08

Definition at line 186 of file ipw2200.h.

#define DCT_FLAG_SHORT_PREAMBLE   0x04

Definition at line 183 of file ipw2200.h.

#define DCT_FLAG_TSF_REQD   0x40

Definition at line 195 of file ipw2200.h.

#define DCT_WEP_INDEX_USE_IMMEDIATE   0x20

Definition at line 173 of file ipw2200.h.

#define DCT_WEP_KEY_128Bit   0x80

Definition at line 168 of file ipw2200.h.

#define DCT_WEP_KEY_128bitIV   0xC0

Definition at line 169 of file ipw2200.h.

#define DCT_WEP_KEY_64Bit   0x40

Definition at line 167 of file ipw2200.h.

#define DCT_WEP_KEY_FIELD_LENGTH   16

Definition at line 460 of file ipw2200.h.

#define DCT_WEP_KEY_INDEX_MASK   0x0F

Definition at line 172 of file ipw2200.h.

#define DCT_WEP_KEY_NOT_IMMIDIATE   0x00

Definition at line 166 of file ipw2200.h.

#define DCT_WEP_KEY_SIZE_MASK   0xC0

Definition at line 170 of file ipw2200.h.

#define DCW_CCM_KEY128Bit_SIZE   0x10 /* 128-bit key */

Definition at line 815 of file ipw2200.h.

#define DCW_WEP_KEY128Bit_SIZE   0x0D /* 128-bit encryption */

Definition at line 814 of file ipw2200.h.

#define DCW_WEP_KEY64Bit_SIZE   0x05 /* 64-bit encryption */

Definition at line 813 of file ipw2200.h.

#define DCW_WEP_KEY_INDEX_MASK   0x03 /* bits [0:1] */

Definition at line 805 of file ipw2200.h.

#define DCW_WEP_KEY_INVALID_SIZE   0x00 /* 0 = Invalid key */

Definition at line 812 of file ipw2200.h.

#define DCW_WEP_KEY_SEC_TYPE_CCM   0x20

Definition at line 809 of file ipw2200.h.

#define DCW_WEP_KEY_SEC_TYPE_MASK   0x30 /* bits [4:5] */

Definition at line 806 of file ipw2200.h.

#define DCW_WEP_KEY_SEC_TYPE_TKIP   0x30

Definition at line 810 of file ipw2200.h.

#define DCW_WEP_KEY_SEC_TYPE_WEP   0x00

Definition at line 808 of file ipw2200.h.

#define DEF_TX0_ACM   0

Definition at line 337 of file ipw2200.h.

#define DEF_TX0_AIFS   0

Definition at line 332 of file ipw2200.h.

#define DEF_TX0_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)

Definition at line 327 of file ipw2200.h.

#define DEF_TX0_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)

Definition at line 322 of file ipw2200.h.

#define DEF_TX0_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)

Definition at line 317 of file ipw2200.h.

#define DEF_TX0_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)

Definition at line 312 of file ipw2200.h.

#define DEF_TX0_TXOP_LIMIT_CCK   0

Definition at line 342 of file ipw2200.h.

#define DEF_TX0_TXOP_LIMIT_OFDM   0

Definition at line 347 of file ipw2200.h.

#define DEF_TX1_ACM   0

Definition at line 338 of file ipw2200.h.

#define DEF_TX1_AIFS   0

Definition at line 333 of file ipw2200.h.

#define DEF_TX1_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)

Definition at line 328 of file ipw2200.h.

#define DEF_TX1_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)

Definition at line 323 of file ipw2200.h.

#define DEF_TX1_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)

Definition at line 318 of file ipw2200.h.

#define DEF_TX1_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)

Definition at line 313 of file ipw2200.h.

#define DEF_TX1_TXOP_LIMIT_CCK   0

Definition at line 343 of file ipw2200.h.

#define DEF_TX1_TXOP_LIMIT_OFDM   0

Definition at line 348 of file ipw2200.h.

#define DEF_TX2_ACM   0

Definition at line 339 of file ipw2200.h.

#define DEF_TX2_AIFS   0

Definition at line 334 of file ipw2200.h.

#define DEF_TX2_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)

Definition at line 329 of file ipw2200.h.

#define DEF_TX2_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)

Definition at line 324 of file ipw2200.h.

#define DEF_TX2_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)

Definition at line 319 of file ipw2200.h.

#define DEF_TX2_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)

Definition at line 314 of file ipw2200.h.

#define DEF_TX2_TXOP_LIMIT_CCK   0

Definition at line 344 of file ipw2200.h.

#define DEF_TX2_TXOP_LIMIT_OFDM   0

Definition at line 349 of file ipw2200.h.

#define DEF_TX3_ACM   0

Definition at line 340 of file ipw2200.h.

#define DEF_TX3_AIFS   0

Definition at line 335 of file ipw2200.h.

#define DEF_TX3_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)

Definition at line 330 of file ipw2200.h.

#define DEF_TX3_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)

Definition at line 325 of file ipw2200.h.

#define DEF_TX3_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)

Definition at line 320 of file ipw2200.h.

#define DEF_TX3_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)

Definition at line 315 of file ipw2200.h.

#define DEF_TX3_TXOP_LIMIT_CCK   0

Definition at line 345 of file ipw2200.h.

#define DEF_TX3_TXOP_LIMIT_OFDM   0

Definition at line 350 of file ipw2200.h.

#define DINO_CMD_TX   0x0B

Definition at line 153 of file ipw2200.h.

#define DINO_CMD_WEP_KEY   0x08

Definition at line 152 of file ipw2200.h.

#define DINO_ENABLE_CS   0x40 /* 1 = enable ucode load */

Definition at line 1556 of file ipw2200.h.

#define DINO_ENABLE_SYSTEM   0x80 /* 1 = baseband processor on, 0 = reset */

Definition at line 1555 of file ipw2200.h.

#define DINO_RXFIFO_DATA   0x01 /* 1 = data available */

Definition at line 1557 of file ipw2200.h.

#define DMA_CB_START   0x00000100

Definition at line 1587 of file ipw2200.h.

#define DMA_CB_STOP_AND_ABORT   0x00000C00

Definition at line 1586 of file ipw2200.h.

#define DMA_CONTROL_SMALL_CB_CONST_VALUE   0x00540000

Definition at line 1585 of file ipw2200.h.

#define DRV_NAME   "ipw2200"

Definition at line 53 of file ipw2200.h.

#define EEPROM_BIT_CS   (1<<1)

Definition at line 1682 of file ipw2200.h.

#define EEPROM_BIT_DI   (1<<2)

Definition at line 1683 of file ipw2200.h.

#define EEPROM_BIT_DO   (1<<4)

Definition at line 1684 of file ipw2200.h.

#define EEPROM_BIT_SK   (1<<0)

Definition at line 1681 of file ipw2200.h.

#define EEPROM_BSS_CHANNELS_BG   (GET_EEPROM_ADDR(0x2c,LSB)) /* 2 bytes */

Definition at line 1663 of file ipw2200.h.

#define EEPROM_CMD_READ   0x2

Definition at line 1686 of file ipw2200.h.

#define EEPROM_COUNTRY_CODE   (GET_EEPROM_ADDR(0x26,LSB)) /* 3 bytes */

Definition at line 1660 of file ipw2200.h.

#define EEPROM_HW_VERSION   (GET_EEPROM_ADDR(0x72,LSB)) /* 2 bytes */

Definition at line 1664 of file ipw2200.h.

#define EEPROM_IBSS_CHANNELS_A   (GET_EEPROM_ADDR(0x29,MSB)) /* 5 bytes */

Definition at line 1662 of file ipw2200.h.

#define EEPROM_IBSS_CHANNELS_BG   (GET_EEPROM_ADDR(0x28,LSB)) /* 2 bytes */

Definition at line 1661 of file ipw2200.h.

#define EEPROM_MAC_ADDRESS   (GET_EEPROM_ADDR(0x21,LSB)) /* 6 byte */

Definition at line 1656 of file ipw2200.h.

#define EEPROM_NIC_TYPE   (GET_EEPROM_ADDR(0x25,LSB)) /* 1 byte */

Definition at line 1658 of file ipw2200.h.

#define EEPROM_NIC_TYPE_0   0

Definition at line 1667 of file ipw2200.h.

#define EEPROM_NIC_TYPE_1   1

Definition at line 1668 of file ipw2200.h.

#define EEPROM_NIC_TYPE_2   2

Definition at line 1669 of file ipw2200.h.

#define EEPROM_NIC_TYPE_3   3

Definition at line 1670 of file ipw2200.h.

#define EEPROM_NIC_TYPE_4   4

Definition at line 1671 of file ipw2200.h.

#define EEPROM_PME_CAPABILITY   (GET_EEPROM_ADDR(0x09,MSB)) /* 1 byte */

Definition at line 1655 of file ipw2200.h.

#define EEPROM_SKU_CAP_BT_CHANNEL_SIG   0x01 /* we can tell BT our channel # */

Definition at line 1674 of file ipw2200.h.

#define EEPROM_SKU_CAP_BT_OOB   0x04 /* we can signal BT out-of-band */

Definition at line 1676 of file ipw2200.h.

#define EEPROM_SKU_CAP_BT_PRIORITY   0x02 /* BT can take priority over us */

Definition at line 1675 of file ipw2200.h.

#define EEPROM_SKU_CAPABILITY   (GET_EEPROM_ADDR(0x25,MSB)) /* 1 byte */

Definition at line 1659 of file ipw2200.h.

#define EEPROM_VERSION   (GET_EEPROM_ADDR(0x24,MSB)) /* 1 byte */

Definition at line 1657 of file ipw2200.h.

#define ERROR_ELEM_SIZE   (7 * sizeof(u32))

Definition at line 1736 of file ipw2200.h.

#define ERROR_START_OFFSET   (1 * sizeof(u32))

Definition at line 1737 of file ipw2200.h.

#define EVENT_ELEM_SIZE   (3 * sizeof(u32))

Definition at line 1732 of file ipw2200.h.

#define EVENT_START_OFFSET   (1 * sizeof(u32) + 2 * sizeof(u16))

Definition at line 1733 of file ipw2200.h.

#define FW_MEM_REG_EEPROM_ACCESS   (FW_MEM_REG_LOWER_BOUND + 0x40)

Definition at line 1679 of file ipw2200.h.

#define FW_MEM_REG_LOWER_BOUND   0x00300000

Definition at line 1678 of file ipw2200.h.

#define GET_EEPROM_ADDR (   _wordoffset,
  _byteoffset 
)    ( WORD_TO_BYTE(_wordoffset) + (_byteoffset) )

Definition at line 1651 of file ipw2200.h.

#define HC_ASSOCIATE   0

Definition at line 1767 of file ipw2200.h.

#define HC_DISASSOC_QUIET   5

Definition at line 1772 of file ipw2200.h.

#define HC_DISASSOCIATE   2

Definition at line 1769 of file ipw2200.h.

#define HC_IBSS_RECONF   4

Definition at line 1771 of file ipw2200.h.

#define HC_IBSS_START   3

Definition at line 1770 of file ipw2200.h.

#define HC_QOS_SUPPORT_ASSOC   cpu_to_le16(0x01)

Definition at line 1774 of file ipw2200.h.

#define HC_REASSOCIATE   1

Definition at line 1768 of file ipw2200.h.

#define HOST_CMD_DINO_CONFIG   30

Definition at line 226 of file ipw2200.h.

#define HOST_NOTIFICATION_CALIB_KEEP_RESULTS   20

Definition at line 238 of file ipw2200.h.

#define HOST_NOTIFICATION_CHANNEL_SWITCHED   23

Definition at line 241 of file ipw2200.h.

#define HOST_NOTIFICATION_DINO_CONFIG_RESPONSE   16

Definition at line 234 of file ipw2200.h.

#define HOST_NOTIFICATION_MEASUREMENT_ENDED   22

Definition at line 240 of file ipw2200.h.

#define HOST_NOTIFICATION_MEASUREMENT_STARTED   21

Definition at line 239 of file ipw2200.h.

#define HOST_NOTIFICATION_NOISE_STATS   25

Definition at line 243 of file ipw2200.h.

#define HOST_NOTIFICATION_RX_DURING_QUIET_PERIOD   24

Definition at line 242 of file ipw2200.h.

#define HOST_NOTIFICATION_S36_MEASUREMENT_ACCEPTED   30

Definition at line 244 of file ipw2200.h.

#define HOST_NOTIFICATION_S36_MEASUREMENT_REFUSED   31

Definition at line 245 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_ASSOCIATED   10

Definition at line 228 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_AUTHENTICATE   11

Definition at line 229 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_BEACON_MISSING   1

Definition at line 247 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_BEACON_STATE   17

Definition at line 235 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_FRAG_LENGTH   14

Definition at line 232 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_LINK_DETERIORATION   15

Definition at line 233 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_SCAN_CHANNEL_RESULT   12

Definition at line 230 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_SCAN_COMPLETED   13

Definition at line 231 of file ipw2200.h.

#define HOST_NOTIFICATION_STATUS_TGI_TX_KEY   18

Definition at line 236 of file ipw2200.h.

#define HOST_NOTIFICATION_TX_STATUS   19

Definition at line 237 of file ipw2200.h.

#define IPW_2200BG   1

Definition at line 1341 of file ipw2200.h.

#define IPW_2915ABG   2

Definition at line 1342 of file ipw2200.h.

#define IPW_A_MODE   0

Definition at line 157 of file ipw2200.h.

#define IPW_ACTIVITY_LED   (1<<4)

Definition at line 1538 of file ipw2200.h.

#define IPW_ARC_KESHET_CONFIG   (1<<27)

Definition at line 1546 of file ipw2200.h.

#define IPW_ASSOCIATED_LED   (1<<5)

Definition at line 1539 of file ipw2200.h.

#define IPW_ATIM_SENT   (IPW_SHARED_LOWER_BOUND + 0xB10)

Definition at line 1643 of file ipw2200.h.

#define IPW_AUTOINC_ADDR   0x00000018

Definition at line 1511 of file ipw2200.h.

#define IPW_AUTOINC_DATA   0x0000001C

Definition at line 1512 of file ipw2200.h.

#define IPW_B_MODE   1

Definition at line 158 of file ipw2200.h.

#define IPW_BASEBAND_CONTROL_STATUS   0X00200000

Definition at line 1558 of file ipw2200.h.

#define IPW_BASEBAND_CONTROL_STORE   0X00200010

Definition at line 1561 of file ipw2200.h.

#define IPW_BASEBAND_POWER_DOWN   0x00000001

Definition at line 1564 of file ipw2200.h.

#define IPW_BASEBAND_RX_FIFO_READ   0X00200004

Definition at line 1560 of file ipw2200.h.

#define IPW_BASEBAND_TX_FIFO_WRITE   0X00200004

Definition at line 1559 of file ipw2200.h.

#define IPW_BIT_HALT_RESET_OFF   0x00000000

Definition at line 1570 of file ipw2200.h.

#define IPW_BIT_HALT_RESET_ON   0x80000000

Definition at line 1569 of file ipw2200.h.

#define IPW_BIT_INT_HOST_SRAM_READ_INT_REGISTER   (1 << 29)

Definition at line 1529 of file ipw2200.h.

#define IPW_CMD_ADAPTER_ADDRESS   11

Definition at line 99 of file ipw2200.h.

#define IPW_CMD_AIRONET_INFO   37

Definition at line 120 of file ipw2200.h.

#define IPW_CMD_AP_TX_POWER   38

Definition at line 121 of file ipw2200.h.

#define IPW_CMD_ASSOCIATE   21

Definition at line 107 of file ipw2200.h.

#define IPW_CMD_CARD_DISABLE   33

Definition at line 116 of file ipw2200.h.

#define IPW_CMD_CCKM_INFO   39

Definition at line 122 of file ipw2200.h.

#define IPW_CMD_CCX_VER_INFO   40

Definition at line 123 of file ipw2200.h.

#define IPW_CMD_COUNTRY_INFO   36

Definition at line 119 of file ipw2200.h.

#define IPW_CMD_DINO_CONFIG   30

Definition at line 113 of file ipw2200.h.

#define IPW_CMD_EXT_SUPPORTED_RATES   62

Definition at line 130 of file ipw2200.h.

#define IPW_CMD_FRAG_THRESHOLD   16

Definition at line 102 of file ipw2200.h.

#define IPW_CMD_HOST_COMPLETE   2

Definition at line 94 of file ipw2200.h.

#define IPW_CMD_IPW_PRE_POWER_DOWN   58

Definition at line 127 of file ipw2200.h.

#define IPW_CMD_LINKSYS_EOU_INFO   90

Definition at line 144 of file ipw2200.h.

#define IPW_CMD_MEASUREMENT   80

Definition at line 138 of file ipw2200.h.

#define IPW_CMD_MULTICAST_ADDRESS   7

Definition at line 97 of file ipw2200.h.

#define IPW_CMD_PORT_TYPE   12

Definition at line 100 of file ipw2200.h.

#define IPW_CMD_POWER_CAPABILITY   81

Definition at line 139 of file ipw2200.h.

#define IPW_CMD_POWER_DOWN   4

Definition at line 95 of file ipw2200.h.

#define IPW_CMD_POWER_MODE   17

Definition at line 103 of file ipw2200.h.

#define IPW_CMD_PRODUCTION_COMMAND   85

Definition at line 143 of file ipw2200.h.

#define IPW_CMD_QOS_PARAMETERS   25

Definition at line 111 of file ipw2200.h.

#define IPW_CMD_RETRY_LIMIT   51

Definition at line 126 of file ipw2200.h.

#define IPW_CMD_RSN_CAPABILITIES   31

Definition at line 114 of file ipw2200.h.

#define IPW_CMD_RTS_THRESHOLD   15

Definition at line 101 of file ipw2200.h.

#define IPW_CMD_RX_KEY   32

Definition at line 115 of file ipw2200.h.

#define IPW_CMD_SCAN_ABORT   23

Definition at line 109 of file ipw2200.h.

#define IPW_CMD_SCAN_REQUEST   20

Definition at line 106 of file ipw2200.h.

#define IPW_CMD_SCAN_REQUEST_EXT   26

Definition at line 112 of file ipw2200.h.

#define IPW_CMD_SEED_NUMBER   34

Definition at line 117 of file ipw2200.h.

#define IPW_CMD_SENSITIVITY_CALIB   42

Definition at line 125 of file ipw2200.h.

#define IPW_CMD_SET_CALIBRATION   41

Definition at line 124 of file ipw2200.h.

#define IPW_CMD_SSID   8

Definition at line 98 of file ipw2200.h.

#define IPW_CMD_SUPPORTED_CHANNELS   82

Definition at line 140 of file ipw2200.h.

#define IPW_CMD_SUPPORTED_RATES   22

Definition at line 108 of file ipw2200.h.

#define IPW_CMD_SYSTEM_CONFIG   6

Definition at line 96 of file ipw2200.h.

#define IPW_CMD_TGI_TX_KEY   19

Definition at line 105 of file ipw2200.h.

#define IPW_CMD_TPC_REPORT   83

Definition at line 141 of file ipw2200.h.

#define IPW_CMD_TX_FLUSH   24

Definition at line 110 of file ipw2200.h.

#define IPW_CMD_TX_POWER   35

Definition at line 118 of file ipw2200.h.

#define IPW_CMD_VAP_BEACON_TEMPLATE   60

Definition at line 128 of file ipw2200.h.

#define IPW_CMD_VAP_CELL_PWR_LIMIT   67

Definition at line 135 of file ipw2200.h.

#define IPW_CMD_VAP_CF_PARAM_SET   68

Definition at line 136 of file ipw2200.h.

#define IPW_CMD_VAP_CHANNEL_SWITCH   65

Definition at line 133 of file ipw2200.h.

#define IPW_CMD_VAP_DTIM_PERIOD   61

Definition at line 129 of file ipw2200.h.

#define IPW_CMD_VAP_LOCAL_TX_PWR_CONSTRAINT   63

Definition at line 131 of file ipw2200.h.

#define IPW_CMD_VAP_MANDATORY_CHANNELS   66

Definition at line 134 of file ipw2200.h.

#define IPW_CMD_VAP_QUIET_INTERVALS   64

Definition at line 132 of file ipw2200.h.

#define IPW_CMD_VAP_SET_BEACONING_STATE   69

Definition at line 137 of file ipw2200.h.

#define IPW_CMD_WEP_KEY   18

Definition at line 104 of file ipw2200.h.

#define IPW_CMD_WME_INFO   84

Definition at line 142 of file ipw2200.h.

#define IPW_CSR_CIS_UPPER_BOUND   0x00000200

Definition at line 1549 of file ipw2200.h.

#define IPW_DEBUG (   level,
  fmt,
  args... 
)
Value:
do { if (ipw_debug_level & (level)) \
printk(KERN_DEBUG DRV_NAME": %c %s " fmt, \
in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0)

Definition at line 1398 of file ipw2200.h.

#define IPW_DEBUG_ASSOC (   f,
  a... 
)    IPW_DEBUG(IPW_DL_ASSOC | IPW_DL_INFO, f, ## a)

Definition at line 1496 of file ipw2200.h.

#define IPW_DEBUG_DROP (   f,
  a... 
)    IPW_DEBUG(IPW_DL_DROP, f, ## a)

Definition at line 1490 of file ipw2200.h.

#define IPW_DEBUG_FRAG (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_FRAG, f, ## a)

Definition at line 1487 of file ipw2200.h.

#define IPW_DEBUG_FW (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_FW, f, ## a)

Definition at line 1488 of file ipw2200.h.

#define IPW_DEBUG_FW_INFO (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_FW_INFO, f, ## a)

Definition at line 1493 of file ipw2200.h.

#define IPW_DEBUG_HC (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_HOST_COMMAND, f, ## a)

Definition at line 1486 of file ipw2200.h.

#define IPW_DEBUG_INFO (   f,
  a... 
)    IPW_DEBUG(IPW_DL_INFO, f, ## a)

Definition at line 1475 of file ipw2200.h.

#define IPW_DEBUG_IO (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_IO, f, ## a)

Definition at line 1491 of file ipw2200.h.

#define IPW_DEBUG_ISR (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_ISR, f, ## a)

Definition at line 1482 of file ipw2200.h.

#define IPW_DEBUG_LED (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_LED, f, ## a)

Definition at line 1484 of file ipw2200.h.

#define IPW_DEBUG_MANAGEMENT (   f,
  a... 
)    IPW_DEBUG(IPW_DL_MANAGE, f, ## a)

Definition at line 1483 of file ipw2200.h.

#define IPW_DEBUG_MERGE (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_MERGE, f, ## a)

Definition at line 1498 of file ipw2200.h.

#define IPW_DEBUG_NOTIF (   f,
  a... 
)    IPW_DEBUG(IPW_DL_NOTIF, f, ## a)

Definition at line 1494 of file ipw2200.h.

#define IPW_DEBUG_ORD (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_ORD, f, ## a)

Definition at line 1492 of file ipw2200.h.

#define IPW_DEBUG_QOS (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_QOS, f, ## a)

Definition at line 1499 of file ipw2200.h.

#define IPW_DEBUG_RF_KILL (   f,
  a... 
)    IPW_DEBUG(IPW_DL_RF_KILL, f, ## a)

Definition at line 1489 of file ipw2200.h.

#define IPW_DEBUG_RX (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_RX, f, ## a)

Definition at line 1480 of file ipw2200.h.

#define IPW_DEBUG_SCAN (   f,
  a... 
)    IPW_DEBUG(IPW_DL_SCAN, f, ## a)

Definition at line 1478 of file ipw2200.h.

#define IPW_DEBUG_STATE (   f,
  a... 
)    IPW_DEBUG(IPW_DL_STATE | IPW_DL_ASSOC | IPW_DL_INFO, f, ## a)

Definition at line 1495 of file ipw2200.h.

#define IPW_DEBUG_STATS (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_STATS, f, ## a)

Definition at line 1497 of file ipw2200.h.

#define IPW_DEBUG_TRACE (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_TRACE, f, ## a)

Definition at line 1479 of file ipw2200.h.

#define IPW_DEBUG_TX (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_TX, f, ## a)

Definition at line 1481 of file ipw2200.h.

#define IPW_DEBUG_WEP (   f,
  a... 
)    IPW_LL_DEBUG(IPW_DL_WEP, f, ## a)

Definition at line 1485 of file ipw2200.h.

#define IPW_DEBUG_WX (   f,
  a... 
)    IPW_DEBUG(IPW_DL_WX, f, ## a)

Definition at line 1477 of file ipw2200.h.

#define IPW_DL_ASSOC   (1<<12)

Definition at line 1447 of file ipw2200.h.

#define IPW_DL_DROP   (1<<13)

Definition at line 1448 of file ipw2200.h.

#define IPW_DL_ERROR   (1<<0)

Definition at line 1438 of file ipw2200.h.

#define IPW_DL_FRAG   (1<<21)

Definition at line 1460 of file ipw2200.h.

#define IPW_DL_FW   (1<<16)

Definition at line 1452 of file ipw2200.h.

#define IPW_DL_FW_ERRORS   (1<<18)

Definition at line 1454 of file ipw2200.h.

#define IPW_DL_FW_INFO   (1<<26)

Definition at line 1465 of file ipw2200.h.

#define IPW_DL_HOST_COMMAND   (1<<5)

Definition at line 1442 of file ipw2200.h.

#define IPW_DL_INFO   (1<<2)

Definition at line 1440 of file ipw2200.h.

#define IPW_DL_IO   (1<<27)

Definition at line 1466 of file ipw2200.h.

#define IPW_DL_IOCTL   (1<<14)

Definition at line 1449 of file ipw2200.h.

#define IPW_DL_ISR   (1<<25)

Definition at line 1464 of file ipw2200.h.

#define IPW_DL_LED   (1<<19)

Definition at line 1456 of file ipw2200.h.

#define IPW_DL_MANAGE   (1<<15)

Definition at line 1451 of file ipw2200.h.

#define IPW_DL_MERGE   (1<<30)

Definition at line 1470 of file ipw2200.h.

#define IPW_DL_NOTIF   (1<<10)

Definition at line 1445 of file ipw2200.h.

#define IPW_DL_ORD   (1<<20)

Definition at line 1458 of file ipw2200.h.

#define IPW_DL_QOS   (1<<31)

Definition at line 1471 of file ipw2200.h.

#define IPW_DL_RF_KILL   (1<<17)

Definition at line 1453 of file ipw2200.h.

#define IPW_DL_RX   (1<<24)

Definition at line 1463 of file ipw2200.h.

#define IPW_DL_SCAN   (1<<11)

Definition at line 1446 of file ipw2200.h.

#define IPW_DL_STATE   (1<<6)

Definition at line 1443 of file ipw2200.h.

#define IPW_DL_STATS   (1<<29)

Definition at line 1469 of file ipw2200.h.

#define IPW_DL_TRACE   (1<<28)

Definition at line 1467 of file ipw2200.h.

#define IPW_DL_TX   (1<<23)

Definition at line 1462 of file ipw2200.h.

#define IPW_DL_WARNING   (1<<1)

Definition at line 1439 of file ipw2200.h.

#define IPW_DL_WEP   (1<<22)

Definition at line 1461 of file ipw2200.h.

#define IPW_DL_WX   (1<<3)

Definition at line 1441 of file ipw2200.h.

#define IPW_DMA_I_CB_BASE   0x003000A0

Definition at line 1600 of file ipw2200.h.

#define IPW_DMA_I_CURRENT_CB   0x003000D0

Definition at line 1597 of file ipw2200.h.

#define IPW_DMA_I_DMA_CONTROL   0x003000A4

Definition at line 1599 of file ipw2200.h.

#define IPW_DMA_O_CURRENT_CB   0x003000D4

Definition at line 1598 of file ipw2200.h.

#define IPW_DOMAIN_0_END   0x1000

Definition at line 1550 of file ipw2200.h.

#define IPW_DURING_ATIM_WINDOW   (IPW_SHARED_LOWER_BOUND + 0xB18)

Definition at line 1645 of file ipw2200.h.

#define IPW_EEPROM_DATA   (IPW_SHARED_LOWER_BOUND + 0x820)

Definition at line 1637 of file ipw2200.h.

#define IPW_EEPROM_DATA_SRAM_ADDRESS   (IPW_SHARED_LOWER_BOUND + 0x814)

Definition at line 1634 of file ipw2200.h.

#define IPW_EEPROM_DATA_SRAM_SIZE   (IPW_SHARED_LOWER_BOUND + 0x818)

Definition at line 1635 of file ipw2200.h.

#define IPW_EEPROM_IMAGE_SIZE   0x100

Definition at line 1594 of file ipw2200.h.

#define IPW_EEPROM_LOAD_DISABLE   (IPW_SHARED_LOWER_BOUND + 0x81C)

Definition at line 1636 of file ipw2200.h.

#define IPW_EEPROM_UPPER_ADDRESS   (IPW_SHARED_LOWER_BOUND + 0x9E0)

Definition at line 1638 of file ipw2200.h.

#define IPW_ERROR (   f,
  a... 
)    printk(KERN_ERR DRV_NAME ": " f, ## a)

Definition at line 1473 of file ipw2200.h.

#define IPW_ERROR_LOG   (IPW_SHARED_LOWER_BOUND + 0x410)

Definition at line 1946 of file ipw2200.h.

#define IPW_EVENT_LOG   (IPW_SHARED_LOWER_BOUND + 0x414)

Definition at line 1947 of file ipw2200.h.

#define IPW_EVENT_REG   (FW_MEM_REG_LOWER_BOUND + 0x04)

Definition at line 1680 of file ipw2200.h.

#define IPW_G_MODE   2

Definition at line 159 of file ipw2200.h.

#define IPW_GATE_ADMA   (1<<29)

Definition at line 1547 of file ipw2200.h.

#define IPW_GATE_IDMA   (1<<26)

Definition at line 1545 of file ipw2200.h.

#define IPW_GATE_ODMA   (1<<25)

Definition at line 1544 of file ipw2200.h.

#define IPW_GP_CNTRL_BIT_CLOCK_READY   0x00000001

Definition at line 1530 of file ipw2200.h.

#define IPW_GP_CNTRL_BIT_HOST_ALLOWS_STANDBY   0x00000002

Definition at line 1531 of file ipw2200.h.

#define IPW_GP_CNTRL_BIT_INIT_DONE   0x00000004

Definition at line 1518 of file ipw2200.h.

#define IPW_GP_CNTRL_RW   0x00000024

Definition at line 1514 of file ipw2200.h.

#define IPW_HOST_EEPROM_DATA_SRAM_SIZE   0xA18

Definition at line 1593 of file ipw2200.h.

#define IPW_IBSS_MAC_HASH_SIZE   31

Definition at line 1092 of file ipw2200.h.

#define IPW_INDIRECT_ADDR   0x00000010

Definition at line 1509 of file ipw2200.h.

#define IPW_INDIRECT_ADDR_MASK   (~0x3ul)

Definition at line 1959 of file ipw2200.h.

#define IPW_INDIRECT_DATA   0x00000014

Definition at line 1510 of file ipw2200.h.

#define IPW_INTA_BIT_BEACON_PERIOD_EXPIRED   0x00000020

Definition at line 1693 of file ipw2200.h.

#define IPW_INTA_BIT_FATAL_ERROR   0x40000000

Definition at line 1710 of file ipw2200.h.

#define IPW_INTA_BIT_FW_CARD_DISABLE_PHY_OFF_DONE   0x02000000

Definition at line 1708 of file ipw2200.h.

#define IPW_INTA_BIT_FW_INITIALIZATION_DONE   0x01000000

Definition at line 1707 of file ipw2200.h.

#define IPW_INTA_BIT_PARITY_ERROR   0x80000000

Definition at line 1711 of file ipw2200.h.

#define IPW_INTA_BIT_POWER_DOWN   0x00200000

Definition at line 1705 of file ipw2200.h.

#define IPW_INTA_BIT_PREPARE_FOR_POWER_DOWN   0x00100000

Definition at line 1704 of file ipw2200.h.

#define IPW_INTA_BIT_RF_KILL_DONE   0x04000000

Definition at line 1709 of file ipw2200.h.

#define IPW_INTA_BIT_RX_TRANSFER   0x00000002

Definition at line 1691 of file ipw2200.h.

#define IPW_INTA_BIT_SLAVE_MODE_HOST_CMD_DONE   0x00010000

Definition at line 1702 of file ipw2200.h.

#define IPW_INTA_BIT_STATUS_CHANGE   0x00000010

Definition at line 1692 of file ipw2200.h.

#define IPW_INTA_BIT_TX_CMD_QUEUE   0x00000800

Definition at line 1696 of file ipw2200.h.

#define IPW_INTA_BIT_TX_QUEUE_1   0x00001000

Definition at line 1697 of file ipw2200.h.

#define IPW_INTA_BIT_TX_QUEUE_2   0x00002000

Definition at line 1698 of file ipw2200.h.

#define IPW_INTA_BIT_TX_QUEUE_3   0x00004000

Definition at line 1699 of file ipw2200.h.

#define IPW_INTA_BIT_TX_QUEUE_4   0x00008000

Definition at line 1700 of file ipw2200.h.

#define IPW_INTA_MASK_ALL
Value:
IPW_INTA_BIT_TX_QUEUE_2 | \
IPW_INTA_BIT_TX_QUEUE_3 | \
IPW_INTA_BIT_TX_QUEUE_4 | \
IPW_INTA_BIT_TX_CMD_QUEUE | \
IPW_INTA_BIT_RX_TRANSFER | \
IPW_INTA_BIT_FATAL_ERROR | \
IPW_INTA_BIT_PARITY_ERROR | \
IPW_INTA_BIT_STATUS_CHANGE | \
IPW_INTA_BIT_FW_INITIALIZATION_DONE | \
IPW_INTA_BIT_BEACON_PERIOD_EXPIRED | \
IPW_INTA_BIT_SLAVE_MODE_HOST_CMD_DONE | \
IPW_INTA_BIT_PREPARE_FOR_POWER_DOWN | \
IPW_INTA_BIT_POWER_DOWN | \
IPW_INTA_BIT_RF_KILL_DONE )

Definition at line 1714 of file ipw2200.h.

#define IPW_INTA_MASK_R   0x0000000C

Definition at line 1508 of file ipw2200.h.

#define IPW_INTA_NONE   0x00000000

Definition at line 1689 of file ipw2200.h.

#define IPW_INTA_RW   0x00000008

Definition at line 1507 of file ipw2200.h.

#define IPW_INTERNAL_CMD_EVENT   0X00300004

Definition at line 1563 of file ipw2200.h.

#define IPW_INTERRUPT_AREA_LOWER_BOUND   0x00000f80

Definition at line 1524 of file ipw2200.h.

#define IPW_INVALID_STATION   (0xff)

Definition at line 1075 of file ipw2200.h.

#define IPW_LL_DEBUG (   level,
  fmt,
  args... 
)    do {} while (0)

Definition at line 1409 of file ipw2200.h.

#define IPW_MAX_CONFIG_RETRIES   10

Definition at line 2000 of file ipw2200.h.

#define IPW_MAX_RATES   12

Definition at line 749 of file ipw2200.h.

#define IPW_MB_DISASSOCIATE_THRESHOLD_DEFAULT   3*IPW_MB_ROAMING_THRESHOLD_DEFAULT

Definition at line 252 of file ipw2200.h.

#define IPW_MB_ROAMING_THRESHOLD_DEFAULT   8

Definition at line 250 of file ipw2200.h.

#define IPW_MB_ROAMING_THRESHOLD_MAX   30

Definition at line 251 of file ipw2200.h.

#define IPW_MB_ROAMING_THRESHOLD_MIN   1

Definition at line 249 of file ipw2200.h.

#define IPW_MB_SCAN_CANCEL_THRESHOLD   3

Definition at line 248 of file ipw2200.h.

#define IPW_MEM_FIXED_OVERRIDE   (IPW_SHARED_LOWER_BOUND + 0x41C)

Definition at line 1952 of file ipw2200.h.

#define IPW_MEM_HALT_AND_RESET   0x003000e0

Definition at line 1566 of file ipw2200.h.

#define IPW_NIC_SRAM_LOWER_BOUND   0x00000000

Definition at line 1526 of file ipw2200.h.

#define IPW_NIC_SRAM_UPPER_BOUND   0x00030000

Definition at line 1527 of file ipw2200.h.

#define IPW_OFDM_LED   (1<<6)

Definition at line 1540 of file ipw2200.h.

#define IPW_ORD_TABLE_0_MASK   0x0000F000

Definition at line 1798 of file ipw2200.h.

#define IPW_ORD_TABLE_1_MASK   0x0000F100

Definition at line 1799 of file ipw2200.h.

#define IPW_ORD_TABLE_2_MASK   0x0000F200

Definition at line 1800 of file ipw2200.h.

#define IPW_ORD_TABLE_3_MASK   0x0000F300

Definition at line 1801 of file ipw2200.h.

#define IPW_ORD_TABLE_4_MASK   0x0000F400

Definition at line 1802 of file ipw2200.h.

#define IPW_ORD_TABLE_5_MASK   0x0000F500

Definition at line 1803 of file ipw2200.h.

#define IPW_ORD_TABLE_6_MASK   0x0000F600

Definition at line 1804 of file ipw2200.h.

#define IPW_ORD_TABLE_7_MASK   0x0000F700

Definition at line 1805 of file ipw2200.h.

#define IPW_ORD_TABLE_ID_MASK   0x0000FF00

Definition at line 1795 of file ipw2200.h.

#define IPW_ORD_TABLE_VALUE_MASK   0x000000FF

Definition at line 1796 of file ipw2200.h.

#define IPW_ORDINALS_TABLE_0   (IPW_SHARED_LOWER_BOUND + 0x180)

Definition at line 1949 of file ipw2200.h.

#define IPW_ORDINALS_TABLE_1   (IPW_SHARED_LOWER_BOUND + 0x184)

Definition at line 1950 of file ipw2200.h.

#define IPW_ORDINALS_TABLE_2   (IPW_SHARED_LOWER_BOUND + 0x188)

Definition at line 1951 of file ipw2200.h.

#define IPW_ORDINALS_TABLE_LOWER   (IPW_SHARED_LOWER_BOUND + 0x500)

Definition at line 1948 of file ipw2200.h.

#define IPW_POWER_AC   0x06

Definition at line 87 of file ipw2200.h.

#define IPW_POWER_BATTERY   0x07

Definition at line 88 of file ipw2200.h.

#define IPW_POWER_ENABLED   0x10

Definition at line 91 of file ipw2200.h.

#define IPW_POWER_INDEX_1   0x01

Definition at line 82 of file ipw2200.h.

#define IPW_POWER_INDEX_2   0x02

Definition at line 83 of file ipw2200.h.

#define IPW_POWER_INDEX_3   0x03

Definition at line 84 of file ipw2200.h.

#define IPW_POWER_INDEX_4   0x04

Definition at line 85 of file ipw2200.h.

#define IPW_POWER_INDEX_5   0x05

Definition at line 86 of file ipw2200.h.

#define IPW_POWER_LEVEL (   x)    ((x) & IPW_POWER_MASK)

Definition at line 92 of file ipw2200.h.

#define IPW_POWER_LIMIT   0x07

Definition at line 89 of file ipw2200.h.

#define IPW_POWER_MASK   0x0F

Definition at line 90 of file ipw2200.h.

#define IPW_POWER_MODE_CAM   0x00

Definition at line 81 of file ipw2200.h.

#define IPW_QUIET   (1<<1)

Definition at line 78 of file ipw2200.h.

#define IPW_RATE_CAPABILITIES   1

Definition at line 1776 of file ipw2200.h.

#define IPW_RATE_CONNECT   0

Definition at line 1777 of file ipw2200.h.

#define IPW_READ_INT_REGISTER   0xFF4

Definition at line 1516 of file ipw2200.h.

#define IPW_REAL_RATE_RX_PACKET_THRESHOLD   300

Definition at line 253 of file ipw2200.h.

#define IPW_REGISTER_DOMAIN1_END   0x00001000

Definition at line 1520 of file ipw2200.h.

#define IPW_REQUEST_ATIM   (IPW_SHARED_LOWER_BOUND + 0xB0C)

Definition at line 1642 of file ipw2200.h.

#define IPW_RESET_REG   0x00000020

Definition at line 1513 of file ipw2200.h.

#define IPW_RESET_REG_MASTER_DISABLED   (1<<8)

Definition at line 1542 of file ipw2200.h.

#define IPW_RESET_REG_STOP_MASTER   (1<<9)

Definition at line 1543 of file ipw2200.h.

#define IPW_RESET_REG_SW_RESET   (1<<7)

Definition at line 1541 of file ipw2200.h.

#define IPW_RFDS_TABLE_LOWER   0x00000500

Definition at line 1614 of file ipw2200.h.

#define IPW_ROAMING   (1<<2)

Definition at line 79 of file ipw2200.h.

#define IPW_RSSI_TO_DBM   112

Definition at line 1869 of file ipw2200.h.

#define IPW_RX_BD_BASE   0x00000240

Definition at line 1612 of file ipw2200.h.

#define IPW_RX_BD_SIZE   0x00000244

Definition at line 1613 of file ipw2200.h.

#define IPW_RX_FRAME_SIZE
Value:
(unsigned int)(sizeof(struct ipw_rx_header) + \
sizeof(struct ipw_rx_frame))

Definition at line 712 of file ipw2200.h.

#define IPW_RX_NOTIFICATION_SIZE   sizeof(struct ipw_rx_header) + 12

Definition at line 711 of file ipw2200.h.

#define IPW_RX_READ_INDEX   (0x000002A0)

Definition at line 1621 of file ipw2200.h.

#define IPW_RX_WRITE_INDEX   (0x00000FA0)

Definition at line 1628 of file ipw2200.h.

#define IPW_SCAN_CHANNELS   54

Definition at line 835 of file ipw2200.h.

#define IPW_SHARED_LOWER_BOUND   0x00000200

Definition at line 1523 of file ipw2200.h.

#define IPW_SHARED_SRAM_DMA_CONTROL   0x00027000

Definition at line 1590 of file ipw2200.h.

#define IPW_SHARED_SRAM_SIZE   0x00030000

Definition at line 1589 of file ipw2200.h.

#define IPW_SRAM_READ_INT_REGISTER   0x00000ff4

Definition at line 1521 of file ipw2200.h.

#define IPW_START_STANDBY   (1<<2)

Definition at line 1537 of file ipw2200.h.

#define IPW_STATION_TABLE_LOWER   (IPW_SHARED_LOWER_BOUND + 0xA0C)

Definition at line 1640 of file ipw2200.h.

#define IPW_STATION_TABLE_UPPER   (IPW_SHARED_LOWER_BOUND + 0xB0C)

Definition at line 1641 of file ipw2200.h.

#define IPW_TX_CMD_QUEUE_BD_BASE   0x00000200

Definition at line 1602 of file ipw2200.h.

#define IPW_TX_CMD_QUEUE_BD_SIZE   0x00000204

Definition at line 1603 of file ipw2200.h.

#define IPW_TX_CMD_QUEUE_READ_INDEX   0x00000280

Definition at line 1616 of file ipw2200.h.

#define IPW_TX_CMD_QUEUE_WRITE_INDEX   (0x00000F80)

Definition at line 1623 of file ipw2200.h.

#define IPW_TX_POWER_DEFAULT   IPW_TX_POWER_MAX

Definition at line 1742 of file ipw2200.h.

#define IPW_TX_POWER_MAX   20

Definition at line 1741 of file ipw2200.h.

#define IPW_TX_POWER_MIN   -12

Definition at line 1740 of file ipw2200.h.

#define IPW_TX_QUEUE_0_BD_BASE   0x00000208

Definition at line 1604 of file ipw2200.h.

#define IPW_TX_QUEUE_0_BD_SIZE   (0x0000020C)

Definition at line 1605 of file ipw2200.h.

#define IPW_TX_QUEUE_0_READ_INDEX   0x00000284

Definition at line 1617 of file ipw2200.h.

#define IPW_TX_QUEUE_0_WRITE_INDEX   (0x00000F84)

Definition at line 1624 of file ipw2200.h.

#define IPW_TX_QUEUE_1   1

Definition at line 359 of file ipw2200.h.

#define IPW_TX_QUEUE_1_BD_BASE   0x00000210

Definition at line 1606 of file ipw2200.h.

#define IPW_TX_QUEUE_1_BD_SIZE   0x00000214

Definition at line 1607 of file ipw2200.h.

#define IPW_TX_QUEUE_1_READ_INDEX   0x00000288

Definition at line 1618 of file ipw2200.h.

#define IPW_TX_QUEUE_1_WRITE_INDEX   (0x00000F88)

Definition at line 1625 of file ipw2200.h.

#define IPW_TX_QUEUE_2   2

Definition at line 360 of file ipw2200.h.

#define IPW_TX_QUEUE_2_BD_BASE   0x00000218

Definition at line 1608 of file ipw2200.h.

#define IPW_TX_QUEUE_2_BD_SIZE   (0x0000021C)

Definition at line 1609 of file ipw2200.h.

#define IPW_TX_QUEUE_2_READ_INDEX   (0x0000028C)

Definition at line 1619 of file ipw2200.h.

#define IPW_TX_QUEUE_2_WRITE_INDEX   (0x00000F8C)

Definition at line 1626 of file ipw2200.h.

#define IPW_TX_QUEUE_3   3

Definition at line 361 of file ipw2200.h.

#define IPW_TX_QUEUE_3_BD_BASE   0x00000220

Definition at line 1610 of file ipw2200.h.

#define IPW_TX_QUEUE_3_BD_SIZE   0x00000224

Definition at line 1611 of file ipw2200.h.

#define IPW_TX_QUEUE_3_READ_INDEX   0x00000290

Definition at line 1620 of file ipw2200.h.

#define IPW_TX_QUEUE_3_WRITE_INDEX   (0x00000F90)

Definition at line 1627 of file ipw2200.h.

#define IPW_TX_QUEUE_4   4

Definition at line 362 of file ipw2200.h.

#define IPW_TX_RATE_11MB   0x6E

Definition at line 1787 of file ipw2200.h.

#define IPW_TX_RATE_12MB   0x05

Definition at line 1788 of file ipw2200.h.

#define IPW_TX_RATE_18MB   0x07

Definition at line 1789 of file ipw2200.h.

#define IPW_TX_RATE_1MB   0x0A

Definition at line 1782 of file ipw2200.h.

#define IPW_TX_RATE_24MB   0x09

Definition at line 1790 of file ipw2200.h.

#define IPW_TX_RATE_2MB   0x14

Definition at line 1783 of file ipw2200.h.

#define IPW_TX_RATE_36MB   0x0B

Definition at line 1791 of file ipw2200.h.

#define IPW_TX_RATE_48MB   0x01

Definition at line 1792 of file ipw2200.h.

#define IPW_TX_RATE_54MB   0x03

Definition at line 1793 of file ipw2200.h.

#define IPW_TX_RATE_5MB   0x37

Definition at line 1784 of file ipw2200.h.

#define IPW_TX_RATE_6MB   0x0D

Definition at line 1785 of file ipw2200.h.

#define IPW_TX_RATE_9MB   0x0F

Definition at line 1786 of file ipw2200.h.

#define IPW_WAIT   (1<<0)

Definition at line 77 of file ipw2200.h.

#define IPW_WARNING (   f,
  a... 
)    printk(KERN_WARNING DRV_NAME ": " f, ## a)

Definition at line 1474 of file ipw2200.h.

#define IPW_WHO_IS_AWAKE   (IPW_SHARED_LOWER_BOUND + 0xB14)

Definition at line 1644 of file ipw2200.h.

#define LSB   0

Definition at line 1648 of file ipw2200.h.

#define MACADRR_BYTE_LEN   6

Definition at line 255 of file ipw2200.h.

#define MAX_A_CHANNELS   37

Definition at line 974 of file ipw2200.h.

#define MAX_B_CHANNELS   14

Definition at line 975 of file ipw2200.h.

#define MAX_SPEED_SCAN   100

Definition at line 1091 of file ipw2200.h.

#define MAX_STATIONS   32

Definition at line 1074 of file ipw2200.h.

#define MSB   1

Definition at line 1647 of file ipw2200.h.

#define NUM_TFD_CHUNKS   6

Definition at line 147 of file ipw2200.h.

#define QOS_PARAM_SET_ACTIVE   0

Definition at line 353 of file ipw2200.h.

#define QOS_PARAM_SET_DEF_CCK   1

Definition at line 354 of file ipw2200.h.

#define QOS_PARAM_SET_DEF_OFDM   2

Definition at line 355 of file ipw2200.h.

#define QOS_QOS_SETS   3

Definition at line 352 of file ipw2200.h.

#define QOS_TX0_ACM   0

Definition at line 297 of file ipw2200.h.

#define QOS_TX0_AIFS   (3 - QOS_AIFSN_MIN_VALUE)

Definition at line 292 of file ipw2200.h.

#define QOS_TX0_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)

Definition at line 287 of file ipw2200.h.

#define QOS_TX0_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)

Definition at line 282 of file ipw2200.h.

#define QOS_TX0_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)

Definition at line 277 of file ipw2200.h.

#define QOS_TX0_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)

Definition at line 272 of file ipw2200.h.

#define QOS_TX0_TXOP_LIMIT_CCK   0

Definition at line 302 of file ipw2200.h.

#define QOS_TX0_TXOP_LIMIT_OFDM   0

Definition at line 307 of file ipw2200.h.

#define QOS_TX1_ACM   0

Definition at line 298 of file ipw2200.h.

#define QOS_TX1_AIFS   (7 - QOS_AIFSN_MIN_VALUE)

Definition at line 293 of file ipw2200.h.

#define QOS_TX1_CW_MAX_CCK   cpu_to_le16(CW_MAX_CCK)

Definition at line 288 of file ipw2200.h.

#define QOS_TX1_CW_MAX_OFDM   cpu_to_le16(CW_MAX_OFDM)

Definition at line 283 of file ipw2200.h.

#define QOS_TX1_CW_MIN_CCK   cpu_to_le16(CW_MIN_CCK)

Definition at line 278 of file ipw2200.h.

#define QOS_TX1_CW_MIN_OFDM   cpu_to_le16(CW_MIN_OFDM)

Definition at line 273 of file ipw2200.h.

#define QOS_TX1_TXOP_LIMIT_CCK   0

Definition at line 303 of file ipw2200.h.

#define QOS_TX1_TXOP_LIMIT_OFDM   0

Definition at line 308 of file ipw2200.h.

#define QOS_TX2_ACM   0

Definition at line 299 of file ipw2200.h.

#define QOS_TX2_AIFS   (2 - QOS_AIFSN_MIN_VALUE)

Definition at line 294 of file ipw2200.h.

#define QOS_TX2_CW_MAX_CCK   cpu_to_le16(CW_MIN_CCK)

Definition at line 289 of file ipw2200.h.

#define QOS_TX2_CW_MAX_OFDM   cpu_to_le16(CW_MIN_OFDM)

Definition at line 284 of file ipw2200.h.

#define QOS_TX2_CW_MIN_CCK   cpu_to_le16((CW_MIN_CCK + 1)/2 - 1)

Definition at line 279 of file ipw2200.h.

#define QOS_TX2_CW_MIN_OFDM   cpu_to_le16((CW_MIN_OFDM + 1)/2 - 1)

Definition at line 274 of file ipw2200.h.

#define QOS_TX2_TXOP_LIMIT_CCK   cpu_to_le16(6016)

Definition at line 304 of file ipw2200.h.

#define QOS_TX2_TXOP_LIMIT_OFDM   cpu_to_le16(3008)

Definition at line 309 of file ipw2200.h.

#define QOS_TX3_ACM   0

Definition at line 300 of file ipw2200.h.

#define QOS_TX3_AIFS   (2 - QOS_AIFSN_MIN_VALUE)

Definition at line 295 of file ipw2200.h.

#define QOS_TX3_CW_MAX_CCK   cpu_to_le16((CW_MIN_CCK + 1)/2 - 1)

Definition at line 290 of file ipw2200.h.

#define QOS_TX3_CW_MAX_OFDM   cpu_to_le16((CW_MIN_OFDM + 1)/2 - 1)

Definition at line 285 of file ipw2200.h.

#define QOS_TX3_CW_MIN_CCK   cpu_to_le16((CW_MIN_CCK + 1)/4 - 1)

Definition at line 280 of file ipw2200.h.

#define QOS_TX3_CW_MIN_OFDM   cpu_to_le16((CW_MIN_OFDM + 1)/4 - 1)

Definition at line 275 of file ipw2200.h.

#define QOS_TX3_TXOP_LIMIT_CCK   cpu_to_le16(3264)

Definition at line 305 of file ipw2200.h.

#define QOS_TX3_TXOP_LIMIT_OFDM   cpu_to_le16(1504)

Definition at line 310 of file ipw2200.h.

#define RFD_SIZE   4

Definition at line 146 of file ipw2200.h.

#define RX_FRAME_TYPE   0x09

Definition at line 220 of file ipw2200.h.

#define RX_FREE_BUFFERS   32

Definition at line 542 of file ipw2200.h.

#define RX_HOST_CMD_RESPONSE_TYPE   0x04

Definition at line 222 of file ipw2200.h.

#define RX_HOST_NOTIFICATION_TYPE   0x03

Definition at line 221 of file ipw2200.h.

#define RX_LOW_WATERMARK   8

Definition at line 543 of file ipw2200.h.

#define RX_QUEUE_SIZE   32

Definition at line 150 of file ipw2200.h.

#define RX_TX_FRAME_RESPONSE_TYPE   0x05

Definition at line 223 of file ipw2200.h.

#define SCAN_ASSOCIATED_INTERVAL   (HZ)

Definition at line 972 of file ipw2200.h.

#define SCAN_COMPLETED_STATUS_ABORTED   2

Definition at line 597 of file ipw2200.h.

#define SCAN_COMPLETED_STATUS_COMPLETE   1

Definition at line 596 of file ipw2200.h.

#define SCAN_INTERVAL   (HZ / 10)

Definition at line 973 of file ipw2200.h.

#define SILENCE_OVER_THRESH   (1)

Definition at line 623 of file ipw2200.h.

#define SILENCE_UNDER_THRESH   (2)

Definition at line 624 of file ipw2200.h.

#define STATUS_ASSOCIATED   (1<<7)

Definition at line 1032 of file ipw2200.h.

#define STATUS_ASSOCIATING   (1<<8)

Definition at line 1035 of file ipw2200.h.

#define STATUS_AUTH   (1<<6)

Definition at line 1031 of file ipw2200.h.

#define STATUS_DIRECT_DWORD   (1<<30) /* sysfs entry configured for access */

Definition at line 1053 of file ipw2200.h.

#define STATUS_DIRECT_SCAN_PENDING   (1<<19)

Definition at line 1042 of file ipw2200.h.

#define STATUS_DISASSOC_PENDING   (1<<12)

Definition at line 1039 of file ipw2200.h.

#define STATUS_DISASSOCIATING   (1<<9)

Definition at line 1036 of file ipw2200.h.

#define STATUS_EXIT_PENDING   (1<<11)

Definition at line 1038 of file ipw2200.h.

#define STATUS_HCMD_ACTIVE   (1<<0)

host command in progress

Definition at line 1023 of file ipw2200.h.

#define STATUS_INDIRECT_BYTE   (1<<28) /* sysfs entry configured for access */

Definition at line 1051 of file ipw2200.h.

#define STATUS_INDIRECT_DWORD   (1<<29) /* sysfs entry configured for access */

Definition at line 1052 of file ipw2200.h.

#define STATUS_INIT   (1<<5)

Definition at line 1030 of file ipw2200.h.

#define STATUS_INT_ENABLED   (1<<1)

Definition at line 1025 of file ipw2200.h.

#define STATUS_LED_ACT_ON   (1<<25)

Definition at line 1049 of file ipw2200.h.

#define STATUS_LED_LINK_ON   (1<<24)

Definition at line 1048 of file ipw2200.h.

#define STATUS_RF_KILL_HW   (1<<2)

Definition at line 1026 of file ipw2200.h.

#define STATUS_RF_KILL_MASK   (STATUS_RF_KILL_HW | STATUS_RF_KILL_SW)

Definition at line 1028 of file ipw2200.h.

#define STATUS_RF_KILL_SW   (1<<3)

Definition at line 1027 of file ipw2200.h.

#define STATUS_ROAMING   (1<<10)

Definition at line 1037 of file ipw2200.h.

#define STATUS_SCAN_ABORTING   (1<<22)

Definition at line 1045 of file ipw2200.h.

#define STATUS_SCAN_FORCED   (1<<23)

Definition at line 1046 of file ipw2200.h.

#define STATUS_SCAN_PENDING   (1<<20)

Definition at line 1043 of file ipw2200.h.

#define STATUS_SCANNING   (1<<21)

Definition at line 1044 of file ipw2200.h.

#define STATUS_SECURITY_UPDATED   (1<<31) /* Security sync needed */

Definition at line 1055 of file ipw2200.h.

#define STATUS_STATE_MASK   (STATUS_INIT | STATUS_AUTH | STATUS_ASSOCIATED)

Definition at line 1033 of file ipw2200.h.

#define STATUS_STATE_PENDING   (1<<13)

Definition at line 1040 of file ipw2200.h.

#define SUP_RATE_11A_MAX_NUM_CHANNELS   8

Definition at line 545 of file ipw2200.h.

#define SUP_RATE_11B_MAX_NUM_CHANNELS   4

Definition at line 546 of file ipw2200.h.

#define SUP_RATE_11G_MAX_NUM_CHANNELS   12

Definition at line 547 of file ipw2200.h.

#define TFD_CMD_IMMEDIATE_PAYLOAD_LENGTH   (TFD_SIZE - sizeof(struct txrx_control_flags))

Definition at line 516 of file ipw2200.h.

#define TFD_NEED_IRQ_MASK   0x04

Definition at line 224 of file ipw2200.h.

#define TFD_SIZE   128

Definition at line 515 of file ipw2200.h.

#define TX_FRAME_TYPE   0x00

Definition at line 218 of file ipw2200.h.

#define TX_HOST_COMMAND_TYPE   0x01

Definition at line 219 of file ipw2200.h.

#define TX_QUEUE_SIZE   32

Definition at line 149 of file ipw2200.h.

#define TX_RX_TYPE_MASK   0xFF

Definition at line 217 of file ipw2200.h.

#define WORD_TO_BYTE (   _word)    ((_word) * sizeof(u16))

Definition at line 1649 of file ipw2200.h.

Typedef Documentation

typedef void destructor_func(const void *)

Definition at line 527 of file ipw2200.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
IPW_SCAN_PASSIVE_TILL_FIRST_BEACON_SCAN 
IPW_SCAN_PASSIVE_FULL_DWELL_SCAN 
IPW_SCAN_ACTIVE_DIRECT_SCAN 
IPW_SCAN_ACTIVE_BROADCAST_SCAN 
IPW_SCAN_ACTIVE_BROADCAST_AND_DIRECT_SCAN 
IPW_SCAN_TYPES 

Definition at line 844 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_FW_ERROR_OK 
IPW_FW_ERROR_FAIL 
IPW_FW_ERROR_MEMORY_UNDERFLOW 
IPW_FW_ERROR_MEMORY_OVERFLOW 
IPW_FW_ERROR_BAD_PARAM 
IPW_FW_ERROR_BAD_CHECKSUM 
IPW_FW_ERROR_NMI_INTERRUPT 
IPW_FW_ERROR_BAD_DATABASE 
IPW_FW_ERROR_ALLOC_FAIL 
IPW_FW_ERROR_DMA_UNDERRUN 
IPW_FW_ERROR_DMA_STATUS 
IPW_FW_ERROR_DINO_ERROR 
IPW_FW_ERROR_EEPROM_ERROR 
IPW_FW_ERROR_SYSASSERT 
IPW_FW_ERROR_FATAL_ERROR 

Definition at line 1744 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_ORD_STAT_TX_CURR_RATE 
IPW_ORD_STAT_FRAG_TRESHOLD 
IPW_ORD_STAT_RTS_THRESHOLD 
IPW_ORD_STAT_TX_HOST_REQUESTS 
IPW_ORD_STAT_TX_HOST_COMPLETE 
IPW_ORD_STAT_TX_DIR_DATA 
IPW_ORD_STAT_TX_DIR_DATA_B_1 
IPW_ORD_STAT_TX_DIR_DATA_B_2 
IPW_ORD_STAT_TX_DIR_DATA_B_5_5 
IPW_ORD_STAT_TX_DIR_DATA_B_11 
IPW_ORD_STAT_TX_DIR_DATA_G_1 
IPW_ORD_STAT_TX_DIR_DATA_G_2 
IPW_ORD_STAT_TX_DIR_DATA_G_5_5 
IPW_ORD_STAT_TX_DIR_DATA_G_6 
IPW_ORD_STAT_TX_DIR_DATA_G_9 
IPW_ORD_STAT_TX_DIR_DATA_G_11 
IPW_ORD_STAT_TX_DIR_DATA_G_12 
IPW_ORD_STAT_TX_DIR_DATA_G_18 
IPW_ORD_STAT_TX_DIR_DATA_G_24 
IPW_ORD_STAT_TX_DIR_DATA_G_36 
IPW_ORD_STAT_TX_DIR_DATA_G_48 
IPW_ORD_STAT_TX_DIR_DATA_G_54 
IPW_ORD_STAT_TX_NON_DIR_DATA 
IPW_ORD_STAT_TX_NON_DIR_DATA_B_1 
IPW_ORD_STAT_TX_NON_DIR_DATA_B_2 
IPW_ORD_STAT_TX_NON_DIR_DATA_B_5_5 
IPW_ORD_STAT_TX_NON_DIR_DATA_B_11 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_1 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_2 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_5_5 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_6 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_9 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_11 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_12 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_18 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_24 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_36 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_48 
IPW_ORD_STAT_TX_NON_DIR_DATA_G_54 
IPW_ORD_STAT_TX_RETRY 
IPW_ORD_STAT_TX_FAILURE 
IPW_ORD_STAT_RX_ERR_CRC 
IPW_ORD_STAT_RX_ERR_ICV 
IPW_ORD_STAT_RX_NO_BUFFER 
IPW_ORD_STAT_FULL_SCANS 
IPW_ORD_STAT_PARTIAL_SCANS 
IPW_ORD_STAT_TGH_ABORTED_SCANS 
IPW_ORD_STAT_TX_TOTAL_BYTES 
IPW_ORD_STAT_CURR_RSSI_RAW 
IPW_ORD_STAT_RX_BEACON 
IPW_ORD_STAT_MISSED_BEACONS 
IPW_ORD_TABLE_0_LAST 

Definition at line 1810 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_ORD_TABLE_1_LAST 

Definition at line 1873 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_ORD_STAT_FW_VERSION 
IPW_ORD_STAT_FW_DATE 
IPW_ORD_STAT_UCODE_VERSION 
IPW_ORD_STAT_UCODE_DATE 
IPW_ORD_STAT_ADAPTER_MAC 
IPW_ORD_STAT_RTC 
IPW_ORD_TABLE_2_LAST 

Definition at line 1887 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_ORD_STAT_TX_PACKET 
IPW_ORD_STAT_TX_PACKET_FAILURE 
IPW_ORD_STAT_TX_PACKET_SUCCESS 
IPW_ORD_STAT_TX_PACKET_ABORTED 
IPW_ORD_TABLE_3_LAST 

Definition at line 1898 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_ORD_TABLE_4_LAST 

Definition at line 1907 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_ORD_STAT_AVAILABLE_AP_COUNT 
IPW_ORD_STAT_AP_ASSNS 
IPW_ORD_STAT_ROAM 
IPW_ORD_STAT_ROAM_CAUSE_MISSED_BEACONS 
IPW_ORD_STAT_ROAM_CAUSE_UNASSOC 
IPW_ORD_STAT_ROAM_CAUSE_RSSI 
IPW_ORD_STAT_ROAM_CAUSE_LINK_QUALITY 
IPW_ORD_STAT_ROAM_CAUSE_AP_LOAD_BALANCE 
IPW_ORD_STAT_ROAM_CAUSE_AP_NO_TX 
IPW_ORD_STAT_LINK_UP 
IPW_ORD_STAT_LINK_DOWN 
IPW_ORD_ANTENNA_DIVERSITY 
IPW_ORD_CURR_FREQ 
IPW_ORD_TABLE_5_LAST 

Definition at line 1912 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_ORD_COUNTRY_CODE 
IPW_ORD_CURR_BSSID 
IPW_ORD_CURR_SSID 
IPW_ORD_TABLE_6_LAST 

Definition at line 1930 of file ipw2200.h.

anonymous enum
Enumerator:
IPW_ORD_STAT_PERCENT_MISSED_BEACONS 
IPW_ORD_STAT_PERCENT_TX_RETRIES 
IPW_ORD_STAT_PERCENT_LINK_QUALITY 
IPW_ORD_STAT_CURR_RSSI_DBM 
IPW_ORD_TABLE_7_LAST 

Definition at line 1938 of file ipw2200.h.

Enumerator:
CMAS_INIT 
CMAS_TX_AUTH_SEQ_1 
CMAS_RX_AUTH_SEQ_2 
CMAS_AUTH_SEQ_1_PASS 
CMAS_AUTH_SEQ_1_FAIL 
CMAS_TX_AUTH_SEQ_3 
CMAS_RX_AUTH_SEQ_4 
CMAS_AUTH_SEQ_2_PASS 
CMAS_AUTH_SEQ_2_FAIL 
CMAS_AUTHENTICATED 
CMAS_TX_ASSOC 
CMAS_RX_ASSOC_RESP 
CMAS_ASSOCIATED 
CMAS_LAST 

Definition at line 60 of file ipw2200.h.

Variable Documentation