svn commit: r361820 - head/sys/dev/iwn

Adrian Chadd adrian at FreeBSD.org
Fri Jun 5 04:24:35 UTC 2020


Author: adrian
Date: Fri Jun  5 04:24:34 2020
New Revision: 361820
URL: https://svnweb.freebsd.org/changeset/base/361820

Log:
  [iwn] Set default ampdu parameters.
  
  These are from the linux iwlwifi driver ;the default use smaller
  maximum AMPDUs (8k) and a much smaller density (none.)  The latter
  could cause stability issues.
  
  Tested:
  
  * Tested on Intel 6300, STA mode.
  
  Differential Revision: https://reviews.freebsd.org/D25113

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Fri Jun  5 04:04:47 2020	(r361819)
+++ head/sys/dev/iwn/if_iwn.c	Fri Jun  5 04:24:34 2020	(r361820)
@@ -1351,6 +1351,8 @@ iwn_vap_create(struct ieee80211com *ic, const char nam
 	ivp->iv_newstate = vap->iv_newstate;
 	vap->iv_newstate = iwn_newstate;
 	sc->ivap[IWN_RXON_BSS_CTX] = vap;
+	vap->iv_ampdu_rxmax = IEEE80211_HTCAP_MAXRXAMPDU_64K;
+	vap->iv_ampdu_density = IEEE80211_HTCAP_MPDUDENSITY_4; /* 4uS */
 
 	ieee80211_ratectl_init(vap);
 	/* Complete setup. */


More information about the svn-src-all mailing list