Change the number of active antennas (RF-chains)
Ben Greear
greearb at candelatech.com
Fri Sep 12 09:23:41 PDT 2014
On 09/11/2014 08:48 PM, Okhwan Lee wrote:
> Hi,
>
> Thank you for your answer.
> I use 3.16.1 kernel version, 3.16.1 backport version and 10.1.467.2-1 firmware version.
> I am curious to know your testing.
>
> This is my test bash-script.
>
> ########### test.sh ###########
>
> #!/usr/bin/sudo /bin/bash
> rmmod ath10k_pci ath10k_core ath mac80211 cfg80211
> modprobe ath10k_pci
> ifconfig wlan0 2>/dev/null 1>/dev/null
> while [ $? -ne 0 ]
> do
> ifconfig wlan0 2>/dev/null 1>/dev/null
> done
What are the commands above supposed to be doing?
> echo 0x12 > /sys/module/ath10k_core/parameters/debug_mask
> iw dev wlan0 interface add mon0 type monitor
> iw mon0 set freq 5180 80 5210
> ifconfig mon0 up
>
>
>
> ######################
>
> then … type the following command in shell prompt
>
> echo 0x1 > /sys/kernel/debug/ieee80211/phy*/ath10k/rx_chainmask
> echo 0x7 > /sys/kernel/debug/ieee80211/phy*/ath10k/rx_chainmask
You should be able to configure this using 'iw'
And, you probably need to configure the chainmask before
creating or starting the wlan and other vifs.
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the ath10k
mailing list