data-recording v1.1: Major rewrite of the synchronized real-time data recording system.
Application (v1.1): - Generic N-node architecture replacing hardcoded gNB/UE structure - Node-based JSON config with per-node shared memory paths - Thread pool with barrier sync for multi-node recording - Frame/slot-based message grouping in read_and_store_tracer_messages() - Robust cleanup via atexit and signal handlers - Remove v1.0 legacy application Shared Memory Interface (new): - System V shared memory attach/detach/remove with ftok-based keys - Structured binary read/write for tracer control messages - Frame/slot-aware data reading with configurable timeout Config Interface: - JSON-based config with node definitions (id, type, shared_mem_config) - Per-node tracer message parsing and index resolution SigMF Interface: - Timestamp refactor: Unix epoch sec/nsec with nanosecond precision - Wireless parameter mapping via YAML-driven parameter map - System components metadata (TX/channel/RX) in SigMF annotations Sync Service: - Generic multi-node sync replacing 2-node sync - Frame-wrap-aware comparison (1024-frame wrap) Wireless Parameters Mapper (new): - YAML-driven OAI-to-SigMF parameter mapping - 5G NR metadata derivation (DMRS, modulation, link direction)
This commit is contained in:
@@ -42,43 +42,59 @@
|
||||
"t_tracer_message_definition_file": "../T/T_messages.txt",
|
||||
"parameter_map_file": "config/wireless_link_parameter_map.yaml",
|
||||
"start_frame_number": 5,
|
||||
"base_station": {
|
||||
"requested_tracer_messages": [
|
||||
"GNB_PHY_UL_FD_PUSCH_IQ",
|
||||
"GNB_PHY_UL_FD_DMRS",
|
||||
"GNB_PHY_UL_FD_CHAN_EST_DMRS_POS",
|
||||
"GNB_PHY_UL_FD_CHAN_EST_DMRS_INTERPL",
|
||||
"GNB_PHY_UL_PAYLOAD_RX_BITS"
|
||||
],
|
||||
"meta_data":{
|
||||
"num_rx_antennas": 1,
|
||||
"tx_gain": 48.0,
|
||||
"rx_gain": 30.0,
|
||||
"hw_type": "USRP X410",
|
||||
"hw_subtype": "ZBX",
|
||||
"seid": "328AB35"
|
||||
}
|
||||
},
|
||||
"user_equipment": {
|
||||
"requested_tracer_messages": [
|
||||
"UE_PHY_UL_SCRAMBLED_TX_BITS",
|
||||
"UE_PHY_UL_PAYLOAD_TX_BITS"
|
||||
],
|
||||
"meta_data":{
|
||||
"num_tx_antennas": 1,
|
||||
"tx_gain": 48.0,
|
||||
"rx_gain": 40.0,
|
||||
"hw_type": "USRP X410",
|
||||
"hw_subtype": "ZBX",
|
||||
"seid": "323F75F"
|
||||
}
|
||||
},
|
||||
"common_meta_data": {
|
||||
"sample_rate": 61440000.0,
|
||||
"bandwidth": 40000000.0,
|
||||
"clock_reference": "external"
|
||||
},
|
||||
"tracer_service_baseStation_address": "127.0.0.1:2021",
|
||||
"tracer_service_userEquipment_address": "127.0.0.1:2023"
|
||||
"nodes": [
|
||||
{
|
||||
"id": "gnb_0",
|
||||
"type": "gnb",
|
||||
"requested_tracer_messages": [
|
||||
"GNB_PHY_UL_FD_PUSCH_IQ",
|
||||
"GNB_PHY_UL_FD_DMRS",
|
||||
"GNB_PHY_UL_FD_CHAN_EST_DMRS_POS",
|
||||
"GNB_PHY_UL_FD_CHAN_EST_DMRS_INTERPL",
|
||||
"GNB_PHY_UL_PAYLOAD_RX_BITS"],
|
||||
"tracer_service_address": "127.0.0.1:2021",
|
||||
"meta_data": {
|
||||
"num_tx_antennas": 1,
|
||||
"num_rx_antennas": 1,
|
||||
"tx_gain": 48.0,
|
||||
"rx_gain": 30.0,
|
||||
"hw_type": "USRP X410",
|
||||
"hw_subtype": "ZBX",
|
||||
"seid": "328AB35"
|
||||
},
|
||||
"shared_mem_config": {
|
||||
"read_path": "/tmp/gnb_app1",
|
||||
"write_path": "/tmp/gnb_app2",
|
||||
"project_id": 2335
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ue_0",
|
||||
"type": "ue",
|
||||
"requested_tracer_messages": [
|
||||
"UE_PHY_UL_SCRAMBLED_TX_BITS",
|
||||
"UE_PHY_UL_PAYLOAD_TX_BITS"],
|
||||
"tracer_service_address": "127.0.0.1:2023",
|
||||
"meta_data": {
|
||||
"num_tx_antennas": 1,
|
||||
"num_rx_antennas": 1,
|
||||
"tx_gain": 48.0,
|
||||
"rx_gain": 30.0,
|
||||
"hw_type": "USRP X410",
|
||||
"hw_subtype": "ZBX",
|
||||
"seid": "323F75F"
|
||||
},
|
||||
"shared_mem_config": {
|
||||
"read_path": "/tmp/ue_app1",
|
||||
"write_path": "/tmp/ue_app2",
|
||||
"project_id": 2336
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user