svn commit: r312562 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sat Jan 21 06:53:32 UTC 2017
Author: adrian
Date: Sat Jan 21 06:53:30 2017
New Revision: 312562
URL: https://svnweb.freebsd.org/changeset/base/312562
Log:
[ath] ensure both iv_ampdu_limit and iv_ampdu_rxmax is set.
A recent change enforced the VAP limit as well as the peer limit.
I now need to actually set iv_ampdu_limit or we don't transmit more
than 8K sized aggregates.
This restores the expected (suboptimal, but still much faster) behaviour.
Tested:
* AR9380, STA mode
Modified:
head/sys/dev/ath/if_ath.c
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Sat Jan 21 06:48:52 2017 (r312561)
+++ head/sys/dev/ath/if_ath.c Sat Jan 21 06:53:30 2017 (r312562)
@@ -1638,6 +1638,7 @@ ath_vap_create(struct ieee80211com *ic,
* However, for now that's enforced by the TX path.
*/
vap->iv_ampdu_rxmax = IEEE80211_HTCAP_MAXRXAMPDU_64K;
+ vap->iv_ampdu_limit = IEEE80211_HTCAP_MAXRXAMPDU_64K;
avp->av_bslot = -1;
if (needbeacon) {
More information about the svn-src-head
mailing list