aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-07-08 17:29:47 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-07-21 10:28:51 -0400
commitad3f71244c93412087ae93aabce39c4a9fb12891 (patch)
tree51d3abb449108151f4c8469c7ace1c43215c8b91 /drivers
parenta21321c154f359a2254b76b1428017f51b96e379 (diff)
iwlagn: define valid init calibration mask
Use the valid calibration mask for init calibration Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 1c0dea2eeb24..d7f20c84eea0 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -3167,9 +3167,6 @@ enum {
3167 3167
3168#define IWL_MAX_PHY_CALIBRATE_TBL_SIZE (253) 3168#define IWL_MAX_PHY_CALIBRATE_TBL_SIZE (253)
3169 3169
3170#define IWL_CALIB_INIT_CFG_ALL cpu_to_le32(0xffffffff)
3171#define IWL_CALIB_CFG_FLAG_SEND_COMPLETE_NTFY_MSK cpu_to_le32(BIT(0))
3172
3173/* This enum defines the bitmap of various calibrations to enable in both 3170/* This enum defines the bitmap of various calibrations to enable in both
3174 * init ucode and runtime ucode through CALIBRATION_CFG_CMD. 3171 * init ucode and runtime ucode through CALIBRATION_CFG_CMD.
3175 */ 3172 */
@@ -3187,6 +3184,19 @@ enum iwl_ucode_calib_cfg {
3187 IWL_CALIB_CFG_TX_PWR_IDX = BIT(10), 3184 IWL_CALIB_CFG_TX_PWR_IDX = BIT(10),
3188}; 3185};
3189 3186
3187#define IWL_CALIB_INIT_CFG_ALL cpu_to_le32(IWL_CALIB_CFG_RX_BB_IDX | \
3188 IWL_CALIB_CFG_DC_IDX | \
3189 IWL_CALIB_CFG_LO_IDX | \
3190 IWL_CALIB_CFG_TX_IQ_IDX | \
3191 IWL_CALIB_CFG_RX_IQ_IDX | \
3192 IWL_CALIB_CFG_NOISE_IDX | \
3193 IWL_CALIB_CFG_CRYSTAL_IDX | \
3194 IWL_CALIB_CFG_TEMPERATURE_IDX | \
3195 IWL_CALIB_CFG_PAPD_IDX | \
3196 IWL_CALIB_CFG_SENSITIVITY_IDX | \
3197 IWL_CALIB_CFG_TX_PWR_IDX)
3198
3199#define IWL_CALIB_CFG_FLAG_SEND_COMPLETE_NTFY_MSK cpu_to_le32(BIT(0))
3190 3200
3191struct iwl_calib_cfg_elmnt_s { 3201struct iwl_calib_cfg_elmnt_s {
3192 __le32 is_enable; 3202 __le32 is_enable;