]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - iw.h
iw: move generic sched scan parsing code out of net detect
[thirdparty/iw.git] / iw.h
diff --git a/iw.h b/iw.h
index db88a868f38cc6a0e70a12f3479de637c9458f1c..efc21d6db5d8a81365f0d2a8dbdfae1513fca5bf 100644 (file)
--- a/iw.h
+++ b/iw.h
@@ -173,6 +173,10 @@ void print_ies(unsigned char *ie, int ielen, bool unknown,
 void parse_bitrate(struct nlattr *bitrate_attr, char *buf, int buflen);
 void iw_hexdump(const char *prefix, const __u8 *data, size_t len);
 
+#define SCHED_SCAN_OPTIONS "interval <in_msecs> [delay <in_secs>] " \
+       "[freqs <freq>+] [matches [ssid <ssid>]+]]"
+int parse_sched_scan(struct nl_msg *msg, int *argc, char ***argv);
+
 DECLARE_SECTION(set);
 DECLARE_SECTION(get);