Home
last modified time | relevance | path

Searched refs:link_role (Results 1 – 12 of 12) sorted by relevance

/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_ble.c170 (rem_bda[4]<<8)+rem_bda[5], p_lcb->link_role); in L2CA_EnableUpdateBleConnParams()
201 role = p_lcb->link_role; in L2CA_GetBleConnRole()
306 p_lcb->link_role = HCI_ROLE_MASTER; in l2cble_scanner_conn_comp()
347 btm_acl_created (bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, BT_TRANSPORT_LE); in l2cble_scanner_conn_comp()
403 p_lcb->link_role = HCI_ROLE_SLAVE; in l2cble_advertiser_conn_comp()
415 btm_acl_created (bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, BT_TRANSPORT_LE); in l2cble_advertiser_conn_comp()
489 if (p_lcb->link_role == HCI_ROLE_MASTER in l2cble_start_conn_update()
514 if (p_lcb->link_role == HCI_ROLE_MASTER in l2cble_start_conn_update()
620 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()
100 p_lcb->link_role = HCI_ROLE_SLAVE; in l2c_link_hci_conn_req()
102 p_lcb->link_role = l2cu_get_conn_role(p_lcb); in l2c_link_hci_conn_req()
106 btsnd_hcic_accept_conn (bd_addr, p_lcb->link_role); in l2c_link_hci_conn_req()
121 p_lcb->link_role = HCI_ROLE_SLAVE; in l2c_link_hci_conn_req()
123 p_lcb->link_role = l2cu_get_conn_role(p_lcb); in l2c_link_hci_conn_req()
125 btsnd_hcic_accept_conn (bd_addr, p_lcb->link_role); in l2c_link_hci_conn_req()
205 p_lcb->link_role, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_comp()
207 btm_acl_created (ci.bd_addr, NULL, NULL, handle, p_lcb->link_role, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_comp()
1008 p_lcb->link_role = new_role; in l2c_link_role_changed()
Dl2c_int.h395 UINT8 link_role; /* Master or slave */ member
Dl2c_utils.c2247 if ((p_lcb_cur->in_use) && (p_lcb_cur->link_role == HCI_ROLE_SLAVE)) in l2cu_create_conn()
2270 p_lcb->link_role = HCI_ROLE_MASTER; in l2cu_create_conn()
/external/bluetooth/bluedroid/stack/btm/
Dbtm_acl.c210 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport) in btm_acl_created() argument
218 hci_handle,link_role, transport); in btm_acl_created()
224 p->link_role = link_role; in btm_acl_created()
241 p->link_role = link_role; in btm_acl_created()
330 || link_role == HCI_ROLE_MASTER) in btm_acl_created()
442 p->link_role); in btm_acl_removed()
609 *p_role = p->link_role; in BTM_GetRole()
669 if (p->link_role == new_role) in BTM_SwitchRole()
969 if (!btsnd_hcic_switch_role (p->remote_addr, (UINT8)!p->link_role)) in btm_acl_encrypt_change()
1734 if (p->link_role == BTM_ROLE_MASTER) in BTM_SetLinkSuperTout()
[all …]
Dbtm_ble_int.h344 extern tBTM_STATUS btm_ble_set_encryption (BD_ADDR bd_addr, void *p_ref_data, UINT8 link_role);
381 extern void btm_ble_update_mode_operation(UINT8 link_role, BD_ADDR bda, UINT8 status);
Dbtm_int.h97 UINT8 link_role; member
993 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport);
Dbtm_ble_gap.c2851 void btm_ble_update_mode_operation(UINT8 link_role, BD_ADDR bd_addr, UINT8 status) in btm_ble_update_mode_operation() argument
2859 if (link_role == HCI_ROLE_SLAVE) in btm_ble_update_mode_operation()
2873 if (pa->link_role == HCI_ROLE_MASTER) in btm_ble_update_mode_operation()
Dbtm_ble.c1140 tBTM_STATUS btm_ble_set_encryption (BD_ADDR bd_addr, void *p_ref_data, UINT8 link_role) in btm_ble_set_encryption() argument
1162 if (link_role == BTM_ROLE_MASTER) in btm_ble_set_encryption()
Dbtm_sec.c1624 rc = btm_ble_set_encryption(bd_addr, p_ref_data, p->link_role); in BTM_SetEncryption()
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_api.c496 UINT8 link_role; in BTA_DmIsMaster() local
498 BTM_GetRole(bd_addr, &link_role); in BTA_DmIsMaster()
499 APPL_TRACE_API("BTA_DmIsMaster role:x%x", link_role); in BTA_DmIsMaster()
500 if(link_role == BTM_ROLE_MASTER) in BTA_DmIsMaster()
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_db.c427 if ((p != NULL) && (p->link_role == BTM_ROLE_MASTER)) in gatts_db_read_attr_value_by_type()
430 btm_ble_set_encryption(p_tcb->peer_bda, &sec_act, p->link_role); in gatts_db_read_attr_value_by_type()