Commit 9333f53d authored by francescomani's avatar francescomani

adding an assertion in configure_UE_BWP

parent d908779c
...@@ -2181,6 +2181,8 @@ void configure_UE_BWP(gNB_MAC_INST *nr_mac, ...@@ -2181,6 +2181,8 @@ void configure_UE_BWP(gNB_MAC_INST *nr_mac,
NR_RA_t *ra, NR_RA_t *ra,
NR_UE_info_t *UE) { NR_UE_info_t *UE) {
AssertFatal((ra != NULL && UE == NULL) || (ra == NULL && UE != NULL), "RA and UE structures are mutually exlusive in BWP configuration\n");
NR_CellGroupConfig_t *CellGroup; NR_CellGroupConfig_t *CellGroup;
NR_UE_DL_BWP_t *DL_BWP; NR_UE_DL_BWP_t *DL_BWP;
NR_UE_UL_BWP_t *UL_BWP; NR_UE_UL_BWP_t *UL_BWP;
......
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