First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How to find mapping for dissector?

Currently, I need to edit lua file for the mapping of dissector.
For nr-nrrc, I tried to find from the source code in github:
Github
Then I find the dissector in the comment.
My question is that:
1. Is there any dissector mapping list somewhere instead of trying to find mapping in source code?
2. What's the dissector for decoding RadioBearerConfig in nr-nrrc currently?

Ian Gau's avatar
1
Ian Gau
asked 2019-11-18 05:45:54 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The reference site for the Wireshark source code is currently here.

The nr-rrc dissector is an "asn1" dissector where the main protocol definition is in one or more .asn files which are combined with the .cnf and packet-xxx-template.[c|h] files to produce a C dissector, in this case packet-nr-rrc.c.

If you search that file you will find lots of references to RadioBearerConfig which may help you find what you're looking for.

grahamb's avatar
23.8k
grahamb
answered 2019-11-18 07:43:03 +0000
edit flag offensive 0 remove flag delete link

Comments

And to complete @grahamb answer, there is no registered dissector for the RadioBearerConfig IE: instead where needed in our C code we call a direct function dissect_nr_rrc_RadioBearerConfig_PDU as seen in packet-nr-rrc.h.

If you are trying to decode a EN-DC LTE RRC Connection Reconfiguration, better call the LTE RRC DL DCCH dissector directly: it will call the RadioBearerConfig IE decoding function whenever needed. Same thing for a NR RRC Reconfiguration message.

Pascal Quantin's avatar Pascal Quantin (2019-11-18 12:19:07 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer