Hi All,
I am Using s3c2413 board with 2.6.10 kernel.
I am facing strange problem in  the driver for  IRDA.
In SIR mode it says it switches from 9600 bps to 115200 bps at time of transfer of file. But when I calculate the times
according to time I received the file on destination it gives the speed of 19200 around.
Why is it happening ?

Source : s3c2413 2.6 kernel
Destination : Windows
Dongle : SigmTel USB IRDA-dongle speed upto 4 Mbps

Utility : irxfer
File size : 550 KB

Time Taken : 4 min 30 sec

I am attaching irdadump log.

Is there any clue. Thanks In advance.

Thanks & regards
Gaurav

irdadump log

root@off:~# 00:01:39.695139 xid:cmd ffffffff < 0000046c S=6 s=0 (14)
00:01:39.805151 xid:cmd ffffffff < 0000046c S=6 s=1 (14)
.00:01:39.915389 xid:cmd ffffffff < 0000046c S=6 s=2 (14)
/00:01:40.025472 xid:cmd ffffffff < 0000046c S=6 s=3 (14)
00:01:40.135340 xid:cmd ffffffff < 0000046c S=6 s=4 (14)
00:01:40.135366 xid:rsp 41422334 > 0000046c S=6 s=4 off hint=0400 [ Computer ] (19)
00:01:40.295385 xid:cmd ffffffff < 0000046c S=6 s=5 (14)
00:01:40.420189 xid:cmd ffffffff < 0000046c S=6 s=* GAURAVKUMAR hint=8425 [ Computer Telephony IrCOMM IrOBEX ] (29)
ir da-utils/i00:01:44.700295 xid:cmd ffffffff < 0000046c S=6 s=0 (14)
00:01:44.700322 xid:rsp 41422334 > 0000046c S=6 s=0 off hint=0400 [ Computer ] (19)
r00:01:44.860322 xid:cmd ffffffff < 0000046c S=6 s=1 (14)
00:01:44.970208 xid:cmd ffffffff < 0000046c S=6 s=2 (14)
00:01:45.080292 xid:cmd ffffffff < 0000046c S=6 s=3 (14)
x00:01:45.190706 xid:cmd ffffffff < 0000046c S=6 s=4 (14)
fer 00:01:45.300396 xid:cmd ffffffff < 0000046c S=6 s=5 (14)
00:01:45.425222 xid:cmd ffffffff < 0000046c S=6 s=* GAURAVKUMAR hint=8425 [ Computer Telephony IrCOMM IrOBEX ] (29)
K00:01:47.695524 xid:cmd ffffffff < 0000046c S=6 s=0 (14)
D00:01:47.805764 xid:cmd ffffffff < 0000046c S=6 s=1 (14)
00:01:47.920082 xid:cmd ffffffff < 0000046c S=6 s=2 (14)
00:01:48.030147 xid:cmd ffffffff < 0000046c S=6 s=3 (14)
E_Logout_new.wav 00:01:48.140033 xid:cmd ffffffff < 0000046c S=6 s=4 (14)
00:01:48.250096 xid:cmd ffffffff < 0000046c S=6 s=5 (14)
00:01:48.250122 xid:rsp 41422334 > 0000046c S=6 s=5 off hint=0400 [ Computer ] (19)
00:01:48.425059 xid:cmd ffffffff < 0000046c S=6 s=* GAURAVKUMAR hint=8425 [ Computer Telephony IrCOMM IrOBEX ] (29)

00:01:49.205653 xid:cmd 41422334 > ffffffff S=6 s=0 (14)
00:01:49.325009 xid:cmd 41422334 > ffffffff S=6 s=1 (14)
00:01:49.445009 xid:cmd 41422334 > ffffffff S=6 s=2 (14)
00:01:49.525451 xid:rsp 41422334 < 0000046c S=6 s=2 GAURAVKUMAR hint=8425 [ Computer Telephony IrCOMM IrOBEX ] (29)
00:01:49.565009 xid:cmd 41422334 > ffffffff S=6 s=3 (14)
00:01:49.685013 xid:cmd 41422334 > ffffffff S=6 s=4 (14)
00:01:49.805010 xid:cmd 41422334 > ffffffff S=6 s=5 (14)
00:01:49.925013 xid:cmd 41422334 > ffffffff S=6 s=* off hint=0400 [ Computer ] (19)
00:01:49.960316 snrm:cmd ca=fe pf=1 41422334 > 0000046c new-ca=4a (32)
Irda  New Speed 115200 bps
sir : pclk 50000000 speed 115200 ubrdiv 26
00:01:50.065102 ua:rsp ca=4a pf=1 41422334 < 0000046c (31)
00:01:50.065132 ua:rsp ca=4a pf=1 0000046c > 41422334 (0)
00:01:50.065315 rr:cmd > ca=4a pf=1 nr=0 (2)
00:01:50.320009 rr:cmd > ca=4a pf=1 nr=0 (2)
00:01:50.325569 rr:rsp < ca=4a pf=1 nr=0 (2)
00:01:50.325593 i:cmd  > ca=4a pf=1 nr=0 ns=0 LM slsap=10 dlsap=00 CONN_CMD (6)
00:01:50.335263 i:rsp  < ca=4a pf=1 nr=1 ns=0 LM slsap=00 dlsap=10 CONN_RSP (6)
00:01:50.335292 i:cmd  > ca=4a pf=1 nr=1 ns=1 LM slsap=10 dlsap=00 GET_VALUE_BY_CLASS: "OBEX:IrXfer" "IrDA:TinyTP:LsapSel" (37)
00:01:50.345787 i:rsp  < ca=4a pf=1 nr=2 ns=1 LM slsap=00 dlsap=10 GET_VALUE_BY_CLASS: Success Integer: 01 (15)
00:01:50.345829 i:cmd  > ca=4a pf=1 nr=2 ns=2 LM slsap=10 dlsap=00 DISC (6)
00:01:50.355381 rr:rsp < ca=4a pf=1 nr=3 (2)
00:01:50.355406 i:cmd  > ca=4a pf=1 nr=2 ns=3 LM slsap=11 dlsap=01 CONN_CMD TTP credits=0(7)
00:01:50.365093 i:rsp  < ca=4a pf=1 nr=4 ns=2 LM slsap=01 dlsap=11 CONN_RSP TTP credits=0(7)
00:01:50.365322 i:cmd  > ca=4a pf=1 nr=3 ns=4 LM slsap=11 dlsap=01 TTP credits=0
    OBEX CONNECT len=7 ver=1.0 flags=0 mtu=1024 (12)
00:01:50.375015 rr:rsp < ca=4a pf=1 nr=5 (2)
00:01:50.875007 rr:cmd > ca=4a pf=1 nr=3 (2)
00:01:50.880577 rr:rsp < ca=4a pf=1 nr=5 (2)
00:01:51.380008 rr:cmd > ca=4a pf=1 nr=3 (2)
00:01:51.385580 rr:rsp < ca=4a pf=1 nr=5 (2)
00:01:51.885008 rr:cmd > ca=4a pf=1 nr=3 (2)
00:01:51.890750 i:rsp  < ca=4a pf=1 nr=5 ns=3 LM slsap=01 dlsap=11 TTP credits=0
    OBEX SUCCESS len=7 ver=1.0 flags=0 mtu=32672 (12)

name=KDE_Logout_new.wav, size=546912
00:01:52.390056 rr:cmd > ca=4a pf=1 nr=4 (2)
00:01:52.395776 rr:rsp < ca=4a pf=1 nr=5 (2)
00:01:52.495249 i:cmd  > ca=4a pf=1 nr=4 ns=5 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:01:52.605216 rr:rsp < ca=4a pf=1 nr=6 (2)
00:01:53.105008 rr:cmd > ca=4a pf=1 nr=4 (2)
00:01:53.110412 rr:rsp < ca=4a pf=1 nr=6 (2)
00:01:53.610008 rr:cmd > ca=4a pf=1 nr=4 (2)
00:01:53.615413 rr:rsp < ca=4a pf=1 nr=6 (2)
00:01:54.115008 rr:cmd > ca=4a pf=1 nr=4 (2)
00:01:54.120417 rr:rsp < ca=4a pf=1 nr=6 (2)
00:01:54.620007 rr:cmd > ca=4a pf=1 nr=4 (2)
00:01:54.625424 rr:rsp < ca=4a pf=1 nr=6 (2)
00:01:55.125008 rr:cmd > ca=4a pf=1 nr=4 (2)
00:01:55.130427 rr:rsp < ca=4a pf=1 nr=6 (2)
00:01:55.630008 rr:cmd > ca=4a pf=1 nr=4 (2)
00:01:55.635432 rr:rsp < ca=4a pf=1 nr=6 (2)
00:01:56.135007 rr:cmd > ca=4a pf=1 nr=4 (2)
00:01:56.140541 i:rsp  < ca=4a pf=1 nr=6 ns=4 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:01:56.140788 i:cmd  > ca=4a pf=1 nr=5 ns=6 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:01:56.250815 rr:rsp < ca=4a pf=1 nr=7 (2)
00:01:56.750008 rr:cmd > ca=4a pf=1 nr=5 (2)
00:01:56.755546 i:rsp  < ca=4a pf=1 nr=7 ns=5 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:01:56.755789 i:cmd  > ca=4a pf=1 nr=6 ns=7 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:01:56.865819 rr:rsp < ca=4a pf=1 nr=0 (2)
00:01:57.365008 rr:cmd > ca=4a pf=1 nr=6 (2)
00:01:57.370554 i:rsp  < ca=4a pf=1 nr=0 ns=6 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:01:57.370805 i:cmd  > ca=4a pf=1 nr=7 ns=0 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:01:57.485075 rr:rsp < ca=4a pf=1 nr=1 (2)
00:01:57.985008 rr:cmd > ca=4a pf=1 nr=7 (2)
00:01:57.990553 i:rsp  < ca=4a pf=1 nr=1 ns=7 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:01:57.990802 i:cmd  > ca=4a pf=1 nr=0 ns=1 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:01:58.105131 i:rsp  < ca=4a pf=1 nr=2 ns=0 LM slsap=01 dlsap=11 TTP credits=6 (5)
00:01:58.605008 rr:cmd > ca=4a pf=1 nr=1 (2)
00:01:58.610558 i:rsp  < ca=4a pf=1 nr=2 ns=1 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:01:58.610807 i:cmd  > ca=4a pf=1 nr=2 ns=2 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:01:58.725091 rr:rsp < ca=4a pf=1 nr=3 (2)
00:01:59.225008 rr:cmd > ca=4a pf=1 nr=2 (2)
00:01:59.230564 i:rsp  < ca=4a pf=1 nr=3 ns=2 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:01:59.230809 i:cmd  > ca=4a pf=1 nr=3 ns=3 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:01:59.340841 rr:rsp < ca=4a pf=1 nr=4 (2)
00:01:59.840007 rr:cmd > ca=4a pf=1 nr=3 (2)
00:01:59.845576 i:rsp  < ca=4a pf=1 nr=4 ns=3 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:01:59.845813 i:cmd  > ca=4a pf=1 nr=4 ns=4 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:01:59.960098 rr:rsp < ca=4a pf=1 nr=5 (2)
00:02:00.460008 rr:cmd > ca=4a pf=1 nr=4 (2)
00:02:00.465576 i:rsp  < ca=4a pf=1 nr=5 ns=4 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:00.465823 i:cmd  > ca=4a pf=1 nr=5 ns=5 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:00.575853 rr:rsp < ca=4a pf=1 nr=6 (2)
00:02:01.075008 rr:cmd > ca=4a pf=1 nr=5 (2)
00:02:01.080582 i:rsp  < ca=4a pf=1 nr=6 ns=5 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:01.080829 i:cmd  > ca=4a pf=1 nr=6 ns=6 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:01.195108 rr:rsp < ca=4a pf=1 nr=7 (2)
00:02:01.695007 rr:cmd > ca=4a pf=1 nr=6 (2)
00:02:01.700588 i:rsp  < ca=4a pf=1 nr=7 ns=6 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:01.700838 i:cmd  > ca=4a pf=1 nr=7 ns=7 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:01.815163 i:rsp  < ca=4a pf=1 nr=0 ns=7 LM slsap=01 dlsap=11 TTP credits=6 (5)
00:02:02.315008 rr:cmd > ca=4a pf=1 nr=0 (2)
00:02:02.320593 i:rsp  < ca=4a pf=1 nr=0 ns=0 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:02.320840 i:cmd  > ca=4a pf=1 nr=1 ns=0 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:02.435118 rr:rsp < ca=4a pf=1 nr=1 (2)
00:02:02.935008 rr:cmd > ca=4a pf=1 nr=1 (2)
00:02:02.940600 i:rsp  < ca=4a pf=1 nr=1 ns=1 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:02.940848 i:cmd  > ca=4a pf=1 nr=2 ns=1 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:03.055126 rr:rsp < ca=4a pf=1 nr=2 (2)
00:02:03.555008 rr:cmd > ca=4a pf=1 nr=2 (2)
00:02:03.560610 i:rsp  < ca=4a pf=1 nr=2 ns=2 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:03.560858 i:cmd  > ca=4a pf=1 nr=3 ns=2 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:03.675132 rr:rsp < ca=4a pf=1 nr=3 (2)
00:02:04.175008 rr:cmd > ca=4a pf=1 nr=3 (2)
00:02:04.180611 i:rsp  < ca=4a pf=1 nr=3 ns=3 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:04.180859 i:cmd  > ca=4a pf=1 nr=4 ns=3 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:04.295138 rr:rsp < ca=4a pf=1 nr=4 (2)
00:02:04.795007 rr:cmd > ca=4a pf=1 nr=4 (2)
00:02:04.800616 i:rsp  < ca=4a pf=1 nr=4 ns=4 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:04.800850 i:cmd  > ca=4a pf=1 nr=5 ns=4 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:04.915143 rr:rsp < ca=4a pf=1 nr=5 (2)
00:02:05.415009 rr:cmd > ca=4a pf=1 nr=5 (2)
00:02:05.420623 i:rsp  < ca=4a pf=1 nr=5 ns=5 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:02:05.420871 i:cmd  > ca=4a pf=1 nr=6 ns=5 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:02:05.535200 i:rsp  < ca=4a pf=1 nr=6 ns=6 LM slsap=01 dlsap=11 TTP credits=6 (5)
00:02:06.035007 rr:cmd > ca=4a pf=1 nr=7 (2)
00:02:06.040628 i:rsp  < ca=4a pf=1 nr=6 ns=7 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
-------
-------

00:07:26.370832 i:cmd  > ca=4a pf=1 nr=3 ns=3 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:07:26.485110 rr:rsp < ca=4a pf=1 nr=4 (2)
00:07:26.985008 rr:cmd > ca=4a pf=1 nr=3 (2)
00:07:26.990591 i:rsp  < ca=4a pf=1 nr=4 ns=3 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:07:26.990839 i:cmd  > ca=4a pf=1 nr=4 ns=4 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:07:27.105118 rr:rsp < ca=4a pf=1 nr=5 (2)
00:07:27.605008 rr:cmd > ca=4a pf=1 nr=4 (2)
00:07:27.610601 i:rsp  < ca=4a pf=1 nr=5 ns=4 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:07:27.610840 i:cmd  > ca=4a pf=1 nr=5 ns=5 LM slsap=11 dlsap=01 TTP credits=1 (1029)
00:07:27.725127 rr:rsp < ca=4a pf=1 nr=6 (2)
00:07:28.225008 rr:cmd > ca=4a pf=1 nr=5 (2)
00:07:28.230601 i:rsp  < ca=4a pf=1 nr=6 ns=5 LM slsap=01 dlsap=11 TTP credits=0
    OBEX CONTINUE (8)
00:07:28.235060 i:cmd  > ca=4a pf=1 nr=6 ns=6 LM slsap=11 dlsap=01 TTP credits=1
    OBEX PUT final=1 len=298 body-end=[292 bytes] (303)
00:07:28.270508 rr:rsp < ca=4a pf=1 nr=7 (2)
00:07:28.770007 rr:cmd > ca=4a pf=1 nr=6 (2)
00:07:28.775605 i:rsp  < ca=4a pf=1 nr=7 ns=6 LM slsap=01 dlsap=11 TTP credits=0
    OBEX SUCCESS len=3 (8)
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
00:07:28.780040 i:cmd  > ca=4a pf=1 nr=7 ns=7 LM slsap=11 dlsap=01 TTP credits=1
    OBEX DISC (8)
00:07:28.785749 i:rsp  < ca=4a pf=1 nr=0 ns=7 LM slsap=01 dlsap=11 TTP credits=6 (5)
00:07:29.285008 rr:cmd > ca=4a pf=1 nr=0 (2)
00:07:29.290610 i:rsp  < ca=4a pf=1 nr=0 ns=0 LM slsap=01 dlsap=11 TTP credits=0
    OBEX SUCCESS len=3 (8)

PUT successful
00:07:29.790007 rr:cmd > ca=4a pf=1 nr=1 (2)
00:07:29.795522 rr:rsp < ca=4a pf=1 nr=0 (2)
00:07:30.295008 rr:cmd > ca=4a pf=1 nr=1 (2)
00:07:30.300521 rr:rsp < ca=4a pf=1 nr=0 (2)
00:07:30.800008 rr:cmd > ca=4a pf=1 nr=1 (2)
00:07:30.805525 rr:rsp < ca=4a pf=1 nr=0 (2)
00:07:31.305008 rr:cmd > ca=4a pf=1 nr=1 (2)
00:07:31.310529 rr:rsp < ca=4a pf=1 nr=0 (2)
00:07:31.810007 rr:cmd > ca=4a pf=1 nr=1 (2)
00:07:31.815535 rr:rsp < ca=4a pf=1 nr=0 (2)
00:07:32.295199 i:cmd  > ca=4a pf=1 nr=1 ns=0 LM slsap=11 dlsap=01 DISC (6)
00:07:32.300726 rr:rsp < ca=4a pf=1 nr=1 (2)
root@off:~# 00:07:32.800007 rr:cmd > ca=4a pf=1 nr=1 (2)
00:07:32.805543 rr:rsp < ca=4a pf=1 nr=1 (2)
00:07:33.305008 rr:cmd > ca=4a pf=1 nr=1 (2)
00:07:33.310549 rr:rsp < ca=4a pf=1 nr=1 (2)
00:07:33.810008 rr:cmd > ca=4a pf=1 nr=1 (2)
00:07:33.815558 rr:rsp < ca=4a pf=1 nr=1 (2)
00:07:34.300009 disc:cmd > ca=0x4a pf=1 (2)
Irda  New Speed 9600 bps
sir : pclk 50000000 speed 9600 ubrdiv 324
00:07:34.305690 ua:rsp ca=4a pf=1 41422334 < 0000046c (10)
00:07:34.305710 ua:rsp ca=4a pf=1 0000046c > 41422334 (0)
00:07:37.710365 xid:cmd ffffffff < 0000046c S=6 s=0 (14)
00:07:37.820622 xid:cmd ffffffff < 0000046c S=6 s=1 (14)
00:07:37.930685 xid:cmd ffffffff < 0000046c S=6 s=2 (14)
00:07:38.040747 xid:cmd ffffffff < 0000046c S=6 s=3 (14)
00:07:38.040772 xid:rsp 41422334 > 0000046c S=6 s=3 off hint=0400 [ Computer ] (19)
00:07:38.200597 xid:cmd ffffffff < 0000046c S=6 s=4 (14)
00:07:38.310660 xid:cmd ffffffff < 0000046c S=6 s=5 (14)
00:07:38.450056 xid:cmd ffffffff < 0000046c S=6 s=* GAURAVKUMAR hint=8425 [ Computer Telephony IrCOMM IrOBEX ] (29)
00:07:41.710788 xid:cmd ffffffff < 0000046c S=6 s=0 (14)
00:07:41.825089 xid:cmd ffffffff < 0000046c S=6 s=1 (14)
00:07:41.825115 xid:rsp 41422334 > 0000046c S=6 s=1 off hint=0400 [ Computer ] (19)