Home
last modified time | relevance | path

Searched refs:peer_mtu (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avct/
Davct_api.c332 UINT16 peer_mtu = AVCT_MIN_BROWSE_MTU; in AVCT_GetBrowseMtu() local
337 peer_mtu = p_ccb->p_bcb->peer_mtu; in AVCT_GetBrowseMtu()
342 return peer_mtu; in AVCT_GetBrowseMtu()
357 UINT16 peer_mtu = L2CAP_DEFAULT_MTU; in AVCT_GetPeerMtu() local
363 peer_mtu = p_ccb->p_lcb->peer_mtu; in AVCT_GetPeerMtu()
367 return peer_mtu; in AVCT_GetPeerMtu()
Davct_lcb_act.c507 UINT16 buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE; in avct_lcb_send_msg()
514 if (curr_msg_len <= (p_lcb->peer_mtu - AVCT_HDR_LEN_SINGLE)) { in avct_lcb_send_msg()
518 temp = (curr_msg_len + AVCT_HDR_LEN_START - p_lcb->peer_mtu); in avct_lcb_send_msg()
519 nosp = temp / (p_lcb->peer_mtu - 1) + 1; in avct_lcb_send_msg()
520 if ( (temp % (p_lcb->peer_mtu - 1)) != 0) { in avct_lcb_send_msg()
533 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) { in avct_lcb_send_msg()
544 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg()
583 if (curr_msg_len > (p_lcb->peer_mtu - AVCT_HDR_LEN_END)) { in avct_lcb_send_msg()
Davct_l2c.c280 p_lcb->peer_mtu = p_cfg->mtu; in avct_l2c_config_ind_cback()
282 p_lcb->peer_mtu = L2CAP_DEFAULT_MTU; in avct_l2c_config_ind_cback()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avdt/
Davdt_ad.c112 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_ad_init()
260 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_ad_tc_tbl_alloc()
311 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_ad_tc_close_ind()
377 open.peer_mtu = p_tbl->peer_mtu; in avdt_ad_tc_open_ind()
Davdt_l2c.c377 p_tbl->peer_mtu = p_cfg->mtu; in avdt_l2c_config_ind_cback()
379 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_l2c_config_ind_cback()
381 AVDT_TRACE_DEBUG("peer_mtu: %d, lcid: x%x\n", p_tbl->peer_mtu, lcid); in avdt_l2c_config_ind_cback()
Davdt_msg.c1166 (p_ccb->p_curr_msg->len <= p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE)) { in avdt_msg_send()
1173 (p_ccb->p_curr_msg->len > p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE)) { in avdt_msg_send()
1176 nosp = (p_ccb->p_curr_msg->len + AVDT_LEN_TYPE_START - p_tbl->peer_mtu) / in avdt_msg_send()
1177 (p_tbl->peer_mtu - 1) + 2; in avdt_msg_send()
1188 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
1194 (p_ccb->p_curr_msg->len > (p_tbl->peer_mtu - AVDT_LEN_TYPE_CONT))) { in avdt_msg_send()
1207 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
Davdt_scb_act.c2056 buf_size = p_tbl->peer_mtu + BT_HDR_SIZE; in avdt_scb_queue_frags()
2058 p_tbl->peer_mtu, buf_size, num_frag); in avdt_scb_queue_frags()
Davdt_api.c1150 (p_pkt = (BT_HDR *)osi_malloc(p_tbl->peer_mtu)) != NULL) { in AVDT_SendReport()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avct/include/
Davct_int.h63 UINT16 peer_mtu; /* peer l2c mtu */ member
74 UINT16 peer_mtu; /* peer l2c mtu */ member
90 UINT16 peer_mtu; /* peer l2c mtu */ member
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/rfcomm/
Dport_api.c1116 p_status->mtu_size = (UINT16) p_port->peer_mtu; in PORT_GetQueueStatus()
1522 if (!p_port->peer_mtu) { in PORT_WriteDataCO()
1523 RFCOMM_TRACE_ERROR ("PORT_WriteDataByFd() peer_mtu:%d", p_port->peer_mtu); in PORT_WriteDataCO()
1547 if (p_port->peer_mtu < length) { in PORT_WriteDataCO()
1548 length = p_port->peer_mtu; in PORT_WriteDataCO()
1642 if (!max_len || !p_port->peer_mtu) { in PORT_WriteData()
1643 RFCOMM_TRACE_ERROR ("PORT_WriteData() peer_mtu:%d", p_port->peer_mtu); in PORT_WriteData()
1656 && ((p_buf->len + max_len) <= p_port->peer_mtu) in PORT_WriteData()
1687 if (p_port->peer_mtu < length) { in PORT_WriteData()
1688 length = p_port->peer_mtu; in PORT_WriteData()
Dport_rfc.c319 p_port->peer_mtu = p_port->mtu; in PORT_ParNegInd()
402 p_port->peer_mtu = p_port->mtu; in PORT_ParNegCnf()
451 if (mtu && (mtu < p_port->peer_mtu)) { in PORT_DlcEstablishInd()
452 p_port->peer_mtu = mtu; in PORT_DlcEstablishInd()
513 if (mtu && (mtu < p_port->peer_mtu)) { in PORT_DlcEstablishCnf()
514 p_port->peer_mtu = mtu; in PORT_DlcEstablishCnf()
Dport_utils.c116 p_port->peer_mtu = RFCOMM_DEFAULT_MTU; in port_set_defaults()
Drfc_port_fsm.c399 && (((BT_HDR *)p_data)->len < p_port->peer_mtu) in rfc_port_sm_opened()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/rfcomm/include/
Dport_int.h167 UINT16 peer_mtu; /* Max MTU that port can send */ member
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/include/stack/
Dsdp_api.h77 UINT16 peer_mtu; member
Davdt_api.h306 UINT16 peer_mtu; /* Transport channel L2CAP MTU of the peer */ member
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avdt/include/
Davdt_int.h517 UINT16 peer_mtu; /* L2CAP mtu of the peer device */ member
/hal_espressif-3.5.0/components/bt/host/bluedroid/bta/av/
Dbta_av_aact.c1346 p_scb->stream_mtu = p_data->str_msg.msg.open_ind.peer_mtu - AVDT_MEDIA_HDR_SIZE; in bta_av_str_opened()