svn commit: r258033 - head/sys/dev/iwn
Adrian Chadd
adrian at FreeBSD.org
Tue Nov 12 05:08:25 UTC 2013
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 */
More information about the svn-src-head
mailing list