Commit 1179f18d authored by Tomas Winkler's avatar Tomas Winkler Committed by John W. Linville

iwlwifi-5000: adjust antennas names in 5000 HW family

This patch use new defines for antennas
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 33fd5033
...@@ -263,19 +263,15 @@ static int iwl5000_hw_set_hw_params(struct iwl_priv *priv) ...@@ -263,19 +263,15 @@ static int iwl5000_hw_set_hw_params(struct iwl_priv *priv)
priv->hw_params.tx_chains_num = 1; priv->hw_params.tx_chains_num = 1;
priv->hw_params.rx_chains_num = 2; priv->hw_params.rx_chains_num = 2;
/* FIXME: move to ANT_A, ANT_B, ANT_C enum */ /* FIXME: move to ANT_A, ANT_B, ANT_C enum */
priv->hw_params.valid_tx_ant = IWL_ANTENNA_MAIN; priv->hw_params.valid_tx_ant = ANT_A;
priv->hw_params.valid_rx_ant = (IWL_ANTENNA_MAIN | priv->hw_params.valid_rx_ant = ANT_AB;
IWL_ANTENNA_AUX);
break; break;
case CSR_HW_REV_TYPE_5300: case CSR_HW_REV_TYPE_5300:
case CSR_HW_REV_TYPE_5350: case CSR_HW_REV_TYPE_5350:
priv->hw_params.tx_chains_num = 3; priv->hw_params.tx_chains_num = 3;
priv->hw_params.rx_chains_num = 3; priv->hw_params.rx_chains_num = 3;
/* FIXME: move to ANT_A, ANT_B, ANT_C enum */ priv->hw_params.valid_tx_ant = ANT_ABC;
priv->hw_params.valid_tx_ant = (IWL_ANTENNA_MAIN | priv->hw_params.valid_rx_ant = ANT_ABC;
IWL_ANTENNA_AUX | 0x04);
priv->hw_params.valid_rx_ant = (IWL_ANTENNA_MAIN |
IWL_ANTENNA_AUX | 0x04);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment