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.py159 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=0, payload=b'abc' * 34))
161 cert_channel.send_i_frame(tx_seq=0, req_seq=1, payload=SAMPLE_PACKET)
542 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=0, payload=b'abc'))
585 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=0, payload=b"abc"))
597 cert_channel.send_i_frame(tx_seq=0, req_seq=0, payload=SAMPLE_PACKET)
611 assertThat(cert_channel).emits(L2capMatchers.IFrameWithFcs(tx_seq=0, payload=b"abc"))
623 cert_channel.send_i_frame(tx_seq=0, req_seq=0, payload=SAMPLE_PACKET, fcs=FcsType.DEFAULT)
639 assertThat(cert_channel).emits(L2capMatchers.IFrame(tx_seq=0, payload=b"abc"))
641 cert_channel.send_i_frame(tx_seq=0, req_seq=1, payload=SAMPLE_PACKET)
644 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/gd/cert/
Dmatchers.py230 def IFrame(tx_seq=None, payload=None, f=None): argument
231 …return lambda packet: L2capMatchers._is_matching_information_frame(packet, tx_seq, payload, f, fcs…
234 def IFrameWithFcs(tx_seq=None, payload=None, f=None): argument
235 …return lambda packet: L2capMatchers._is_matching_information_frame(packet, tx_seq, payload, f, fcs…
238 def IFrameStart(tx_seq=None, payload=None, f=None): argument
239 …return lambda packet: L2capMatchers._is_matching_information_start_frame(packet, tx_seq, payload, …
356 def _is_matching_information_frame(packet, tx_seq, payload, f, fcs=False): argument
363 if tx_seq is not None and frame.GetTxSeq() != tx_seq:
372 def _is_matching_information_start_frame(packet, tx_seq, payload, f, fcs=False): argument
379 if tx_seq is not None and frame.GetTxSeq() != tx_seq:
/system/bt/stack/l2cap/
Dl2c_fcr.cc92 static bool retransmit_i_frames(tL2C_CCB* p_ccb, uint8_t tx_seq);
1154 uint8_t tx_seq, num_lost, num_to_ack, next_srej; in process_i_frame() local
1171 tx_seq = (ctrl_word & L2CAP_FCR_TX_SEQ_BITS) >> L2CAP_FCR_TX_SEQ_BITS_SHIFT; in process_i_frame()
1174 if (tx_seq != p_fcrb->next_seq_expected) { in process_i_frame()
1175 num_lost = (tx_seq - p_fcrb->next_seq_expected) & L2CAP_FCR_SEQ_MODULO; in process_i_frame()
1183 tx_seq, p_fcrb->next_seq_expected); in process_i_frame()
1189 p_ccb->local_cid, num_lost, tx_seq, p_fcrb->next_seq_expected, in process_i_frame()
1201 if ((tx_seq == next_srej) && in process_i_frame()
1225 num_lost, tx_seq, p_fcrb->next_seq_expected, p_fcrb->rej_sent); in process_i_frame()
1227 p_buf->layer_specific = tx_seq; in process_i_frame()
[all …]
/system/bt/gd/l2cap/
Dl2cap_packets.pdl74 tx_seq : 6,
129 tx_seq : 6,
176 tx_seq : 14,