eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 98623edd7d61e3859a18e7d094deb50496afb44b
parent d0ccb8496ac750daa22e6ea8f5f75d3c558acd91
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Mon, 11 Mar 2019 15:43:16 +0100

scan: Drop remaining sched scan code

Diffstat:
Msrc/scan.c | 19-------------------
Msrc/scan.h | 4----
2 files changed, 0 insertions(+), 23 deletions(-)

diff --git a/src/scan.c b/src/scan.c @@ -559,24 +559,6 @@ bool scan_cancel(uint32_t ifindex, uint32_t id) return true; } -void scan_sched_start(struct l_genl_family *nl80211, uint32_t ifindex, - uint32_t scan_interval, - scan_func_t callback, void *user_data) -{ - struct l_genl_msg *msg; - - scan_interval *= 1000; /* in kernel the interval is in msecs */ - - msg = l_genl_msg_new_sized(NL80211_CMD_START_SCHED_SCAN, 32); - l_genl_msg_append_attr(msg, NL80211_ATTR_IFINDEX, 4, &ifindex); - l_genl_msg_append_attr(msg, NL80211_ATTR_SCHED_SCAN_INTERVAL, - 4, &scan_interval); - l_genl_msg_append_attr(msg, NL80211_ATTR_SOCKET_OWNER, 0, NULL); - - if (!l_genl_family_send(nl80211, msg, callback, user_data, NULL)) - l_error("Starting scheduled scan failed"); -} - static void scan_periodic_triggered(struct l_genl_msg *msg, void *user_data) { struct scan_context *sc = user_data; @@ -1365,7 +1347,6 @@ static void scan_notify(struct l_genl_msg *msg, void *user_data) switch (cmd) { case NL80211_CMD_NEW_SCAN_RESULTS: - case NL80211_CMD_SCHED_SCAN_RESULTS: { struct l_genl_msg *scan_msg; struct scan_results *results; diff --git a/src/scan.h b/src/scan.h @@ -107,10 +107,6 @@ void scan_periodic_start(uint32_t ifindex, scan_trigger_func_t trigger, scan_notify_func_t func, void *userdata); bool scan_periodic_stop(uint32_t ifindex); -void scan_sched_start(struct l_genl_family *nl80211, uint32_t ifindex, - uint32_t scan_interval, scan_func_t callback, - void *user_data); - void scan_bss_free(struct scan_bss *bss); int scan_bss_rank_compare(const void *a, const void *b, void *user);