diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-06 21:13:09 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-06 21:13:09 +0100 |
commit | 3645c236e9720deb696e7aebc33cd9a6d8cbbdc6 (patch) | |
tree | 4d5f0add375be9eb1b913e5d437b811db8921aad /iw_if.h | |
parent | 89de95a89953c20349a8c7c4684eba45feb34bf5 (diff) | |
download | wavemon-3645c236e9720deb696e7aebc33cd9a6d8cbbdc6.tar.gz |
Imported Upstream version 0.7.5upstream/0.7.5
Diffstat (limited to '')
-rw-r--r-- | iw_if.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 */ |