Commit 187baba6 authored by Javier Morgade's avatar Javier Morgade

Adding pcap/wireshark PDU tracing for MCH

	ACKNOWLEDGEMENT:
 	1. This commit was developed at Vicomtech (https://www.vicomtech.org) under UE project CDN-X-ALL: "CDN edge-cloud computing for efficient cache and reliable streaming aCROSS Aggregated unicast-multicast LinkS"
 	2. Project funded by Fed4FIRE+ OC5 (https://www.fed4fire.eu)
Signed-off-by: default avatarJavier Morgade <javier.morgade@ieee.org>
parent 10f86bf9
...@@ -772,6 +772,15 @@ ue_send_mch_sdu(module_id_t module_idP, uint8_t CC_id, frame_t frameP, ...@@ -772,6 +772,15 @@ ue_send_mch_sdu(module_id_t module_idP, uint8_t CC_id, frame_t frameP,
#endif #endif
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(VCD_SIGNAL_DUMPER_FUNCTIONS_UE_SEND_MCH_SDU, VCD_FUNCTION_IN); (VCD_SIGNAL_DUMPER_FUNCTIONS_UE_SEND_MCH_SDU, VCD_FUNCTION_IN);
if(opt_enabled){
//trace_pdu(DIRECTION_UPLINK, ulsch_buffer, buflen, module_idP, WS_C_RNTI,
// UE_mac_inst[module_idP].crnti,
// UE_mac_inst[module_idP].txFrame,
// UE_mac_inst[module_idP].txSubframe, 0, 0);
trace_pdu(1, sdu, sdu_len, module_idP, 6, 0xfffd/*0xFFFD*/,
UE_mac_inst[module_idP].txFrame,
UE_mac_inst[module_idP].txSubframe, 0, 0);
}
LOG_D(MAC, LOG_D(MAC,
"[UE %d] Frame %d : process the mch PDU for sync area %d \n", "[UE %d] Frame %d : process the mch PDU for sync area %d \n",
module_idP, frameP, sync_area); module_idP, frameP, sync_area);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment