XPC_C_WASCONNECTED
ch->flags |= XPC_C_WASCONNECTED;
u32 channel_was_connected = (ch->flags & XPC_C_WASCONNECTED);