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.37k stars 243 forks source link

Wrong length of qcdiag.log.nr_rrc_frequency field in Wireshark plugin diag_nr_rrc_dissector.lua #78

Open wolfganghansmann opened 2 years ago

wolfganghansmann commented 2 years ago

Hi,

file Xiaomi.pcap is a .pcap file I've pulled off a Xiaomi 12 phone using --wireshark-live. Unfortunately, the diag_nr_rrc_dissector.lua Wireshark plugin does not decode it correctly: the qcdiag.log.nr_rrc_frequency field seems to be 24 bits long (and not 32 bits, as the plugin assumes). The diag_nr_rrc_dissector.lua file attached produces the correct output.

Best regards Wolfgang

Xiaomi.zip diag_nr_rrc_dissector.zip

shuimoshusheng commented 7 months ago

@wolfganghansmann Hi, May I ask how to obtain Xiaomi's baseband logs? Or how to open Qualcomm's baseband logging interface? I cannot obtain logs using adb and modemManager. My phone is Xiaomi k60. Thank you!