svn commit: r298138 - head/sys/dev/urtwn
Adrian Chadd
adrian at FreeBSD.org
Sun Apr 17 02:39:59 UTC 2016
Author: adrian
Date: Sun Apr 17 02:39:58 2016
New Revision: 298138
URL: https://svnweb.freebsd.org/changeset/base/298138
Log:
[urtwn] set the A-MPDU density to 16.
Obtained from: Linux rtlwifi/rtl8xxxu
Modified:
head/sys/dev/urtwn/if_urtwn.c
Modified: head/sys/dev/urtwn/if_urtwn.c
==============================================================================
--- head/sys/dev/urtwn/if_urtwn.c Sun Apr 17 02:06:10 2016 (r298137)
+++ head/sys/dev/urtwn/if_urtwn.c Sun Apr 17 02:39:58 2016 (r298138)
@@ -791,6 +791,10 @@ urtwn_vap_create(struct ieee80211com *ic
vap->iv_key_alloc = urtwn_key_alloc;
vap->iv_key_set = urtwn_key_set;
vap->iv_key_delete = urtwn_key_delete;
+
+ /* 802.11n parameters */
+ vap->iv_ampdu_density = IEEE80211_HTCAP_MPDUDENSITY_16;
+
if (opmode == IEEE80211_M_IBSS) {
uvp->recv_mgmt = vap->iv_recv_mgmt;
vap->iv_recv_mgmt = urtwn_ibss_recv_mgmt;
More information about the svn-src-head
mailing list