Home
last modified time | relevance | path

Searched refs:tx_seq (Results 1 – 7 of 7) sorted by relevance

/system/bt/gd/l2cap/classic/cert/
Dl2cap_test.py160 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=0, payload=b'abc' * 34))
162 cert_channel.send_i_frame(tx_seq=0, req_seq=1, payload=SAMPLE_PACKET)
543 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=0, payload=b'abc'))
586 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=0, payload=b"abc"))
598 cert_channel.send_i_frame(tx_seq=0, req_seq=0, payload=SAMPLE_PACKET)
612 assertThat(cert_channel).emits(L2capMatchers.IFrameWithFcs(tx_seq=0, payload=b"abc"))
624 cert_channel.send_i_frame(tx_seq=0, req_seq=0, payload=SAMPLE_PACKET, fcs=FcsType.DEFAULT)
640 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=0, payload=b"abc"))
642 cert_channel.send_i_frame(tx_seq=0, req_seq=1, payload=SAMPLE_PACKET)
645 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=1, payload=b"abc"))
[all …]
Dcert_l2cap.py67 tx_seq, argument
74 …frame = l2cap_packets.EnhancedInformationFrameWithFcsBuilder(self._dcid, tx_seq, f, req_seq, sar, …
76 …frame = l2cap_packets.EnhancedInformationFrameBuilder(self._dcid, tx_seq, f, req_seq, sar, payload)
Dl2cap_performance_test.py141 cert_channel.send_i_frame(tx_seq=i % 64, req_seq=0, payload=data_packet)
/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.cc175 …void recv_i_frame(Final f, uint8_t tx_seq, uint8_t req_seq, SegmentationAndReassembly sar, uint16_… in recv_i_frame()
178 …if (f == Final::NOT_SET && with_expected_tx_seq(tx_seq) && with_valid_req_seq(req_seq) && with_val… in recv_i_frame()
184 …} else if (f == Final::POLL_RESPONSE && with_expected_tx_seq(tx_seq) && with_valid_req_seq(req_seq… in recv_i_frame()
196 …} else if (with_duplicate_tx_seq(tx_seq) && with_valid_req_seq(req_seq) && with_valid_f_bit(f) && … in recv_i_frame()
198 … } else if (with_unexpected_tx_seq(tx_seq) && with_valid_req_seq(req_seq) && with_valid_f_bit(f) && in recv_i_frame()
207 …} else if (with_expected_tx_seq(tx_seq) && with_valid_req_seq(req_seq) && with_valid_f_bit(f) && l… in recv_i_frame()
210 …} else if (with_valid_req_seq(req_seq) && not_with_expected_tx_seq(tx_seq) && with_valid_f_bit(f) … in recv_i_frame()
213 } else if ((with_invalid_tx_seq(tx_seq) && controller_->local_tx_window_ > kMaxTxWin / 2) || in recv_i_frame()
216 } else if (with_invalid_tx_seq(tx_seq) && controller_->local_tx_window_ <= kMaxTxWin / 2) { in recv_i_frame()
220 …if (f == Final::NOT_SET && with_expected_tx_seq(tx_seq) && with_valid_req_seq(req_seq) && with_val… in recv_i_frame()
[all …]
/system/bt/stack/l2cap/
Dl2c_fcr.cc93 static bool retransmit_i_frames(tL2C_CCB* p_ccb, uint8_t tx_seq);
999 uint8_t tx_seq, num_lost, num_to_ack, next_srej; in process_i_frame() local
1011 tx_seq = (ctrl_word & L2CAP_FCR_TX_SEQ_BITS) >> L2CAP_FCR_TX_SEQ_BITS_SHIFT; in process_i_frame()
1014 if (tx_seq != p_fcrb->next_seq_expected) { in process_i_frame()
1015 num_lost = (tx_seq - p_fcrb->next_seq_expected) & L2CAP_FCR_SEQ_MODULO; in process_i_frame()
1023 tx_seq, p_fcrb->next_seq_expected); in process_i_frame()
1029 p_ccb->local_cid, num_lost, tx_seq, p_fcrb->next_seq_expected, in process_i_frame()
1041 if ((tx_seq == next_srej) && in process_i_frame()
1047 num_lost, tx_seq, p_fcrb->next_seq_expected, p_fcrb->rej_sent); in process_i_frame()
1049 p_buf->layer_specific = tx_seq; in process_i_frame()
[all …]
/system/bt/gd/cert/
Dmatchers.py344 def IFrame(tx_seq=None, payload=None, f=None): argument
345 …return lambda packet: L2capMatchers._is_matching_information_frame(packet, tx_seq, payload, f, fcs…
348 def IFrameWithFcs(tx_seq=None, payload=None, f=None): argument
349 …return lambda packet: L2capMatchers._is_matching_information_frame(packet, tx_seq, payload, f, fcs…
352 def IFrameStart(tx_seq=None, payload=None, f=None): argument
353 …return lambda packet: L2capMatchers._is_matching_information_start_frame(packet, tx_seq, payload, …
470 def _is_matching_information_frame(packet, tx_seq, payload, f, fcs=False): argument
477 if tx_seq is not None and frame.GetTxSeq() != tx_seq:
486 def _is_matching_information_start_frame(packet, tx_seq, payload, f, fcs=False): argument
493 if tx_seq is not None and frame.GetTxSeq() != tx_seq:
/system/bt/gd/l2cap/
Dl2cap_packets.pdl74 tx_seq : 6,
129 tx_seq : 6,
176 tx_seq : 14,