Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/types/
Dhci_role.h24 HCI_ROLE_PERIPHERAL = 0x01, enumerator
32 case HCI_ROLE_PERIPHERAL: in hci_role_text()
43 return HCI_ROLE_PERIPHERAL; in to_hci_role()
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_act.cc92 } else if (p_cb->role == HCI_ROLE_PERIPHERAL) { in smp_update_key_mask()
561 if (p_dev_rec && (p_cb->role == HCI_ROLE_PERIPHERAL)) in smp_proc_pair_cmd()
598 if (p_cb->role == HCI_ROLE_PERIPHERAL) { in smp_proc_pair_cmd()
839 p_cb->role == HCI_ROLE_PERIPHERAL) { in smp_br_process_pairing_command()
847 if (p_dev_rec && (p_cb->role == HCI_ROLE_PERIPHERAL)) in smp_br_process_pairing_command()
879 if (p_cb->role == HCI_ROLE_PERIPHERAL) { in smp_br_process_pairing_command()
963 if (p_cb->role == HCI_ROLE_PERIPHERAL || in smp_br_select_next_key()
1133 if (p_cb->role == HCI_ROLE_PERIPHERAL) in smp_proc_compare()
1326 uint8_t key_to_dist = (p_cb->role == HCI_ROLE_PERIPHERAL) ? p_cb->local_r_key in smp_key_pick_key()
1350 if (p_cb->role == HCI_ROLE_PERIPHERAL || in smp_key_distribution()
[all …]
Dsmp_br_main.cc318 if (p_cb->role > HCI_ROLE_PERIPHERAL) { in smp_br_state_machine_event()
Dsmp_l2c.cc364 p_cb->role = HCI_ROLE_PERIPHERAL; in smp_br_data_received()
Dsmp_keys.cc827 if (p_cb->role == HCI_ROLE_PERIPHERAL) in smp_calculate_peer_commitment()
/packages/modules/Bluetooth/system/stack/test/eatt/
Deatt_test.cc302 hci_role_ = HCI_ROLE_PERIPHERAL; in TEST_F()
333 hci_role_ = HCI_ROLE_PERIPHERAL; in TEST_F()
450 hci_role_ = HCI_ROLE_PERIPHERAL; in TEST_F()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec.h615 tHCI_ROLE assigned_role = HCI_ROLE_PERIPHERAL);
Dbtm_ble_gap.cc2784 if (btm_cb.ble_ctr_cb.link_count[HCI_ROLE_PERIPHERAL]) in btm_ble_update_link_topology_mask()
2787 if (link_role == HCI_ROLE_PERIPHERAL && increase) { in btm_ble_update_link_topology_mask()
/packages/modules/Bluetooth/system/stack/fuzzers/
Dsmp_fuzzer.cc85 return is_peripheral ? HCI_ROLE_PERIPHERAL : HCI_ROLE_CENTRAL; in FakeBtStack()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_int.h450 return link_role_ == HCI_ROLE_PERIPHERAL; in IsLinkRolePeripheral()
453 void SetLinkRoleAsPeripheral() { link_role_ = HCI_ROLE_PERIPHERAL; } in SetLinkRoleAsPeripheral()
Dl2c_ble.cc191 if (role == HCI_ROLE_PERIPHERAL) { in l2cble_conn_comp()
/packages/modules/Bluetooth/system/main/shim/
Dhelpers.h145 case HCI_ROLE_PERIPHERAL: in ToHciRole()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_utils.cc751 if (p_msg->int_conn.role == HCI_ROLE_PERIPHERAL) in bta_gattc_find_int_conn_clcb()
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_pm.cc917 btm_cb.ble_ctr_cb.link_count[HCI_ROLE_PERIPHERAL]; in BTM_PM_ReadBleLinkCount()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc623 if (new_role == HCI_ROLE_PERIPHERAL && bta_dm_cb.device_list.count > 1 && in handle_role_change()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_main.cc960 (cur_role == HCI_ROLE_PERIPHERAL)) { in bta_av_sys_rs_cback()