ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Will Kerr <willjkerr@yahoo.co.uk>
To: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: ath10k - spectral scan - and - channel change
Date: Fri, 24 Feb 2017 06:49:05 +0000 (UTC)	[thread overview]
Message-ID: <506078490.66937.1487918945400@mail.yahoo.com> (raw)
In-Reply-To: <1472714547.6626259.1487882069484@mail.yahoo.com>

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

       reply	other threads:[~2017-02-24  6:49 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   ` Will Kerr [this message]
2017-03-06 16:57     ` ath10k - spectral scan - and - channel change Will Kerr
2017-03-06 18:15       ` Shajakhan, Mohammed Shafi (Mohammed Shafi)
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=506078490.66937.1487918945400@mail.yahoo.com \
    --to=willjkerr@yahoo.co.uk \
    --cc=ath10k@lists.infradead.org \
    /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