AssertFatal(searchSpacesToAddModList!=NULL,"searchSpacesToAddModList is null\n");
AssertFatal(searchSpacesToAddModList->list.count>0,"list of UE specifically configured Search Spaces is empty\n");
AssertFatal(searchSpacesToAddModList->list.count<FAPI_NR_MAX_SS_PER_CORESET,"too many searchpaces per coreset %d\n",searchSpacesToAddModList->list.count);
AssertFatal(mac->ULbwp[0]->bwp_Dedicated!=NULL,"UL bwp_Dedicated is null\n");
AssertFatal(mac->ULbwp[0]->bwp_Dedicated!=NULL,"UL bwp_Dedicated is null\n");
// check available Search Spaces in the searchSpacesToAddModList and pass to MAC
// check available Search Spaces in the searchSpacesToAddModList and pass to MAC
// note: the network configures at most 10 Search Spaces per BWP per cell (including UE-specific and common Search Spaces).
// note: the network configures at most 10 Search Spaces per BWP per cell (including UE-specific and common Search Spaces).
AssertFatal(searchSpacesToAddModList!=NULL,"searchSpacesToAddModList is null\n");
AssertFatal(searchSpacesToAddModList->list.count>0,"list of UE specifically configured Search Spaces is empty\n");
AssertFatal(searchSpacesToAddModList->list.count<FAPI_NR_MAX_SS_PER_CORESET,"too many searchpaces per coreset %d\n",searchSpacesToAddModList->list.count);