diff options
author | Sara Sharon <sarasharon1@gmail.com> | 2015-12-30 09:06:04 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-01-14 05:13:17 -0500 |
commit | 50ea05efaf3bed7dd34bcc2635a8b3f53bd0ccc1 (patch) | |
tree | db757aea54659c74f10376ade43d41b3f626a4ca /drivers/net/wireless/ath/carl9170/main.c | |
parent | a85a7e28f45f7217b9a2efc3ba323de5c0e5b056 (diff) |
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/ath/carl9170/main.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c index 19d3d64416bf..4d1527a2e292 100644 --- a/drivers/net/wireless/ath/carl9170/main.c +++ b/drivers/net/wireless/ath/carl9170/main.c | |||
@@ -1413,10 +1413,12 @@ static void carl9170_ampdu_work(struct work_struct *work) | |||
1413 | 1413 | ||
1414 | static int carl9170_op_ampdu_action(struct ieee80211_hw *hw, | 1414 | static int carl9170_op_ampdu_action(struct ieee80211_hw *hw, |
1415 | struct ieee80211_vif *vif, | 1415 | struct ieee80211_vif *vif, |
1416 | enum ieee80211_ampdu_mlme_action action, | 1416 | struct ieee80211_ampdu_params *params) |
1417 | struct ieee80211_sta *sta, | ||
1418 | u16 tid, u16 *ssn, u8 buf_size, bool amsdu) | ||
1419 | { | 1417 | { |
1418 | struct ieee80211_sta *sta = params->sta; | ||
1419 | enum ieee80211_ampdu_mlme_action action = params->action; | ||
1420 | u16 tid = params->tid; | ||
1421 | u16 *ssn = ¶ms->ssn; | ||
1420 | struct ar9170 *ar = hw->priv; | 1422 | struct ar9170 *ar = hw->priv; |
1421 | struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; | 1423 | struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; |
1422 | struct carl9170_sta_tid *tid_info; | 1424 | struct carl9170_sta_tid *tid_info; |