add support for expected throughput
authorDaniel Golle <daniel@makrotopia.org>
Wed, 14 Feb 2018 20:37:44 +0000 (21:37 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 15 Feb 2018 03:50:28 +0000 (04:50 +0100)
commit223e09bf3f180797aeea0f6dc1721e5a55215e66
tree83379be65099ee920eccc700e3b9d6139472f056
parentfb749bf51a7855ee955fc221acdc51b94231db2b
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>
include/iwinfo.h
iwinfo_cli.c
iwinfo_lua.c
iwinfo_nl80211.c