hw reset during high traffic load (was: talkative reset)

Jouni Malinen jkmaline
Sat May 17 23:51:22 PDT 2003


On Thu, May 15, 2003 at 11:53:51PM +0200, Lukic wrote:

> So, my question is: What is doing HFA384X_OUTW(0x0080,
> HFA384X_PCICOR_OFF);??

It asserts COR sreset bit to reset the card.

> Did we do all we have to do before sending this to card? Or is it a hardware
> error?

The most important part is to disable interrupts or mask them out before
resetting the card. It was done, however, not always in proper order.

I found number of race conditions in the hw_reset code. The obvious ones
are now fixed, but I might have missed some. In addition, I fixed lot of
other small details about hw_reset during high traffic load. After these
fixes, I have been unable to hang an AP with Prism2.5 PCI by running
'iwpriv wlan0 reset 1' every second during ping flood. All these fixes
are now in CVS. Please re-test with these and let me know whether they
helped.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list