Home
last modified time | relevance | path

Searched refs:pan_cb (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/pan/
Dpan_api.cc62 pan_cb.pan_conn_state_cb = p_register->pan_conn_state_cb; in PAN_Register()
63 pan_cb.pan_bridge_req_cb = p_register->pan_bridge_req_cb; in PAN_Register()
64 pan_cb.pan_data_buf_ind_cb = p_register->pan_data_buf_ind_cb; in PAN_Register()
65 pan_cb.pan_data_ind_cb = p_register->pan_data_ind_cb; in PAN_Register()
66 pan_cb.pan_pfilt_ind_cb = p_register->pan_pfilt_ind_cb; in PAN_Register()
67 pan_cb.pan_mfilt_ind_cb = p_register->pan_mfilt_ind_cb; in PAN_Register()
68 pan_cb.pan_tx_data_flow_cb = p_register->pan_tx_data_flow_cb; in PAN_Register()
89 pan_cb.pan_bridge_req_cb = NULL; in PAN_Deregister()
90 pan_cb.pan_data_buf_ind_cb = NULL; in PAN_Deregister()
91 pan_cb.pan_data_ind_cb = NULL; in PAN_Deregister()
[all …]
Dpan_main.cc41 tPAN_CB pan_cb; variable
117 __func__, handle, pan_cb.role, local_uuid16, remote_uuid16, in pan_conn_ind_cb()
138 if (((!(pan_cb.role & UUID_SERVCLASS_PANU)) && in pan_conn_ind_cb()
140 ((!(pan_cb.role & UUID_SERVCLASS_GN)) && in pan_conn_ind_cb()
142 ((!(pan_cb.role & UUID_SERVCLASS_NAP)) && in pan_conn_ind_cb()
195 if (pan_cb.num_conns > 1 && local_uuid16 == UUID_SERVCLASS_PANU) { in pan_conn_ind_cb()
217 if (pan_cb.pan_bridge_req_cb) in pan_conn_ind_cb()
218 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_conn_ind_cb()
222 pan_cb.active_role = req_role; in pan_conn_ind_cb()
232 if (pan_cb.num_conns && (local_uuid16 == UUID_SERVCLASS_PANU || in pan_conn_ind_cb()
[all …]
Dpan_utils.cc150 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
151 pan_cb.pcb[i].handle == handle) in pan_allocate_pcb()
156 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
157 pan_cb.pcb[i].rem_bda == p_bda) in pan_allocate_pcb()
162 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) { in pan_allocate_pcb()
163 memset(&(pan_cb.pcb[i]), 0, sizeof(tPAN_CONN)); in pan_allocate_pcb()
164 pan_cb.pcb[i].rem_bda = p_bda; in pan_allocate_pcb()
165 pan_cb.pcb[i].handle = handle; in pan_allocate_pcb()
166 return &(pan_cb.pcb[i]); in pan_allocate_pcb()
185 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle()
[all …]
Dpan_int.h92 extern tPAN_CB pan_cb;
/system/bt/internal_include/
Dbt_trace.h468 if (pan_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
473 if (pan_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
478 if (pan_cb.trace_level >= BT_TRACE_LEVEL_API) \
483 if (pan_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \
488 if (pan_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \