commit | 67a6d5724cb3040af17f5d420e782bba613cb8c4 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Wed Nov 16 18:51:51 2022 +0100 |
committer | laforge <laforge@osmocom.org> | Sat Nov 19 09:02:23 2022 +0000 |
tree | 3167d73a523249abe2bc1c62e8bc542a97ca4ee6 | |
parent | 61394cde291ac98c1a20d2a31786d5bc1c1ef097 [diff] |
firmware/sniffer: Handle WT timeouts via ring-buffer Before this patch, all UART characters went through a fifo/ringbuffer of depth 512, while events like timeout were delivered directly via a global flags variable from ISR to main code. This means that one or more correct/complete TPDUs could theoretically still be in the FIFO, but the "Fast path" of the timeout handling is pre-empting that and messing with the state machines. All events from the UART should be delivered via the ring-buffer to make sure they arrive in order at the main function. The old "report timeout via change flags in separate USB message" code is left in place. On the USB protocol we should keep it for compatibility. Internally we should probably also migrate that over to the new ring-buffer method in a second step. Change-Id: I4434c6fcd59d1a425e9ded734bbc8b0411a0a0d8
This is the repository for the next-generation SIMtrace devices, providing abilities to trace the communication between (U)SIM card and phone, remote (U)SIM card forward, (U)SIM man-in-the-middle, and more.
NOTE: Nothing in this repository applies to the SIMtrace v1.x hardware or its associated firmware. SIMtrace v1.x is based on a different CPU / microcontroller architecture and uses a completely different software stack and host software.
This repository contains several directory
The host software includes