Searched refs:L2CAP_PKT_OVERHEAD (Results 1 – 7 of 7) sorted by relevance
52 #define L2CAP_PKT_OVERHEAD 4 /* Length and CID */ macro276 #define L2CAP_MAX_HEADER_FCS (L2CAP_PKT_OVERHEAD + L2CAP_EXT_CONTROL_OVERHEAD + L2CAP_SDU_LEN…286 #define L2CAP_OFFSET_WO_L2HDR (L2CAP_MIN_OFFSET-(L2CAP_PKT_OVERHEAD+L2CAP_FCR_OVERHEAD))
423 p_buf->len = len + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_build_header()440 UINT16_TO_STREAM (p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header()514 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_cmd_reject()558 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_req()597 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_rsp()629 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L… in l2cu_reject_connection()687 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_config_req()784 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L… in l2cu_send_peer_config_rsp()857 …len = BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD + L2CAP_CONFI… in l2cu_send_peer_config_rej()980 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L… in l2cu_send_peer_disc_req()[all …]
77 p_buf->offset -= (HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_BCST_OVERHEAD);78 p_buf->len += L2CAP_PKT_OVERHEAD + L2CAP_BCST_OVERHEAD;95 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD);206 if (hci_len >= L2CAP_PKT_OVERHEAD) { /* Must receive at least the L2CAP length and CID.*/ in l2c_rcv_acl_data()207 p_msg->len = hci_len - L2CAP_PKT_OVERHEAD; in l2c_rcv_acl_data()208 p_msg->offset += L2CAP_PKT_OVERHEAD; in l2c_rcv_acl_data()
155 p -= L2CAP_PKT_OVERHEAD; in l2c_fcr_rx_get_fcs()157 return (l2c_fcr_updcrc (L2CAP_FCR_INIT_CRC, p, p_buf->len + L2CAP_PKT_OVERHEAD)); in l2c_fcr_rx_get_fcs()421 p = ((UINT8 *) (p_buf + 1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()449 p = ((UINT8 *) (p_buf + 1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()457 UINT16_TO_STREAM (p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()533 p_buf->len = L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_send_S_frame()1440 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in retransmit_i_frames()1602 p_xmit->offset -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()1603 p_xmit->len += L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()1616 UINT16_TO_STREAM (p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()
1235 p_buf->offset -= L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1236 p_buf->len += L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1242 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_enqueue_peer_data()
1279 (tx_mtu < (p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD))) { in l2cble_update_data_length()1280 tx_mtu = p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD; in l2cble_update_data_length()
167 if ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) >= packet_size) { in port_select_mtu()168 …ort->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * packet_size) - RFCOMM_DATA_OVERH… in port_select_mtu()