Searched refs:peer_mtu (Results 1 – 14 of 14) sorted by relevance
411 void ble_att_set_peer_mtu(struct ble_l2cap_chan *chan, uint16_t peer_mtu) in ble_att_set_peer_mtu() argument413 if (peer_mtu < BLE_ATT_MTU_DFLT) { in ble_att_set_peer_mtu()414 peer_mtu = BLE_ATT_MTU_DFLT; in ble_att_set_peer_mtu()417 chan->peer_mtu = peer_mtu; in ble_att_set_peer_mtu()428 chan->peer_mtu == 0) { in ble_att_chan_mtu()431 mtu = min(chan->my_mtu, chan->peer_mtu); in ble_att_chan_mtu()
78 uint16_t peer_mtu; member
151 chan_info->peer_l2cap_mtu = chan->peer_mtu; in ble_l2cap_get_chan_info()
169 void ble_att_set_peer_mtu(struct ble_l2cap_chan *chan, uint16_t peer_mtu);
287 u16 peer_mtu; member301 u16 peer_mtu; member328 u16 peer_mtu; member
144 …uint16_t peer_mtu; /**< It indicates the maximum SDU size (in octets) that the L2CAP layer entity … member156 …uint16_t peer_mtu; /**< It indicates the maximum SDU size (in octets) that the L2CAP layer en… member
1116 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()
319 p_port->peer_mtu = p_port->mtu; in PORT_ParNegInd()402 p_port->peer_mtu = p_port->mtu; in PORT_ParNegCnf()447 if (mtu && (mtu < p_port->peer_mtu)) { in PORT_DlcEstablishInd()448 p_port->peer_mtu = mtu; in PORT_DlcEstablishInd()497 if (mtu && (mtu < p_port->peer_mtu)) { in PORT_DlcEstablishCnf()498 p_port->peer_mtu = mtu; in PORT_DlcEstablishCnf()
116 p_port->peer_mtu = RFCOMM_DEFAULT_MTU; in port_set_defaults()
392 && (((BT_HDR *)p_data)->len < p_port->peer_mtu) in rfc_port_sm_opened()
167 UINT16 peer_mtu; /* Max MTU that port can send */ member
77 UINT16 peer_mtu; member
246 uint16_t peer_mtu; /* L2CAP mtu of the peer device */ member