Properly implement eq/cp() functions of gNB-DU config update, fix test

Implement those functions following more closely 38.473, i.e., check all
mandatory fields. Add mandatory fields in the test.
This commit is contained in:
Robert Schmidt
2024-12-16 16:18:10 +01:00
parent 509cc8cc58
commit adbbbaeaba
2 changed files with 19 additions and 33 deletions
+4
View File
@@ -425,6 +425,10 @@ static void test_f1ap_du_configuration_update(void)
.transaction_id = 2,
.num_cells_to_modify = 1,
.cell_to_modify[0].info = info,
.cell_to_modify[0].old_nr_cellid = 1235UL,
.cell_to_modify[0].old_plmn.mcc = 208,
.cell_to_modify[0].old_plmn.mnc = 88,
.cell_to_modify[0].old_plmn.mnc_digit_length = 2,
.num_cells_to_delete = 0,
.cell_to_delete[0].nr_cellid = 1234UL,
.cell_to_delete[0].plmn.mcc = 1,