Searched refs:tx_ant (Results 1 - 5 of 5) sorted by relevance

/drivers/net/wireless/rt2x00/
H A Drt2x00mac.c779 int rt2x00mac_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant) argument
788 if (!tx_ant || (tx_ant & ~3) || !rx_ant || (rx_ant & ~3))
794 if (ant->flags & ANTENNA_TX_DIVERSITY && tx_ant != 3)
803 if (tx_ant == 3 && def->tx == ANTENNA_SW_DIVERSITY) {
804 tx_ant = ANTENNA_SW_DIVERSITY;
813 setup.tx = tx_ant;
822 int rt2x00mac_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant) argument
831 *tx_ant = ANTENNA_HW_DIVERSITY;
833 *tx_ant
[all...]
H A Drt2x00.h1325 int rt2x00mac_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant);
1326 int rt2x00mac_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant);
/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c709 ath5k_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant) argument
713 if (tx_ant == 1 && rx_ant == 1)
715 else if (tx_ant == 2 && rx_ant == 2)
717 else if ((tx_ant & 3) == 3 && (rx_ant & 3) == 3)
726 ath5k_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant) argument
732 *tx_ant = 1; *rx_ant = 1; break;
734 *tx_ant = 2; *rx_ant = 2; break;
736 *tx_ant = 3; *rx_ant = 3; break;
H A Dphy.c2300 u8 def_ant, tx_ant; local
2321 tx_ant = 0;
2330 tx_ant = 1;
2339 tx_ant = 2;
2348 tx_ant = 0;
2356 tx_ant = 1; /* variable */
2364 tx_ant = 1; /* variable */
2373 tx_ant = 2;
2384 ah->ah_tx_ant = tx_ant;
/drivers/net/wireless/ath/ath9k/
H A Dmain.c2339 static int ath9k_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant) argument
2344 if (!rx_ant || !tx_ant)
2348 sc->ant_tx = tx_ant;
2359 ah->txchainmask = fill_chainmask(ah->caps.tx_chainmask, tx_ant);
2365 static int ath9k_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant) argument
2369 *tx_ant = sc->ant_tx;

Completed in 1028 milliseconds