[Prism54-devel] [prism54-usb] DWL-G122 and FW 2.4.6.0 differences

Feyd feyd at seznam.cz
Fri Dec 3 08:42:39 UTC 2004


On Fri, 3 Dec 2004 15:52:36 +0800 (WST)
Ian Kent <raven at themaw.net> wrote:

> 
> Given that the DWL-G122 using firmware 2.4.6.0 appears to have different 
> offsets for (at least) the MAC address and the frequencies in the 
> management frame, how should we handle this?

I doubt that the API differs among the SotfMAC firmwares (it is possible
though). More likely the frame start doesn't have to match an offset after
the USB transfer start, rather it is marked somehow. If that is the case
we can find how by comparing the frames. Can you post your frame and the
different one? Mine folows.

> 
> Should a decode function be used to capture the differences in a single 
> place or do we want multiple structure definitions?
> 
> About now I'm wondering where I can get the version of the firmware from?
> One way of course is that it can be located similarly to the method in 
> fwextract but there should be some way to ask the device, anybody have any 
> ideas?

You know the version before the device, as it uses the firmware you load :)
It should be possible to read the firmware back though, and then get the
version the using fwextract method.

Feyd

--

the received frame starts at 0x4a, then is received I don't know what,
then two frames transmitted, both start at 0x24

[OUT >18342 <18343 +1     ]     01 -> 00000000: 6c 07 02 00 ba 00 00 00 00 00 00 00 00 00 00 00
                                   -> 00000010: 10 40 80 00 08 90 32 81 01 00 07 07 28 27 26 24
                                   -> 00000020: 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                   -> 00000030: 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00
                                   -> 00000040: 00 00 02 7f 23 00 00 00 02 8e 08 01 00 00 00 04
                                   -> 00000050: e2 80 9c 8e 00 0c 41 da 29 4c ff ff ff ff ff ff
                                   -> 00000060: 00 00 aa aa 03 00 00 00 08 00 45 00 00 60 04 3f
                                   -> 00000070: 00 00 80 11 e7 0d 0a 1e 1d 06 0a 1e 1d ff 00 89
                                   -> 00000080: 00 89 00 4c 3a d0 80 89 29 10 00 01 00 00 00 00
                                   -> 00000090: 00 01 20 45 42 45 4d 45 47 45 42 43 45 43 41 43
                                   -> 000000a0: 41 43 41 43 41 43 41 43 41 43 41 43 41 43 41 43
                                   -> 000000b0: 41 41 44 00 00 20 00 01 c0 0c 00 20 00 01 00 04
                                   -> 000000c0: 93 e0 00 06 00 00 0a 1e 1d 06 41 43
[OUT >18343 <18344 +1     ]     0e -> 00000000: 0f 08 00 00 00 40 40 00 00 00
[OUT >18343 <18344 +1     ]     01 -> 00000000: 00 02 02 00 14 00 00 00 00 00 00 00 00 00 00 00
                                   -> 00000010: 01 80 08 00 00 00 00 00 0d 00 00 00 03 00 03 00
                                   -> 00000020: 03 00 00 00
[IN  >18344 <18345 +1     ]     81 <- 00000000: 98 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                   <- 00000010: 55 00 84 00 6c 09 00 03 6d 00 00 03 62 3b 00 01
                                   <- 00000020: 00 00 00 00 08 02 00 00 ff ff ff ff ff ff 00 04
                                   <- 00000030: e2 80 9c 8e 00 0c 41 da 29 4c 50 90 aa aa 03 00
                                   <- 00000040: 00 00 08 00 45 00 00 60 04 3f 00 00 80 11 e7 0d
                                   <- 00000050: 0a 1e 1d 06 0a 1e 1d ff 00 89 00 89 00 4c 3a d0
                                   <- 00000060: 80 89 29 10 00 01 00 00 00 00 00 01 20 45 42 45
                                   <- 00000070: 4d 45 47 45 42 43 45 43 41 43 41 43 41 43 41 43
                                   <- 00000080: 41 43 41 43 41 43 41 43 41 43 41 41 44 00 00 20
                                   <- 00000090: 00 01 c0 0c 00 20 00 01 00 04 93 e0 00 06 00 00
                                   <- 000000a0: 0a 1e 1d 06 ea d6 97 bf
[IN  >18345 <18352 +7     ]     81 <- 00000000: 69 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                   <- 00000010: 5d 00 55 00 6c 09 00 00 6c 00 00 65 76 5a 00 01
                                   <- 00000020: 00 00 00 00 80 00 00 00 ff ff ff ff ff ff 00 04
                                   <- 00000030: e2 80 9c 8e 00 04 e2 80 9c 8e 60 90 f6 c1 2e 6b
                                   <- 00000040: 05 00 00 00 64 00 21 00 00 0f 43 5a 46 72 65 65
                                   <- 00000050: 2e 4e 65 74 2e 46 65 79 64 01 04 82 84 8b 96 03
                                   <- 00000060: 01 01 2a 01 07 32 08 0c 12 18 24 30 48 60 6c 05
                                   <- 00000070: 04 00 01 00 00 75 06 57 68 81 60 6a


More information about the Prism54-devel mailing list