[ssu] Use enum Ssu::DeviceMode instead of int