aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-5000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 1a18ac187cb5..8bccd9056bfb 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -263,19 +263,15 @@ static int iwl5000_hw_set_hw_params(struct iwl_priv *priv)
263 priv->hw_params.tx_chains_num = 1; 263 priv->hw_params.tx_chains_num = 1;
264 priv->hw_params.rx_chains_num = 2; 264 priv->hw_params.rx_chains_num = 2;
265 /* FIXME: move to ANT_A, ANT_B, ANT_C enum */ 265 /* FIXME: move to ANT_A, ANT_B, ANT_C enum */
266 priv->hw_params.valid_tx_ant = IWL_ANTENNA_MAIN; 266 priv->hw_params.valid_tx_ant = ANT_A;
267 priv->hw_params.valid_rx_ant = (IWL_ANTENNA_MAIN | 267 priv->hw_params.valid_rx_ant = ANT_AB;
268 IWL_ANTENNA_AUX);
269 break; 268 break;
270 case CSR_HW_REV_TYPE_5300: 269 case CSR_HW_REV_TYPE_5300:
271 case CSR_HW_REV_TYPE_5350: 270 case CSR_HW_REV_TYPE_5350:
272 priv->hw_params.tx_chains_num = 3; 271 priv->hw_params.tx_chains_num = 3;
273 priv->hw_params.rx_chains_num = 3; 272 priv->hw_params.rx_chains_num = 3;
274 /* FIXME: move to ANT_A, ANT_B, ANT_C enum */ 273 priv->hw_params.valid_tx_ant = ANT_ABC;
275 priv->hw_params.valid_tx_ant = (IWL_ANTENNA_MAIN | 274 priv->hw_params.valid_rx_ant = ANT_ABC;
276 IWL_ANTENNA_AUX | 0x04);
277 priv->hw_params.valid_rx_ant = (IWL_ANTENNA_MAIN |
278 IWL_ANTENNA_AUX | 0x04);
279 break; 275 break;
280 } 276 }
281 277