diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2014-05-19 21:53:20 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-21 09:15:16 +0200 |
commit | cca674d47e59665630f3005291b61bb883015fc5 (patch) | |
tree | bd83cc2c0b576cdc7adae72ca7c170c1e1648fa8 /net/rfkill/rfkill-gpio.c | |
parent | cfg80211: export expected throughput through get_station() (diff) | |
download | linux-cca674d47e59665630f3005291b61bb883015fc5.tar.xz linux-cca674d47e59665630f3005291b61bb883015fc5.zip |
mac80211: export the expected throughput
Add get_expected_throughput() API to mac80211 so that each
driver can implement its own version based on the RC
algorithm they are using (might be using an HW RC algo).
The API returns a value expressed in Kbps.
Also, add the new get_expected_throughput() member
to the rate_control_ops structure in order to be
able to query the RC algorithm (this patch provides an
implementation of this API for both minstrel and
minstrel_ht).
The related member in the station_info object is now
filled accordingly when dumping a station.
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/rfkill/rfkill-gpio.c')
0 files changed, 0 insertions, 0 deletions