pub fn gain_stm_normal_phase_body( phase: &[Phase], is_first_frame: bool, freq_div: u32, mode: Mode, is_last_frame: bool, tx: &mut TxDatagram) -> Result<()>