Orinoco testing + ARM (Byte-alignment problems, it seems)

Ben Greear greearb at candelatech.com
Tue Apr 16 16:57:19 EST 2002


David Gibson wrote:

> On Mon, Apr 15, 2002 at 10:40:56PM -0700, Ben Greear wrote:
> 
>>I just upgraded to the testing orinoco code (I tried 0.11 too) and
>>the byte alignment problem exists.
>>
> 
> Oh bugger, I thought we were finally rid of that.  Do you know where
> the problem is - i.e. what structure is being misaligned?
> 
> 


Here's the packet printout as it comes in.  I'm not sure the
45 00 at the end of the first line is correct.  tcpdump output
is below this debug:


Packet received, data_len: 84  data_off: 68 skb->len: 98 skb->data:
skb->protocol: 0x8  skb->data addr: c10bed92, hhl: 14
00 60 b3 69 56 67 00 90 27 65 37 8c 08 00 45 00 
00 54 00 00 40 00 40 01 b5 47 c0 a8 02 05 c0 a8 
02 0c 08 00 7a e1 4a 15 02 00 c1 c8 bb 3c c9 00 
00 00 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 
16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 
26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 
36 37 
After eth_type_trans, data_len: 84  data_off: 68 skb->len: 84 skb->data:
skb->protocol: 0x8  skb->data addr: c10beda0
45 00 00 54 00 00 40 00 40 01 b5 47 c0 a8 02 05 
c0 a8 02 0c 08 00 7a e1 4a 15 02 00 c1 c8 bb 3c 
c9 00 00 00 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 
14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 
24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 
34 35 36 37 



# I believe this is the same packet, at any rate, tcpdump can't
#decode it, thinks the ip header-len is wrong or something...

06:46:25.239761 0:90:27:65:37:8c 0:60:b3:69:56:67 0800 98: ip_hl < 5 (0)
                          0054 0000 4000 4001 b547 c0a8 0205 c0a8
                          020c 0800 7ae1 4a15 0200 c1c8 bb3c c900
                          0000 0809 0a0b 0c0d 0e0f 1011 1213 1415
                          1617 1819 1a1b 1c1d 1e1f 2021 2223 2425
                          2627 2829 2a2b 2c2d 2e2f 3031 3233 3435
                          3637





-- 
Ben Greear <greearb at candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear






More information about the wireless mailing list