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
This commit is contained in:
Adrian Chadd 2013-11-14 07:27:00 +00:00
parent 1650f039d0
commit 6171f42c9f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258118

View File

@ -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 =