AssertFatal(controlResourceSetToAddModList->list.array[0]!=NULL,"coreset[0][0] is null\n");
// configuring dedicated coreset
// In case network reconfigures control resource set with the same ControlResourceSetId as used for commonControlResourceSet configured via PDCCH-ConfigCommon,
// the configuration from PDCCH-Config always takes precedence
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);
// this is for CSSs, we use BWP common and pdcch_ConfigCommon
// Fetch configuration for searchSpaceZero
// note: The search space with the SearchSpaceId = 0 identifies the search space configured via PBCH (MIB) and in ServingCellConfigCommon (searchSpaceZero).