summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_pid_algo.c
diff options
context:
space:
mode:
authorSimon Wunderlich2013-07-08 16:55:50 +0200
committerJohannes Berg2013-07-16 08:58:02 +0200
commit3de805cf965d69c8d3d7d69368d5fd2c925a2d5a (patch)
tree8e8c169830811addbf56ae7518f041f55afb7a6f /net/mac80211/rc80211_pid_algo.c
parentnl80211: add scan width to bss and scan request structs (diff)
downloadkernel-qcow2-linux-3de805cf965d69c8d3d7d69368d5fd2c925a2d5a.tar.gz
kernel-qcow2-linux-3de805cf965d69c8d3d7d69368d5fd2c925a2d5a.tar.xz
kernel-qcow2-linux-3de805cf965d69c8d3d7d69368d5fd2c925a2d5a.zip
mac80211/rc80211: add chandef to rate initialization
5 and 10 MHz support needs to know the current operating channel width, add the chandef to the rate control API. Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'net/mac80211/rc80211_pid_algo.c')
-rw-r--r--net/mac80211/rc80211_pid_algo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c
index 502d3ecc4a79..958fad07b54c 100644
--- a/net/mac80211/rc80211_pid_algo.c
+++ b/net/mac80211/rc80211_pid_algo.c
@@ -293,6 +293,7 @@ rate_control_pid_get_rate(void *priv, struct ieee80211_sta *sta,
static void
rate_control_pid_rate_init(void *priv, struct ieee80211_supported_band *sband,
+ struct cfg80211_chan_def *chandef,
struct ieee80211_sta *sta, void *priv_sta)
{
struct rc_pid_sta_info *spinfo = priv_sta;