]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
net: wireless: bcmdhd: Add custom scan policy.
authorMichael Hsu <mhsu@nvidia.com>
Tue, 13 Jan 2015 00:22:17 +0000 (16:22 -0800)
committerAshutosh Jha <ajha@nvidia.com>
Thu, 11 Jun 2015 18:59:24 +0000 (11:59 -0700)
commit33e09b9b14ea76ca4f8edbb64d8d38bb77d3c289
tree2b668558400027b81120bb7bfe47f9a27fe4f862
parente0207d00fcc954ab3bfbb65ce50cf4170d98524f
net: wireless: bcmdhd: Add custom scan policy.

Add sysfs node to allow wifi scan policies to be selected / added / removed.

Each wifi scan policy consists of:
- policy name
- one or more scan rules

Each wifi scan rule consists of:
- wait time before starting this scan rule
- scan parameters
  -- home channel away time
  -- number of probes per channel scan
  -- active, passive scan time
  -- home channel dwell time (between channel scans on non-home channel)
  -- channel list to scan

Bug 1573165

Change-Id: I59c0fb563e5ec5677b76e05ea432214e405a51e4
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/741981
(cherry picked from commit 243a5dba219b94d77e63db925e1746e8f9152d3d)
Reviewed-on: http://git-master/r/755270
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Tested-by: Ashutosh Jha <ajha@nvidia.com>
drivers/net/wireless/bcmdhd/dhd_custom_sysfs_tegra.c
drivers/net/wireless/bcmdhd/dhd_custom_sysfs_tegra_scan.c
drivers/net/wireless/bcmdhd/dhd_custom_sysfs_tegra_scan.h [new file with mode: 0644]
drivers/net/wireless/bcmdhd/dhd_linux.c
drivers/net/wireless/bcmdhd/include/dhd_custom_sysfs_tegra.h
drivers/net/wireless/bcmdhd/wl_cfg80211.c
drivers/net/wireless/bcmdhd/wl_cfgp2p.c
net/wireless/scan.c