Lines Matching refs:l2cap_cid

58 static void sdp_connect_ind (BD_ADDR  bd_addr, UINT16 l2cap_cid, UINT16 psm,
60 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
61 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
62 static void sdp_disconnect_ind (UINT16 l2cap_cid, BOOLEAN ack_needed);
63 static void sdp_data_ind (UINT16 l2cap_cid, BT_HDR *p_msg);
66 static void sdp_connect_cfm (UINT16 l2cap_cid, UINT16 result);
67 static void sdp_disconnect_cfm (UINT16 l2cap_cid, UINT16 result);
174 static void sdp_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) in sdp_connect_ind() argument
189 p_ccb->connection_id = l2cap_cid; in sdp_connect_ind()
192 L2CA_ConnectRsp (bd_addr, l2cap_id, l2cap_cid, L2CAP_CONN_OK, L2CAP_CONN_OK); in sdp_connect_ind()
203 if ((!L2CA_ConfigReq (l2cap_cid, &cfg)) && cfg.fcr_present in sdp_connect_ind()
209 L2CA_ConfigReq (l2cap_cid, &cfg); in sdp_connect_ind()
216 L2CA_ConnectRsp (bd_addr, l2cap_id, l2cap_cid, L2CAP_CONN_NO_PSM, 0); in sdp_connect_ind()
232 static void sdp_connect_cfm (UINT16 l2cap_cid, UINT16 result) in sdp_connect_cfm() argument
238 if ((p_ccb = sdpu_find_ccb_by_cid (l2cap_cid)) == NULL) in sdp_connect_cfm()
240 SDP_TRACE_WARNING ("SDP - Rcvd conn cnf for unknown CID 0x%x", l2cap_cid); in sdp_connect_cfm()
259 if ((!L2CA_ConfigReq (l2cap_cid, &cfg)) && cfg.fcr_present in sdp_connect_cfm()
265 L2CA_ConfigReq (l2cap_cid, &cfg); in sdp_connect_cfm()
310 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in sdp_config_ind() argument
315 if ((p_ccb = sdpu_find_ccb_by_cid (l2cap_cid)) == NULL) in sdp_config_ind()
317 SDP_TRACE_WARNING ("SDP - Rcvd L2CAP cfg ind, unknown CID: 0x%x", l2cap_cid); in sdp_config_ind()
365 …P_TRACE_WARNING ("SDP - Rcvd cfg ind, Unacceptable Parameters sent cfg cfm, CID: 0x%x", l2cap_cid); in sdp_config_ind()
366 L2CA_ConfigRsp (l2cap_cid, p_cfg); in sdp_config_ind()
374 L2CA_ConfigRsp (l2cap_cid, p_cfg); in sdp_config_ind()
376 SDP_TRACE_EVENT ("SDP - Rcvd cfg ind, sent cfg cfm, CID: 0x%x", l2cap_cid); in sdp_config_ind()
405 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in sdp_config_cfm() argument
409 SDP_TRACE_EVENT ("SDP - Rcvd cfg cfm, CID: 0x%x Result: %d", l2cap_cid, p_cfg->result); in sdp_config_cfm()
412 if ((p_ccb = sdpu_find_ccb_by_cid (l2cap_cid)) == NULL) in sdp_config_cfm()
414 SDP_TRACE_WARNING ("SDP - Rcvd L2CAP cfg ind, unknown CID: 0x%x", l2cap_cid); in sdp_config_cfm()
444 L2CA_ConfigReq (l2cap_cid, &cfg); in sdp_config_cfm()
466 static void sdp_disconnect_ind (UINT16 l2cap_cid, BOOLEAN ack_needed) in sdp_disconnect_ind() argument
471 if ((p_ccb = sdpu_find_ccb_by_cid (l2cap_cid)) == NULL) in sdp_disconnect_ind()
473 SDP_TRACE_WARNING ("SDP - Rcvd L2CAP disc, unknown CID: 0x%x", l2cap_cid); in sdp_disconnect_ind()
478 L2CA_DisconnectRsp (l2cap_cid); in sdp_disconnect_ind()
480 SDP_TRACE_EVENT ("SDP - Rcvd L2CAP disc, CID: 0x%x", l2cap_cid); in sdp_disconnect_ind()
509 static void sdp_data_ind (UINT16 l2cap_cid, BT_HDR *p_msg) in sdp_data_ind() argument
514 if ((p_ccb = sdpu_find_ccb_by_cid (l2cap_cid)) != NULL) in sdp_data_ind()
526 p_ccb->con_state, l2cap_cid); in sdp_data_ind()
531 SDP_TRACE_WARNING ("SDP - Rcvd L2CAP data, unknown CID: 0x%x", l2cap_cid); in sdp_data_ind()
673 static void sdp_disconnect_cfm (UINT16 l2cap_cid, UINT16 result) in sdp_disconnect_cfm() argument
679 if ((p_ccb = sdpu_find_ccb_by_cid (l2cap_cid)) == NULL) in sdp_disconnect_cfm()
681 SDP_TRACE_WARNING ("SDP - Rcvd L2CAP disc cfm, unknown CID: 0x%x", l2cap_cid); in sdp_disconnect_cfm()
685 SDP_TRACE_EVENT ("SDP - Rcvd L2CAP disc cfm, CID: 0x%x", l2cap_cid); in sdp_disconnect_cfm()