Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71384687 authored by Sara Sharon's avatar Sara Sharon Committed by Govind Singh
Browse files

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: default avatarSara Sharon <sara.sharon@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ee0bd353
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -6369,12 +6369,13 @@ static u64 ath10k_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)


static int ath10k_ampdu_action(struct ieee80211_hw *hw,
static int ath10k_ampdu_action(struct ieee80211_hw *hw,
			       struct ieee80211_vif *vif,
			       struct ieee80211_vif *vif,
			       enum ieee80211_ampdu_mlme_action action,
			       struct ieee80211_ampdu_params *params)
			       struct ieee80211_sta *sta, u16 tid, u16 *ssn,
			       u8 buf_size, bool amsdu)
{
{
	struct ath10k *ar = hw->priv;
	struct ath10k *ar = hw->priv;
	struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif);
	struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif);
	struct ieee80211_sta *sta = params->sta;
	enum ieee80211_ampdu_mlme_action action = params->action;
	u16 tid = params->tid;


	ath10k_dbg(ar, ATH10K_DBG_MAC, "mac ampdu vdev_id %i sta %pM tid %hu action %d\n",
	ath10k_dbg(ar, ATH10K_DBG_MAC, "mac ampdu vdev_id %i sta %pM tid %hu action %d\n",
		   arvif->vdev_id, sta->addr, tid, action);
		   arvif->vdev_id, sta->addr, tid, action);