From: Ben Greear <greearb@candelatech.com>
To: Okhwan Lee <ohlee@mwnl.snu.ac.kr>
Cc: ath10k@lists.infradead.org
Subject: Re: Change the number of active antennas (RF-chains)
Date: Fri, 12 Sep 2014 09:23:41 -0700 [thread overview]
Message-ID: <54131E0D.3010903@candelatech.com> (raw)
In-Reply-To: <AFAC18488DA64ACD88984878834DF25A@mwnl.snu.ac.kr>
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@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
prev parent reply other threads:[~2014-09-12 16:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-11 7:37 Change the number of active antennas (RF-chains) Okhwan Lee
2014-09-11 14:21 ` Ben Greear
2014-09-12 3:48 ` Okhwan Lee
2014-09-12 16:23 ` Ben Greear [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54131E0D.3010903@candelatech.com \
--to=greearb@candelatech.com \
--cc=ath10k@lists.infradead.org \
--cc=ohlee@mwnl.snu.ac.kr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox