Home
last modified time | relevance | path

Searched refs:new_role (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_acl.c651 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) in BTM_SwitchRole() argument
688 if (p->link_role == new_role) { in BTM_SwitchRole()
740 if (!btsnd_hcic_switch_role (remote_bd_addr, new_role)) { in BTM_SwitchRole()
758 btm_cb.devcb.switch_role_ref_data.role = new_role; in BTM_SwitchRole()
824 evt.new_role = btm_cb.devcb.switch_role_ref_data.role; in btm_acl_encrypt_change()
830 evt.new_role, evt.hci_status, p->switch_role_state); in btm_acl_encrypt_change()
1466 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role) in btm_acl_role_changed() argument
1488 p_data->role = new_role; in btm_acl_role_changed()
1492 p->link_role = new_role; in btm_acl_role_changed()
1495 if (new_role == BTM_ROLE_MASTER) { in btm_acl_role_changed()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/sys/
Dbta_sys_conn.c102 void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status) in bta_sys_notify_role_chg() argument
105 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda); in bta_sys_notify_role_chg()
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/
Dl2c_api.c883 UINT8 L2CA_SetDesireRole (UINT8 new_role) in L2CA_SetDesireRole() argument
886 new_role, l2cb.disallow_switch); in L2CA_SetDesireRole()
888 if (L2CAP_ROLE_CHECK_SWITCH != (L2CAP_ROLE_CHECK_SWITCH & new_role)) { in L2CA_SetDesireRole()
890 if (new_role & L2CAP_ROLE_ALLOW_SWITCH) { in L2CA_SetDesireRole()
893 if (new_role & L2CAP_ROLE_DISALLOW_SWITCH) { in L2CA_SetDesireRole()
898 if (new_role == HCI_ROLE_MASTER || new_role == HCI_ROLE_SLAVE) { in L2CA_SetDesireRole()
899 l2cb.desire_role = new_role; in L2CA_SetDesireRole()
Dl2c_link.c924 void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status) in l2c_link_role_changed() argument
933 p_lcb->link_role = new_role; in l2c_link_role_changed()
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/
Dbta_sys.h260 extern void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status);
Dbta_api.h874 UINT8 new_role; /* the new connection role */ member
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/
Dbta_av_aact.c2288 UINT8 new_role = p_scb->role; in bta_av_start_ok() local
2300 if (new_role & BTA_AV_ROLE_START_INT) { in bta_av_start_ok()
2376 if (new_role & BTA_AV_ROLE_START_INT) { in bta_av_start_ok()
2377 new_role &= ~BTA_AV_ROLE_START_INT; in bta_av_start_ok()
2378 } else if ((new_role & BTA_AV_ROLE_AD_ACP) && (new_role & BTA_AV_ROLE_SUSPEND_OPT)) { in bta_av_start_ok()
2401 p_scb->role = new_role; in bta_av_start_ok()
Dbta_av_main.c930 p_buf->new_role = id; in bta_av_sys_rs_cback()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dl2c_api.h691 extern UINT8 L2CA_SetDesireRole (UINT8 new_role);
Dbtm_api.h939 UINT8 new_role; member
2909 UINT8 new_role,
/hal_espressif-latest/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c3399 p_msg->new_role = p_data->role_chg.new_role; in bta_dm_bl_change_cback()
3560 p_dev->info, p_data->acl_change.new_role, bta_dm_cb.device_list.count); in bta_dm_acl_change()
3563 if (p_data->acl_change.new_role == HCI_ROLE_SLAVE && bta_dm_cb.device_list.count > 1 in bta_dm_acl_change()
3569 … } else if (p_bta_dm_cfg->avoid_scatter && (p_data->acl_change.new_role == HCI_ROLE_MASTER)) { in bta_dm_acl_change()
3583 …bta_sys_notify_role_chg(p_data->acl_change.bd_addr, p_data->acl_change.new_role, p_data->acl_chang… in bta_dm_acl_change()
3585 conn.role_chg.new_role = (UINT8) p_data->acl_change.new_role; in bta_dm_acl_change()
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/include/
Dbta_av_int.h322 UINT8 new_role; member
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/include/
Dl2c_int.h730 extern void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status);
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h1063 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role);
/hal_espressif-latest/components/bt/host/bluedroid/bta/dm/include/
Dbta_dm_int.h524 UINT8 new_role; member