ompiling HostAP driver for 2.6.20 Kernel!!!

rdu n rudri_wifi
Mon Jun 11 19:28:31 PDT 2007


HI All,
       With my earlier query regarding the hostap
driver compilation, it was my mistake that i was
trying to compile with latest kernel version which is
not supported. I apologise for that.

In feisty fawn i see that in make menuconfig there is
already support enabled for firmware download in NVRAM
(FLASH). I  compile and instaled the kernel. But after
that also, the prism2_srec says it could not read pda
area and it requires the PRISM2_DOWNLOAD_SUPPORT.

Here is my output,

root at tiger:/home/npi/hostap-utils-0.4.7# ./prism2_srec
-vs wlan1 pk010101.hex sf010704.hex 
S3 CRC-16 generation record: start=0x007E17FE len=2
prog=0
Start address 0x00000000
srec summary for pk010101.hex
Component: 0x0015 1.1.1 (primary firmware)
Supported platforms:
  0x800c 1.0.0,  0x8013 1.0.0,  0x8017 1.0.0,  0x801b
1.0.0,  0x8022 1.0.0
Interface compatibility information:
  role=Supplier variant=1 range=4-4 iface=Primary
Firmware-Driver (3)
  role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
Separate S3 data areas:
S3 area count: 3
  addr=0x007E0000..0x007E0B55 (len=2902)
  addr=0x007E0C00..0x007E151F (len=2336)
  addr=0x007E17FE..0x007E17FF (len=2)
Total data length: 5240
Start address 0x00000000

S3 CRC-16 generation record: start=0x007E1800
len=65414 prog=1
Start address 0x00000000
srec summary for sf010704.hex
Component: 0x001f 1.7.4 (station firmware)
Supported platforms:
  0x800a 1.0.0,  0x800b 1.0.0,  0x800c 1.0.0,  0x800d
1.0.0,  0x8012 1.0.0
  0x8013 1.0.0,  0x8014 1.0.0,  0x8016 1.0.0,  0x8017
1.0.0,  0x8018 1.0.0
  0x801a 1.0.0,  0x801b 1.0.0,  0x801c 1.0.0,  0x8021
1.0.0,  0x8022 1.0.0
  0x8023 1.0.0
Interface compatibility information:
  role=Supplier variant=4 range=1-12 iface=Station
Firmware-Driver (4)
  role=Actor    variant=1 range=1-1
iface=Modem-Firmware (1)
  role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
  role=Actor    variant=1 range=4-4 iface=Primary
Firmware-Driver (3)
Separate S3 data areas:
S3 area count: 3
  addr=0x007E1800..0x007EE2DB (len=51932)
  addr=0x007F0800..0x007F1785 (len=3974)
  addr=0x007FE000..0x007FECC5 (len=3270)
Total data length: 59176
Start address 0x00000000

Wireless LAN card information:
Components:
  NICID: 0x8013 v1.0.0
  PRIID: 0x0015 v1.1.0
  STAID: 0x001f v1.4.9
Interface compatibility information:
  PRI role=Supplier variant=1 range=1-1
iface=Modem-Firmware (1)
  PRI role=Supplier variant=2 range=1-1
iface=Controller-Firmware (2)
  PRI role=Supplier variant=1 range=4-4 iface=Primary
Firmware-Driver (3)
  STA role=Supplier variant=1 range=1-9 iface=Station
Firmware-Driver (4)
  PRI role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
  STA role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
  STA role=Actor    variant=1 range=1-1
iface=Modem-Firmware (1)

Verifying update compatibility and combining data:
Plugging PDR 0xffffffff at 0x007e1510 (len=14)
Plugging PDR 0x0003 at 0x007e14b8 (len=12)
PDR 0x0003 not found from wlan card PDA. Using default
data.
  len=12: 39 39 53 41 30 31 30 30 30 30 30 30
Plugging PDR 0x0005 at 0x007e1310 (len=2)
PDR 0x0005 not found from wlan card PDA. Using default
data.
  len=2: 00 01
Plugging PDR 0x0006 at 0x007e14f0 (len=10)
PDR 0x0006 not found from wlan card PDA. Using default
data.
  len=10: 00 00 01 00 00 00 01 00 01 00
Plugging PDR 0x0007 at 0x007e1504 (len=10)
PDR 0x0007 not found from wlan card PDA. Using default
data.
  len=10: 00 00 02 00 00 00 01 00 01 00
Plugging PDR 0x0008 at 0x007e14c4 (len=8)
PDR 0x0008 not found from wlan card PDA. Using default
data.
  len=8: 00 80 01 00 00 00 00 00
Plugging PDR 0x0400 at 0x007e1314 (len=2)
Failed to open '/proc/net/hostap/wlan1/debug' for
reading.
Incompatible update data.
root at tiger:/home/npi/hostap-utils-0.4.7# ./prism2_srec
-v wlan1 pk010101.hex sf010704.hex 
S3 CRC-16 generation record: start=0x007E17FE len=2
prog=0
Start address 0x00000000
srec summary for pk010101.hex
Component: 0x0015 1.1.1 (primary firmware)
Supported platforms:
  0x800c 1.0.0,  0x8013 1.0.0,  0x8017 1.0.0,  0x801b
1.0.0,  0x8022 1.0.0
Interface compatibility information:
  role=Supplier variant=1 range=4-4 iface=Primary
Firmware-Driver (3)
  role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
Separate S3 data areas:
S3 area count: 3
  addr=0x007E0000..0x007E0B55 (len=2902)
  addr=0x007E0C00..0x007E151F (len=2336)
  addr=0x007E17FE..0x007E17FF (len=2)
Total data length: 5240
Start address 0x00000000

S3 CRC-16 generation record: start=0x007E1800
len=65414 prog=1
Start address 0x00000000
srec summary for sf010704.hex
Component: 0x001f 1.7.4 (station firmware)
Supported platforms:
  0x800a 1.0.0,  0x800b 1.0.0,  0x800c 1.0.0,  0x800d
1.0.0,  0x8012 1.0.0
  0x8013 1.0.0,  0x8014 1.0.0,  0x8016 1.0.0,  0x8017
1.0.0,  0x8018 1.0.0
  0x801a 1.0.0,  0x801b 1.0.0,  0x801c 1.0.0,  0x8021
1.0.0,  0x8022 1.0.0
  0x8023 1.0.0
Interface compatibility information:
  role=Supplier variant=4 range=1-12 iface=Station
Firmware-Driver (4)
  role=Actor    variant=1 range=1-1
iface=Modem-Firmware (1)
  role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
  role=Actor    variant=1 range=4-4 iface=Primary
Firmware-Driver (3)
Separate S3 data areas:
S3 area count: 3
  addr=0x007E1800..0x007EE2DB (len=51932)
  addr=0x007F0800..0x007F1785 (len=3974)
  addr=0x007FE000..0x007FECC5 (len=3270)
Total data length: 59176
Start address 0x00000000

Could not read wlan PDA. This requires
PRISM2_DOWNLOAD_SUPPORT definition in
driver/module/hostap_config.h.

if i pass -s option it says.....

root at tiger:/home/npi/hostap-utils-0.4.7# ./prism2_srec
-vs wlan1 pk010101.hex sf010704.hex 
S3 CRC-16 generation record: start=0x007E17FE len=2
prog=0
Start address 0x00000000
srec summary for pk010101.hex
Component: 0x0015 1.1.1 (primary firmware)
Supported platforms:
  0x800c 1.0.0,  0x8013 1.0.0,  0x8017 1.0.0,  0x801b
1.0.0,  0x8022 1.0.0
Interface compatibility information:
  role=Supplier variant=1 range=4-4 iface=Primary
Firmware-Driver (3)
  role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
Separate S3 data areas:
S3 area count: 3
  addr=0x007E0000..0x007E0B55 (len=2902)
  addr=0x007E0C00..0x007E151F (len=2336)
  addr=0x007E17FE..0x007E17FF (len=2)
Total data length: 5240
Start address 0x00000000

S3 CRC-16 generation record: start=0x007E1800
len=65414 prog=1
Start address 0x00000000
srec summary for sf010704.hex
Component: 0x001f 1.7.4 (station firmware)
Supported platforms:
  0x800a 1.0.0,  0x800b 1.0.0,  0x800c 1.0.0,  0x800d
1.0.0,  0x8012 1.0.0
  0x8013 1.0.0,  0x8014 1.0.0,  0x8016 1.0.0,  0x8017
1.0.0,  0x8018 1.0.0
  0x801a 1.0.0,  0x801b 1.0.0,  0x801c 1.0.0,  0x8021
1.0.0,  0x8022 1.0.0
  0x8023 1.0.0
Interface compatibility information:
  role=Supplier variant=4 range=1-12 iface=Station
Firmware-Driver (4)
  role=Actor    variant=1 range=1-1
iface=Modem-Firmware (1)
  role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
  role=Actor    variant=1 range=4-4 iface=Primary
Firmware-Driver (3)
Separate S3 data areas:
S3 area count: 3
  addr=0x007E1800..0x007EE2DB (len=51932)
  addr=0x007F0800..0x007F1785 (len=3974)
  addr=0x007FE000..0x007FECC5 (len=3270)
Total data length: 59176
Start address 0x00000000

Wireless LAN card information:
Components:
  NICID: 0x8013 v1.0.0
  PRIID: 0x0015 v1.1.0
  STAID: 0x001f v1.4.9
Interface compatibility information:
  PRI role=Supplier variant=1 range=1-1
iface=Modem-Firmware (1)
  PRI role=Supplier variant=2 range=1-1
iface=Controller-Firmware (2)
  PRI role=Supplier variant=1 range=4-4 iface=Primary
Firmware-Driver (3)
  STA role=Supplier variant=1 range=1-9 iface=Station
Firmware-Driver (4)
  PRI role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
  STA role=Actor    variant=2 range=1-1
iface=Controller-Firmware (2)
  STA role=Actor    variant=1 range=1-1
iface=Modem-Firmware (1)

Verifying update compatibility and combining data:
Plugging PDR 0xffffffff at 0x007e1510 (len=14)
Plugging PDR 0x0003 at 0x007e14b8 (len=12)
PDR 0x0003 not found from wlan card PDA. Using default
data.
  len=12: 39 39 53 41 30 31 30 30 30 30 30 30
Plugging PDR 0x0005 at 0x007e1310 (len=2)
PDR 0x0005 not found from wlan card PDA. Using default
data.
  len=2: 00 01
Plugging PDR 0x0006 at 0x007e14f0 (len=10)
PDR 0x0006 not found from wlan card PDA. Using default
data.
  len=10: 00 00 01 00 00 00 01 00 01 00
Plugging PDR 0x0007 at 0x007e1504 (len=10)
PDR 0x0007 not found from wlan card PDA. Using default
data.
  len=10: 00 00 02 00 00 00 01 00 01 00
Plugging PDR 0x0008 at 0x007e14c4 (len=8)
PDR 0x0008 not found from wlan card PDA. Using default
data.
  len=8: 00 80 01 00 00 00 00 00
Plugging PDR 0x0400 at 0x007e1314 (len=2)
Failed to open '/proc/net/hostap/wlan1/debug' for
reading.
Incompatible update data.

My card is ...

01:02.0 Network controller: Intersil Corporation Prism
2.5 Wavelan chipset (rev 01)

Please some one could find where i am missing!!!.. I
am badly stuck....

Regards,
NBR



       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/





More information about the Hostap mailing list