Searched refs:mps (Results 1 – 10 of 10) sorted by relevance
/system/bt/stack/l2cap/ |
D | l2c_ble.cc | 475 uint16_t lcid = 0, rcid = 0, mtu = 0, mps = 0, initial_credit = 0; in l2cble_process_sig_cmd() local 568 STREAM_TO_UINT16(mps, p); in l2cble_process_sig_cmd() 576 mtu, mps, initial_credit); in l2cble_process_sig_cmd() 612 if (mtu < L2CAP_LE_MIN_MTU || mps < L2CAP_LE_MIN_MPS || in l2cble_process_sig_cmd() 613 mps > L2CAP_LE_MAX_MPS) { in l2cble_process_sig_cmd() 624 p_ccb->peer_conn_cfg.mps = mps; in l2cble_process_sig_cmd() 627 p_ccb->tx_mps = mps; in l2cble_process_sig_cmd() 656 STREAM_TO_UINT16(p_ccb->peer_conn_cfg.mps, p); in l2cble_process_sig_cmd() 668 p_ccb->peer_conn_cfg.mps, p_ccb->peer_conn_cfg.credits, in l2cble_process_sig_cmd() 673 p_ccb->peer_conn_cfg.mps < L2CAP_LE_MIN_MPS || in l2cble_process_sig_cmd() [all …]
|
D | l2c_fcr.cc | 831 if (p_buf->len > p_ccb->local_conn_cfg.mps) { in l2c_lcc_proc_pdu() 1834 uint16_t max_pdu = p_ccb->peer_conn_cfg.mps - 4 /* Length and CID */; in l2c_lcc_get_next_xmit_sdu_seg() 2017 if (p_fcr->mps == L2CAP_DEFAULT_ERM_MPS) { in l2c_fcr_adj_our_req_options() 2018 p_fcr->mps = L2CAP_MPS_OVER_BR_EDR; in l2c_fcr_adj_our_req_options() 2021 else if (p_fcr->mps > p_ccb->max_rx_mtu) { in l2c_fcr_adj_our_req_options() 2022 L2CAP_TRACE_WARNING("L2CAP - MPS %u invalid MTU: %u", p_fcr->mps, in l2c_fcr_adj_our_req_options() 2029 if (p_fcr->mps > (L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS)) in l2c_fcr_adj_our_req_options() 2030 p_fcr->mps = L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS; in l2c_fcr_adj_our_req_options() 2116 p_cfg->fcr.mps = p_ccb->peer_cfg.fcr.mps; in l2c_fcr_adj_our_rsp_options() 2272 p_cfg->fcr.rtrans_tout = p_cfg->fcr.mon_tout = p_cfg->fcr.mps = 0; in l2c_fcr_process_peer_cfg_req() [all …]
|
D | l2c_utils.cc | 605 UINT16_TO_STREAM(p, p_cfg->fcr.mps); in l2cu_send_peer_config_req() 701 UINT16_TO_STREAM(p, p_cfg->fcr.mps); in l2cu_send_peer_config_rsp() 2496 packet_size, p_ccb->peer_cfg.fcr.mps); in l2cu_adjust_out_mps() 2497 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps; in l2cu_adjust_out_mps() 2513 if (p_ccb->peer_cfg.fcr.mps >= packet_size) in l2cu_adjust_out_mps() 2514 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps / packet_size * packet_size; in l2cu_adjust_out_mps() 2516 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps; in l2cu_adjust_out_mps() 2521 p_ccb->tx_mps, p_ccb->peer_cfg.fcr.mps, packet_size); in l2cu_adjust_out_mps() 2835 uint16_t mps; in l2cu_send_peer_ble_credit_based_conn_req() local 2858 mps = p_ccb->local_conn_cfg.mps; in l2cu_send_peer_ble_credit_based_conn_req() [all …]
|
D | l2c_main.cc | 534 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd() 655 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd()
|
/system/bt/stack/include/ |
D | l2c_api.h | 150 uint16_t mps; member 179 uint16_t mps; member
|
/system/bt/stack/sdp/ |
D | sdp_main.cc | 193 cfg.fcr.rtrans_tout, cfg.fcr.mon_tout, cfg.fcr.mps); in sdp_connect_ind() 247 cfg.fcr.rtrans_tout, cfg.fcr.mon_tout, cfg.fcr.mps); in sdp_connect_cfm()
|
/system/bt/stack/smp/ |
D | smp_l2c.cc | 64 fixed_reg.fixed_chnl_opts.mps = 0; in smp_l2cap_if_init()
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 221 p_ccb->local_coc_cfg.mps = le_mps; in GAP_ConnOpen() 224 << ", mps=" << p_ccb->local_coc_cfg.mps in GAP_ConnOpen()
|
/system/bt/stack/gatt/ |
D | gatt_main.cc | 116 fixed_reg.fixed_chnl_opts.mps = 670; in gatt_init()
|
/system/bt/bta/jv/ |
D | bta_jv_act.cc | 1895 .mps = 670, in fcchan_get()
|