Searched refs:link_role (Results 1 – 12 of 12) sorted by relevance
/external/bluetooth/bluedroid/stack/l2cap/ |
D | l2c_ble.c | 170 (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()
|
D | l2c_link.c | 92 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()
|
D | l2c_int.h | 395 UINT8 link_role; /* Master or slave */ member
|
D | l2c_utils.c | 2247 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/ |
D | btm_acl.c | 210 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 …]
|
D | btm_ble_int.h | 344 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);
|
D | btm_int.h | 97 UINT8 link_role; member 993 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport);
|
D | btm_ble_gap.c | 2851 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()
|
D | btm_ble.c | 1140 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()
|
D | btm_sec.c | 1624 rc = btm_ble_set_encryption(bd_addr, p_ref_data, p->link_role); in BTM_SetEncryption()
|
/external/bluetooth/bluedroid/bta/dm/ |
D | bta_dm_api.c | 496 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/ |
D | gatt_db.c | 427 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()
|