Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
5000.c File Reference
#include <linux/module.h>
#include <linux/stringify.h>
#include "iwl-config.h"
#include "iwl-agn-hw.h"
#include "iwl-csr.h"
#include "cfg.h"

Go to the source code of this file.

Macros

#define IWL5000_UCODE_API_MAX   5
 
#define IWL5150_UCODE_API_MAX   2
 
#define IWL5000_UCODE_API_OK   5
 
#define IWL5150_UCODE_API_OK   2
 
#define IWL5000_UCODE_API_MIN   1
 
#define IWL5150_UCODE_API_MIN   1
 
#define EEPROM_5000_TX_POWER_VERSION   (4)
 
#define EEPROM_5000_EEPROM_VERSION   (0x11A)
 
#define EEPROM_5050_TX_POWER_VERSION   (4)
 
#define EEPROM_5050_EEPROM_VERSION   (0x21E)
 
#define IWL5000_FW_PRE   "iwlwifi-5000-"
 
#define IWL5000_MODULE_FIRMWARE(api)   IWL5000_FW_PRE __stringify(api) ".ucode"
 
#define IWL5150_FW_PRE   "iwlwifi-5150-"
 
#define IWL5150_MODULE_FIRMWARE(api)   IWL5150_FW_PRE __stringify(api) ".ucode"
 
#define IWL_DEVICE_5000
 
#define IWL_DEVICE_5150
 

Functions

 MODULE_FIRMWARE (IWL5000_MODULE_FIRMWARE(IWL5000_UCODE_API_OK))
 
 MODULE_FIRMWARE (IWL5150_MODULE_FIRMWARE(IWL5150_UCODE_API_OK))
 

Variables

struct iwl_cfg iwl5300_agn_cfg
 
struct iwl_cfg iwl5100_bgn_cfg
 
struct iwl_cfg iwl5100_abg_cfg
 
struct iwl_cfg iwl5100_agn_cfg
 
struct iwl_cfg iwl5350_agn_cfg
 
struct iwl_cfg iwl5150_agn_cfg
 
struct iwl_cfg iwl5150_abg_cfg
 

Macro Definition Documentation

#define EEPROM_5000_EEPROM_VERSION   (0x11A)

Definition at line 48 of file 5000.c.

#define EEPROM_5000_TX_POWER_VERSION   (4)

Definition at line 47 of file 5000.c.

#define EEPROM_5050_EEPROM_VERSION   (0x21E)

Definition at line 50 of file 5000.c.

#define EEPROM_5050_TX_POWER_VERSION   (4)

Definition at line 49 of file 5000.c.

#define IWL5000_FW_PRE   "iwlwifi-5000-"

Definition at line 52 of file 5000.c.

#define IWL5000_MODULE_FIRMWARE (   api)    IWL5000_FW_PRE __stringify(api) ".ucode"

Definition at line 53 of file 5000.c.

#define IWL5000_UCODE_API_MAX   5

Definition at line 35 of file 5000.c.

#define IWL5000_UCODE_API_MIN   1

Definition at line 43 of file 5000.c.

#define IWL5000_UCODE_API_OK   5

Definition at line 39 of file 5000.c.

#define IWL5150_FW_PRE   "iwlwifi-5150-"

Definition at line 55 of file 5000.c.

#define IWL5150_MODULE_FIRMWARE (   api)    IWL5150_FW_PRE __stringify(api) ".ucode"

Definition at line 56 of file 5000.c.

#define IWL5150_UCODE_API_MAX   2

Definition at line 36 of file 5000.c.

#define IWL5150_UCODE_API_MIN   1

Definition at line 44 of file 5000.c.

#define IWL5150_UCODE_API_OK   2

Definition at line 40 of file 5000.c.

#define IWL_DEVICE_5000
Value:
.fw_name_pre = IWL5000_FW_PRE, \
.ucode_api_max = IWL5000_UCODE_API_MAX, \
.ucode_api_ok = IWL5000_UCODE_API_OK, \
.ucode_api_min = IWL5000_UCODE_API_MIN, \
.device_family = IWL_DEVICE_FAMILY_5000, \
.max_inst_size = IWLAGN_RTC_INST_SIZE, \
.max_data_size = IWLAGN_RTC_DATA_SIZE, \
.eeprom_ver = EEPROM_5000_EEPROM_VERSION, \
.eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, \
.base_params = &iwl5000_base_params, \
.eeprom_params = &iwl5000_eeprom_params, \
.led_mode = IWL_LED_BLINK

Definition at line 87 of file 5000.c.

#define IWL_DEVICE_5150
Value:
.fw_name_pre = IWL5150_FW_PRE, \
.ucode_api_max = IWL5150_UCODE_API_MAX, \
.ucode_api_ok = IWL5150_UCODE_API_OK, \
.ucode_api_min = IWL5150_UCODE_API_MIN, \
.device_family = IWL_DEVICE_FAMILY_5150, \
.max_inst_size = IWLAGN_RTC_INST_SIZE, \
.max_data_size = IWLAGN_RTC_DATA_SIZE, \
.eeprom_ver = EEPROM_5050_EEPROM_VERSION, \
.eeprom_calib_ver = EEPROM_5050_TX_POWER_VERSION, \
.base_params = &iwl5000_base_params, \
.eeprom_params = &iwl5000_eeprom_params, \
.no_xtal_calib = true, \
.led_mode = IWL_LED_BLINK, \
.internal_wimax_coex = true

Definition at line 151 of file 5000.c.

Function Documentation

Variable Documentation

struct iwl_cfg iwl5100_abg_cfg
Initial value:
= {
.name = "Intel(R) WiFi Link 5100 ABG",
.valid_tx_ant = ANT_B,
.valid_rx_ant = ANT_AB,
}

Definition at line 118 of file 5000.c.

struct iwl_cfg iwl5100_agn_cfg
Initial value:
= {
.name = "Intel(R) WiFi Link 5100 AGN",
.valid_tx_ant = ANT_B,
.valid_rx_ant = ANT_AB,
.ht_params = &iwl5000_ht_params,
}

Definition at line 125 of file 5000.c.

struct iwl_cfg iwl5100_bgn_cfg
Initial value:
= {
.name = "Intel(R) WiFi Link 5100 BGN",
.valid_tx_ant = ANT_B,
.valid_rx_ant = ANT_AB,
.ht_params = &iwl5000_ht_params,
}

Definition at line 110 of file 5000.c.

struct iwl_cfg iwl5150_abg_cfg
Initial value:
= {
.name = "Intel(R) WiMAX/WiFi Link 5150 ABG",
}

Definition at line 174 of file 5000.c.

struct iwl_cfg iwl5150_agn_cfg
Initial value:
= {
.name = "Intel(R) WiMAX/WiFi Link 5150 AGN",
.ht_params = &iwl5000_ht_params,
}

Definition at line 167 of file 5000.c.

struct iwl_cfg iwl5300_agn_cfg
Initial value:
= {
.name = "Intel(R) Ultimate N WiFi Link 5300 AGN",
.valid_tx_ant = ANT_ABC,
.valid_rx_ant = ANT_ABC,
.ht_params = &iwl5000_ht_params,
}

Definition at line 101 of file 5000.c.

struct iwl_cfg iwl5350_agn_cfg
Initial value:
= {
.name = "Intel(R) WiMAX/WiFi Link 5350 AGN",
.fw_name_pre = IWL5000_FW_PRE,
.ucode_api_max = IWL5000_UCODE_API_MAX,
.ucode_api_ok = IWL5000_UCODE_API_OK,
.ucode_api_min = IWL5000_UCODE_API_MIN,
.device_family = IWL_DEVICE_FAMILY_5000,
.max_inst_size = IWLAGN_RTC_INST_SIZE,
.max_data_size = IWLAGN_RTC_DATA_SIZE,
.eeprom_calib_ver = EEPROM_5050_TX_POWER_VERSION,
.base_params = &iwl5000_base_params,
.eeprom_params = &iwl5000_eeprom_params,
.ht_params = &iwl5000_ht_params,
.led_mode = IWL_LED_BLINK,
.internal_wimax_coex = true,
}

Definition at line 133 of file 5000.c.