Home
last modified time | relevance | path

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

/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.cc129 void recv_req_seq_and_f_bit(uint8_t req_seq, Final f) { in recv_req_seq_and_f_bit()
131 process_req_seq(req_seq); in recv_req_seq_and_f_bit()
133 process_req_seq(req_seq); in recv_req_seq_and_f_bit()
140 process_req_seq(req_seq); in recv_req_seq_and_f_bit()
175 …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()
181 pass_to_tx(req_seq, f); in recv_i_frame()
184 …lse if (f == Final::POLL_RESPONSE && with_expected_tx_seq(tx_seq) && with_valid_req_seq(req_seq) && in recv_i_frame()
187 pass_to_tx(req_seq, f); in recv_i_frame()
190 retransmit_i_frames(req_seq); in recv_i_frame()
[all …]
/system/bt/gd/l2cap/classic/cert/
Dl2cap_test.py144 … assertThat(cert_channel).emitsNone(L2capMatchers.SFrame(req_seq=4), timeout=timedelta(seconds=1))
161 cert_channel.send_i_frame(tx_seq=0, req_seq=1, payload=SAMPLE_PACKET)
597 cert_channel.send_i_frame(tx_seq=0, req_seq=0, payload=SAMPLE_PACKET)
623 cert_channel.send_i_frame(tx_seq=0, req_seq=0, payload=SAMPLE_PACKET, fcs=FcsType.DEFAULT)
641 cert_channel.send_i_frame(tx_seq=0, req_seq=1, payload=SAMPLE_PACKET)
646 cert_channel.send_i_frame(tx_seq=1, req_seq=2, payload=SAMPLE_PACKET)
651 cert_channel.send_i_frame(tx_seq=2, req_seq=3, payload=SAMPLE_PACKET)
665 cert_channel.send_i_frame(tx_seq=i, req_seq=0, payload=SAMPLE_PACKET)
666 assertThat(cert_channel).emits(L2capMatchers.SFrame(req_seq=i + 1))
668 …cert_channel.send_i_frame(tx_seq=3, req_seq=0, sar=SegmentationAndReassembly.START, payload=SAMPLE…
[all …]
Dl2cap_performance_test.py114 … cert_channel.send_s_frame(req_seq=(i + 1) % 64, s=SupervisoryFunction.RECEIVER_READY)
141 cert_channel.send_i_frame(tx_seq=i % 64, req_seq=0, payload=data_packet)
143 assertThat(cert_channel).emits(L2capMatchers.SFrame(req_seq=(i + 1) % 64))
Dcert_l2cap.py68 req_seq, argument
74 … l2cap_packets.EnhancedInformationFrameWithFcsBuilder(self._dcid, tx_seq, f, req_seq, sar, payload)
76 …frame = l2cap_packets.EnhancedInformationFrameBuilder(self._dcid, tx_seq, f, req_seq, sar, payload)
79 …def send_s_frame(self, req_seq, s=SupervisoryFunction.RECEIVER_READY, p=Poll.NOT_SET, f=Final.NOT_… argument
80 frame = l2cap_packets.EnhancedSupervisoryFrameBuilder(self._dcid, s, p, f, req_seq)
/system/bt/gd/l2cap/
Dl2cap_packets.pdl69 req_seq : 6,
76 req_seq : 6,
124 req_seq : 6,
131 req_seq : 6,
165 req_seq : 14,
174 req_seq : 14,
/system/bt/gd/cert/
Dmatchers.py226 def SFrame(req_seq=None, f=None, s=None, p=None): argument
227 return lambda packet: L2capMatchers._is_matching_supervisory_frame(packet, req_seq, f, s, p)
388 def _is_matching_supervisory_frame(packet, req_seq, f, s, p): argument
392 if req_seq is not None and frame.GetReqSeq() != req_seq:
/system/bt/stack/l2cap/
Dl2c_fcr.cc976 uint8_t req_seq, num_bufs_acked, xx; in process_reqseq() local
994 req_seq = in process_reqseq()
997 num_bufs_acked = (req_seq - p_fcrb->last_rx_ack) & L2CAP_FCR_SEQ_MODULO; in process_reqseq()
1005 ctrl_word, req_seq, p_fcrb->last_rx_ack, in process_reqseq()
1012 p_fcrb->last_rx_ack = req_seq; in process_reqseq()