diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2015-01-16 14:04:09 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-23 09:30:47 (GMT) |
commit | 9c74893441d3cf4b258a82b19cbf6bfd2ed6e549 (patch) | |
tree | 4e2d61d97961013e4a8db0be6c5386b43f123476 /include/net/cfg80211.h | |
parent | db82d8a966ded064bd4cf0e1fcca13442f50d0ae (diff) | |
download | linux-9c74893441d3cf4b258a82b19cbf6bfd2ed6e549.tar.xz |
nl80211: add an attribute to allow delaying the first scheduled scan cycle
The userspace may want to delay the the first scheduled scan or
net-detect cycle. Add an optional attribute to the scheduled scan
configuration to pass the delay to be (optionally) used by the driver.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
[add the attribute to the policy to validate it]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 7b44ba0..64e09e1 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -1493,6 +1493,10 @@ struct cfg80211_match_set { * @rcu_head: RCU callback used to free the struct * @owner_nlportid: netlink portid of owner (if this should is a request * owned by a particular socket) + * @delay: delay in seconds to use before starting the first scan + * cycle. The driver may ignore this parameter and start + * immediately (or at any other time), if this feature is not + * supported. */ struct cfg80211_sched_scan_request { struct cfg80211_ssid *ssids; @@ -1506,6 +1510,7 @@ struct cfg80211_sched_scan_request { struct cfg80211_match_set *match_sets; int n_match_sets; s32 min_rssi_thold; + u32 delay; u8 mac_addr[ETH_ALEN] __aligned(2); u8 mac_addr_mask[ETH_ALEN] __aligned(2); |