T-Tracer: update shared memory sizing for 5 messages/slot
Set NUM_MESSAGES_PER_SLOT=5, 100 slots buffer depth (~234 MiB). Add separate project IDs and ftok paths for gNB and UE.
This commit is contained in:
@@ -18,10 +18,13 @@
|
|||||||
#ifndef _SHARED_MEMORY_CONFIG_H_
|
#ifndef _SHARED_MEMORY_CONFIG_H_
|
||||||
#define _SHARED_MEMORY_CONFIG_H_
|
#define _SHARED_MEMORY_CONFIG_H_
|
||||||
|
|
||||||
#define SHMSIZE ((122.88e6 / (100 * 20)) * 1000 * 8) // Assume capture in 1000, each I+Q represented by 8 byts
|
#define NUM_MESSAGES_PER_SLOT 5
|
||||||
// 122.88e6: 10ms at 100 MHz BW of 5G NR
|
#define SHMSIZE ((122.88e6 / (100 * 20)) * 100 * NUM_MESSAGES_PER_SLOT * 8) // ~229 MiB
|
||||||
// 20: 20 slots in 10ms
|
// 122.88e6: sample rate at 100 MHz BW of 5G NR
|
||||||
// subcarrier spacing: 30 KHz
|
// 100 * 20: 2000 slots/s (20 slots/frame, 100 frames/s) at SCS 30 kHz
|
||||||
|
// 100: number of slots to capture
|
||||||
|
// NUM_MESSAGES_PER_SLOT: messages captured per slot
|
||||||
|
// 8: bytes per complex I+Q sample
|
||||||
|
|
||||||
// for gNB T Tracer App
|
// for gNB T Tracer App
|
||||||
#define GETKEYDIR1_gNB ("/tmp/gnb_app1")
|
#define GETKEYDIR1_gNB ("/tmp/gnb_app1")
|
||||||
|
|||||||
Reference in New Issue
Block a user