P1sec / QCSuper

QCSuper is a tool communicating with Qualcomm-based phones and modems, allowing to capture raw 2G/3G/4G radio frames, among other things.
GNU General Public License v3.0
1.33k stars 238 forks source link

Hi Guys, has anybody started working on 5G logs ? #53

Open vitthal-agav opened 3 years ago

p1-mmr commented 3 years ago

Hello,

Decoding and capturing 5G/NR packets seems to be already handled by the MobileInsight project, see: https://github.com/mobile-insight/mobileinsight-core/blob/0f98718/dm_collector_c/log_packet.h#L356

However, MobileInsight requires a specific Wireshark plug-in to be decoded in order to have the 5G decoding to work, as if Wireshark does have bits of 5G/NR decoding implemented, the GSMTAP format, which is used by QCSuper to encapsulate the captured radio frames obtained through Diag into a Wireshark-decodable PCAP file, supports encapsulating up to 4G but does not support encapsulating 5G yet.

For reference:

A developer of SCAT has manifested plans to propose an update of the GSMTAP format, I have followed him up on the matter on the concerned issue.

Regards,

Matheus-Garbelini commented 3 years ago

Hi @p1-mmr decoding 5G is possible out of the box in the latest Wireshark (>3.2 I believe) by simply encapsulating them as UDP heuristic packets. These UDP packets have a magic string (i.e., nr-mac) which is identified by the NR mac dissector.