diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-04-03 22:38:44 +0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-24 01:29:50 +0400 |
commit | 61e98de820e858eb9be8d29ea57e93f1e4dec06c (patch) | |
tree | c511065fb8bbfb562c3e5b41e6b649cbbaea8c76 /drivers/net/wireless/iwlwifi/iwl-config.h | |
parent | 586aed966049c3248db334d6ab9b317e25be7b14 (diff) | |
download | linux-61e98de820e858eb9be8d29ea57e93f1e4dec06c.tar.xz |
iwlwifi: move antenna definitions to config
Since they're used in the config, they
should be declared in iwl-config.h.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-config.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-config.h b/drivers/net/wireless/iwlwifi/iwl-config.h index 70a8f9fd1e52..67b28aa7f9be 100644 --- a/drivers/net/wireless/iwlwifi/iwl-config.h +++ b/drivers/net/wireless/iwlwifi/iwl-config.h @@ -118,6 +118,16 @@ enum iwl_led_mode { #define IWL_LONG_WD_TIMEOUT 10000 #define IWL_MAX_WD_TIMEOUT 120000 +/* Antenna presence definitions */ +#define ANT_NONE 0x0 +#define ANT_A BIT(0) +#define ANT_B BIT(1) +#define ANT_C BIT(2) +#define ANT_AB (ANT_A | ANT_B) +#define ANT_AC (ANT_A | ANT_C) +#define ANT_BC (ANT_B | ANT_C) +#define ANT_ABC (ANT_A | ANT_B | ANT_C) + /* * @max_ll_items: max number of OTP blocks |