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>
This commit is contained in:
committed by
John W. Linville
parent
8ce73f3abd
commit
65b7998a9b
@@ -57,7 +57,8 @@ extern struct iwl_cfg iwl5100_bg_cfg;
|
||||
extern struct iwl_cfg iwl5100_abg_cfg;
|
||||
extern struct iwl_cfg iwl5150_agn_cfg;
|
||||
extern struct iwl_cfg iwl6000_2ag_cfg;
|
||||
extern struct iwl_cfg iwl6000_2agn_cfg;
|
||||
extern struct iwl_cfg iwl6000h_2agn_cfg;
|
||||
extern struct iwl_cfg iwl6000i_2agn_cfg;
|
||||
extern struct iwl_cfg iwl6000_3agn_cfg;
|
||||
extern struct iwl_cfg iwl6050_2agn_cfg;
|
||||
extern struct iwl_cfg iwl6050_3agn_cfg;
|
||||
@@ -888,6 +889,19 @@ enum iwl_nvm_type {
|
||||
NVM_DEVICE_TYPE_OTP,
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* enum iwl_pa_type - Power Amplifier type
|
||||
* @IWL_PA_SYSTEM: based on uCode configuration
|
||||
* @IWL_PA_HYBRID: use both Internal and external PA
|
||||
* @IWL_PA_INTERNAL: use Internal only
|
||||
*/
|
||||
enum iwl_pa_type {
|
||||
IWL_PA_SYSTEM = 0,
|
||||
IWL_PA_HYBRID = 1,
|
||||
IWL_PA_INTERNAL = 2,
|
||||
};
|
||||
|
||||
/* interrupt statistics */
|
||||
struct isr_statistics {
|
||||
u32 hw;
|
||||
|
Reference in New Issue
Block a user