A wireless device receives at least one control message comprising configuration parameters of a plurality of cells grouped into at least a first cell group and a second cell group. The first cell group comprises a first reference cell. The second cell group comprises a second reference cell. The at least one control message comprises a pathloss reference for a secondary cell in the second cell group. The pathloss reference is configurable to one of a) a downlink of the second reference cell and b) a downlink of the secondary cell.