Commit 5c457d03 authored by David Spinadel's avatar David Spinadel Committed by Wey-Yi Guy

iwlwifi: Change disable calibration bit-set to enum

Changed disable calibration bit field defines to enum.
Signed-off-by: default avatarDavid Spinadel <david.spinadel@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent ff8ead40
...@@ -742,12 +742,15 @@ struct iwl_wipan_noa_data { ...@@ -742,12 +742,15 @@ struct iwl_wipan_noa_data {
}; };
/* Calibration disabling bit mask */ /* Calibration disabling bit mask */
#define IWL_SENSITIVITY_CALIB_DISABLED BIT(1) enum {
#define IWL_CHAIN_NOISE_CALIB_DISABLED BIT(2) IWL_CALIB_ENABLE_ALL = 0,
#define IWL_TX_POWER_CALIB_DISABLED BIT(3)
IWL_SENSITIVITY_CALIB_DISABLED = BIT(0),
IWL_CHAIN_NOISE_CALIB_DISABLED = BIT(1),
IWL_TX_POWER_CALIB_DISABLED = BIT(2),
#define IWL_CALIB_ENABLE_ALL 0 IWL_CALIB_DISABLE_ALL = 0xFFFFFFFF,
#define IWL_CALIB_DISABLE_ALL 0xFFFFFFFF };
#define IWL_OP_MODE_GET_DVM(_iwl_op_mode) \ #define IWL_OP_MODE_GET_DVM(_iwl_op_mode) \
((struct iwl_priv *) ((_iwl_op_mode)->op_mode_specific)) ((struct iwl_priv *) ((_iwl_op_mode)->op_mode_specific))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment