T610 incompatible with Kannel WTP SAR reassembly

Jan Kratochvil <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

Kannel is affecte by a bug of SonyEricsson T610
	SonyEricssonT610/R101 Profile/MIDP-1.0 Configuration/CLDC-1.0
	http://wap.sonyericsson.com/UAprof/T610R101.xml

- it has problems with dropped packets of Segmented WTP packets. Kannel will
cut the HTTP connection at arbitrary point during final session assemblation.

BUG of T610:
T610 sends Invoke with TPI Option MaximumGroup=5120 [WTP(*) page 47(73)].
Kannel responds with no TPI set. According to WTP(*) Table 1 of page 14(73)
T610 should no longer set any Segmented WTPs; it still sends them.

Bug of Kannel:
wap/wtp_resp.c 1.10 line 791 acknowledges the receival of Group Trailer no
matter whether miss any preceding packets of the last Group.
assembly_sar_event() afterwards cuts the data stream at the missing packet:
	Packet with psn %d not found

My workaround:
Going to borrow a T610 and try workarounding its bug by forcing TPI NumGroups=1
according to WTP(*) page 47(73). I would like single-packet acknowledgments due
to the common case of dropped packets anyway.


Regards,
Lace

(*) http://www.openmobilealliance.org/tech/affiliates/wap/wap-224-wtp-20010710-a.pdf

-- 
Jan Kratochvil; Captive: free r/w NTFS Filesystem; http://www.jankratochvil.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.