Lines Matching refs:req_seq

298 …d_control_field_for_information_frame(uint8_t tx_seq, int final, uint8_t req_seq, l2cap_segmentati…  in l2cap_encanced_control_field_for_information_frame()  argument
299 return (((uint16_t) sar) << 14) | (req_seq << 8) | (final << 7) | (tx_seq << 1) | 0; in l2cap_encanced_control_field_for_information_frame()
302 …sor_frame(l2cap_supervisory_function_t supervisory_function, int poll, int final, uint8_t req_seq){ in l2cap_encanced_control_field_for_supevisor_frame() argument
303 return (req_seq << 8) | (final << 7) | (poll << 4) | (((int) supervisory_function) << 2) | 1; in l2cap_encanced_control_field_for_supevisor_frame()
421 …nced_control_field_for_information_frame(tx_state->tx_seq, final, channel->req_seq, tx_state->sar); in l2cap_ertm_send_information_frame()
788 static void l2cap_ertm_process_req_seq(l2cap_channel_t * l2cap_channel, uint8_t req_seq){ in l2cap_ertm_process_req_seq() argument
791 …write_index %u, req_seq %u", l2cap_channel->tx_read_index, l2cap_channel->tx_write_index, req_seq); in l2cap_ertm_process_req_seq()
803 int delta = (req_seq - tx_state->tx_seq) & 0x03f; in l2cap_ertm_process_req_seq()
810 log_info("RR seq %u => packet with tx_seq %u done", req_seq, tx_state->tx_seq); in l2cap_ertm_process_req_seq()
1816 …log_info("Send S-Frame: RR %u, final %u", channel->req_seq, channel->set_final_bit_after_packet_wi… in l2cap_run_for_classic_channel_ertm()
1817 …ON_RR_RECEIVER_READY, 0, channel->set_final_bit_after_packet_with_poll_bit_set, channel->req_seq); in l2cap_run_for_classic_channel_ertm()
1824 log_info("Send S-Frame: RR %u with poll=1 ", channel->req_seq); in l2cap_run_for_classic_channel_ertm()
1825 …l_field_for_supevisor_frame( L2CAP_SUPERVISORY_FUNCTION_RR_RECEIVER_READY, 1, 0, channel->req_seq); in l2cap_run_for_classic_channel_ertm()
1831 log_info("Send S-Frame: RNR %u", channel->req_seq); in l2cap_run_for_classic_channel_ertm()
1832 …ld_for_supevisor_frame( L2CAP_SUPERVISORY_FUNCTION_RNR_RECEIVER_NOT_READY, 0, 0, channel->req_seq); in l2cap_run_for_classic_channel_ertm()
1838 log_info("Send S-Frame: REJ %u", channel->req_seq); in l2cap_run_for_classic_channel_ertm()
1839 …_control_field_for_supevisor_frame( L2CAP_SUPERVISORY_FUNCTION_REJ_REJECT, 0, 0, channel->req_seq); in l2cap_run_for_classic_channel_ertm()
4640 uint8_t req_seq = (control >> 8) & 0x3f; in l2cap_acl_classic_handler_for_channel() local
4646 … log_info("Control: 0x%04x => Supervisory function %u, ReqSeq %02u", control, (int) s, req_seq); in l2cap_acl_classic_handler_for_channel()
4651 l2cap_ertm_process_req_seq(l2cap_channel, req_seq); in l2cap_acl_classic_handler_for_channel()
4690 l2cap_ertm_process_req_seq(l2cap_channel, req_seq); in l2cap_acl_classic_handler_for_channel()
4700 l2cap_ertm_process_req_seq(l2cap_channel, req_seq); in l2cap_acl_classic_handler_for_channel()
4703 tx_state = l2cap_ertm_get_tx_state(l2cap_channel, req_seq); in l2cap_acl_classic_handler_for_channel()
4705 log_info("Retransmission for tx_seq %u requested", req_seq); in l2cap_acl_classic_handler_for_channel()
4719 …nfo("Control: 0x%04x => SAR %u, ReqSeq %02u, R?, TxSeq %02u", control, (int) sar, req_seq, tx_seq); in l2cap_acl_classic_handler_for_channel()
4721 …tate: expected_tx_seq %02u, req_seq %02u", l2cap_channel->expected_tx_seq, l2cap_channel->req_seq); in l2cap_acl_classic_handler_for_channel()
4722 l2cap_ertm_process_req_seq(l2cap_channel, req_seq); in l2cap_acl_classic_handler_for_channel()
4757 l2cap_channel->req_seq = l2cap_channel->expected_tx_seq; in l2cap_acl_classic_handler_for_channel()
4770 l2cap_channel->req_seq = l2cap_channel->expected_tx_seq; in l2cap_acl_classic_handler_for_channel()