Comment # 4
on bug 9237
from Pascal Quantin
(In reply to comment #3)
> Tool I used -
>
> https://github.com/2b-as/xgoldmon
>
> xgoldmon uses libosmocore to send the radio messages in GSMTAP format
> (http://bb.osmocom.org/trac/wiki/GSMTAP).
>
> I used TCPDUMP for raw packet capture and latest wireshark to analyze.
When looking at the code here:
https://github.com/2b-as/xgoldmon/blob/master/logparse.c
I find the structures note2_ltable[] & Co a bit surprising:
struct rmsg_act note2_ltable[] =
{
{ { 0x04, 0x01, 0x05, -1 }, GSMTAP_RRC_SUB_UL_DCCH_Message, 28, 0, 26,
make_rrc_uplink_msg },
{ { 0x04, 0x01, 0x06, -1 }, GSMTAP_RRC_SUB_UL_DCCH_Message, 24, 0, 22,
make_rrc_uplink_msg },
{ { 0x07, 0x01, 0x3f, -1 }, GSMTAP_RRC_SUB_PCCH_Message, 20, 0, 18,
make_rrc_downlink_msg },
{ { 0x08, 0x01, 0x59, -1 }, GSMTAP_RRC_SUB_DL_DCCH_Message, 28, 0, 26,
make_rrc_downlink_msg },
{ { 0x08, 0x01, 0x5a, -1 }, GSMTAP_RRC_SUB_DL_DCCH_Message, 24, 0, 22,
make_rrc_downlink_msg },
We have UL_DCCH and DL_DCCH messages defined twice while I would have expected
to have UL_DCCH, UL_CCCH, DL_DCCH and DL_CCCH. Seems like a copy / paste error.
I advice you either to tweak those tables or get in touch with the developer to
get it fixed.