diff options
author | David Spinadel <david.spinadel@intel.com> | 2012-03-10 16:00:13 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-12 14:22:08 -0400 |
commit | ed8c8365c4431eeb733def3dd314cf303e1b12ea (patch) | |
tree | 8f1dda084c14612baa9a6bb49fef4a747014c50f /drivers/net/wireless/iwlwifi/iwl-fw.h | |
parent | 0cedacc5797bbae5b07e5e861fbe7b8e33f2ef78 (diff) |
iwlwifi: Add TLVs and fields for 16.0 uCode
New TLVs for ucode sections that are not known as
instruction or data.
New TLVs for phy-configuration and default calibrations.
Add default calib and phy config fields to iwl_fw.
Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-fw.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw.h b/drivers/net/wireless/iwlwifi/iwl-fw.h index 253f7e501d46..c99a7fd1d29a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fw.h +++ b/drivers/net/wireless/iwlwifi/iwl-fw.h | |||
@@ -85,6 +85,22 @@ enum iwl_ucode_tlv_flag { | |||
85 | #define IWL_MAX_STANDARD_PHY_CALIBRATE_TBL_SIZE 19 | 85 | #define IWL_MAX_STANDARD_PHY_CALIBRATE_TBL_SIZE 19 |
86 | #define IWL_MAX_PHY_CALIBRATE_TBL_SIZE 253 | 86 | #define IWL_MAX_PHY_CALIBRATE_TBL_SIZE 253 |
87 | 87 | ||
88 | /** | ||
89 | * enum iwl_ucode_type | ||
90 | * | ||
91 | * The type of ucode. | ||
92 | * | ||
93 | * @IWL_UCODE_REGULAR: Normal runtime ucode | ||
94 | * @IWL_UCODE_INIT: Initial ucode | ||
95 | * @IWL_UCODE_WOWLAN: Wake on Wireless enabled ucode | ||
96 | */ | ||
97 | enum iwl_ucode_type { | ||
98 | IWL_UCODE_REGULAR, | ||
99 | IWL_UCODE_INIT, | ||
100 | IWL_UCODE_WOWLAN, | ||
101 | IWL_UCODE_TYPE_MAX, | ||
102 | }; | ||
103 | |||
88 | struct iwl_ucode_capabilities { | 104 | struct iwl_ucode_capabilities { |
89 | u32 max_probe_length; | 105 | u32 max_probe_length; |
90 | u32 standard_phy_calibration_size; | 106 | u32 standard_phy_calibration_size; |
@@ -142,6 +158,9 @@ struct iwl_fw { | |||
142 | 158 | ||
143 | u32 init_evtlog_ptr, init_evtlog_size, init_errlog_ptr; | 159 | u32 init_evtlog_ptr, init_evtlog_size, init_errlog_ptr; |
144 | u32 inst_evtlog_ptr, inst_evtlog_size, inst_errlog_ptr; | 160 | u32 inst_evtlog_ptr, inst_evtlog_size, inst_errlog_ptr; |
161 | |||
162 | u64 default_calib[IWL_UCODE_TYPE_MAX]; | ||
163 | u32 phy_config; | ||
145 | }; | 164 | }; |
146 | 165 | ||
147 | #endif /* __iwl_fw_h__ */ | 166 | #endif /* __iwl_fw_h__ */ |