aboutsummaryrefslogtreecommitdiffstats
path: root/iw_if.h
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-06 21:13:09 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-05-06 21:13:09 +0100
commitd0faeb165ac7cd3ce0d1f22f15b0e90072bed969 (patch)
treea723545835f20a19a9620407b10259c10e8d3246 /iw_if.h
parentc20edfe61df77fa1b31572b26473fd12029a35b7 (diff)
parent3645c236e9720deb696e7aebc33cd9a6d8cbbdc6 (diff)
downloadwavemon-d0faeb165ac7cd3ce0d1f22f15b0e90072bed969.tar.gz
Merge tag 'upstream/0.7.5'
Upstream version 0.7.5
Diffstat (limited to '')
-rw-r--r--iw_if.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/iw_if.h b/iw_if.h
index 4260f2f..d443cf8 100644
--- a/iw_if.h
+++ b/iw_if.h
@@ -254,10 +254,21 @@ struct scan_result {
struct scan_result *next;
};
-
extern struct scan_result *get_scan_list(int skfd, const char *ifname, int we_version);
extern void free_scan_result(struct scan_result *head);
+/**
+ * struct cnt - count frequency of integer numbers
+ * @val: value to count
+ * @count: how often @val occurs
+ */
+struct cnt {
+ int val;
+ int count;
+};
+extern struct cnt *channel_stats(struct scan_result *head,
+ struct iw_range *iw_range, int *max_cnt);
+
/*
* General helper routines
*/