remove gNB structure dependency from do_RRCReestablishment in asn1_msg.c

This commit is contained in:
francescomani
2025-04-24 18:40:49 +02:00
parent 368e74930c
commit bda64a05d9
4 changed files with 9 additions and 30 deletions
@@ -66,12 +66,9 @@ TEST(nr_asn1, rrc_reestablishment_request)
TEST(nr_asn1, rrc_reestablishment)
{
rrc_gNB_ue_context_t ue_context_pP;
memset(&ue_context_pP, 0, sizeof(ue_context_pP));
unsigned char buf[1000];
const uint32_t physical_cell_id = 177;
NR_ARFCN_ValueNR_t absoluteFrequencySSB = 2700000;
EXPECT_GT(do_RRCReestablishment(&ue_context_pP, buf, 1000, 0, physical_cell_id, absoluteFrequencySSB), 0);
const uint8_t nh_ncc = 0;
EXPECT_GT(do_RRCReestablishment(nh_ncc, buf, 1000, 0), 0);
}
TEST(nr_asn1, paging)