Re: Passive Scanning Bugreport
Thomas King <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <[email protected]> |
On Monday 31 July 2006 08:24, Zhu Yi wrote: > On Sat, 2006-07-29 at 00:38 +0200, Thomas King wrote: > > Hi all, > > unfortunately, I figured out that my passive scanning implementation does > > not work in all circumstances. > > This is caused by the timing. The default scan watchdog timer is (5 * > HZ). In your implementation, you set the passive scan dwell time to > 200ms. For example, a card in SKU "ZZA" has 11 bg channels and 13 a > channels, totally 24 channels. To finish scanning all the channels, it > will take 24 * 200ms = 4800ms ~= 5 HZ. So the watchdog is likely to be > kicked off. If you set the dwell time to 120ms as it was originally, the > watchdog shouldn't be fired off. Or if you'd insist 200ms dwell time > gains better result, set the watchdog timer to something like 8~10 HZ. Hi Zhu, thanks for the detailed explanation. I set the dwell timer to 150 ms and now everything works fine. Sorry, I did not now that a dwell timer of 200 ms would case problems. Could you please set the dwell timer to 150 ms or do you want me to create another patch? Thanks again for your support! Greetings, Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV