Lines Matching full:l2cap
21 * This file contains the main L2CAP entry points
50 /* Temporary - until l2cap implements group management */
67 /* Ensure we have enough space in the buffer for the L2CAP and HCI headers */
70 L2CAP_TRACE_ERROR1 ("L2CAP - cannot send buffer, offset: %d", p_buf->offset);
95 /* Now the L2CAP header */
143 /* L2CAP connection request before we get the HCI connection complete. */
153 L2CAP_TRACE_WARNING5 ("L2CAP - holding ACL for unknown handle:%d ls:%d cid:%d opcode:%d cur count:%d",
166 L2CAP_TRACE_ERROR5 ("L2CAP - rcvd ACL for unknown handle:%d ls:%d cid:%d opcode:%d cur count:%d",
175 L2CAP_TRACE_WARNING1 ("L2CAP - expected pkt start or complete, got: %d", pkt_type);
199 L2CAP_TRACE_WARNING1 ("L2CAP - unknown CID: 0x%04x", rcv_cid);
205 if (hci_len >= L2CAP_PKT_OVERHEAD) /* Must receive at least the L2CAP length and CID.*/
212 L2CAP_TRACE_WARNING0 ("L2CAP - got incorrect hci header" );
219 L2CAP_TRACE_WARNING2 ("L2CAP - bad length in pkt. Exp: %d Act: %d",
310 ** L2CAP signalling CID
330 /* if l2cap command received in CID 1 on top of an LE link, ignore this command */
339 /* An L2CAP packet may contain multiple commands */
368 L2CAP_TRACE_WARNING2 ("L2CAP - MTU rej Handle: %d MTU: %d", p_lcb->handle, rej_mtu);
375 L2CAP_TRACE_WARNING2 ("L2CAP - rej with CID invalid, LCID: 0x%04x RCID: 0x%04x", lcid, rcid);
408 L2CAP_TRACE_WARNING1 ("L2CAP - rcvd conn req for unknown PSM: %d", con_info.psm);
416 L2CAP_TRACE_WARNING1 ("L2CAP - rcvd conn req for outgoing-only connection PSM: %d", con_info.psm);
423 L2CAP_TRACE_ERROR0 ("L2CAP - unable to allocate CCB");
442 L2CAP_TRACE_WARNING2 ("L2CAP - no CCB for conn rsp, LCID: %d RCID: %d",
448 L2CAP_TRACE_WARNING2 ("L2CAP - con rsp - bad ID. Exp: %d Got: %d",
636 L2CAP_TRACE_WARNING2 ("L2CAP - cfg rsp - bad ID. Exp: %d Got: %d",
647 L2CAP_TRACE_WARNING1 ("L2CAP - rcvd cfg rsp for unknown CID: 0x%04x", lcid);
704 /* Stop the link connect timer if sent before L2CAP connection is up */
765 L2CAP_TRACE_WARNING1 ("L2CAP - bad cmd code: %d", cmd_code);
776 ** Description This function processes any L2CAP packets that arrived before
794 L2CAP_TRACE_WARNING0("L2CAP HOLD CONTINUE");
798 L2CAP_TRACE_WARNING0("L2CAP HOLD TIMEOUT");
824 ** all the L2CAP structures
883 ** Description This function is called when an L2CAP-related timeout occurs
935 L2CAP_TRACE_WARNING1 ("L2CAP - no CCB for L2CA_DataWrite, CID: %d", cid);
944 L2CAP_TRACE_WARNING1 ("L2CAP - CID: 0x%04x cannot send message bigger than peer's mtu size", cid);
956 L2CAP_TRACE_ERROR3 ("L2CAP - CID: 0x%04x cannot send, already congested xmit_hold_q.count: %u buff_quota: %u",