[RFC PATCH 6/9] modem: modem state decoupled from rf state