Lines Matching refs:l2cap_cid
84 static void gap_connect_ind(const RawAddress& bd_addr, uint16_t l2cap_cid,
86 static void gap_connect_cfm(uint16_t l2cap_cid, uint16_t result);
87 static void gap_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
88 static void gap_config_cfm(uint16_t l2cap_cid, uint16_t result,
90 static void gap_disconnect_ind(uint16_t l2cap_cid, bool ack_needed);
91 static void gap_data_ind(uint16_t l2cap_cid, BT_HDR* p_msg);
93 static void gap_tx_complete_ind(uint16_t l2cap_cid, uint16_t sdu_sent);
94 static void gap_on_l2cap_error(uint16_t l2cap_cid, uint16_t result);
577 void gap_tx_complete_ind(uint16_t l2cap_cid, uint16_t sdu_sent) { in gap_tx_complete_ind() argument
578 tGAP_CCB* p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_tx_complete_ind()
598 static void gap_connect_ind(const RawAddress& bd_addr, uint16_t l2cap_cid, in gap_connect_ind() argument
618 L2CA_DisconnectLECocReq(l2cap_cid); in gap_connect_ind()
620 L2CA_DisconnectReq(l2cap_cid); in gap_connect_ind()
631 p_ccb->connection_id = l2cap_cid; in gap_connect_ind()
635 L2CA_GetPeerLECocConfig(l2cap_cid, &p_ccb->peer_coc_cfg); in gap_connect_ind()
684 static void gap_on_l2cap_error(uint16_t l2cap_cid, uint16_t result) { in gap_on_l2cap_error() argument
685 tGAP_CCB* p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_on_l2cap_error()
706 static void gap_connect_cfm(uint16_t l2cap_cid, uint16_t result) { in gap_connect_cfm() argument
710 p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_connect_cfm()
730 L2CA_GetPeerLECocConfig(l2cap_cid, &p_ccb->peer_coc_cfg); in gap_connect_cfm()
752 static void gap_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in gap_config_ind() argument
757 p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_config_ind()
783 static void gap_config_cfm(uint16_t l2cap_cid, uint16_t initiator, in gap_config_cfm() argument
785 gap_config_ind(l2cap_cid, p_cfg); in gap_config_cfm()
790 p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_config_cfm()
808 static void gap_disconnect_ind(uint16_t l2cap_cid, bool ack_needed) { in gap_disconnect_ind() argument
811 DVLOG(1) << StringPrintf("GAP_CONN - Rcvd L2CAP disc, CID: 0x%x", l2cap_cid); in gap_disconnect_ind()
814 p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_disconnect_ind()
830 static void gap_data_ind(uint16_t l2cap_cid, BT_HDR* p_msg) { in gap_data_ind() argument
834 p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_data_ind()