diff options
author | Arend Van Spriel <arend.vanspriel@broadcom.com> | 2017-04-13 13:06:27 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-04-18 10:23:50 +0200 |
commit | 96b08fd6080efdfa8f6125cffc6742a2235d92f1 (patch) | |
tree | 994b4a3fa2dbb513740143b3af22a44ea0ee628e /net/wireless/nl80211.h | |
parent | 1d5e9f80ab021e3e1f9436627a4ad07a143ccb2c (diff) | |
download | lwn-96b08fd6080efdfa8f6125cffc6742a2235d92f1.tar.gz lwn-96b08fd6080efdfa8f6125cffc6742a2235d92f1.zip |
nl80211: add request id in scheduled scan event messages
For multi-scheduled scan support in subsequent patch a request id
will be added. This patch add this request id to the scheduled
scan event messages. For now the request id will always be zero.
With multi-scheduled scan its value will inform user-space to which
scan the event relates.
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r-- | net/wireless/nl80211.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h index 3cb17cd9577f..d5f6860e62ab 100644 --- a/net/wireless/nl80211.h +++ b/net/wireless/nl80211.h @@ -16,8 +16,7 @@ struct sk_buff *nl80211_build_scan_msg(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, bool aborted); void nl80211_send_scan_msg(struct cfg80211_registered_device *rdev, struct sk_buff *msg); -void nl80211_send_sched_scan(struct cfg80211_registered_device *rdev, - struct net_device *netdev, u32 cmd); +void nl80211_send_sched_scan(struct cfg80211_sched_scan_request *req, u32 cmd); void nl80211_common_reg_change_event(enum nl80211_commands cmd_id, struct regulatory_request *request); |