Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_api.cc52 memset(&smp_cb, 0, sizeof(tSMP_CB)); in SMP_Init()
53 smp_cb.smp_rsp_timer_ent = alarm_new("smp.smp_rsp_timer_ent"); in SMP_Init()
54 smp_cb.delayed_auth_timer_ent = alarm_new("smp.delayed_auth_timer_ent"); in SMP_Init()
57 smp_cb.trace_level = SMP_INITIAL_TRACE_LEVEL; in SMP_Init()
59 smp_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in SMP_Init()
68 smp_cb.cert_failure = in SMP_Init()
70 if (smp_cb.cert_failure) in SMP_Init()
72 smp_cb.cert_failure); in SMP_Init()
96 if (new_level != 0xFF) smp_cb.trace_level = new_level; in SMP_SetTraceLevel()
98 return (smp_cb.trace_level); in SMP_SetTraceLevel()
[all …]
Dsmp_br_main.cc249 smp_get_br_state_name(smp_cb.br_state), smp_cb.br_state, in smp_set_br_state()
251 smp_cb.br_state = br_state; in smp_set_br_state()
261 tSMP_BR_STATE smp_get_br_state(void) { return smp_cb.br_state; } in smp_get_br_state()
Dsmp_l2c.cc96 tSMP_CB* p_cb = &smp_cb; in smp_connect_callback()
142 tSMP_CB* p_cb = &smp_cb; in smp_data_received()
218 tSMP_CB* p_cb = &smp_cb; in smp_tx_complete_callback()
248 tSMP_CB* p_cb = &smp_cb; in smp_br_connect_callback()
293 tSMP_CB* p_cb = &smp_cb; in smp_br_data_received()
Dsmp_main.cc912 tSMP_CB smp_cb; variable
923 smp_get_state_name(smp_cb.state), smp_cb.state, in smp_set_state()
925 smp_cb.state = state; in smp_set_state()
935 tSMP_STATE smp_get_state(void) { return smp_cb.state; } in smp_get_state()
Dsmp_act.cc1921 tSMP_CB* p_cb = &smp_cb; in smp_link_encrypted()
1925 if (smp_cb.pairing_bda == bda) { in smp_link_encrypted()
1935 smp_sm_event(&smp_cb, SMP_ENCRYPTED_EVT, &smp_int_data); in smp_link_encrypted()
1941 smp_sm_event(&smp_cb, SMP_DISCARD_SEC_REQ_EVT, NULL); in smp_cancel_start_encryption_attempt()
1955 SMP_TRACE_DEBUG("%s state = %d", __func__, smp_cb.state); in smp_proc_ltk_request()
1958 if (bda == smp_cb.pairing_bda) { in smp_proc_ltk_request()
1962 if (p_dev_rec != NULL && p_dev_rec->ble.pseudo_addr == smp_cb.pairing_bda && in smp_proc_ltk_request()
1968 if (match && smp_cb.state == SMP_STATE_ENCRYPTION_PENDING) { in smp_proc_ltk_request()
1969 smp_sm_event(&smp_cb, SMP_ENC_REQ_EVT, NULL); in smp_proc_ltk_request()
1988 tSMP_CB* p_cb = &smp_cb; in smp_process_secure_connection_long_term_key()
Dsmp_utils.cc338 if (smp_cb.smp_over_br) { in smp_send_msg_to_L2CAP()
343 smp_cb.total_tx_unacked += 1; in smp_send_msg_to_L2CAP()
350 smp_cb.total_tx_unacked -= 1; in smp_send_msg_to_L2CAP()
404 tSMP_CB* p_cb = &smp_cb; in smp_rsp_timeout()
437 smp_sm_event(&smp_cb, SMP_AUTH_CMPL_EVT, &smp_int_data); in smp_delayed_auth_complete_timeout()
821 smp_sm_event(&smp_cb, SMP_KEY_READY_EVT, &smp_int_data); in smp_convert_string_to_tk()
Dsmp_int.h336 extern tSMP_CB smp_cb;
Dsmp_keys.cc137 smp_sm_event(&smp_cb, SMP_KEY_READY_EVT, &smp_int_data); in smp_proc_passkey()
/system/bt/internal_include/
Dbt_trace.h558 if (smp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
563 if (smp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
568 if (smp_cb.trace_level >= BT_TRACE_LEVEL_API) \
573 if (smp_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \
578 if (smp_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \