Linux wireless drivers development
 help / color / mirror / Atom feed
* [RFC 0/3] introduce chan_time parameter to scan request
@ 2013-07-29  8:39 Michal Kazior
  2013-07-29  8:39 ` [RFC 1/3] nl/cfg80211: add chan_time for " Michal Kazior
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Michal Kazior @ 2013-07-29  8:39 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless, ath10k, Michal Kazior

Hi,

This patchset adds a new scan parameter. It allows
specyfing for how long each channel should be
visited during scan.

I've tested this with ath9k (which doesn't have
hw_scan) and ath10k (does have hw_scan). It's not
super time-precise, but seems reasonable.

The main motivation behind this is to allow easier
ACS implementation in hostapd.

This could also perhaps be useful for spectral
scan and anyone interested in having ability to
tune scan times (e.g. very fast initial channel
scanning on mobile devices, long passive scans).

I'm wondering if it would be okay to set swscan
probe delay to 0 if chan_time is non-zero? Or does
probe delay need to be non-zero? Or maybe it
should also be configurable via a parameter?


Pozdrawiam / Best regards,
Michal Kazior.


Michal Kazior (3):
  nl/cfg80211: add chan_time for scan request
  mac80211: add support for scan chan_time parameter
  ath10k: respect chan_time parameter in scan request

 drivers/net/wireless/ath/ath10k/mac.c |    6 ++++++
 include/net/cfg80211.h                |    3 +++
 include/uapi/linux/nl80211.h          |    7 +++++++
 net/mac80211/scan.c                   |   22 ++++++++++++++++++++--
 net/wireless/nl80211.c                |    4 ++++
 5 files changed, 40 insertions(+), 2 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-08-02 13:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29  8:39 [RFC 0/3] introduce chan_time parameter to scan request Michal Kazior
2013-07-29  8:39 ` [RFC 1/3] nl/cfg80211: add chan_time for " Michal Kazior
2013-08-01  7:40   ` Johannes Berg
2013-08-01  9:14     ` Michal Kazior
2013-08-02 11:25       ` Johannes Berg
2013-08-02 11:52         ` Michal Kazior
2013-08-02 13:01           ` Johannes Berg
     [not found]         ` <CACA4iOrZSARKFVFx1E2QPyH=xZzQp+VoyPu_tuFWgBR3tQwOmw@mail.gmail.com>
2013-08-02 12:56           ` Sunil Dutt
2013-07-29  8:39 ` [RFC 2/3] mac80211: add support for scan chan_time parameter Michal Kazior
2013-07-29  8:39 ` [RFC 3/3] ath10k: respect chan_time parameter in scan request Michal Kazior
2013-08-01  7:36 ` [RFC 0/3] introduce chan_time parameter to " Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox