Lines Matching refs:cb_data
148 tSMP_EVT_DATA cb_data;
156 cb_data.io_req.auth_req = p_cb->peer_auth_req;
157 cb_data.io_req.oob_data = SMP_OOB_NONE;
158 cb_data.io_req.io_cap = SMP_DEFAULT_IO_CAPS;
159 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE;
160 cb_data.io_req.init_keys = p_cb->local_i_key ;
161 cb_data.io_req.resp_keys = p_cb->local_r_key ;
162 SMP_TRACE_WARNING ( "io_cap = %d",cb_data.io_req.io_cap);
166 cb_data.passkey = p_data->passkey;
169 cb_data.req_oob_type = p_data->req_oob_type;
172 cb_data.loc_oob_data = p_cb->sc_oob_data.loc_oob_data;
176 cb_data.io_req.auth_req = 0;
177 cb_data.io_req.oob_data = SMP_OOB_NONE;
178 cb_data.io_req.io_cap = 0;
179 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE;
180 cb_data.io_req.init_keys = SMP_BR_SEC_DEFAULT_KEY;
181 cb_data.io_req.resp_keys = SMP_BR_SEC_DEFAULT_KEY;
188 callback_rc = (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data);
197 p_cb->loc_auth_req = cb_data.io_req.auth_req;
198 p_cb->local_io_capability = cb_data.io_req.io_cap;
199 p_cb->loc_oob_flag = cb_data.io_req.oob_data;
200 p_cb->loc_enc_size = cb_data.io_req.max_key_size;
201 p_cb->local_i_key = cb_data.io_req.init_keys;
202 p_cb->local_r_key = cb_data.io_req.resp_keys;
242 p_cb->loc_enc_size = cb_data.io_req.max_key_size;
243 p_cb->local_i_key = cb_data.io_req.init_keys;
244 p_cb->local_r_key = cb_data.io_req.resp_keys;