mac80211: Add timeout to BA session start API
Allow drivers or rate control algorithms to specify BlockAck session timeout when initiating an ADDBA transaction. This is useful in cases where maintaining persistent BA sessions does not incur any overhead. The current timeout value of 5000 TUs is retained for all non ath9k/ath9k_htc drivers. Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a293911d4f
commit
bd2ce6e43f
9 changed files with 16 additions and 9 deletions
|
@ -169,7 +169,7 @@ static void rtl_tx_status(void *ppriv,
|
|||
tid = qc[0] & 0xf;
|
||||
|
||||
if (_rtl_tx_aggr_check(rtlpriv, tid))
|
||||
ieee80211_start_tx_ba_session(sta, tid);
|
||||
ieee80211_start_tx_ba_session(sta, tid, 5000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue