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

Isuue With LTE MAC RACH Responce Packet #93

Open
michalisk13 opened this issue Dec 22, 2023 · 3 comments
Open

Isuue With LTE MAC RACH Responce Packet #93

michalisk13 opened this issue Dec 22, 2023 · 3 comments
Labels
qualcomm Bugs related to Qualcomm modem

Comments

@michalisk13
Copy link

michalisk13 commented Dec 22, 2023

Hi everyone,

I am having this issue when I run scat in debug mode with my SIMCOM8200

2023-12-22 18:45:56,785 scat.qualcommparser (parse_lte_mac_rach_response) WARNING: Unexpected MAC RACH Response Subpacket version 49
2023-12-22 18:45:56,786 scat.qualcommparser (parse_lte_mac_rach_response) DEBUG: Hexdump:
01 00 09 00 01 07 2b ff a6 ff 00 00 01 34 00 06 ......+......4..
00 2c 2e 01 00 12 00 00 20 06 1f 55 8f 3c a0 3a .,.........U.<.:
46 00 96 4b 00 00 16 00 01 00 00 00 07 07 00 00 F..K............

Also, anyone can help me out identify how I can redirect LTE MAC layer info to the loopback interface similar with RRC and NAS messages?
I've tried this using two different modems, EC25 and a newer 5G SIMCOM8200 and no mac layer messages .

Thanks,
Mak

@michalisk13
Copy link
Author

I am trying to parse MAC messages without any success.

@peremen
Copy link
Member

peremen commented Jan 9, 2024

The LTE MAC PDUs are carried through GSMTAP, and SCAT can parse the MAC PDUs but it is not enabled by default, see diagcmd.py. By default only RAR is parsed, but not all RACH Response packet versions are decoded, so you are getting that error. By enabling the LOG_LTE_MAC_DL_TRANSPORT_BLOCK and LOG_LTE_MAC_UL_TRANSPORT_BLOCK manually in the log_mask_scat_lte() you can get the MAC PDUs.

Also, due to the baseband's limitation, the MAC PDUs may not carry data for traffic channel.

@peremen peremen added the qualcomm Bugs related to Qualcomm modem label Jan 9, 2024
@peremen
Copy link
Member

peremen commented Apr 28, 2024

For MAC layer parsing in Quectel EC25, try with the latest trunk with -L mac option.

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