Searched refs:L2CAP_PKT_OVERHEAD (Results 1 – 7 of 7) sorted by relevance
47 #define L2CAP_PKT_OVERHEAD 4 /* Length and CID */ macro254 #define L2CAP_MAX_HEADER_FCS (L2CAP_PKT_OVERHEAD + L2CAP_EXT_CONTROL_OVERHEAD + L2CAP_SDU_LEN…258 #define L2CAP_OFFSET_WO_L2HDR (L2CAP_MIN_OFFSET-(L2CAP_PKT_OVERHEAD+L2CAP_FCR_OVERHEAD))
275 p_buf->len = len + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_build_header()285 UINT16_TO_STREAM (p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header()357 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_cmd_reject()400 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_req()440 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_rsp()473 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET+HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2C… in l2cu_reject_connection()526 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_config_req()625 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET+HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2C… in l2cu_send_peer_config_rsp()811 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L… in l2cu_send_peer_disc_req()859 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L… in l2cu_send_peer_disc_rsp()[all …]
76 p_buf->offset -= (HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_BCST_OVERHEAD); in l2c_bcst_msg()77 p_buf->len += L2CAP_PKT_OVERHEAD + L2CAP_BCST_OVERHEAD; in l2c_bcst_msg()96 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_bcst_msg()205 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()
161 p -= L2CAP_PKT_OVERHEAD; in l2c_fcr_rx_get_fcs()163 return (l2c_fcr_updcrc (L2CAP_FCR_INIT_CRC, p, p_buf->len + L2CAP_PKT_OVERHEAD)); in l2c_fcr_rx_get_fcs()434 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()463 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()472 UINT16_TO_STREAM (p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()556 p_buf->len = L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_send_S_frame()1540 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in retransmit_i_frames()1647 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()1717 p_xmit->offset -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()1718 p_xmit->len += L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()[all …]
1303 p_buf->offset -= L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1304 p_buf->len += L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1310 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_enqueue_peer_data()
1652 if (l2cap_len > (p_buf->len - (HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD))) in l2cap_link_chk_pkt_end()
168 if ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) >= packet_size) in port_select_mtu()170 …ort->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * packet_size) - RFCOMM_DATA_OVERH… in port_select_mtu()