/system/bt/stack/avct/ |
D | avct_api.c | 351 UINT16 peer_mtu = AVCT_MIN_BROWSE_MTU; in AVCT_GetBrowseMtu() local 357 peer_mtu = p_ccb->p_bcb->peer_mtu; in AVCT_GetBrowseMtu() 362 return peer_mtu; in AVCT_GetBrowseMtu() 377 UINT16 peer_mtu = L2CAP_DEFAULT_MTU; in AVCT_GetPeerMtu() local 385 peer_mtu = p_ccb->p_lcb->peer_mtu; in AVCT_GetPeerMtu() 389 return peer_mtu; in AVCT_GetPeerMtu()
|
D | avct_lcb_act.c | 536 UINT16 buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE; in avct_lcb_send_msg() 543 if (curr_msg_len <= (p_lcb->peer_mtu - AVCT_HDR_LEN_SINGLE)) in avct_lcb_send_msg() 550 temp = (curr_msg_len + AVCT_HDR_LEN_START - p_lcb->peer_mtu); in avct_lcb_send_msg() 551 nosp = temp / (p_lcb->peer_mtu - 1) + 1; in avct_lcb_send_msg() 552 if ( (temp % (p_lcb->peer_mtu - 1)) != 0) in avct_lcb_send_msg() 564 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) in avct_lcb_send_msg() 571 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg() 617 if (curr_msg_len > (p_lcb->peer_mtu - AVCT_HDR_LEN_END)) in avct_lcb_send_msg()
|
D | avct_int.h | 64 UINT16 peer_mtu; /* peer l2c mtu */ member 75 UINT16 peer_mtu; /* peer l2c mtu */ member 91 UINT16 peer_mtu; /* peer l2c mtu */ member
|
D | avct_l2c.c | 300 p_lcb->peer_mtu = p_cfg->mtu; in avct_l2c_config_ind_cback() 304 p_lcb->peer_mtu = L2CAP_DEFAULT_MTU; in avct_l2c_config_ind_cback()
|
/system/bt/stack/avdt/ |
D | avdt_ad.c | 117 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_ad_init() 284 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_ad_tc_tbl_alloc() 334 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_ad_tc_close_ind() 404 open.peer_mtu = p_tbl->peer_mtu; in avdt_ad_tc_open_ind()
|
D | avdt_l2c.c | 424 p_tbl->peer_mtu = p_cfg->mtu; in avdt_l2c_config_ind_cback() 428 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_l2c_config_ind_cback() 430 AVDT_TRACE_DEBUG("peer_mtu: %d, lcid: x%x",p_tbl->peer_mtu, lcid); in avdt_l2c_config_ind_cback()
|
D | avdt_msg.c | 1232 (p_ccb->p_curr_msg->len <= p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE)) in avdt_msg_send() 1240 (p_ccb->p_curr_msg->len > p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE)) in avdt_msg_send() 1244 nosp = (p_ccb->p_curr_msg->len + AVDT_LEN_TYPE_START - p_tbl->peer_mtu) / in avdt_msg_send() 1245 (p_tbl->peer_mtu - 1) + 2; in avdt_msg_send() 1252 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send() 1258 (p_ccb->p_curr_msg->len > (p_tbl->peer_mtu - AVDT_LEN_TYPE_CONT))) in avdt_msg_send() 1268 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
|
D | avdt_int.h | 519 UINT16 peer_mtu; /* L2CAP mtu of the peer device */ member
|
D | avdt_scb_act.c | 2115 buf_size = p_tbl->peer_mtu + BT_HDR_SIZE; in avdt_scb_queue_frags() 2117 p_tbl->peer_mtu, buf_size, num_frag); in avdt_scb_queue_frags()
|
D | avdt_api.c | 1211 BT_HDR *p_pkt = (BT_HDR *)osi_malloc(p_tbl->peer_mtu); in AVDT_SendReport()
|
/system/bt/stack/mcap/ |
D | mca_main.c | 140 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in mca_tc_tbl_calloc() 181 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in mca_tc_tbl_dalloc() 320 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in mca_tc_close_ind() 361 open.peer_mtu = p_tbl->peer_mtu; in mca_tc_open_ind()
|
D | mca_l2c.c | 419 p_tbl->peer_mtu = p_cfg->mtu; in mca_l2c_config_ind_cback() 420 if (p_tbl->peer_mtu < MCA_MIN_MTU) in mca_l2c_config_ind_cback() 427 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in mca_l2c_config_ind_cback() 429 …MCA_TRACE_DEBUG("peer_mtu: %d, lcid: x%x mtu_present:%d",p_tbl->peer_mtu, lcid, p_cfg->mtu_present… in mca_l2c_config_ind_cback()
|
D | mca_dact.c | 72 evt_data.open_cfm.mtu = p_data->open.peer_mtu; in mca_dcb_tc_open()
|
D | mca_int.h | 58 UINT16 peer_mtu; /* Transport channel L2CAP MTU of the peer */ member 168 UINT16 peer_mtu; /* L2CAP mtu of the peer device */ member
|
D | mca_cact.c | 557 evt_data.connect_ind.mtu = p_data->open.peer_mtu; in mca_ccb_ll_open()
|
/system/bt/stack/rfcomm/ |
D | port_api.c | 1109 p_status->mtu_size = (UINT16) p_port->peer_mtu; in PORT_GetQueueStatus() 1531 if (!p_port->peer_mtu) in PORT_WriteDataCO() 1533 RFCOMM_TRACE_ERROR ("PORT_WriteDataByFd() peer_mtu:%d", p_port->peer_mtu); in PORT_WriteDataCO() 1555 && (((int)p_buf->len + available) <= (int)p_port->peer_mtu) in PORT_WriteDataCO() 1602 if (p_port->peer_mtu < length) in PORT_WriteDataCO() 1603 length = p_port->peer_mtu; in PORT_WriteDataCO() 1685 if (!max_len || !p_port->peer_mtu) in PORT_WriteData() 1687 RFCOMM_TRACE_ERROR ("PORT_WriteData() peer_mtu:%d", p_port->peer_mtu); in PORT_WriteData() 1700 && ((p_buf->len + max_len) <= p_port->peer_mtu) in PORT_WriteData() 1728 if (p_port->peer_mtu < length) in PORT_WriteData() [all …]
|
D | port_rfc.c | 327 p_port->peer_mtu = p_port->mtu; in PORT_ParNegInd() 422 p_port->peer_mtu = p_port->mtu; in PORT_ParNegCnf() 469 if (mtu && (mtu < p_port->peer_mtu)) in PORT_DlcEstablishInd() 470 p_port->peer_mtu = mtu; in PORT_DlcEstablishInd() 516 if (mtu && (mtu < p_port->peer_mtu)) in PORT_DlcEstablishCnf() 517 p_port->peer_mtu = mtu; in PORT_DlcEstablishCnf()
|
D | port_int.h | 171 UINT16 peer_mtu; /* Max MTU that port can send */ member
|
D | port_utils.c | 120 p_port->peer_mtu = RFCOMM_DEFAULT_MTU; in port_set_defaults()
|
D | rfc_port_fsm.c | 404 && (((BT_HDR *)p_data)->len < p_port->peer_mtu) in rfc_port_sm_opened()
|
/system/bt/stack/include/ |
D | sdp_api.h | 78 UINT16 peer_mtu; member
|
D | avdt_api.h | 301 UINT16 peer_mtu; /* Transport channel L2CAP MTU of the peer */ member
|
/system/bt/bta/av/ |
D | bta_av_aact.c | 1392 p_scb->stream_mtu = p_data->str_msg.msg.open_ind.peer_mtu - AVDT_MEDIA_HDR_SIZE; in bta_av_str_opened()
|