ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Shajakhan, Mohammed Shafi (Mohammed Shafi)" <mohammed@qti.qualcomm.com>
To: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>,
	Will Kerr <willjkerr@yahoo.co.uk>
Subject: Re: ath10k - spectral scan - and - channel change
Date: Mon, 6 Mar 2017 18:15:22 +0000	[thread overview]
Message-ID: <1488824121995.94884@qti.qualcomm.com> (raw)
In-Reply-To: <1252163427.5136459.1488819450737@mail.yahoo.com>

please follow
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/spectral

please check if phy0 does exists ?
________________________________________
From: ath10k <ath10k-bounces@lists.infradead.org> on behalf of Will Kerr <willjkerr@yahoo.co.uk>
Sent: 06 March 2017 22:27
To: ath10k@lists.infradead.org
Subject: Re: ath10k - spectral scan - and - channel change

pinging and compacting the Q just in case the experts have an idea on this..


Is it possible to control spectral_scan_ctl whilst in AP mode?
my result:

root@OpenWrt:~# echo disable > /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan_ctl
ash: write error: No such device

or


change channel whilst in Monitor mode?
my result:

root@OpenWrt:~# iw dev wlan0 set channel 112
command failed: Device or resource busy (-16)

Thanks Will.





________________________________
From: Will Kerr <willjkerr@yahoo.co.uk>
To: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Sent: Friday, 24 February 2017, 6:49
Subject: ath10k - spectral scan - and - channel change


Hello, I searched the mail archives but couldn't find a clue to my question so here it is:

Im interested in performing a spectral scan of as much of the spectrum as possible, and quickly. this means scanning a channel for some time, changing channels, and repeating.


Background: when configuring an ath9k radio to Monitor mode, it is possible to do 2 things:

1) change wifi channel via command line, e.g. iw dev wlan1 set channel 3. This does it seemingly quickly, without taking down the interface (good)

2) control the debugfs files like  /sys/kernel/debug/ieee80211/phy1/ath9k/spectral_scan_ctl (good)


The problem is:

ath10k, in Monitor mode, I am only able to change channels - 1) iw dev wlan0 set channel 104, but not access the debugfs files  2) (which is essential to control and obtain the spectral scan result)
the error I get is:

root@OpenWrt:~# echo disable > /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan_ctl
ash: write error: No such device



ath10k, in AP mode, The opposite occurs - I am only able to access debugfs files  2) , but not change channel 1), which is annoying because I cant then scan the entire possible range.


the error I get is one of:

root@OpenWrt:~# iw dev wlan0 set channel 112

command failed: Device or resource busy (-16)
or
root@OpenWrt:~# iw dev wlan0 set channel 104
command failed: Invalid argument (-22)



Is there anything I can do to get both working?

Thanks. Will

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2017-03-06 18:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1472714547.6626259.1487882069484.ref@mail.yahoo.com>
     [not found] ` <1472714547.6626259.1487882069484@mail.yahoo.com>
2017-02-24  6:49   ` ath10k - spectral scan - and - channel change Will Kerr
2017-03-06 16:57     ` Will Kerr
2017-03-06 18:15       ` Shajakhan, Mohammed Shafi (Mohammed Shafi) [this message]
2017-03-07 10:37         ` Fw: " Will Kerr
     [not found]           ` <693914393.8639779.1489485635460@mail.yahoo.com>
2017-03-14 10:03             ` Will Kerr
2017-03-14 16:23               ` Mohammed Shafi Shajakhan
2017-03-15 11:14                 ` Will Kerr
2017-03-15 11:26                   ` Mohammed Shafi Shajakhan
2017-03-15 11:46                     ` Will Kerr

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=1488824121995.94884@qti.qualcomm.com \
    --to=mohammed@qti.qualcomm.com \
    --cc=ath10k@lists.infradead.org \
    --cc=willjkerr@yahoo.co.uk \
    /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