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/ti | |
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/ti')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c index d1109c4f0f0d..45662cf3169f 100644 --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c | |||
@@ -5187,14 +5187,16 @@ out: | |||
5187 | 5187 | ||
5188 | static int wl1271_op_ampdu_action(struct ieee80211_hw *hw, | 5188 | static int wl1271_op_ampdu_action(struct ieee80211_hw *hw, |
5189 | struct ieee80211_vif *vif, | 5189 | struct ieee80211_vif *vif, |
5190 | enum ieee80211_ampdu_mlme_action action, | 5190 | struct ieee80211_ampdu_params *params) |
5191 | struct ieee80211_sta *sta, u16 tid, u16 *ssn, | ||
5192 | u8 buf_size, bool amsdu) | ||
5193 | { | 5191 | { |
5194 | struct wl1271 *wl = hw->priv; | 5192 | struct wl1271 *wl = hw->priv; |
5195 | struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); | 5193 | struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); |
5196 | int ret; | 5194 | int ret; |
5197 | u8 hlid, *ba_bitmap; | 5195 | u8 hlid, *ba_bitmap; |
5196 | struct ieee80211_sta *sta = params->sta; | ||
5197 | enum ieee80211_ampdu_mlme_action action = params->action; | ||
5198 | u16 tid = params->tid; | ||
5199 | u16 *ssn = ¶ms->ssn; | ||
5198 | 5200 | ||
5199 | wl1271_debug(DEBUG_MAC80211, "mac80211 ampdu action %d tid %d", action, | 5201 | wl1271_debug(DEBUG_MAC80211, "mac80211 ampdu action %d tid %d", action, |
5200 | tid); | 5202 | tid); |