2011-04-07 21:04:31

by Dennis Borgmann

[permalink] [raw]
Subject: ath9k: antenna selection possible?

Hello linux-wireless list!

ath5k got an option to change usage of antennae as mentioned here (via
debugfs):

http://www.mail-archive.com/[email protected]/msg02979.html

Is this possible with ath9k as well? And if so, how?

Best regards,
Dennis



2011-04-08 05:36:54

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k: antenna selection possible?

On Fri, Apr 8, 2011 at 2:20 AM, Dennis Borgmann
<[email protected]> wrote:
> Hello linux-wireless list!
>
> ath5k got an option to change usage of antennae as mentioned here (via
> debugfs):
>
> http://www.mail-archive.com/[email protected]/msg02979.html
>
> Is this possible with ath9k as well? And if so, how?

Currently we can only change the tx/rx chain mask like this
sudo echo 0x1 > /sys/kernel/debug/ieee80211/phy0/ath9k/rx_chainmask
sudo echo 0x1 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx_chainmask

We need to add the set_antenna/get_antenna call backs.

>
> Best regards,
> Dennis
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>