A wireless device receives a first configuration parameter indicating whether data of a logical channel is allowed to be transmitted using a configured grant of type 1 and a second configuration parameter indicating whether data of the logical channel is allowed to be transmitted using a configured grant of type 1 while in RRC inactive state. The wireless device may transmit or not transmit data of the logical channel while in RRC connected state and while in RRC inactive state using configured grants of type 1 based on the configuration parameters.