From 894348fd7597d3ffb7aeec784985f87715e4b7a2 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 18 Nov 2021 14:48:53 +0100 Subject: [PATCH] gnb,mac: implement handling of CCCH subPdus --- srsgnb/src/stack/mac/mac_nr.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srsgnb/src/stack/mac/mac_nr.cc b/srsgnb/src/stack/mac/mac_nr.cc index 2d7cd9d4b..ffff357a3 100644 --- a/srsgnb/src/stack/mac/mac_nr.cc +++ b/srsgnb/src/stack/mac/mac_nr.cc @@ -87,6 +87,11 @@ private: { // Handle MAC CEs switch (subpdu.get_lcid()) { + case srsran::mac_sch_subpdu_nr::nr_lcid_sch_t::CCCH_SIZE_48: + case srsran::mac_sch_subpdu_nr::nr_lcid_sch_t::CCCH_SIZE_64: { + srsran::mac_sch_subpdu_nr& ccch_subpdu = const_cast(subpdu); + rlc->write_pdu(rnti, 0, ccch_subpdu.get_sdu(), ccch_subpdu.get_sdu_length()); + } break; case srsran::mac_sch_subpdu_nr::nr_lcid_sch_t::CRNTI: { uint16_t ce_crnti = subpdu.get_c_rnti(); uint16_t prev_rnti = rnti;