tenms_to_flags
bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_delay);
bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_tail);