diff options
author | Sara Sharon <sarasharon1@gmail.com> | 2015-12-30 17:06:04 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-01-14 13:13:17 +0300 |
commit | 50ea05efaf3bed7dd34bcc2635a8b3f53bd0ccc1 (patch) | |
tree | db757aea54659c74f10376ade43d41b3f626a4ca /drivers/net/wireless/marvell/mwl8k.c | |
parent | a85a7e28f45f7217b9a2efc3ba323de5c0e5b056 (diff) | |
download | linux-50ea05efaf3bed7dd34bcc2635a8b3f53bd0ccc1.tar.xz |
mac80211: pass block ack session timeout to to driver
Currently mac80211 does not inform the driver of the session
block ack timeout when starting a rx aggregation session.
Drivers that manage the reorder buffer need to know this
parameter.
Seeing that there are now too many arguments for the
drv_ampdu_action() function, wrap them inside a structure.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/marvell/mwl8k.c')
-rw-r--r-- | drivers/net/wireless/marvell/mwl8k.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/marvell/mwl8k.c b/drivers/net/wireless/marvell/mwl8k.c index 30e3aaae32e2..088429d0a634 100644 --- a/drivers/net/wireless/marvell/mwl8k.c +++ b/drivers/net/wireless/marvell/mwl8k.c @@ -5421,11 +5421,13 @@ static int mwl8k_get_survey(struct ieee80211_hw *hw, int idx, static int mwl8k_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, - enum ieee80211_ampdu_mlme_action action, - struct ieee80211_sta *sta, u16 tid, u16 *ssn, - u8 buf_size, bool amsdu) + struct ieee80211_ampdu_params *params) { - + struct ieee80211_sta *sta = params->sta; + enum ieee80211_ampdu_mlme_action action = params->action; + u16 tid = params->tid; + u16 *ssn = ¶ms->ssn; + u8 buf_size = params->buf_size; int i, rc = 0; struct mwl8k_priv *priv = hw->priv; struct mwl8k_ampdu_stream *stream; |