Searched refs:L2CAP_PKT_OVERHEAD (Results 1 – 9 of 9) sorted by relevance
62 packet->offset = 4 + L2CAP_PKT_OVERHEAD; in AllocateWrappedIncomingL2capAclPacket()63 packet->len = static_cast<uint16_t>(buffer_length - 4 - L2CAP_PKT_OVERHEAD); in AllocateWrappedIncomingL2capAclPacket()77 size_t acl_l2cap_header_size = 4 + L2CAP_PKT_OVERHEAD; in AllocateWrappedOutgoingL2capAclPacket()
303 len + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_build_header()314 UINT16_TO_STREAM(p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header()379 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_cmd_reject()418 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_req()456 HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_rsp()490 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_reject_connection()535 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_credit_based_reconfig_req()596 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_config_req()690 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_config_rsp()763 len = BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_config_rej()[all …]
149 p -= L2CAP_PKT_OVERHEAD; in l2c_fcr_rx_get_fcs()152 l2c_fcr_updcrc(L2CAP_FCR_INIT_CRC, p, p_buf->len + L2CAP_PKT_OVERHEAD)); in l2c_fcr_rx_get_fcs()304 p = ((uint8_t*)(p_buf + 1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()329 p = ((uint8_t*)(p_buf + 1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()336 UINT16_TO_STREAM(p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()409 p_buf->len = L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_send_S_frame()1301 p = ((uint8_t*)(p_buf + 1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in retransmit_i_frames()1453 p_xmit->offset -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()1454 p_xmit->len += L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()1467 UINT16_TO_STREAM(p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()[all …]
79 if (hci_len < L2CAP_PKT_OVERHEAD || hci_len != p_msg->len - 4) { in l2c_rcv_acl_data()159 p_msg->len = hci_len - L2CAP_PKT_OVERHEAD; in l2c_rcv_acl_data()160 p_msg->offset += L2CAP_PKT_OVERHEAD; in l2c_rcv_acl_data()
1564 p_buf->offset -= L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1565 p_buf->len += L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1571 UINT16_TO_STREAM(p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_enqueue_peer_data()
1269 (tx_mtu < (p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD))) in l2cble_update_data_length()1270 tx_mtu = p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD; in l2cble_update_data_length()
51 #define L2CAP_PKT_OVERHEAD 4 macro327 (L2CAP_PKT_OVERHEAD + L2CAP_EXT_CONTROL_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + \
167 if ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) >= packet_size) { in port_select_mtu()168 p_port->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * in port_select_mtu()170 RFCOMM_DATA_OVERHEAD - L2CAP_PKT_OVERHEAD; in port_select_mtu()
2790 if (acl_header.hci_len < L2CAP_PKT_OVERHEAD || in acl_rcv_acl_data()