diff options
author | Daniel Golle <daniel@makrotopia.org> | 2018-02-14 21:37:44 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2018-02-15 04:50:28 +0100 |
commit | 223e09bf3f180797aeea0f6dc1721e5a55215e66 (patch) | |
tree | 83379be65099ee920eccc700e3b9d6139472f056 /include | |
parent | fb749bf51a7855ee955fc221acdc51b94231db2b (diff) | |
download | iwinfo-223e09bf3f180797aeea0f6dc1721e5a55215e66.tar.gz |
add support for expected throughput
cfg80211 allows drivers to announce the to-be-expected layer-2 datarate
using the NL80211_STA_INFO_EXPECTED_THROUGHPUT field.
This information is useful as a metric for user-space routing daemons,
so grab it via nl80211 and make it available in both C and Lua APIs,
and show expected throughput on CLI interface assoclist.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/iwinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h index a5cafa9..929f697 100644 --- a/include/iwinfo.h +++ b/include/iwinfo.h @@ -122,6 +122,7 @@ struct iwinfo_assoclist_entry { uint8_t is_wme:1; uint8_t is_mfp:1; uint8_t is_tdls:1; + uint32_t thr; }; struct iwinfo_txpwrlist_entry { |