Home
last modified time | relevance | path

Searched refs:HCI_ROLE_MASTER (Results 1 – 16 of 16) sorted by relevance

/system/bt/stack/smp/
Dsmp_act.c938 if (p_cb->role == HCI_ROLE_MASTER) in smp_br_check_authorization_request()
954 if (p_cb->role == HCI_ROLE_MASTER && p_cb->local_r_key == 0) in smp_br_check_authorization_request()
975 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER)) in smp_br_select_next_key()
1228 if (p_cb->role == HCI_ROLE_MASTER) in smp_check_auth_req()
1259 else if (p_cb->role == HCI_ROLE_MASTER) in smp_check_auth_req()
1299 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER)) in smp_key_distribution()
1354 if (p_cb->role == HCI_ROLE_MASTER && in smp_decide_association_model()
1662 if (p_cb->role == HCI_ROLE_MASTER) in smp_process_local_nonce()
1677 if (p_cb->role == HCI_ROLE_MASTER) in smp_process_local_nonce()
1717 if (p_cb->role == HCI_ROLE_MASTER) in smp_process_peer_nonce()
Dsmp_keys.c517 if (p_cb->role == HCI_ROLE_MASTER) in smp_gen_p1_4_confirm()
571 if (p_cb->role == HCI_ROLE_MASTER) in smp_gen_p2_4_confirm()
932 if (p_cb->role == HCI_ROLE_MASTER) in smp_calculate_legacy_short_term_key()
1151 if (p_cb->role == HCI_ROLE_MASTER) in smp_calculate_local_commitment()
1307 if (p_cb->role == HCI_ROLE_MASTER) in smp_calculate_numeric_comparison_display_number()
Dsmp_utils.c1237 if (p_cb->role == HCI_ROLE_MASTER) in smp_select_legacy_association_model()
1275 if (p_cb->role == HCI_ROLE_MASTER) in smp_select_association_model_secure_connections()
1503 if (p_cb->role == HCI_ROLE_MASTER) in smp_calculate_f5_mackey_and_long_term_key()
Dsmp_api.c197 p_cb->role = HCI_ROLE_MASTER; in SMP_BR_PairWith()
/system/bt/stack/l2cap/
Dl2c_ble.c326 p_lcb->link_role = HCI_ROLE_MASTER; in l2cble_scanner_conn_comp()
444 if (role == HCI_ROLE_MASTER) in l2cble_conn_comp()
492 if (p_lcb->link_role == HCI_ROLE_MASTER in l2cble_start_conn_update()
517 if (p_lcb->link_role == HCI_ROLE_MASTER in l2cble_start_conn_update()
641 if (p_lcb->link_role == HCI_ROLE_MASTER) in l2cble_process_sig_cmd()
Dl2c_link.c92 p_lcb->link_role = HCI_ROLE_MASTER; in l2c_link_hci_conn_req()
Dl2c_utils.c2337 p_lcb->link_role = HCI_ROLE_MASTER; in l2cu_create_conn()
2339 … if (BTM_SwitchRole (p_lcb_cur->remote_bd_addr, HCI_ROLE_MASTER, NULL) == BTM_CMD_STARTED) in l2cu_create_conn()
Dl2c_api.c1217 if (new_role == HCI_ROLE_MASTER || new_role == HCI_ROLE_SLAVE) in L2CA_SetDesireRole()
/system/bt/stack/include/
Dl2c_api.h107 #define L2CAP_ROLE_MASTER HCI_ROLE_MASTER
Dbtm_api.h695 #define BTM_ROLE_MASTER HCI_ROLE_MASTER
Dhcidefs.h1010 #define HCI_ROLE_MASTER 0x00 macro
/system/bt/bta/gatt/
Dbta_gattc_utils.c619 role == HCI_ROLE_MASTER) in bta_gattc_check_bg_conn()
/system/bt/bta/dm/
Dbta_dm_act.c3110 …if(BTM_CMD_STARTED == BTM_SwitchRole (p_dev->peer_bdaddr, HCI_ROLE_MASTER, (tBTM_CMPL_CB *)bta_dm_… in bta_dm_check_av()
3177 … else if (p_bta_dm_cfg->avoid_scatter && (p_data->acl_change.new_role == HCI_ROLE_MASTER)) in bta_dm_acl_change()
3556 L2CA_SetDesireRole (HCI_ROLE_MASTER); in bta_dm_adjust_roles()
3572 L2CA_SetDesireRole (HCI_ROLE_MASTER); in bta_dm_adjust_roles()
3590 HCI_ROLE_MASTER, NULL); in bta_dm_adjust_roles()
/system/bt/stack/btm/
Dbtm_acl.c322 || link_role == HCI_ROLE_MASTER) in btm_acl_created()
Dbtm_ble.c1920 if (role == HCI_ROLE_MASTER) in btm_ble_connected()
Dbtm_ble_gap.c3330 if (btm_cb.ble_ctr_cb.link_count[HCI_ROLE_MASTER]) in btm_ble_update_link_topology_mask()