Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 05:08:24 +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: r258033 - head/sys/dev/iwn
Message-ID:  <201311120508.rAC58OKJ080205@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Tue Nov 12 05:08:24 2013
New Revision: 258033
URL: http://svnweb.freebsd.org/changeset/base/258033

Log:
  Grr. For some odd reason, setting this to a single antenna on my 5100
  (which is a 1x2 device) panics the firmware.
  
  But, for some 6xxx devices that require IWN_ANT_BC for the TX chainmask,
  the link quality entries need to represent _that_.
  
  So, revert this for now until I can figure out what is supposed to be
  going on.

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

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Tue Nov 12 05:00:18 2013	(r258032)
+++ head/sys/dev/iwn/if_iwn.c	Tue Nov 12 05:08:24 2013	(r258033)
@@ -4336,7 +4336,7 @@ iwn_set_link_quality(struct iwn_softc *s
 	memset(&linkq, 0, sizeof linkq);
 	linkq.id = wn->id;
 	linkq.antmsk_1stream = txant;
-	linkq.antmsk_2stream = sc->txchainmask;
+	linkq.antmsk_2stream = IWN_ANT_AB;
 	linkq.ampdu_max = 64;
 	linkq.ampdu_threshold = 3;
 	linkq.ampdu_limit = htole16(4000);	/* 4ms */



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