Lines Matching refs:l2cap_cid

34 static void gap_connect_ind (BD_ADDR  bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id);
35 static void gap_connect_cfm (UINT16 l2cap_cid, UINT16 result);
36 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
37 static void gap_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
38 static void gap_disconnect_ind (UINT16 l2cap_cid, BOOLEAN ack_needed);
39 static void gap_data_ind (UINT16 l2cap_cid, BT_HDR *p_msg);
41 static void gap_tx_complete_ind (UINT16 l2cap_cid, UINT16 sdu_sent);
701 void gap_tx_complete_ind (UINT16 l2cap_cid, UINT16 sdu_sent) in gap_tx_complete_ind() argument
703 tGAP_CCB *p_ccb = gap_find_ccb_by_cid (l2cap_cid); in gap_tx_complete_ind()
725 static void gap_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) in gap_connect_ind() argument
747 L2CA_DISCONNECT_REQ (l2cap_cid); in gap_connect_ind()
757 p_ccb->connection_id = l2cap_cid; in gap_connect_ind()
761 … L2CA_CONNECT_RSP (bd_addr, l2cap_id, l2cap_cid, L2CAP_CONN_OK, L2CAP_CONN_OK, &p_ccb->ertm_info); in gap_connect_ind()
765 …L2CA_CONNECT_COC_RSP (bd_addr, l2cap_id, l2cap_cid, L2CAP_CONN_OK, L2CAP_CONN_OK, &p_ccb->local_co… in gap_connect_ind()
768 L2CA_GET_PEER_COC_CONFIG(l2cap_cid, &p_ccb->peer_coc_cfg); in gap_connect_ind()
781 L2CA_CONFIG_REQ (l2cap_cid, &p_ccb->cfg); in gap_connect_ind()
850 static void gap_connect_cfm (UINT16 l2cap_cid, UINT16 result) in gap_connect_cfm() argument
855 if ((p_ccb = gap_find_ccb_by_cid (l2cap_cid)) == NULL) in gap_connect_cfm()
874 L2CA_CONFIG_REQ (l2cap_cid, &p_ccb->cfg); in gap_connect_cfm()
880 L2CA_GET_PEER_COC_CONFIG(l2cap_cid, &p_ccb->peer_coc_cfg); in gap_connect_cfm()
910 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in gap_config_ind() argument
916 if ((p_ccb = gap_find_ccb_by_cid (l2cap_cid)) == NULL) in gap_config_ind()
942 L2CA_CONFIG_RSP (l2cap_cid, p_cfg); in gap_config_ind()
960 static void gap_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) in gap_config_cfm() argument
965 if ((p_ccb = gap_find_ccb_by_cid (l2cap_cid)) == NULL) in gap_config_cfm()
998 static void gap_disconnect_ind (UINT16 l2cap_cid, BOOLEAN ack_needed) in gap_disconnect_ind() argument
1002 GAP_TRACE_EVENT ("GAP_CONN - Rcvd L2CAP disc, CID: 0x%x", l2cap_cid); in gap_disconnect_ind()
1005 if ((p_ccb = gap_find_ccb_by_cid (l2cap_cid)) == NULL) in gap_disconnect_ind()
1009 L2CA_DISCONNECT_RSP (l2cap_cid); in gap_disconnect_ind()
1025 static void gap_data_ind (UINT16 l2cap_cid, BT_HDR *p_msg) in gap_data_ind() argument
1030 if ((p_ccb = gap_find_ccb_by_cid (l2cap_cid)) == NULL) in gap_data_ind()