svn commit: r287950 - head/sys/dev/usb/wlan
Adrian Chadd
adrian at FreeBSD.org
Fri Sep 18 05:59:16 UTC 2015
Author: adrian
Date: Fri Sep 18 05:59:15 2015
New Revision: 287950
URL: https://svnweb.freebsd.org/changeset/base/287950
Log:
Set AMPDU density/size parameters during vap creation.
Inspired from: Linux r92su
Modified:
head/sys/dev/usb/wlan/if_rsu.c
Modified: head/sys/dev/usb/wlan/if_rsu.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rsu.c Fri Sep 18 05:03:01 2015 (r287949)
+++ head/sys/dev/usb/wlan/if_rsu.c Fri Sep 18 05:59:15 2015 (r287950)
@@ -563,6 +563,10 @@ rsu_vap_create(struct ieee80211com *ic,
uvp->newstate = vap->iv_newstate;
vap->iv_newstate = rsu_newstate;
+ /* Limits from the r92su driver */
+ vap->iv_ampdu_density = IEEE80211_HTCAP_MPDUDENSITY_16;
+ vap->iv_ampdu_rxmax = IEEE80211_HTCAP_MAXRXAMPDU_32K;
+
/* complete setup */
ieee80211_vap_attach(vap, ieee80211_media_change,
ieee80211_media_status, mac);
More information about the svn-src-head
mailing list