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.c933 if (p_cb->role == HCI_ROLE_MASTER) in smp_br_check_authorization_request()
949 if (p_cb->role == HCI_ROLE_MASTER && p_cb->local_r_key == 0) in smp_br_check_authorization_request()
970 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER)) in smp_br_select_next_key()
1223 if (p_cb->role == HCI_ROLE_MASTER) in smp_check_auth_req()
1254 else if (p_cb->role == HCI_ROLE_MASTER) in smp_check_auth_req()
1295 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER)) in smp_key_distribution()
1337 if (p_cb->role == HCI_ROLE_MASTER && in smp_decide_association_model()
1644 if (p_cb->role == HCI_ROLE_MASTER) in smp_process_local_nonce()
1659 if (p_cb->role == HCI_ROLE_MASTER) in smp_process_local_nonce()
1699 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.c1211 if (p_cb->role == HCI_ROLE_MASTER) in smp_select_legacy_association_model()
1249 if (p_cb->role == HCI_ROLE_MASTER) in smp_select_association_model_secure_connections()
1477 if (p_cb->role == HCI_ROLE_MASTER) in smp_calculate_f5_mackey_and_long_term_key()
Dsmp_api.c196 p_cb->role = HCI_ROLE_MASTER; in SMP_BR_PairWith()
/system/bt/stack/l2cap/
Dl2c_ble.c361 p_lcb->link_role = HCI_ROLE_MASTER; in l2cble_scanner_conn_comp()
479 if (role == HCI_ROLE_MASTER) in l2cble_conn_comp()
527 if (p_lcb->link_role == HCI_ROLE_MASTER in l2cble_start_conn_update()
552 if (p_lcb->link_role == HCI_ROLE_MASTER in l2cble_start_conn_update()
662 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.c613 role == HCI_ROLE_MASTER) in bta_gattc_check_bg_conn()
/system/bt/bta/dm/
Dbta_dm_act.c3109 …if(BTM_CMD_STARTED == BTM_SwitchRole (p_dev->peer_bdaddr, HCI_ROLE_MASTER, (tBTM_CMPL_CB *)bta_dm_… in bta_dm_check_av()
3176 … else if (p_bta_dm_cfg->avoid_scatter && (p_data->acl_change.new_role == HCI_ROLE_MASTER)) in bta_dm_acl_change()
3560 L2CA_SetDesireRole (HCI_ROLE_MASTER); in bta_dm_adjust_roles()
3576 L2CA_SetDesireRole (HCI_ROLE_MASTER); in bta_dm_adjust_roles()
3594 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.c1884 if (role == HCI_ROLE_MASTER) in btm_ble_connected()
Dbtm_ble_gap.c3317 if (btm_cb.ble_ctr_cb.link_count[HCI_ROLE_MASTER]) in btm_ble_update_link_topology_mask()