net: wireless: bcmdhd: Add pno timing to custom scan policy.
authorMichael Hsu <mhsu@nvidia.com>
Thu, 6 Aug 2015 02:34:58 +0000 (19:34 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Sat, 3 Oct 2015 02:05:12 +0000 (19:05 -0700)
commit14b19b2ae860683b30b6b4d7fc13868003ef62ba
treeff0e975b5e3fffd791152bc092332678327d607c
parent3f6253c11b584b1b8fe5fbd56ae57fe66be47dfd
net: wireless: bcmdhd: Add pno timing to custom scan policy.

Allow PNO (preferred network offload) scanning timing parameters to
be configured via the bcmdhd driver sysfs node.

Write this character string to the bcmdhd sysfs node for scan configuration:
  pno <time> <repeat> <freq_expo_max> <pno-timing-parameter>...
where <pno-timing-parameter> is one of these options:
  -H home_away_time
  -n nprobes
  -a active_time
  -p passive_time
  -h home_time

Change-Id: I0ac75a6935dad2af53c998f871d4f5bbab9cc4de
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/782133
(cherry picked from commit 265c05f28b74c2886efecc4b76c1e99a4650f8f7)
Reviewed-on: http://git-master/r/806985
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/net/wireless/bcmdhd/dhd_custom_sysfs_tegra_scan.c
drivers/net/wireless/bcmdhd/dhd_custom_sysfs_tegra_scan.h
drivers/net/wireless/bcmdhd/wl_cfg80211.c