Hello This patch adds the handling of Spare Extension bytes to UMTS Frame Protocol. It also handles the case when the presence of CRC in dedicated channels is not known(i.e. when FP from a K12/K15 log is dissected).
The new functionality is placed in the new function "dissect_spare_extension_and_crc". The "dch_crc_present" field inside "struct fp_info" (file packet-umts_fp.h) is also extended to handle the case of unknown CRC presence.
Much of other changes is to update "offset" variable and return it so that the location of Spare Extension and CRC is available. The patch also include a small tweak to handle Frame Protocol information saved from K15. Some fields appear 8 bytes later compared to K12. The changes are in the file packet-k12.c. A test .rf5 file demonstrating Spare Extension is also provided in the attachment. It's modified using hexedit to add the Spare Extension, then open and resave again from K15 reader. K15 produces the same result as this proposed patch to wireshark. Best regards Kriang Lerdsuwanakij
patch-crc-spareext-k15.gz
Description: GNU Zip compressed data
dch_crc.rf5
Description: Binary data
_______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
