Home
last modified time | relevance | path

Searched refs:l2cap_cid (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_main.cc57 static void bnep_connect_ind(const RawAddress& bd_addr, uint16_t l2cap_cid,
59 static void bnep_connect_cfm(uint16_t l2cap_cid, uint16_t result);
60 static void bnep_config_cfm(uint16_t l2cap_cid, uint16_t result,
62 static void bnep_disconnect_ind(uint16_t l2cap_cid, bool ack_needed);
63 static void bnep_data_ind(uint16_t l2cap_cid, BT_HDR* p_msg);
65 static void bnep_on_l2cap_error(uint16_t l2cap_cid, uint16_t result);
114 static void bnep_connect_ind(const RawAddress& bd_addr, uint16_t l2cap_cid, in bnep_connect_ind() argument
122 if (!L2CA_DisconnectReq(l2cap_cid)) { in bnep_connect_ind()
124 l2cap_cid); in bnep_connect_ind()
133 p_bcb->l2cap_cid = l2cap_cid; in bnep_connect_ind()
[all …]
Dbnep_utils.cc70 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid)) in bnepu_find_bcb_by_cid()
226 p_bcb->l2cap_cid); in bnep_send_conn_response()
376 p_bcb->l2cap_cid, cmd_code); in bnep_send_command_not_understood()
407 p_bcb->l2cap_cid); in bnepu_check_send_packet()
411 p_bcb->l2cap_cid); in bnepu_check_send_packet()
418 if (L2CA_DataWrite(p_bcb->l2cap_cid, p_buf) != L2CAP_DW_SUCCESS) { in bnepu_check_send_packet()
420 p_bcb->rem_bda, p_bcb->l2cap_cid, p_buf->len); in bnepu_check_send_packet()
543 log::debug("BNEP - for CID: 0x{:x}", p_bcb->l2cap_cid); in bnep_process_setup_conn_req()
694 if (!L2CA_DisconnectReq(p_bcb->l2cap_cid)) { in bnep_process_setup_conn_responce()
696 p_bcb->rem_bda, p_bcb->l2cap_cid); in bnep_process_setup_conn_responce()
Dbnep_api.cc178 p_bcb->l2cap_cid = cid; in BNEP_Connect()
300 if (!L2CA_DisconnectReq(p_bcb->l2cap_cid)) { in BNEP_Disconnect()
302 p_bcb->rem_bda, p_bcb->l2cap_cid); in BNEP_Disconnect()
Dbnep_int.h109 uint16_t l2cap_cid; member
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_main.cc59 static void sdp_connect_ind(const RawAddress& bd_addr, uint16_t l2cap_cid, in sdp_connect_ind() argument
69 p_ccb->connection_id = l2cap_cid; in sdp_connect_ind()
72 static void sdp_on_l2cap_error(uint16_t l2cap_cid, uint16_t /* result */) { in sdp_on_l2cap_error() argument
73 tCONN_CB* p_ccb = sdpu_find_ccb_by_cid(l2cap_cid); in sdp_on_l2cap_error()
89 static void sdp_connect_cfm(uint16_t l2cap_cid, uint16_t result) { in sdp_connect_cfm() argument
93 p_ccb = sdpu_find_ccb_by_cid(l2cap_cid); in sdp_connect_cfm()
95 log::warn("SDP - Rcvd conn cnf for unknown CID 0x{:x}", l2cap_cid); in sdp_connect_cfm()
118 static void sdp_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in sdp_config_ind() argument
122 p_ccb = sdpu_find_ccb_by_cid(l2cap_cid); in sdp_config_ind()
124 log::warn("SDP - Rcvd L2CAP cfg ind, unknown CID: 0x{:x}", l2cap_cid); in sdp_config_ind()
[all …]
/packages/modules/Bluetooth/system/stack/hid/
Dhidh_conn.cc61 uint16_t l2cap_cid, uint16_t psm,
63 static void hidh_l2cif_connect_cfm(uint16_t l2cap_cid, uint16_t result);
64 static void hidh_l2cif_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
65 static void hidh_l2cif_config_cfm(uint16_t l2cap_cid, uint16_t result,
67 static void hidh_l2cif_disconnect_ind(uint16_t l2cap_cid, bool ack_needed);
68 static void hidh_l2cif_data_ind(uint16_t l2cap_cid, BT_HDR* p_msg);
69 static void hidh_l2cif_disconnect(uint16_t l2cap_cid);
70 static void hidh_l2cif_cong_ind(uint16_t l2cap_cid, bool congested);
71 static void hidh_on_l2cap_error(uint16_t l2cap_cid, uint16_t result);
185 uint16_t l2cap_cid, uint16_t psm, in hidh_l2cif_connect_ind() argument
[all …]
/packages/modules/Bluetooth/system/stack/gap/
Dgap_conn.cc90 static void gap_connect_ind(const RawAddress& bd_addr, uint16_t l2cap_cid,
92 static void gap_connect_cfm(uint16_t l2cap_cid, uint16_t result);
93 static void gap_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
94 static void gap_config_cfm(uint16_t l2cap_cid, uint16_t result,
96 static void gap_disconnect_ind(uint16_t l2cap_cid, bool ack_needed);
97 static void gap_data_ind(uint16_t l2cap_cid, BT_HDR* p_msg);
99 static void gap_tx_complete_ind(uint16_t l2cap_cid, uint16_t sdu_sent);
100 static void gap_on_l2cap_error(uint16_t l2cap_cid, uint16_t result);
570 void gap_tx_complete_ind(uint16_t l2cap_cid, uint16_t sdu_sent) { in gap_tx_complete_ind() argument
571 tGAP_CCB* p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_tx_complete_ind()
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_main.cc68 uint16_t l2cap_cid, uint16_t psm,
70 static void gatt_l2cif_connect_cfm_cback(uint16_t l2cap_cid, uint16_t result);
71 static void gatt_l2cif_config_ind_cback(uint16_t l2cap_cid,
75 static void gatt_l2cif_disconnect_ind_cback(uint16_t l2cap_cid,
77 static void gatt_l2cif_disconnect(uint16_t l2cap_cid);
78 static void gatt_l2cif_data_ind_cback(uint16_t l2cap_cid, BT_HDR* p_msg);
/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger.cc397 uint16_t l2cap_cid = in delete_old_btsnooz_files() local
405 if (l2cap_cid == kL2capSignalingCid) { in delete_old_btsnooz_files()
664 uint16_t l2cap_cid = packet[L2CAP_CHANNEL_OFFSET] | (packet[L2CAP_CHANNEL_OFFSET + 1] << 8); in CalculateAclPacketLength() local
665 if (l2cap_cid == L2CAP_SIGNALING_CID || handle == kQualcommDebugLogHandle) { in CalculateAclPacketLength()