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. BR Matthias [1] http://ath9k-devel.ath9k.narkive.com/QZcobwy1/ath9k-deaf-qca9558-when-setting-rxchainmask#post1