Hi,

 I've been playing with the 2.4.15-pre6-rmk1-hh1 kernel on my iPAQ, trying
to get it to make an FIR IRLan connection via a Tekram IRDocking station.

 Everything appears to work correctly, it doesn't crash, it connects
without needing an irattach, /proc/net/irda/irlap reports a 4000000
connection. But I'm getting odd lags between frames which make its average
speed lower than the old serial SIR IrDA driver :-(.

To start the connection I did the following:

modprobe irlan
modprobe sa1100_ir
ifconfig irda0 up
echo 1 > /proc/sys/net/irda/discovery
pump -i irlan0

to demonstrate the problem I took an irdump (er...) whilst ping'ing the
local gateway. It looks all wrong with the sa1100_ir, either 800 ms or 0.

 Does anyone know whats causing this?

Thanks

Matthew Horrobin

With sa1100_ir I get this:

05:36:53.347626 (0250.00 ms) i:cmd  > ca=b6 pf=1 nr=5 ns=6 LM slsap=18
dlsap=03 (103)
        b7bc031801 <snip>
05:36:54.147626 (0800.00 ms) rr:cmd > ca=b6 pf=1 nr=5 (2)
        b7b1
         . .
05:36:54.147626 (0000.00 ms) rr:rsp < ca=b6 pf=1 nr=6 (2)
        b6d1
         . .
05:36:54.147626 (0000.00 ms) i:cmd  > ca=b6 pf=1 nr=5 ns=6 LM slsap=18
dlsap=03 (103)
        b7bc031801 <snip>
05:36:54.147626 (0000.00 ms) rr:rsp < ca=b6 pf=1 nr=7 (2)
        b6f1
         . .
05:36:54.147626 (0000.00 ms) rr:cmd > ca=b6 pf=1 nr=5 (2)
        b7b1
         . .
05:36:54.147626 (0000.00 ms) i:rsp  < ca=b6 pf=1 nr=7 ns=5 LM slsap=03
dlsap=18 (103)
        b6fa180301 <snip>
05:36:54.147626 (0000.00 ms) rr:cmd > ca=b6 pf=1 nr=6 (2)
        b7d1
         . .
05:36:54.157626 (0010.00 ms) rr:rsp < ca=b6 pf=1 nr=7 (2)
        b6f1
         . .
05:36:54.207626 (0050.00 ms) rr:cmd > ca=b6 pf=1 nr=6 (2)
        b7d1
         . .
05:36:55.007626 (0800.00 ms) rr:cmd > ca=b6 pf=1 nr=6 (2)
        b7d1
         . .


Whereas a typical ping through the old SIR interface looks like this:

06:08:08.228423 (0000.00 ms) rr:rsp < ca=96 pf=1 nr=1 (2)
        9631
         . 1
06:08:08.488423 (0260.00 ms) rr:cmd > ca=96 pf=1 nr=1 (2)
        9731
         . 1
06:08:08.488423 (0000.00 ms) rr:rsp < ca=96 pf=1 nr=1 (2)
        9631
         . 1
06:08:08.648423 (0160.00 ms) i:cmd  > ca=96 pf=1 nr=1 ns=1 LM slsap=18
dlsap=03 (103)
        97320318 <snip>
06:08:08.658423 (0010.00 ms) rr:rsp < ca=96 pf=1 nr=2 (2)
        9651
         . Q
06:08:08.668423 (0010.00 ms) rr:cmd > ca=96 pf=1 nr=1 (2)
        9731
         . 1
06:08:08.678423 (0010.00 ms) i:rsp  < ca=96 pf=1 nr=2 ns=1 LM slsap=03
dlsap=18 (103)
        96521803 <snip>
06:08:08.688423 (0010.00 ms) rr:cmd > ca=96 pf=1 nr=2 (2)
        9751
         . Q
06:08:08.688423 (0000.00 ms) rr:rsp < ca=96 pf=1 nr=2 (2)
        9651
         . Q
06:08:08.748423 (0060.00 ms) rr:cmd > ca=96 pf=1 nr=2 (2)
        9751
         . Q


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to