diff options
author | Sara Sharon <sarasharon1@gmail.com> | 2015-12-30 15:06:04 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-01-14 11:13:17 +0100 |
commit | 50ea05efaf3bed7dd34bcc2635a8b3f53bd0ccc1 (patch) | |
tree | db757aea54659c74f10376ade43d41b3f626a4ca /drivers/net/wireless/realtek/rtlwifi | |
parent | cfg80211/mac80211: use to_delayed_work (diff) | |
download | linux-50ea05efaf3bed7dd34bcc2635a8b3f53bd0ccc1.tar.xz linux-50ea05efaf3bed7dd34bcc2635a8b3f53bd0ccc1.zip |
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/realtek/rtlwifi')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/core.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/core.c b/drivers/net/wireless/realtek/rtlwifi/core.c index 4ae421ef30d9..f2507610314b 100644 --- a/drivers/net/wireless/realtek/rtlwifi/core.c +++ b/drivers/net/wireless/realtek/rtlwifi/core.c @@ -1371,11 +1371,13 @@ static void rtl_op_sta_notify(struct ieee80211_hw *hw, static int rtl_op_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 rtl_priv *rtlpriv = rtl_priv(hw); + struct ieee80211_sta *sta = params->sta; + enum ieee80211_ampdu_mlme_action action = params->action; + u16 tid = params->tid; + u16 *ssn = ¶ms->ssn; switch (action) { case IEEE80211_AMPDU_TX_START: |