Don't send TX I len, TX window in XID frames

Don't send TX I len, TX window in XID frames, as the only relevant
information the peer can action upon is the originating station's
RX parameters
This commit is contained in:
XANTRONIX Development 2020-07-19 01:33:16 -04:00 committed by XANTRONIX Industrial
parent bd148fff10
commit 5a64ea15d3

View file

@ -571,9 +571,7 @@ ssize_t patty_ax25_frame_encode_xid(patty_ax25_params *params,
} values[] = {
{ PATTY_AX25_PARAM_CLASSES, 2, params->classes },
{ PATTY_AX25_PARAM_HDLC, 3, params->hdlc },
{ PATTY_AX25_PARAM_INFO_TX, 0, params->info_tx },
{ PATTY_AX25_PARAM_INFO_RX, 0, params->info_rx },
{ PATTY_AX25_PARAM_WINDOW_TX, 1, params->window_tx },
{ PATTY_AX25_PARAM_WINDOW_RX, 1, params->window_rx },
{ PATTY_AX25_PARAM_ACK, 0, params->ack },
{ PATTY_AX25_PARAM_RETRY, 0, params->retry },