From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-07-25 16:12:18 UTC
On Thu, Jul 25, 2002 at 06:27:59PM +0300, Jouni Malinen wrote:
> > + outb(0x45, plx_ioaddr);
> > + mdelay(1000);
> > + reg = inb(plx_ioaddr);
> That's horribly long busy wait.. Are you sure it is really needed? What
> is this 0x45 based on (0x41 is OK, but 0x04 part)?
I added a cleaned up version of your patch to Host AP driver (CVS snapshot available from http://hostap.epitest.fi/). I used 1 ms delay (like the other delays in hostap_plx.o) between COR write and read, so let's see if it works or not.. In addition, I modified cor_sreset so that it should be able to reset the card also with TMD7160. If anyone with such a card tests the driver, I would certainly like to hear whether this works or not. I would like to hear whether the driver initializes the card correctly and whether COR sreset ('iwpriv wlan0 reset 1') works.
-- Jouni Malinen PGP id EFC895FA