diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-22 13:39:16 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-22 13:39:16 +0000 |
commit | 22f95cf93cfe82035c402452caa5885f6e2c14de (patch) | |
tree | 82d6e9774ad5ad4fc8fa707ea8f3e84faabdaf80 /package/iwinfo/src/include/iwinfo.h | |
parent | 999cdff20495ec322f7347990535c6aa6674b4a8 (diff) | |
download | upstream-22f95cf93cfe82035c402452caa5885f6e2c14de.tar.gz upstream-22f95cf93cfe82035c402452caa5885f6e2c14de.tar.bz2 upstream-22f95cf93cfe82035c402452caa5885f6e2c14de.zip |
[package] iwinfo: add per-station rate and mcs info to assoclist op
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iwinfo/src/include/iwinfo.h')
-rw-r--r-- | package/iwinfo/src/include/iwinfo.h | 12 |
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 { |