Searched refs:link_role (Results 1 – 11 of 11) sorted by relevance
/system/bt/stack/l2cap/ |
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() 107 btsnd_hcic_accept_conn (bd_addr, p_lcb->link_role); in l2c_link_hci_conn_req() 124 p_lcb->link_role = HCI_ROLE_SLAVE; in l2c_link_hci_conn_req() 126 p_lcb->link_role = l2cu_get_conn_role(p_lcb); in l2c_link_hci_conn_req() 128 btsnd_hcic_accept_conn (bd_addr, p_lcb->link_role); in l2c_link_hci_conn_req() 206 p_lcb->link_role, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_comp() 208 btm_acl_created (ci.bd_addr, NULL, NULL, handle, p_lcb->link_role, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_comp() 400 btm_ble_update_link_topology_mask(p_lcb->link_role, FALSE); in l2c_link_hci_disc_comp() [all …]
|
D | l2c_ble.c | 79 !(p_lcb->link_role == HCI_ROLE_SLAVE && BTM_ACL_IS_CONNECTED(rem_bda))) in L2CA_CancelBleConnectReq() 179 (rem_bda[4]<<8)+rem_bda[5], p_lcb->link_role); in L2CA_EnableUpdateBleConnParams() 210 role = p_lcb->link_role; in L2CA_GetBleConnRole() 361 p_lcb->link_role = HCI_ROLE_MASTER; in l2cble_scanner_conn_comp() 371 btm_acl_created (bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, BT_TRANSPORT_LE); in l2cble_scanner_conn_comp() 431 p_lcb->link_role = HCI_ROLE_SLAVE; in l2cble_advertiser_conn_comp() 443 btm_acl_created (bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, BT_TRANSPORT_LE); in l2cble_advertiser_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()
|
D | l2c_int.h | 391 UINT8 link_role; /* Master or slave */ member
|
D | l2c_utils.c | 2314 if ((p_lcb_cur->in_use) && (p_lcb_cur->link_role == HCI_ROLE_SLAVE)) in l2cu_create_conn() 2337 p_lcb->link_role = HCI_ROLE_MASTER; in l2cu_create_conn()
|
/system/bt/stack/btm/ |
D | btm_acl.c | 214 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport) in btm_acl_created() argument 221 hci_handle,link_role, transport); in btm_acl_created() 227 p->link_role = link_role; in btm_acl_created() 244 p->link_role = link_role; in btm_acl_created() 322 || link_role == HCI_ROLE_MASTER) in btm_acl_created() 422 p->link_role); in btm_acl_removed() 578 *p_role = p->link_role; in BTM_GetRole() 636 if (p->link_role == new_role) in BTM_SwitchRole() 758 if (!btsnd_hcic_switch_role (p->remote_addr, (UINT8)!p->link_role)) in btm_acl_encrypt_change() 1310 if (p->link_role == BTM_ROLE_MASTER) in BTM_SetLinkSuperTout() [all …]
|
D | btm_ble_int.h | 389 …rn tBTM_STATUS btm_ble_set_encryption (BD_ADDR bd_addr, tBTM_BLE_SEC_ACT sec_act, UINT8 link_role); 429 extern void btm_ble_update_mode_operation(UINT8 link_role, BD_ADDR bda, UINT8 status);
|
D | btm_ble_gap.c | 3308 void btm_ble_update_link_topology_mask(UINT8 link_role, BOOLEAN increase) in btm_ble_update_link_topology_mask() argument 3313 btm_cb.ble_ctr_cb.link_count[link_role]++; in btm_ble_update_link_topology_mask() 3314 else if (btm_cb.ble_ctr_cb.link_count[link_role] > 0) in btm_ble_update_link_topology_mask() 3315 btm_cb.ble_ctr_cb.link_count[link_role]--; in btm_ble_update_link_topology_mask() 3323 if (link_role == HCI_ROLE_SLAVE && increase) in btm_ble_update_link_topology_mask() 3343 void btm_ble_update_mode_operation(UINT8 link_role, BD_ADDR bd_addr, UINT8 status) in btm_ble_update_mode_operation() argument
|
D | btm_int.h | 97 UINT8 link_role; member 950 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport);
|
D | btm_ble.c | 1419 tBTM_STATUS btm_ble_set_encryption (BD_ADDR bd_addr, tBTM_BLE_SEC_ACT sec_act, UINT8 link_role) in btm_ble_set_encryption() argument 1442 if (link_role == BTM_ROLE_MASTER) in btm_ble_set_encryption() 1461 if (link_role == BTM_ROLE_MASTER) in btm_ble_set_encryption()
|
D | btm_sec.c | 1431 rc = btm_ble_set_encryption(bd_addr, sec_act, p->link_role); in BTM_SetEncryption() 6340 return (p && (p->link_role == BTM_ROLE_MASTER)); in btm_sec_is_master()
|
/system/bt/stack/gatt/ |
D | gatt_db.c | 419 if ((p != NULL) && (p->link_role == BTM_ROLE_MASTER)) in gatts_db_read_attr_value_by_type() 420 btm_ble_set_encryption(p_tcb->peer_bda, BTM_BLE_SEC_ENCRYPT, p->link_role); in gatts_db_read_attr_value_by_type()
|