Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/btm/
Dbtm_acl.c627 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) in BTM_SwitchRole() argument
664 if (p->link_role == new_role) { in BTM_SwitchRole()
716 if (!btsnd_hcic_switch_role (remote_bd_addr, new_role)) { in BTM_SwitchRole()
734 btm_cb.devcb.switch_role_ref_data.role = new_role; in BTM_SwitchRole()
800 evt.new_role = btm_cb.devcb.switch_role_ref_data.role; in btm_acl_encrypt_change()
806 evt.new_role, evt.hci_status, p->switch_role_state); in btm_acl_encrypt_change()
1458 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role) in btm_acl_role_changed() argument
1480 p_data->role = new_role; in btm_acl_role_changed()
1484 p->link_role = new_role; in btm_acl_role_changed()
1487 if (new_role == BTM_ROLE_MASTER) { in btm_acl_role_changed()
[all …]
/hal_espressif-3.4.0/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-3.4.0/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.c918 void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status) in l2c_link_role_changed() argument
927 p_lcb->link_role = new_role; in l2c_link_role_changed()
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/av/
Dbta_av_aact.c2244 UINT8 new_role = p_scb->role; in bta_av_start_ok() local
2256 if (new_role & BTA_AV_ROLE_START_INT) { in bta_av_start_ok()
2332 if (new_role & BTA_AV_ROLE_START_INT) { in bta_av_start_ok()
2333 new_role &= ~BTA_AV_ROLE_START_INT; in bta_av_start_ok()
2334 } else if ((new_role & BTA_AV_ROLE_AD_ACP) && (new_role & BTA_AV_ROLE_SUSPEND_OPT)) { in bta_av_start_ok()
2357 p_scb->role = new_role; in bta_av_start_ok()
Dbta_av_main.c901 p_buf->new_role = id; in bta_av_sys_rs_cback()
/hal_espressif-3.4.0/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.h825 UINT8 new_role; /* the new connection role */ member
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/include/stack/
Dl2c_api.h687 extern UINT8 L2CA_SetDesireRole (UINT8 new_role);
Dbtm_api.h891 UINT8 new_role; member
2836 UINT8 new_role,
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c3321 p_msg->new_role = p_data->role_chg.new_role; in bta_dm_bl_change_cback()
3443 p_dev->info, p_data->acl_change.new_role, bta_dm_cb.device_list.count); in bta_dm_acl_change()
3446 if (p_data->acl_change.new_role == HCI_ROLE_SLAVE && bta_dm_cb.device_list.count > 1 in bta_dm_acl_change()
3452 … } else if (p_bta_dm_cfg->avoid_scatter && (p_data->acl_change.new_role == HCI_ROLE_MASTER)) { in bta_dm_acl_change()
3466 …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()
3468 conn.role_chg.new_role = (UINT8) p_data->acl_change.new_role; in bta_dm_acl_change()
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/av/include/
Dbta_av_int.h318 UINT8 new_role; member
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/l2cap/include/
Dl2c_int.h729 extern void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status);
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h1043 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role);
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/dm/include/
Dbta_dm_int.h464 UINT8 new_role; member