pub fn gain_stm_legacy_body(
    gain: &[&[LegacyDrive]],
    is_first_frame: bool,
    freq_div: u32,
    is_last_frame: bool,
    mode: Mode,
    tx: &mut TxDatagram
) -> Result<()>