svn commit: r258118 - head/sys/dev/iwn
Adrian Chadd
adrian at FreeBSD.org
Thu Nov 14 07:27:01 UTC 2013
Author: adrian
Date: Thu Nov 14 07:27:00 2013
New Revision: 258118
URL: http://svnweb.freebsd.org/changeset/base/258118
Log:
Fix (I think!) the scan timeouts on the intel NICs.
This field needs to be (a) set, and (b) greater than the other timeouts
(passive, active, maxquiet, etc.) It also is in microseconds, not
milliseconds.
I hope this will fix the scan hangs that people are seeing.
Obtained from: Linux iwlwifi
Modified:
head/sys/dev/iwn/if_iwn.c
Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c Thu Nov 14 07:21:09 2013 (r258117)
+++ head/sys/dev/iwn/if_iwn.c Thu Nov 14 07:27:00 2013 (r258118)
@@ -6184,6 +6184,11 @@ iwn_scan(struct iwn_softc *sc)
*/
hdr->quiet_time = htole16(10); /* timeout in milliseconds */
hdr->quiet_threshold = htole16(1); /* min # of packets */
+ /*
+ * Max needs to be greater than active and passive and quiet!
+ * It's also in microseconds!
+ */
+ hdr->max_svc = htole32(250 * 1000);
/* Select antennas for scanning. */
rxchain =
More information about the svn-src-head
mailing list