Change the number of active antennas (RF-chains)

Ben Greear greearb at
Thu Sep 11 07:21:27 PDT 2014

On 09/11/2014 12:37 AM, Okhwan Lee wrote:
> Hi,
> I have been trying to configure the number of active antennas (not
> spatial stream) by using ath10k/QCA9880.
> When I use ath9k, we can easily change the number of active antenna by
> using REG_WRITE(ah, AR_PHY_RX_CHAINMASK, ah->rxchainmask) function
> used in ar9003_hw_set_chain_masks.
> However, in ath10k, we failed to handle the values (e.g, rx/tx chain
> mask of QCA9880) by using ath10k_wmi_pdev_set_param(ar,
> ar->wmi.pdev_param->rx_chain_mask, rx_ant) funcion in used in
> __ath10k_set_antenna.

Newer kernels should have this support, and it seemed to work in my
testing.  I did not test power consumption.

What kernel version are you using?


Ben Greear <greearb at>
Candela Technologies Inc

More information about the ath10k mailing list