Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packet length mismatch #110

Open
saki92 opened this issue Oct 1, 2024 · 1 comment
Open

Packet length mismatch #110

saki92 opened this issue Oct 1, 2024 · 1 comment
Labels
qualcomm Bugs related to Qualcomm modem

Comments

@saki92
Copy link

saki92 commented Oct 1, 2024

SUMMARY
I save the logs in .qmdl format from Sierra EM9191 USB module. Then when parsing it with scat, there are a lot of packet length mismatch and CRC mismatch warning messages

STEPS TO REPRODUCE
Steps to reproduce the behavior:

  1. Save logs from Sierra USB modem with sudo ./bin/dm-loggerrpi -p /dev/ttyUSB1 -o log.qmdl. Google drive link to log file. The tool is available in MBPL tools package from sierra website.
  2. Copy it to your local machine where SCAT is installed.
  3. Run SCAT with arguments scat -t qc -d log.qmdl --layer "ip,nas,rrc,pdcp,rlc,mac"
  4. See so many length mismatch errors scat-out.log

EXPECTED and ACTUAL RESULT
I expect to see at least some MAC layer messages and no warnings in parsing the logs.

ENVIRONMENT

  • OS: Linux 6.8.0-40-generic #40~22.04.3-Ubuntu
  • SCAT version: 1.3.0
  • Python version: 3.10.12
  • Cellular device: Sierra Wireless EM9191
  • Baseband type: Qualcomm
  • DIAG method: baseband dump

ADDITIONAL INFORMATION
Work flow for logging: I started the logging tool, switch on modem via AT command, let the modem connect to network and establish PDU session (5G). Then switch off modem via AT and stop logging.

@peremen
Copy link
Member

peremen commented Oct 24, 2024

You can temporarily disable the CRC check using --disable-crc-check option, but that only hides the root cause of the problem and my test with the qmdl file seemed to produce another set of error. Let me look it.

@peremen peremen added the qualcomm Bugs related to Qualcomm modem label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qualcomm Bugs related to Qualcomm modem
Projects
None yet
Development

No branches or pull requests

2 participants