/system/bt/stack/l2cap/ |
D | l2c_ble.cc | 420 uint16_t lcid = 0, rcid = 0, mtu = 0, mps = 0, initial_credit = 0; in l2cble_process_sig_cmd() local 513 STREAM_TO_UINT16(mps, p); in l2cble_process_sig_cmd() 525 mtu, mps, initial_credit, num_of_channels); in l2cble_process_sig_cmd() 555 mps < L2CAP_CREDIT_BASED_MIN_MPS || mps > L2CAP_LE_MAX_MPS) { in l2cble_process_sig_cmd() 588 temp_p_ccb->peer_conn_cfg.mps = mps; in l2cble_process_sig_cmd() 591 temp_p_ccb->tx_mps = mps; in l2cble_process_sig_cmd() 604 p_ccb->local_conn_cfg.mps = in l2cble_process_sig_cmd() 647 STREAM_TO_UINT16(mps, p); in l2cble_process_sig_cmd() 668 mps < L2CAP_CREDIT_BASED_MIN_MPS || mps > L2CAP_LE_MAX_MPS) { in l2cble_process_sig_cmd() 694 mtu, mps, initial_credit, con_info.l2cap_result, num_of_channels); in l2cble_process_sig_cmd() [all …]
|
D | l2c_utils.cc | 538 p_lcb->pending_ecoc_reconfig_cnt, p_cfg->mtu, p_cfg->mps); in l2cu_send_credit_based_reconfig_req() 541 UINT16_TO_STREAM(p, p_cfg->mps); in l2cu_send_credit_based_reconfig_req() 631 UINT16_TO_STREAM(p, p_cfg->fcr.mps); in l2cu_send_peer_config_req() 727 UINT16_TO_STREAM(p, p_cfg->fcr.mps); in l2cu_send_peer_config_rsp() 2367 packet_size, p_ccb->peer_cfg.fcr.mps); in l2cu_adjust_out_mps() 2368 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps; in l2cu_adjust_out_mps() 2384 if (p_ccb->peer_cfg.fcr.mps >= packet_size) in l2cu_adjust_out_mps() 2385 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps / packet_size * packet_size; in l2cu_adjust_out_mps() 2387 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps; in l2cu_adjust_out_mps() 2392 p_ccb->tx_mps, p_ccb->peer_cfg.fcr.mps, packet_size); in l2cu_adjust_out_mps() [all …]
|
D | l2c_fcr.cc | 685 if (p_buf->len > p_ccb->local_conn_cfg.mps) { in l2c_lcc_proc_pdu() 1523 uint16_t max_pdu = p_ccb->peer_conn_cfg.mps - 4 /* Length and CID */; in l2c_lcc_get_next_xmit_sdu_seg() 1678 p_cfg->fcr.mps = p_ccb->peer_cfg.fcr.mps; in l2c_fcr_adj_our_rsp_options() 1824 p_cfg->fcr.rtrans_tout = p_cfg->fcr.mon_tout = p_cfg->fcr.mps = 0; in l2c_fcr_process_peer_cfg_req() 1826 p_ccb->our_cfg.fcr.mps = 0; in l2c_fcr_process_peer_cfg_req() 1849 if ((p_cfg->fcr.mps == 0) || (p_cfg->fcr.mps > p_ccb->peer_cfg.mtu)) { in l2c_fcr_process_peer_cfg_req() 1850 p_cfg->fcr.mps = p_ccb->peer_cfg.mtu; in l2c_fcr_process_peer_cfg_req() 1855 if (p_cfg->fcr.mps > max_retrans_size) { in l2c_fcr_process_peer_cfg_req() 1857 max_retrans_size, p_cfg->fcr.mps); in l2c_fcr_process_peer_cfg_req() 1859 p_cfg->fcr.mps = max_retrans_size; in l2c_fcr_process_peer_cfg_req()
|
D | l2c_main.cc | 557 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd() 696 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd()
|
D | l2c_api.cc | 833 (p_ccb->local_conn_cfg.mps > p_cfg->mps)) { in L2CA_ReconfigCreditBasedConnsReq()
|
/system/bt/gd/l2cap/le/internal/ |
D | signalling_manager.h | 57 …gCommand CreditBasedConnectionRequest(SignalId signal_id, Psm psm, Cid scid, Mtu mtu, uint16_t mps, in CreditBasedConnectionRequest() 65 pending_command.mps_ = mps; in CreditBasedConnectionRequest() 134 void OnConnectionRequest(SignalId signal_id, Psm psm, Cid remote_cid, Mtu mtu, uint16_t mps, 137 …void OnConnectionResponse(SignalId signal_id, Cid remote_cid, Mtu mtu, uint16_t mps, uint16_t init… 156 …void send_connection_response(SignalId signal_id, Cid local_cid, Mtu mtu, uint16_t mps, uint16_t i…
|
D | signalling_manager.cc | 178 …ingManager::OnConnectionRequest(SignalId signal_id, Psm psm, Cid remote_cid, Mtu mtu, uint16_t mps, in OnConnectionRequest() argument 205 .max_pdu_size = mps, in OnConnectionRequest() 267 …eSignallingManager::OnConnectionResponse(SignalId signal_id, Cid remote_cid, Mtu mtu, uint16_t mps, in OnConnectionResponse() argument 298 data_controller->SetMps(std::min(mps, command_just_sent_.mps_)); in OnConnectionResponse() 490 …gnallingManager::send_connection_response(SignalId signal_id, Cid local_cid, Mtu mtu, uint16_t mps, in send_connection_response() argument 494 …LeCreditBasedConnectionResponseBuilder::Create(signal_id.Value(), local_cid, mtu, mps, initial_cre… in send_connection_response()
|
/system/bt/gd/l2cap/ |
D | l2cap_packets.pdl | 548 mps : 16, 569 mps : 16, 577 mps : 16, 667 mps : 16, 687 mps : 16, 700 mps : 16, 707 mps : 16, 715 mps : 16,
|
/system/bt/gd/l2cap/le/cert/ |
D | cert_le_l2cap.py | 108 def open_channel(self, signal_id, psm, scid, mtu=1000, mps=100, initial_credit=6): argument 110 …l2cap_packets.LeCreditBasedConnectionRequestBuilder(signal_id, psm, scid, mtu, mps, initial_credit… 157 mps = request.GetMps() 163 …response = l2cap_packets.LeCreditBasedConnectionResponseBuilder(sid, our_scid, mtu, mps, initial_c…
|
D | le_l2cap_test.py | 93 mps=100, argument 117 …def _open_channel_from_cert(self, signal_id=1, scid=0x0101, psm=0x33, mtu=1000, mps=100, initial_c… argument 120 cert_channel = self.cert_l2cap.open_channel(signal_id, psm, scid, mtu, mps, initial_credit) 209 (dut_channel, cert_channel) = self._open_channel_from_cert(mtu=1000, mps=102) 223 (dut_channel, cert_channel) = self._open_channel_from_cert(mtu=1000, mps=202)
|
D | dual_l2cap_test.py | 132 …def _open_le_coc_from_cert(self, signal_id=1, scid=0x0101, psm=0x35, mtu=1000, mps=100, initial_cr… argument 135 … cert_channel = self.cert_le_l2cap.open_channel(signal_id, psm, scid, mtu, mps, initial_credit)
|
/system/bt/gd/l2cap/internal/ |
D | le_credit_based_channel_data_controller.cc | 115 void LeCreditBasedDataController::SetMps(uint16_t mps) { in SetMps() argument 116 mps_ = mps; in SetMps()
|
D | le_credit_based_channel_data_controller.h | 57 void SetMps(uint16_t mps);
|
/system/bt/stack/eatt/ |
D | eatt_impl.h | 47 eatt_device(const RawAddress& bd_addr, uint16_t mtu, uint16_t mps) in eatt_device() argument 48 : rx_mtu_(mtu), rx_mps_(mps), eatt_tcb_(nullptr) { in eatt_device() 127 .mps = eatt_dev->rx_mps_ < max_mps ? eatt_dev->rx_mps_ : max_mps, in eatt_l2cap_connect_ind() 302 .mps = eatt_dev->rx_mps_, in connect_eatt() 533 tL2CAP_LE_CFG_INFO cfg = {.mps = eatt_dev->rx_mps_, .mtu = new_mtu}; in reconfigure() 567 tL2CAP_LE_CFG_INFO cfg = {.mps = eatt_dev->rx_mps_, .mtu = new_mtu}; in reconfigure_all()
|
/system/bt/gd/l2cap/classic/cert/ |
D | cert_l2cap.py | 301 mps=1010, argument 319 rfc_opt.maximum_pdu_size = mps 328 def config_option_ertm_with_mps(mps=1010): argument 329 return CertL2cap.config_option_ertm(mps=mps)
|
D | l2cap_test.py | 1067 config = CertL2cap.config_option_ertm(fcs=FcsType.NO_FCS, mps=11)
|
/system/bt/stack/include/ |
D | l2c_api.h | 115 uint16_t mps; member 186 uint16_t mps = 100; member
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 213 p_ccb->local_coc_cfg.mps = le_mps; in GAP_ConnOpen() 216 << ", mps=" << p_ccb->local_coc_cfg.mps in GAP_ConnOpen()
|