Hi
Thank you so much. You made my day!
The command works. Im looking forward to test it out :-)
I also have two of these card. they don’t have the same bitmap, but I assume
they work the same way?
qca9882 chipset with 2 chains available using ath10k driver:
Available Antennas: TX 0x3 RX 0x3
Configured Antennas: TX 0x3 RX 0x3
qca9880 chipset with 3 chains available using ath10k driver:
Available Antennas: TX 0x3 RX 0x3
Configured Antennas: TX 0x3 RX 0x3
Best Regards,
Håvard
> On 18 Aug 2017, at 09:00, Matthias May <[email protected]> wrote:
>
> On 18/08/17 01:32, Håvard Rabbe wrote:
>> Hi
>> I’m using wifi card with AR9280 chipset that uses the ath9k driver.
>>
>> The card has 2 available radio chains and I’m only going to connect 1
>> antenna.
>>
>> Is it possible to disable the radio chain im not using?
>>
>>
>> Best Regards,
>>
>> Håvard Rabbe
>>
>
> Help text from iw:
> phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
>
> You can set the rx/tx mask with
> iw phy phy0 set antenna 1
> to not use the second chain
>
> or
> iw phy phy0 set antenna 1 3
> to not use the second chain for tx, but still use it for rx.
>
> You can see the currently active mask with:
> iw list | grep Antenna
>
> Be aware that the value set here is a bitmask only allows the values 1/3/7
> (for 1, 2 and 3 chains).
> Chain 0 is always active.
> --> You can not disable chain 0 and only use chain 1.
>
> BR
> Matthias