update PDA failed

Bruno Randolf bruno.randolf at 4g-systems.biz
Fri May 28 08:21:23 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello!

i try to update the PDA of a prism2.5 (seano SL-2511MP PLUS) with prism2_srec 
to match the regulatory domain i live in. i used this command

./prism2_srec -vv -P wlan0.pda.hostap.mod -f wlan0 sf010704.hex

and it does not give me an error (full -vv output at the end of this mail). 
but when i dump the contents of the PDA again with

./prism2_srec -D wlan0

it still shows me the old values. the file "wlan0.pda.hostap.mod" contains the 
pda that i dumped before, with these lines changed:

; PDR 0x0103 data len=12 Regulatory Domain List
7 0103
0001 0030 0000 0000 0000 0000
; PDR 0x0104 data len=2 Allowed Channel Set/Active Channel List
2 0104
1fff

i use hostap 0.2.1 and kernel 2.4.24. am i doing something wrong? what could 
be the problem?

thanks for any hints,
bruno

- ---

# ./prism2_srec -vv -P wlan0.pda.hostap.mod -f wlan0 sf010704.hex
S3 plug record: PDR=0xffffffff plug: addr=0x007EDE00 len=14
S3 plug record: PDR=0x0202 plug: addr=0x007F11EE len=100ap.mod -f wlan0 
sf010704.
S3 plug record: PDR=0x0203 plug: addr=0x007F1252 len=128
S3 plug record: PDR=0x0204 plug: addr=0x007F13D2 len=80
S3 plug record: PDR=0x0405 plug: addr=0x007F1422 len=4
S3 plug record: PDR=0x0300 plug: addr=0x007F1426 len=28
S3 plug record: PDR=0x0301 plug: addr=0x007F1442 len=34
S3 plug record: PDR=0x0101 plug: addr=0x007F163A len=6
S3 plug record: PDR=0x0103 plug: addr=0x007EDDC2 len=12
S3 plug record: PDR=0x0104 plug: addr=0x007EDEF8 len=2
S3 plug record: PDR=0x0105 plug: addr=0x007F1646 len=2
S3 plug record: PDR=0x0105 plug: addr=0x007EDF2E len=2
S3 plug record: PDR=0x0105 plug: addr=0x007F1742 len=2
S3 plug record: PDR=0x0107 plug: addr=0x007EDDD0 len=2
S3 plug record: PDR=0x0006 plug: addr=0x007EDD9C len=10
S3 plug record: PDR=0x0406 plug: addr=0x007F16DA len=2
S3 plug record: PDR=0x0302 plug: addr=0x007F146A len=2
S3 plug record: PDR=0x0303 plug: addr=0x007F146C len=2
S3 plug record: PDR=0x0412 plug: addr=0x007EDF50 len=6
S3 CRC-16 generation record: start=0x007E1800 len=65414 prog=1
S3 f/w info: version: component=0x001f 1.7.4
S3 f/w info: compatibility: role=0x0000 iface_id=0x0004 variant=4 range=1-12
S3 f/w info: compatibility: role=0x0001 iface_id=0x0001 variant=1 range=1-1
S3 f/w info: compatibility: role=0x0001 iface_id=0x0002 variant=2 range=1-1
S3 f/w info: compatibility: role=0x0001 iface_id=0x0003 variant=1 range=4-4
S3 f/w info: build seq#: 0
S3 f/w info: platform: id=0x800a 1.0.0
S3 f/w info: platform: id=0x800b 1.0.0
S3 f/w info: platform: id=0x800c 1.0.0
S3 f/w info: platform: id=0x800d 1.0.0
S3 f/w info: platform: id=0x8012 1.0.0
S3 f/w info: platform: id=0x8013 1.0.0
S3 f/w info: platform: id=0x8014 1.0.0
S3 f/w info: platform: id=0x8016 1.0.0
S3 f/w info: platform: id=0x8017 1.0.0
S3 f/w info: platform: id=0x8018 1.0.0
S3 f/w info: platform: id=0x801a 1.0.0
S3 f/w info: platform: id=0x801b 1.0.0
S3 f/w info: platform: id=0x801c 1.0.0
S3 f/w info: platform: id=0x8021 1.0.0
S3 f/w info: platform: id=0x8022 1.0.0
S3 f/w info: platform: id=0x8023 1.0.0
Start address 0x00000000
Before S3 sort
S3 area count: 6
  addr=0x007E1800..0x007E355F (len=7520)
  addr=0x007FE000..0x007FEBC1 (len=3010)
  addr=0x007E3560..0x007E3661 (len=258)
  addr=0x007FEBC2..0x007FECC5 (len=260)
  addr=0x007E3662..0x007EE2DB (len=44154)
  addr=0x007F0800..0x007F1785 (len=3974)
Total data length: 59176

After S3 sort
S3 area count: 3
  addr=0x007E1800..0x007EE2DB (len=51932)
  addr=0x007F0800..0x007F1785 (len=3974)
  addr=0x007FE000..0x007FECC5 (len=3270)
Total data length: 59176
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

Updating PDA checksum to match with data (4cd7 -> 5e44).
Wireless LAN card information:
Components:
  NICID: 0x8013 v1.0.0
  PRIID: 0x0015 v1.1.1
  STAID: 0x001f v1.7.4
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-12 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)
PDR 0x0001 len=12: 49 53 4c 33 37 34 30 30 4d 00 00 00
PDR 0
x0002 len=2: 03 00
PDR 0x0003 len=12: 30 30 30 33 43 32 34 31 33 39 32 0a
PDR 0x0006 len=10: 00 00 01 00 01 00 01 00 01 00
PDR 0x0007 len=10: 00 00 02 00 02 00 01 00 01 00
PDR 0x0008 len=8: 13 80 00 00 01 00 00 00
PDR 0x0101 len=6: 00 02 6f 09 a3 a6
PDR 0x0103 len=12: 01 00 30 00 00 00 00 00 00 00 00 00
PDR 0x0104 len=2: ff 1f
PDR 0x0105 len=2: 03 00
PDR 0x0107 len=2: 01 00
PDR 0x0202 len=100: 00 02 01 04 38 06 80 08 03 0a 04 0c 04 0e 00 10 a2 12 c8 
14 03 16 00 18 00 4
PDR 0x0203 len=128: 00 2c 0c 2e 01 2c 10 2e 02 2c 14 2e 03 2c 18 2e 04 2c 1c 
2e 05 2c 20 2e 06 e
PDR 0x0204 len=80: 03 00 00 50 06 00 00 70 16 00 00 00 c6 05 00 60 07 00 00 50 
2c 00 00 00 e5 00
PDR 0x0300 len=28: 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 
0c 00 0c 00 0c 00
PDR 0x0301 len=34: e5 00 e5 00 e5 00 dd 00 dd 00 dd 00 d1 00 d1 00 d1 00 cb 00 
cb 00 cb 00 cb 00
PDR 0x0400 len=2: 07 00
PDR 0x0402 len=4: 73 38 60 12
PDR 0x0403 len=16: 00 00 00 02 00 80 01 01 73 38 60 12 73 38 60 12
PDR 0x0404 len=10: 01 00 00 00 00 00 02 7e 01 00
PDR 0x0900 len=60: 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 0c 00 
0c 00 0c 00 0c 00
PDR 0x0901 len=66: e5 00 e5 00 e5 00 dd 00 dd 00 dd 00 d1 00 d1 00 d1 00 cb 00 
cb 00 cb 00 cb 00
PDR 0x0000 len=2: 44 5e

Verifying update compatibility and combining data:
Plugging PDR 0xffffffff at 0x007ede00 (len=14)
Plugging PDR 0x0202 at 0x007f11ee (len=100)
Plugging PDR 0x0203 at 0x007f1252 (len=128)
Plugging PDR 0x0204 at 0x007f13d2 (len=80)
Plugging PDR 0x0405 at 0x007f1422 (len=4)
PDR 0x0405 not found from wlan card PDA. Using default data.
  len=4: 00 00 00 30
Plugging PDR 0x0300 at 0x007f1426 (len=28)
Plugging PDR 0x0301 at 0x007f1442 (len=34)
Plugging PDR 0x0101 at 0x007f163a (len=6)
Plugging PDR 0x0103 at 0x007eddc2 (len=12)
Plugging PDR 0x0104 at 0x007edef8 (len=2)
Plugging PDR 0x0105 at 0x007f1646 (len=2)
Plugging PDR 0x0105 at 0x007edf2e (len=2)
Plugging PDR 0x0105 at 0x007f1742 (len=2)
Plugging PDR 0x0107 at 0x007eddd0 (len=2)
Plugging PDR 0x0006 at 0x007edd9c (len=10)
Plugging PDR 0x0406 at 0x007f16da (len=2)
PDR 0x0406 not found from wlan card PDA. Using default data.
  len=2: 64 00
Plugging PDR 0x0302 at 0x007f146a (len=2)
PDR 0x0302 not found from wlan card PDA. Using default data.
  len=2: 12 00
Plugging PDR 0x0303 at 0x007f146c (len=2)
PDR 0x0303 not found from wlan card PDA. Using default data.
  len=2: ff 1f
Plugging PDR 0x0412 at 0x007edf50 (len=6)
PDR 0x0412 not found from wlan card PDA. Using default data.
  len=6: ff ff 02 00 02 00
Generating CRC-16 (start=0x007e1800, len=65414) at 0x007e17fe
OK.

Downloading to non-volatile memory (flash).
Note! This can take about 30 seconds. Do _not_ remove card during download.

wifi0: NIC: id=0x8013 v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.7.4
wifi0: Card initialized successfully after flash download
OK.
Components after download:
  NICID: 0x8013 v1.0.0
  PRIID: 0x0015 v1.1.1
  STAID: 0x001f v1.7.4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAty7Dfg2jtUL97G4RAr4UAJ0YMV1lPwWNhsbtjyfdc3OmWbXkCwCfbqGj
4EriuXZnFcdom4BYteTsB04=
=NMQx
-----END PGP SIGNATURE-----



More information about the HostAP mailing list