Lines Matching refs:ax25
30 void ax25_std_nr_error_recovery(ax25_cb *ax25) in ax25_std_nr_error_recovery() argument
32 ax25_std_establish_data_link(ax25); in ax25_std_nr_error_recovery()
35 void ax25_std_establish_data_link(ax25_cb *ax25) in ax25_std_establish_data_link() argument
37 ax25->condition = 0x00; in ax25_std_establish_data_link()
38 ax25->n2count = 0; in ax25_std_establish_data_link()
40 if (ax25->modulus == AX25_MODULUS) in ax25_std_establish_data_link()
41 ax25_send_control(ax25, AX25_SABM, AX25_POLLON, AX25_COMMAND); in ax25_std_establish_data_link()
43 ax25_send_control(ax25, AX25_SABME, AX25_POLLON, AX25_COMMAND); in ax25_std_establish_data_link()
45 ax25_calculate_t1(ax25); in ax25_std_establish_data_link()
46 ax25_stop_idletimer(ax25); in ax25_std_establish_data_link()
47 ax25_stop_t3timer(ax25); in ax25_std_establish_data_link()
48 ax25_stop_t2timer(ax25); in ax25_std_establish_data_link()
49 ax25_start_t1timer(ax25); in ax25_std_establish_data_link()
52 void ax25_std_transmit_enquiry(ax25_cb *ax25) in ax25_std_transmit_enquiry() argument
54 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_transmit_enquiry()
55 ax25_send_control(ax25, AX25_RNR, AX25_POLLON, AX25_COMMAND); in ax25_std_transmit_enquiry()
57 ax25_send_control(ax25, AX25_RR, AX25_POLLON, AX25_COMMAND); in ax25_std_transmit_enquiry()
59 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_transmit_enquiry()
61 ax25_calculate_t1(ax25); in ax25_std_transmit_enquiry()
62 ax25_start_t1timer(ax25); in ax25_std_transmit_enquiry()
65 void ax25_std_enquiry_response(ax25_cb *ax25) in ax25_std_enquiry_response() argument
67 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_enquiry_response()
68 ax25_send_control(ax25, AX25_RNR, AX25_POLLON, AX25_RESPONSE); in ax25_std_enquiry_response()
70 ax25_send_control(ax25, AX25_RR, AX25_POLLON, AX25_RESPONSE); in ax25_std_enquiry_response()
72 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_enquiry_response()
75 void ax25_std_timeout_response(ax25_cb *ax25) in ax25_std_timeout_response() argument
77 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_timeout_response()
78 ax25_send_control(ax25, AX25_RNR, AX25_POLLOFF, AX25_RESPONSE); in ax25_std_timeout_response()
80 ax25_send_control(ax25, AX25_RR, AX25_POLLOFF, AX25_RESPONSE); in ax25_std_timeout_response()
82 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_timeout_response()