From 64c9302b43562e34976af6becae5029b6083413d Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Fri, 14 Feb 2020 15:54:28 +0000 Subject: [PATCH] added wireshark generation to SCell Activation CE pdu_test --- lib/test/common/pdu_test.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/test/common/pdu_test.cc b/lib/test/common/pdu_test.cc index b1ade6043..c13f63848 100644 --- a/lib/test/common/pdu_test.cc +++ b/lib/test/common/pdu_test.cc @@ -577,7 +577,12 @@ int mac_sch_pdu_pack_test8() TESTASSERT(memcmp(buffer.msg, tv, buffer.N_bytes) == 0); // log - log_h->info_hex(buffer.msg, buffer.N_bytes, "MAC PDU (%d B):\n", buffer.N_bytes); + log_h->info("Activation mask chosen was 0x%x", tv[1]); + log_h->info_hex(buffer.msg, buffer.N_bytes, "MAC PDU with SCell Activation CE (%d B):\n", buffer.N_bytes); + +#if HAVE_PCAP + pcap_handle->write_dl_crnti(tv, sizeof(tv), 0x1001, true, 1); +#endif return SRSLTE_SUCCESS; }