diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-07-31 17:28:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:22 -0400 |
commit | 65b7998a9be418482493e9448bb83ff2914ed050 (patch) | |
tree | 47af0592b112089e54feb7925420013bf1f7f981 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 8ce73f3abd064081706cc337c771378fc4431ef3 (diff) |
iwlwifi: Distinguish power amplifier for 6000 series
For 6x00 2x2 NIC, two types of Power Amplifier are available.
In order for uCode to apply correct tx power,
driver needs to program the CSR_GP_DRIVER_REG register and
let uCode know the type of PA.
If driver do not program CSR_GP_DRIVER_REG register (default to 0),
then it is uCode's decision for tx power
2x2 Hybrid card: use both internal and external PA
2x2 IPA(Internal Power Amplifier) card: internal PA only
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 0ee3ad245697..335a8f34bc51 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -57,7 +57,8 @@ extern struct iwl_cfg iwl5100_bg_cfg; | |||
57 | extern struct iwl_cfg iwl5100_abg_cfg; | 57 | extern struct iwl_cfg iwl5100_abg_cfg; |
58 | extern struct iwl_cfg iwl5150_agn_cfg; | 58 | extern struct iwl_cfg iwl5150_agn_cfg; |
59 | extern struct iwl_cfg iwl6000_2ag_cfg; | 59 | extern struct iwl_cfg iwl6000_2ag_cfg; |
60 | extern struct iwl_cfg iwl6000_2agn_cfg; | 60 | extern struct iwl_cfg iwl6000h_2agn_cfg; |
61 | extern struct iwl_cfg iwl6000i_2agn_cfg; | ||
61 | extern struct iwl_cfg iwl6000_3agn_cfg; | 62 | extern struct iwl_cfg iwl6000_3agn_cfg; |
62 | extern struct iwl_cfg iwl6050_2agn_cfg; | 63 | extern struct iwl_cfg iwl6050_2agn_cfg; |
63 | extern struct iwl_cfg iwl6050_3agn_cfg; | 64 | extern struct iwl_cfg iwl6050_3agn_cfg; |
@@ -888,6 +889,19 @@ enum iwl_nvm_type { | |||
888 | NVM_DEVICE_TYPE_OTP, | 889 | NVM_DEVICE_TYPE_OTP, |
889 | }; | 890 | }; |
890 | 891 | ||
892 | |||
893 | /** | ||
894 | * enum iwl_pa_type - Power Amplifier type | ||
895 | * @IWL_PA_SYSTEM: based on uCode configuration | ||
896 | * @IWL_PA_HYBRID: use both Internal and external PA | ||
897 | * @IWL_PA_INTERNAL: use Internal only | ||
898 | */ | ||
899 | enum iwl_pa_type { | ||
900 | IWL_PA_SYSTEM = 0, | ||
901 | IWL_PA_HYBRID = 1, | ||
902 | IWL_PA_INTERNAL = 2, | ||
903 | }; | ||
904 | |||
891 | /* interrupt statistics */ | 905 | /* interrupt statistics */ |
892 | struct isr_statistics { | 906 | struct isr_statistics { |
893 | u32 hw; | 907 | u32 hw; |