Re: [PATCH 4.9.0-rc5] AR9300 calibration problems with antenna selected

From: Matthias May
Date: Mon Nov 21 2016 - 09:17:53 EST

On 21/11/16 14:54, Krzysztof HaÅasa wrote:
> miaoqing@xxxxxxxxxxxxxx writes:
>>> rmmod ath9k
>>> modprobe ath9k
>>> iw dev wlan0 set type ibss
>>> iw phy phyX set antenna 2
>> 2 is a bad mask. We use bitmap, the valid masks are 1, 3, 7.
> Thanks for your response.
> I have two antenna connections (and a single antenna). Is it possible to
> select the secondary antenna connector only? How?

No this is not really possible.
We have been playing around with this two, three years ago with this.
There are just too many things which rely on chain0
Noise calibration, DFS, Temperature measurement, Spectrum measurement
are just a few of the things I remember which don't work realiably anymore.
See [1] for more.