From: Antonio Quartulli Date: Mon, 19 May 2014 19:53:20 +0000 (+0200) Subject: mac80211: export the expected throughput X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~17^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca674d47e59665630f3005291b61bb883015fc5;p=pandora-kernel.git 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 Signed-off-by: Antonio Quartulli Signed-off-by: Johannes Berg --- Reading git-diff-tree failed