Lines Matching refs:rx_ant
5610 static int __ath12k_set_antenna(struct ath12k *ar, u32 tx_ant, u32 rx_ant) in __ath12k_set_antenna() argument
5620 if (ath12k_check_chain_mask(ar, rx_ant, false)) in __ath12k_set_antenna()
5628 rx_ant = min_t(u32, rx_ant, ar->pdev->cap.rx_chain_mask); in __ath12k_set_antenna()
5631 ar->cfg_rx_chainmask = rx_ant; in __ath12k_set_antenna()
5648 rx_ant, ar->pdev->pdev_id); in __ath12k_set_antenna()
5651 ret, rx_ant); in __ath12k_set_antenna()
5655 ar->num_rx_chains = hweight32(rx_ant); in __ath12k_set_antenna()
6975 static int ath12k_mac_op_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant) in ath12k_mac_op_get_antenna() argument
6990 *rx_ant = antennas_rx; in ath12k_mac_op_get_antenna()
6995 static int ath12k_mac_op_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant) in ath12k_mac_op_set_antenna() argument
7004 ret = __ath12k_set_antenna(ar, tx_ant, rx_ant); in ath12k_mac_op_set_antenna()