diff options
author | David Spinadel <david.spinadel@intel.com> | 2012-03-26 01:30:54 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-18 10:31:46 -0400 |
commit | 5c457d039d917670f202fa5946d096a028c31903 (patch) | |
tree | 87043a984881dee840e431350ec9a6aa3ded4218 /drivers/net/wireless | |
parent | ff8ead40e24947ce5d637a27165ad9987154a077 (diff) |
iwlwifi: Change disable calibration bit-set to enum
Changed disable calibration bit field defines to enum.
Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 22386a71a790..f3eccf6709d1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -742,12 +742,15 @@ struct iwl_wipan_noa_data { | |||
742 | }; | 742 | }; |
743 | 743 | ||
744 | /* Calibration disabling bit mask */ | 744 | /* Calibration disabling bit mask */ |
745 | #define IWL_SENSITIVITY_CALIB_DISABLED BIT(1) | 745 | enum { |
746 | #define IWL_CHAIN_NOISE_CALIB_DISABLED BIT(2) | 746 | IWL_CALIB_ENABLE_ALL = 0, |
747 | #define IWL_TX_POWER_CALIB_DISABLED BIT(3) | 747 | |
748 | IWL_SENSITIVITY_CALIB_DISABLED = BIT(0), | ||
749 | IWL_CHAIN_NOISE_CALIB_DISABLED = BIT(1), | ||
750 | IWL_TX_POWER_CALIB_DISABLED = BIT(2), | ||
748 | 751 | ||
749 | #define IWL_CALIB_ENABLE_ALL 0 | 752 | IWL_CALIB_DISABLE_ALL = 0xFFFFFFFF, |
750 | #define IWL_CALIB_DISABLE_ALL 0xFFFFFFFF | 753 | }; |
751 | 754 | ||
752 | #define IWL_OP_MODE_GET_DVM(_iwl_op_mode) \ | 755 | #define IWL_OP_MODE_GET_DVM(_iwl_op_mode) \ |
753 | ((struct iwl_priv *) ((_iwl_op_mode)->op_mode_specific)) | 756 | ((struct iwl_priv *) ((_iwl_op_mode)->op_mode_specific)) |