Lines Matching refs:tx_seq

298 static inline uint16_t l2cap_encanced_control_field_for_information_frame(uint8_t tx_seq, int final…  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()
421 …uint16_t control = l2cap_encanced_control_field_for_information_frame(tx_state->tx_seq, final, cha… in l2cap_ertm_send_information_frame()
438 tx_state->tx_seq = channel->next_tx_seq; in l2cap_ertm_store_fragment()
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()
823 …_ertm_tx_packet_state_t * l2cap_ertm_get_tx_state(l2cap_channel_t * l2cap_channel, uint8_t tx_seq){ in l2cap_ertm_get_tx_state() argument
827 if (tx_state->tx_seq == tx_seq) return tx_state; in l2cap_ertm_get_tx_state()
4718 uint8_t tx_seq = (control >> 1) & 0x3f; in l2cap_acl_classic_handler_for_channel() local
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()
4754 if (l2cap_channel->expected_tx_seq == tx_seq){ in l2cap_acl_classic_handler_for_channel()
4755 log_info("Received expected frame with TxSeq == ExpectedTxSeq == %02u", tx_seq); in l2cap_acl_classic_handler_for_channel()
4787 int delta = (tx_seq - l2cap_channel->expected_tx_seq) & 0x3f; in l2cap_acl_classic_handler_for_channel()
4792 …nfo("Received unexpected frame TxSeq %u but expected %u -> send S-SREJ", tx_seq, l2cap_channel->ex… in l2cap_acl_classic_handler_for_channel()
4795 …info("Received unexpected frame TxSeq %u but expected %u -> send S-REJ", tx_seq, l2cap_channel->ex… in l2cap_acl_classic_handler_for_channel()