Thursday, July 06, 2006

One of the wireless cards I was using in the Jornada, out of the SMC ap, marked WL11000-2, only had firmware versionb 0.7.5, and so a lot of functions weren't available.

I wondered if that was some of the issues I was having with the drivers in the Jornada, and using ministumbler. I found pages here and here related to updating the firmware.

I downloaded a few different firmwares, and then went about compiling hostap. That required me to install the correct kernel source and headers, because I had been missing that.

Once done, I compiled hostap driver and installed it, before I had the hostap driver, inserting the card gave:

[7129498.888000] orinoco 0.14alpha2 (David Gibson , Pavel Roskin , et al)
[7129498.895000] orinoco_cs 0.14alpha2 (David Gibson , Pavel Roskin , et al)
[7129499.037000] eth2: Hardware identity 8002:0000:0001:0000
[7129499.037000] eth2: Station identity 001f:0005:0000:0007
[7129499.037000] eth2: Intersil firmware earlier than v0.8.x - several features not supported
[7129499.037000] eth2: Firmware determined as Intersil 0.7.5
[7129499.037000] eth2: Ad-hoc demo mode supported
[7129499.037000] eth2: IEEE standard IBSS ad-hoc mode supported
[7129499.037000] eth2: MAC address 00:90:D1:00:D1:DB
[7129499.037000] eth2: Station name "Prism I"
[7129499.038000] eth2: ready
[7129499.045000] eth2: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x013f

After installing the hostap driver, killing off cardmgr, and restarting it, inserting the card gave:

[7133612.864000] hostap_crypt: registered algorithm 'NULL'
[7133612.868000] hostap_cs: 0.4.9 - 2006-05-06 (Jouni Malinen )
[7133891.610000] cs: IO port probe 0x100-0x4ff: clean.
[7133891.612000] cs: IO port probe 0xc00-0xcf7: clean.
[7133891.613000] cs: IO port probe 0xa00-0xaff: clean.
[7133891.784000] hostap_cs: setting Vcc=33 (constant)
[7133891.784000] hostap_cs: CS_EVENT_CARD_INSERTION
[7133891.784000] hostap_cs: setting Vcc=33 (from config)
[7133891.784000] Checking CFTABLE_ENTRY 0x01 (default 0x01)
[7133891.784000] IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
[7133891.784000] io->flags = 0x0046, io.base=0x0000, len=64
[7133891.784000] CardServices(RequestIO) returned 29
[7133891.784000] 0.1: RequestIO: Configuration locked
[7133891.784000] 0.1: GetNextTuple: No more items
[7133891.784000] prism2_config() failed
[7133897.304000] hostap_cs: CS_EVENT_CARD_REMOVAL
[7133901.764000] hostap_cs: setting Vcc=33 (constant)
[7133901.764000] hostap_cs: CS_EVENT_CARD_INSERTION
[7133901.764000] hostap_cs: setting Vcc=33 (from config)
[7133901.765000] Checking CFTABLE_ENTRY 0x01 (default 0x01)
[7133901.765000] IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
[7133901.765000] io->flags = 0x0046, io.base=0x0000, len=64
[7133901.766000] hostap_cs: Registered netdevice wifi0
[7133901.806000] hostap_cs: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x013f
[7133901.902000] prism2_hw_init: initialized in 96 ms
[7133901.906000] wifi0: NIC: id=0x8002 v1.0.0
[7133901.907000] wifi0: PRI: id=0x15 v0.3.0
[7133901.907000] wifi0: STA: id=0x1f v0.7.5
[7133901.908000] wifi0: defaulting to host-based encryption as a workaround for firmware bug in Host AP mode WEP
[7133901.908000] wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
[7133901.912000] wifi0: registered netdevice wlan0

I tried to update the firmware, but kept having issues with it telling me "NICID was not found from the list of supported platforms." and refusing to update.

I eventually worked out it was because there was an error on the page I was looking at:

wget http://linux.junsun.net/intersil-prism/firmware/1.5.6/sf010506.hex
./prism2_srec -v -f wlan0 s1010506.hex -P pda

Since the file to be downloaded is not the one to be loaded.. the file that I needed to download was http://linux.junsun.net/intersil-prism/firmware/1.5.6/s1010506.hex

I then tried to update the card, since it said it was compatible, but then found that I hadn't enabled firmware updating in the hostap driver.

I modified the source, recompilied it, unloaded and reloaded hostap, removed and reinserted the card.

After that I was able to flash the card, and got:


Downloading to non-volatile memory (flash).
Note! This can take about 30 seconds. Do _not_ remove card during download.
OK.
Components after download:
NICID: 0x8002 v1.0.0
PRIID: 0x0015 v0.3.0
STAID: 0x001f v1.5.6


So it was updated. It seemed to be working, was running in master mode (since it had the hostap driver loaded) and i was able to change it to managed, but I didn't try connecting to my AP.

I put it in the Jornada, and it connected to the AP fine, and when I ran ministumbler, it was able to log APs, instead of just returning errors.

The other card, out of the WET11, is supposed to be a prism 2.5 based card (this one is a prism 2 card), and it can have a newer firmware again. I might update it.

0 Comments:

Post a comment

<< Home