DWL 520 rev. E
Pavel Roskin
proski
Thu Jan 29 12:44:23 PST 2004
On Thu, 29 Jan 2004, Joshua Thorp wrote:
> There are still a few bugs to work out on my end with the card as it
> turns out. Yesterday I restarted my machine, wasn't able to get the
> card to load, at one point I managed to change the NIC to 0x8000 when
> it should be 0x8024. So I turned off the computer and pulled the power
> cable and took PCI card out and put it back in. When I rebooted
> everything went well. This morning I thought perhaps the problem was
> because I didn't unload the driver properly before shutting down?
Just in case you didn't realize it, NIC ID is set from PDA (i.e. card data
stored on the card). When primary firmware is loaded the first time, the
PDA is not accessible yet, so the firmware is loaded without being plugged
(patched), i.e. with default values. The default value for NIC ID is
0x8000, version 0.0.1.
Actually, there is one value we plug at this point - it's the RAM type.
It's determined by writing and reading data to the card memory.
When the primary firmware is loaded the second time, the PDA is available.
The NIC ID from the PDA is substituted, so from this point the firmware
returns correct NIC ID.
--
Regards,
Pavel Roskin
More information about the Hostap
mailing list