Lines Matching refs:ax25
49 void ax25_std_nr_error_recovery(ax25_cb *ax25) in ax25_std_nr_error_recovery() argument
51 ax25_std_establish_data_link(ax25); in ax25_std_nr_error_recovery()
54 void ax25_std_establish_data_link(ax25_cb *ax25) in ax25_std_establish_data_link() argument
56 ax25->condition = 0x00; in ax25_std_establish_data_link()
57 ax25->n2count = 0; in ax25_std_establish_data_link()
59 if (ax25->modulus == AX25_MODULUS) in ax25_std_establish_data_link()
60 ax25_send_control(ax25, AX25_SABM, AX25_POLLON, AX25_COMMAND); in ax25_std_establish_data_link()
62 ax25_send_control(ax25, AX25_SABME, AX25_POLLON, AX25_COMMAND); in ax25_std_establish_data_link()
64 ax25_calculate_t1(ax25); in ax25_std_establish_data_link()
65 ax25_stop_idletimer(ax25); in ax25_std_establish_data_link()
66 ax25_stop_t3timer(ax25); in ax25_std_establish_data_link()
67 ax25_stop_t2timer(ax25); in ax25_std_establish_data_link()
68 ax25_start_t1timer(ax25); in ax25_std_establish_data_link()
71 void ax25_std_transmit_enquiry(ax25_cb *ax25) in ax25_std_transmit_enquiry() argument
73 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_transmit_enquiry()
74 ax25_send_control(ax25, AX25_RNR, AX25_POLLON, AX25_COMMAND); in ax25_std_transmit_enquiry()
76 ax25_send_control(ax25, AX25_RR, AX25_POLLON, AX25_COMMAND); in ax25_std_transmit_enquiry()
78 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_transmit_enquiry()
80 ax25_calculate_t1(ax25); in ax25_std_transmit_enquiry()
81 ax25_start_t1timer(ax25); in ax25_std_transmit_enquiry()
84 void ax25_std_enquiry_response(ax25_cb *ax25) in ax25_std_enquiry_response() argument
86 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_enquiry_response()
87 ax25_send_control(ax25, AX25_RNR, AX25_POLLON, AX25_RESPONSE); in ax25_std_enquiry_response()
89 ax25_send_control(ax25, AX25_RR, AX25_POLLON, AX25_RESPONSE); in ax25_std_enquiry_response()
91 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_enquiry_response()
94 void ax25_std_timeout_response(ax25_cb *ax25) in ax25_std_timeout_response() argument
96 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_timeout_response()
97 ax25_send_control(ax25, AX25_RNR, AX25_POLLOFF, AX25_RESPONSE); in ax25_std_timeout_response()
99 ax25_send_control(ax25, AX25_RR, AX25_POLLOFF, AX25_RESPONSE); in ax25_std_timeout_response()
101 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_timeout_response()