• Antonio Quartulli's avatar
    mac80211: export the expected throughput · cca674d4
    Antonio Quartulli authored
    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
    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: default avatarAntonio Quartulli <antonio@open-mesh.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
rc80211_minstrel_ht.c 28.3 KB