diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2013-03-07 10:27:40 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-20 09:17:11 -0400 |
commit | d110cb51cf109a6dff0e801d945ea98d2883bd01 (patch) | |
tree | a85fa39ede1ea554ca6574186695bd7bbed77265 /drivers/net/wireless/iwlwifi/iwl-fw.h | |
parent | 5358549575aab8ed98c55100650510bdfb6ef5ef (diff) |
iwlwifi: mvm: take the radio type / step / dash from TLVs
This data should taken from TLVs and not from the NVM. This
is true for the value written in CSR_HW_IF_CONFIG_REG too.
Also, no need to set the CSR_HW_IF_CONFIG_REG_BIT_MAC_SI bit
for 7000 devices which are the only devices currently
supported.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-fw.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw.h b/drivers/net/wireless/iwlwifi/iwl-fw.h index 435618574240..4e932e04d87e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fw.h +++ b/drivers/net/wireless/iwlwifi/iwl-fw.h | |||
@@ -154,6 +154,19 @@ struct iwl_tlv_calib_ctrl { | |||
154 | __le32 event_trigger; | 154 | __le32 event_trigger; |
155 | } __packed; | 155 | } __packed; |
156 | 156 | ||
157 | enum iwl_fw_phy_cfg { | ||
158 | FW_PHY_CFG_RADIO_TYPE_POS = 0, | ||
159 | FW_PHY_CFG_RADIO_TYPE = 0x3 << FW_PHY_CFG_RADIO_TYPE_POS, | ||
160 | FW_PHY_CFG_RADIO_STEP_POS = 2, | ||
161 | FW_PHY_CFG_RADIO_STEP = 0x3 << FW_PHY_CFG_RADIO_STEP_POS, | ||
162 | FW_PHY_CFG_RADIO_DASH_POS = 4, | ||
163 | FW_PHY_CFG_RADIO_DASH = 0x3 << FW_PHY_CFG_RADIO_DASH_POS, | ||
164 | FW_PHY_CFG_TX_CHAIN_POS = 16, | ||
165 | FW_PHY_CFG_TX_CHAIN = 0xf << FW_PHY_CFG_TX_CHAIN_POS, | ||
166 | FW_PHY_CFG_RX_CHAIN_POS = 20, | ||
167 | FW_PHY_CFG_RX_CHAIN = 0xf << FW_PHY_CFG_RX_CHAIN_POS, | ||
168 | }; | ||
169 | |||
157 | /** | 170 | /** |
158 | * struct iwl_fw - variables associated with the firmware | 171 | * struct iwl_fw - variables associated with the firmware |
159 | * | 172 | * |