AssertFatal(mac->DLbwp[0]->bwp_Dedicated!=NULL,"bwp_Dedicated is null\n");
NR_SearchSpace_t*NR_SearchSpace;
AssertFatal(mac->DLbwp[0]->bwp_Dedicated->pdcch_Config!=NULL,"pdcch_Config is null\n");
NR_ControlResourceSet_t*coreset;
AssertFatal(mac->DLbwp[0]->bwp_Dedicated->pdcch_Config->choice.setup->controlResourceSetToAddModList!=NULL,"controlResourceSetToAddModList is null\n");
AssertFatal(searchSpacesToAddModList!=NULL,"searchSpacesToAddModList is null\n");
AssertFatal(searchSpacesToAddModList->list.count>0,"searchSpacesToAddModList is empty\n");
AssertFatal(searchSpacesToAddModList->list.count<FAPI_NR_MAX_SS_PER_CORESET,"too many searchpaces per coreset %d\n",searchSpacesToAddModList->list.count);