diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2010-05-06 17:53:04 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2010-05-06 17:53:04 +0000 |
commit | f31c4b8ae5783c367f54c4693cef7f39c33cc935 (patch) | |
tree | ebfbe848b7f13546751fd327a0e147b7e2c0253b /sys/dev/iwn | |
parent | e6c77ecaeaf0547b92eb4e977cf889fc645585f9 (diff) | |
download | FreeBSD-src-f31c4b8ae5783c367f54c4693cef7f39c33cc935.zip FreeBSD-src-f31c4b8ae5783c367f54c4693cef7f39c33cc935.tar.gz |
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)
MFC after: 3 days
Diffstat (limited to 'sys/dev/iwn')
-rw-r--r-- | sys/dev/iwn/if_iwn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 5a17d1e..39b26b5 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -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, |