Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 05:59:15 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287950 - head/sys/dev/usb/wlan
Message-ID:  <201509180559.t8I5xF3k063038@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509180559.t8I5xF3k063038>