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

Go to the source code of this file.

Macros

#define IWL6000_UCODE_API_MAX   6
 
#define IWL6050_UCODE_API_MAX   5
 
#define IWL6000G2_UCODE_API_MAX   6
 
#define IWL6035_UCODE_API_MAX   6
 
#define IWL6000_UCODE_API_OK   4
 
#define IWL6000G2_UCODE_API_OK   5
 
#define IWL6050_UCODE_API_OK   5
 
#define IWL6000G2B_UCODE_API_OK   6
 
#define IWL6035_UCODE_API_OK   6
 
#define IWL6000_UCODE_API_MIN   4
 
#define IWL6050_UCODE_API_MIN   4
 
#define IWL6000G2_UCODE_API_MIN   5
 
#define IWL6035_UCODE_API_MIN   6
 
#define EEPROM_6000_TX_POWER_VERSION   (4)
 
#define EEPROM_6000_EEPROM_VERSION   (0x423)
 
#define EEPROM_6050_TX_POWER_VERSION   (4)
 
#define EEPROM_6050_EEPROM_VERSION   (0x532)
 
#define EEPROM_6150_TX_POWER_VERSION   (6)
 
#define EEPROM_6150_EEPROM_VERSION   (0x553)
 
#define EEPROM_6005_TX_POWER_VERSION   (6)
 
#define EEPROM_6005_EEPROM_VERSION   (0x709)
 
#define EEPROM_6030_TX_POWER_VERSION   (6)
 
#define EEPROM_6030_EEPROM_VERSION   (0x709)
 
#define EEPROM_6035_TX_POWER_VERSION   (6)
 
#define EEPROM_6035_EEPROM_VERSION   (0x753)
 
#define IWL6000_FW_PRE   "iwlwifi-6000-"
 
#define IWL6000_MODULE_FIRMWARE(api)   IWL6000_FW_PRE __stringify(api) ".ucode"
 
#define IWL6050_FW_PRE   "iwlwifi-6050-"
 
#define IWL6050_MODULE_FIRMWARE(api)   IWL6050_FW_PRE __stringify(api) ".ucode"
 
#define IWL6005_FW_PRE   "iwlwifi-6000g2a-"
 
#define IWL6005_MODULE_FIRMWARE(api)   IWL6005_FW_PRE __stringify(api) ".ucode"
 
#define IWL6030_FW_PRE   "iwlwifi-6000g2b-"
 
#define IWL6030_MODULE_FIRMWARE(api)   IWL6030_FW_PRE __stringify(api) ".ucode"
 
#define IWL_DEVICE_6005
 
#define IWL_DEVICE_6030
 
#define IWL_DEVICE_6035
 
#define IWL_DEVICE_6000i
 
#define IWL_DEVICE_6050
 
#define IWL_DEVICE_6150
 

Functions

 MODULE_FIRMWARE (IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_OK))
 
 MODULE_FIRMWARE (IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_OK))
 
 MODULE_FIRMWARE (IWL6005_MODULE_FIRMWARE(IWL6000G2_UCODE_API_OK))
 
 MODULE_FIRMWARE (IWL6030_MODULE_FIRMWARE(IWL6000G2B_UCODE_API_OK))
 

Variables

struct iwl_cfg iwl6005_2agn_cfg
 
struct iwl_cfg iwl6005_2abg_cfg
 
struct iwl_cfg iwl6005_2bg_cfg
 
struct iwl_cfg iwl6005_2agn_sff_cfg
 
struct iwl_cfg iwl6005_2agn_d_cfg
 
struct iwl_cfg iwl6005_2agn_mow1_cfg
 
struct iwl_cfg iwl6005_2agn_mow2_cfg
 
struct iwl_cfg iwl6030_2agn_cfg
 
struct iwl_cfg iwl6030_2abg_cfg
 
struct iwl_cfg iwl6030_2bgn_cfg
 
struct iwl_cfg iwl6030_2bg_cfg
 
struct iwl_cfg iwl6035_2agn_cfg
 
struct iwl_cfg iwl1030_bgn_cfg
 
struct iwl_cfg iwl1030_bg_cfg
 
struct iwl_cfg iwl130_bgn_cfg
 
struct iwl_cfg iwl130_bg_cfg
 
struct iwl_cfg iwl6000i_2agn_cfg
 
struct iwl_cfg iwl6000i_2abg_cfg
 
struct iwl_cfg iwl6000i_2bg_cfg
 
struct iwl_cfg iwl6050_2agn_cfg
 
struct iwl_cfg iwl6050_2abg_cfg
 
struct iwl_cfg iwl6150_bgn_cfg
 
struct iwl_cfg iwl6150_bg_cfg
 
struct iwl_cfg iwl6000_3agn_cfg
 

Macro Definition Documentation

#define EEPROM_6000_EEPROM_VERSION   (0x423)

Definition at line 55 of file 6000.c.

#define EEPROM_6000_TX_POWER_VERSION   (4)

Definition at line 54 of file 6000.c.

#define EEPROM_6005_EEPROM_VERSION   (0x709)

Definition at line 61 of file 6000.c.

#define EEPROM_6005_TX_POWER_VERSION   (6)

Definition at line 60 of file 6000.c.

#define EEPROM_6030_EEPROM_VERSION   (0x709)

Definition at line 63 of file 6000.c.

#define EEPROM_6030_TX_POWER_VERSION   (6)

Definition at line 62 of file 6000.c.

#define EEPROM_6035_EEPROM_VERSION   (0x753)

Definition at line 65 of file 6000.c.

#define EEPROM_6035_TX_POWER_VERSION   (6)

Definition at line 64 of file 6000.c.

#define EEPROM_6050_EEPROM_VERSION   (0x532)

Definition at line 57 of file 6000.c.

#define EEPROM_6050_TX_POWER_VERSION   (4)

Definition at line 56 of file 6000.c.

#define EEPROM_6150_EEPROM_VERSION   (0x553)

Definition at line 59 of file 6000.c.

#define EEPROM_6150_TX_POWER_VERSION   (6)

Definition at line 58 of file 6000.c.

#define IWL6000_FW_PRE   "iwlwifi-6000-"

Definition at line 67 of file 6000.c.

#define IWL6000_MODULE_FIRMWARE (   api)    IWL6000_FW_PRE __stringify(api) ".ucode"

Definition at line 68 of file 6000.c.

#define IWL6000_UCODE_API_MAX   6

Definition at line 35 of file 6000.c.

#define IWL6000_UCODE_API_MIN   4

Definition at line 48 of file 6000.c.

#define IWL6000_UCODE_API_OK   4

Definition at line 41 of file 6000.c.

#define IWL6000G2_UCODE_API_MAX   6

Definition at line 37 of file 6000.c.

#define IWL6000G2_UCODE_API_MIN   5

Definition at line 50 of file 6000.c.

#define IWL6000G2_UCODE_API_OK   5

Definition at line 42 of file 6000.c.

#define IWL6000G2B_UCODE_API_OK   6

Definition at line 44 of file 6000.c.

#define IWL6005_FW_PRE   "iwlwifi-6000g2a-"

Definition at line 73 of file 6000.c.

#define IWL6005_MODULE_FIRMWARE (   api)    IWL6005_FW_PRE __stringify(api) ".ucode"

Definition at line 74 of file 6000.c.

#define IWL6030_FW_PRE   "iwlwifi-6000g2b-"

Definition at line 76 of file 6000.c.

#define IWL6030_MODULE_FIRMWARE (   api)    IWL6030_FW_PRE __stringify(api) ".ucode"

Definition at line 77 of file 6000.c.

#define IWL6035_UCODE_API_MAX   6

Definition at line 38 of file 6000.c.

#define IWL6035_UCODE_API_MIN   6

Definition at line 51 of file 6000.c.

#define IWL6035_UCODE_API_OK   6

Definition at line 45 of file 6000.c.

#define IWL6050_FW_PRE   "iwlwifi-6050-"

Definition at line 70 of file 6000.c.

#define IWL6050_MODULE_FIRMWARE (   api)    IWL6050_FW_PRE __stringify(api) ".ucode"

Definition at line 71 of file 6000.c.

#define IWL6050_UCODE_API_MAX   5

Definition at line 36 of file 6000.c.

#define IWL6050_UCODE_API_MIN   4

Definition at line 49 of file 6000.c.

#define IWL6050_UCODE_API_OK   5

Definition at line 43 of file 6000.c.

#define IWL_DEVICE_6000i
Value:
.fw_name_pre = IWL6000_FW_PRE, \
.ucode_api_max = IWL6000_UCODE_API_MAX, \
.ucode_api_ok = IWL6000_UCODE_API_OK, \
.ucode_api_min = IWL6000_UCODE_API_MIN, \
.device_family = IWL_DEVICE_FAMILY_6000i, \
.max_inst_size = IWL60_RTC_INST_SIZE, \
.max_data_size = IWL60_RTC_DATA_SIZE, \
.valid_tx_ant = ANT_BC, /* .cfg overwrite */ \
.valid_rx_ant = ANT_BC, /* .cfg overwrite */ \
.eeprom_ver = EEPROM_6000_EEPROM_VERSION, \
.eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, \
.base_params = &iwl6000_base_params, \
.eeprom_params = &iwl6000_eeprom_params, \
.led_mode = IWL_LED_BLINK

Definition at line 299 of file 6000.c.

#define IWL_DEVICE_6005
Value:
.fw_name_pre = IWL6005_FW_PRE, \
.ucode_api_max = IWL6000G2_UCODE_API_MAX, \
.ucode_api_ok = IWL6000G2_UCODE_API_OK, \
.ucode_api_min = IWL6000G2_UCODE_API_MIN, \
.device_family = IWL_DEVICE_FAMILY_6005, \
.max_inst_size = IWL60_RTC_INST_SIZE, \
.max_data_size = IWL60_RTC_DATA_SIZE, \
.eeprom_ver = EEPROM_6005_EEPROM_VERSION, \
.eeprom_calib_ver = EEPROM_6005_TX_POWER_VERSION, \
.base_params = &iwl6000_g2_base_params, \
.eeprom_params = &iwl6000_eeprom_params, \
.need_temp_offset_calib = true, \
.led_mode = IWL_LED_RF_STATE

Definition at line 155 of file 6000.c.

#define IWL_DEVICE_6030
Value:
.fw_name_pre = IWL6030_FW_PRE, \
.ucode_api_max = IWL6000G2_UCODE_API_MAX, \
.ucode_api_ok = IWL6000G2B_UCODE_API_OK, \
.ucode_api_min = IWL6000G2_UCODE_API_MIN, \
.device_family = IWL_DEVICE_FAMILY_6030, \
.max_inst_size = IWL60_RTC_INST_SIZE, \
.max_data_size = IWL60_RTC_DATA_SIZE, \
.eeprom_ver = EEPROM_6030_EEPROM_VERSION, \
.eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \
.base_params = &iwl6000_g2_base_params, \
.bt_params = &iwl6000_bt_params, \
.eeprom_params = &iwl6000_eeprom_params, \
.need_temp_offset_calib = true, \
.led_mode = IWL_LED_RF_STATE, \
.adv_pm = true \

Definition at line 210 of file 6000.c.

#define IWL_DEVICE_6035
Value:
.fw_name_pre = IWL6030_FW_PRE, \
.ucode_api_max = IWL6035_UCODE_API_MAX, \
.ucode_api_ok = IWL6035_UCODE_API_OK, \
.ucode_api_min = IWL6035_UCODE_API_MIN, \
.device_family = IWL_DEVICE_FAMILY_6030, \
.max_inst_size = IWL60_RTC_INST_SIZE, \
.max_data_size = IWL60_RTC_DATA_SIZE, \
.eeprom_ver = EEPROM_6030_EEPROM_VERSION, \
.eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \
.base_params = &iwl6000_g2_base_params, \
.bt_params = &iwl6000_bt_params, \
.eeprom_params = &iwl6000_eeprom_params, \
.need_temp_offset_calib = true, \
.led_mode = IWL_LED_RF_STATE, \
.adv_pm = true

Definition at line 249 of file 6000.c.

#define IWL_DEVICE_6050
Value:
.fw_name_pre = IWL6050_FW_PRE, \
.ucode_api_max = IWL6050_UCODE_API_MAX, \
.ucode_api_min = IWL6050_UCODE_API_MIN, \
.device_family = IWL_DEVICE_FAMILY_6050, \
.max_inst_size = IWL60_RTC_INST_SIZE, \
.max_data_size = IWL60_RTC_DATA_SIZE, \
.valid_tx_ant = ANT_AB, /* .cfg overwrite */ \
.valid_rx_ant = ANT_AB, /* .cfg overwrite */ \
.eeprom_ver = EEPROM_6050_EEPROM_VERSION, \
.eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION, \
.base_params = &iwl6050_base_params, \
.eeprom_params = &iwl6000_eeprom_params, \
.led_mode = IWL_LED_BLINK, \
.internal_wimax_coex = true

Definition at line 331 of file 6000.c.

#define IWL_DEVICE_6150
Value:
.fw_name_pre = IWL6050_FW_PRE, \
.ucode_api_max = IWL6050_UCODE_API_MAX, \
.ucode_api_min = IWL6050_UCODE_API_MIN, \
.device_family = IWL_DEVICE_FAMILY_6150, \
.max_inst_size = IWL60_RTC_INST_SIZE, \
.max_data_size = IWL60_RTC_DATA_SIZE, \
.eeprom_ver = EEPROM_6150_EEPROM_VERSION, \
.eeprom_calib_ver = EEPROM_6150_TX_POWER_VERSION, \
.base_params = &iwl6050_base_params, \
.eeprom_params = &iwl6000_eeprom_params, \
.led_mode = IWL_LED_BLINK, \
.internal_wimax_coex = true

Definition at line 358 of file 6000.c.

Function Documentation

Variable Documentation

struct iwl_cfg iwl1030_bg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Wireless-N 1030 BG",
}

Definition at line 278 of file 6000.c.

struct iwl_cfg iwl1030_bgn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Wireless-N 1030 BGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 272 of file 6000.c.

struct iwl_cfg iwl130_bg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Wireless-N 130 BG",
.rx_with_siso_diversity = true,
}

Definition at line 290 of file 6000.c.

struct iwl_cfg iwl130_bgn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Wireless-N 130 BGN",
.ht_params = &iwl6000_ht_params,
.rx_with_siso_diversity = true,
}

Definition at line 283 of file 6000.c.

struct iwl_cfg iwl6000_3agn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Ultimate-N 6300 AGN",
.fw_name_pre = IWL6000_FW_PRE,
.ucode_api_max = IWL6000_UCODE_API_MAX,
.ucode_api_ok = IWL6000_UCODE_API_OK,
.ucode_api_min = IWL6000_UCODE_API_MIN,
.device_family = IWL_DEVICE_FAMILY_6000,
.max_inst_size = IWL60_RTC_INST_SIZE,
.max_data_size = IWL60_RTC_DATA_SIZE,
.eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION,
.base_params = &iwl6000_base_params,
.eeprom_params = &iwl6000_eeprom_params,
.ht_params = &iwl6000_ht_params,
.led_mode = IWL_LED_BLINK,
}

Definition at line 383 of file 6000.c.

struct iwl_cfg iwl6000i_2abg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6200 ABG",
}

Definition at line 321 of file 6000.c.

struct iwl_cfg iwl6000i_2agn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6200 AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 315 of file 6000.c.

struct iwl_cfg iwl6000i_2bg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6200 BG",
}

Definition at line 326 of file 6000.c.

struct iwl_cfg iwl6005_2abg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6205 ABG",
}

Definition at line 176 of file 6000.c.

struct iwl_cfg iwl6005_2agn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6205 AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 170 of file 6000.c.

struct iwl_cfg iwl6005_2agn_d_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6205D AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 192 of file 6000.c.

struct iwl_cfg iwl6005_2agn_mow1_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6206 AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 198 of file 6000.c.

struct iwl_cfg iwl6005_2agn_mow2_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6207 AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 204 of file 6000.c.

struct iwl_cfg iwl6005_2agn_sff_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6205S AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 186 of file 6000.c.

struct iwl_cfg iwl6005_2bg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6205 BG",
}

Definition at line 181 of file 6000.c.

struct iwl_cfg iwl6030_2abg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6230 ABG",
}

Definition at line 233 of file 6000.c.

struct iwl_cfg iwl6030_2agn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6230 AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 227 of file 6000.c.

struct iwl_cfg iwl6030_2bg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6230 BG",
}

Definition at line 244 of file 6000.c.

struct iwl_cfg iwl6030_2bgn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6230 BGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 238 of file 6000.c.

struct iwl_cfg iwl6035_2agn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N 6235 AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 266 of file 6000.c.

struct iwl_cfg iwl6050_2abg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG",
}

Definition at line 353 of file 6000.c.

struct iwl_cfg iwl6050_2agn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 347 of file 6000.c.

struct iwl_cfg iwl6150_bg_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BG",
}

Definition at line 378 of file 6000.c.

struct iwl_cfg iwl6150_bgn_cfg
Initial value:
= {
.name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BGN",
.ht_params = &iwl6000_ht_params,
}

Definition at line 372 of file 6000.c.