--- src/netdev.c | 8 ++++++++ src/netdev.h | 1 + 2 files changed, 9 insertions(+) diff --git a/src/netdev.c b/src/netdev.c index 6fb33847..ba5912fd 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -4064,6 +4064,14 @@ static bool netdev_parse_sta_info(struct l_genl_attr *attr, return false; break; + + case NL80211_STA_INFO_EXPECTED_THROUGHPUT: + if (len != 4) + return false; + + info->expected_throughput = *(const uint32_t *)data; + + break; } } diff --git a/src/netdev.h b/src/netdev.h index c5d1ff53..afff33ab 100644 --- a/src/netdev.h +++ b/src/netdev.h @@ -120,6 +120,7 @@ struct netdev_station_info { uint8_t rx_mcs; uint32_t tx_bitrate; uint8_t tx_mcs; + uint32_t expected_throughput; }; typedef void (*netdev_get_station_cb_t)(struct netdev *netdev, -- 2.26.2