Bug 96761

Summary: ath9k Antenna selection not working. - Linux 4.0
Product: Networking Reporter: Thomas Graf (post)
Component: WirelessAssignee: networking_wireless (networking_wireless)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: ARM   
OS: Linux   
Kernel Version: 4.0 Subsystem:
Regression: No Bisected commit-id:

Description Thomas Graf 2015-04-16 07:56:48 UTC
I use a Atheros wireless lan card (Connectors for CH0 and CH1) with the ath9k driver.

lspci
00:00.0 Class 0604: 16c3:abcd
01:00.0 Class 0280: 168c:0030

I'm setting the antenna to only the second (CH1) antenna only with the command:

iw phy phy0 set antenna 0x2 0x2

Reading out
/sys/kernel/debug/ieee80211/phy0/ath9k/rx_chainmask
/sys/kernel/debug/ieee80211/phy0/ath9k/tx_chainmask
and "iw list" indicates that antenna 2 (CH1) is selected.

The reported SNR is around 0dBm - and no connection is possible. The same with antenna 1 (CH0) is working like expected.

The same was working with 3.18. Using the new stable kernel version 4.0 it's not working anymore.