diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2014-09-05 01:57:41 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-09-05 15:54:07 +0400 |
commit | a4bcaf5556da649f0160e60fa7b4bb2c29801c12 (patch) | |
tree | 7ccfccbde36c5ef1eaadf28108eb60b30910bfd0 /drivers/net/wireless/p54/main.c | |
parent | 3057dbfdab1b86a77ed6d512fc857b032f78663b (diff) | |
download | linux-a4bcaf5556da649f0160e60fa7b4bb2c29801c12.tar.xz |
mac80211: extend set_coverage_class signature
Extend mac80211 set_coverage_class API in order to enable ACK timeout
estimation algorithm (dynack) passing coverage class equals to -1
to lower drivers. Synchronize set_coverage_class routine signature with
mac80211 function pointer for p54, ath9k, ath9k_htc and ath5k drivers.
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/p54/main.c')
-rw-r--r-- | drivers/net/wireless/p54/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c index 7be3a4839640..97aeff0edb84 100644 --- a/drivers/net/wireless/p54/main.c +++ b/drivers/net/wireless/p54/main.c @@ -696,7 +696,8 @@ static void p54_flush(struct ieee80211_hw *dev, struct ieee80211_vif *vif, WARN(total, "tx flush timeout, unresponsive firmware"); } -static void p54_set_coverage_class(struct ieee80211_hw *dev, u8 coverage_class) +static void p54_set_coverage_class(struct ieee80211_hw *dev, + s16 coverage_class) { struct p54_common *priv = dev->priv; |