aboutsummaryrefslogtreecommitdiffstats
path: root/package/iwinfo/src/include/iwinfo.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-22 13:39:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-22 13:39:16 +0000
commit64cc700dccc92924467f6a147a29ceb7550e7059 (patch)
treee75e5d5b3e0ac2625ef3014228a99c22a4c023a4 /package/iwinfo/src/include/iwinfo.h
parenta18a8217334edd0a00cfb5559c1440cff208fdae (diff)
downloadupstream-64cc700dccc92924467f6a147a29ceb7550e7059.tar.gz
upstream-64cc700dccc92924467f6a147a29ceb7550e7059.tar.bz2
upstream-64cc700dccc92924467f6a147a29ceb7550e7059.zip
iwinfo: add per-station rate and mcs info to assoclist op
SVN-Revision: 30682
Diffstat (limited to 'package/iwinfo/src/include/iwinfo.h')
-rw-r--r--package/iwinfo/src/include/iwinfo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/iwinfo/src/include/iwinfo.h b/package/iwinfo/src/include/iwinfo.h
index 40b85a0492..72e2333617 100644
--- a/package/iwinfo/src/include/iwinfo.h
+++ b/package/iwinfo/src/include/iwinfo.h
@@ -49,10 +49,22 @@ extern const char *IWINFO_KMGMT_NAMES[];
extern const char *IWINFO_AUTH_NAMES[];
+struct iwinfo_rate_entry {
+ uint16_t rate;
+ uint8_t mcs;
+ uint8_t is_40mhz:1;
+ uint8_t is_short_gi:1;
+};
+
struct iwinfo_assoclist_entry {
uint8_t mac[6];
int8_t signal;
int8_t noise;
+ uint32_t inactive;
+ uint32_t rx_packets;
+ uint32_t tx_packets;
+ struct iwinfo_rate_entry rx_rate;
+ struct iwinfo_rate_entry tx_rate;
};
struct iwinfo_txpwrlist_entry {