MFC r207709:

Add a workaround for a bug in the firmware regarding the transition
from passive to active scans. Basicly disable it by increasing the
amount packets to be received to an amount which can't be reached
during dwell times.

Approved by:	rpaulo (mentor)
This commit is contained in:
Bernhard Schmidt 2010-05-11 17:21:54 +00:00
parent bdf855784c
commit 19e9dc44f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=207927

View File

@ -4730,7 +4730,7 @@ iwn_scan(struct iwn_softc *sc)
chan->passive = htole16(78);
else
chan->passive = htole16(110);
hdr->crc_threshold = htole16(1);
hdr->crc_threshold = 0xffff;
} else if (!(c->ic_flags & IEEE80211_CHAN_PASSIVE)) {
chan->rf_gain = 0x28;
chan->active = htole16(36);
@ -4743,7 +4743,7 @@ iwn_scan(struct iwn_softc *sc)
chan->passive = htole16(88);
else
chan->passive = htole16(120);
hdr->crc_threshold = htole16(1);
hdr->crc_threshold = 0xffff;
}
DPRINTF(sc, IWN_DEBUG_STATE,