svn commit: r280054 - head/sys/dev/wpi

Adrian Chadd adrian at FreeBSD.org
Sun Mar 15 20:13:59 UTC 2015


Author: adrian
Date: Sun Mar 15 20:13:58 2015
New Revision: 280054
URL: https://svnweb.freebsd.org/changeset/base/280054

Log:
  Divide ackfailcnt by 2 (firmware decreases rate after two unsuccessful retries)
  
  PR:		kern/197143
  Submitted by:	Andriy Voskoboinyk <s3erios at gmail.com>

Modified:
  head/sys/dev/wpi/if_wpi.c

Modified: head/sys/dev/wpi/if_wpi.c
==============================================================================
--- head/sys/dev/wpi/if_wpi.c	Sun Mar 15 20:13:07 2015	(r280053)
+++ head/sys/dev/wpi/if_wpi.c	Sun Mar 15 20:13:58 2015	(r280054)
@@ -1834,7 +1834,7 @@ wpi_tx_done(struct wpi_softc *sc, struct
 	struct mbuf *m;
 	struct ieee80211_node *ni;
 	struct ieee80211vap *vap;
-	int ackfailcnt = stat->ackfailcnt;
+	int ackfailcnt = stat->ackfailcnt / 2;	/* wpi_mrr_setup() */
 	int status = le32toh(stat->status);
 
 	KASSERT(data->ni != NULL, ("no node"));


More information about the svn-src-head mailing list