Lines Matching refs:cb_data
103 tSMP_EVT_DATA cb_data; in smp_send_app_cback() local
109 cb_data.io_req.auth_req = p_cb->peer_auth_req; in smp_send_app_cback()
110 cb_data.io_req.oob_data = SMP_OOB_NONE; in smp_send_app_cback()
111 cb_data.io_req.io_cap = btif_storage_get_local_io_caps_ble(); in smp_send_app_cback()
112 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE; in smp_send_app_cback()
113 cb_data.io_req.init_keys = p_cb->local_i_key; in smp_send_app_cback()
114 cb_data.io_req.resp_keys = p_cb->local_r_key; in smp_send_app_cback()
115 SMP_TRACE_WARNING("io_cap = %d", cb_data.io_req.io_cap); in smp_send_app_cback()
119 cb_data.passkey = p_data->passkey; in smp_send_app_cback()
122 cb_data.req_oob_type = p_data->req_oob_type; in smp_send_app_cback()
125 cb_data.loc_oob_data = p_cb->sc_oob_data.loc_oob_data; in smp_send_app_cback()
129 cb_data.io_req.auth_req = 0; in smp_send_app_cback()
130 cb_data.io_req.oob_data = SMP_OOB_NONE; in smp_send_app_cback()
131 cb_data.io_req.io_cap = 0; in smp_send_app_cback()
132 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE; in smp_send_app_cback()
133 cb_data.io_req.init_keys = SMP_BR_SEC_DEFAULT_KEY; in smp_send_app_cback()
134 cb_data.io_req.resp_keys = SMP_BR_SEC_DEFAULT_KEY; in smp_send_app_cback()
142 (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback()
150 p_cb->loc_auth_req = cb_data.io_req.auth_req; in smp_send_app_cback()
151 p_cb->local_io_capability = cb_data.io_req.io_cap; in smp_send_app_cback()
152 p_cb->loc_oob_flag = cb_data.io_req.oob_data; in smp_send_app_cback()
153 p_cb->loc_enc_size = cb_data.io_req.max_key_size; in smp_send_app_cback()
154 p_cb->local_i_key = cb_data.io_req.init_keys; in smp_send_app_cback()
155 p_cb->local_r_key = cb_data.io_req.resp_keys; in smp_send_app_cback()
200 p_cb->loc_enc_size = cb_data.io_req.max_key_size; in smp_send_app_cback()
201 p_cb->local_i_key = cb_data.io_req.init_keys; in smp_send_app_cback()
202 p_cb->local_r_key = cb_data.io_req.resp_keys; in smp_send_app_cback()