A wireless device receives one or more messages comprising one or more configuration parameters. The one or more configuration parameters indicate: a plurality of control resource sets (coresets); a first group of search space sets for monitoring the plurality of coresets in a first mode; and a second group of search space sets for monitoring the plurality of coresets in a second mode. Reference signals for radio link monitoring are selected based on the first group of search space sets. The reference signals for the radio link monitoring are measured for both in the first mode and the second mode.