Home
last modified time | relevance | path

Searched refs:PAN_ROLE_CLIENT (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/bluedroid/stack/pan/
Dpan_api.c146 if ((!(role & (PAN_ROLE_CLIENT | PAN_ROLE_GN_SERVER | PAN_ROLE_NAP_SERVER))) && in PAN_SetRole()
236 if (role & PAN_ROLE_CLIENT) in PAN_SetRole()
249 else if (pan_cb.role & PAN_ROLE_CLIENT) in PAN_SetRole()
318 …if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_GN_SERVER && src_role != PAN_ROLE_NAP_SER… in PAN_Connect()
319 …(dst_role != PAN_ROLE_CLIENT && dst_role != PAN_ROLE_GN_SERVER && dst_role != PAN_ROLE_NAP_SERVER)) in PAN_Connect()
329 if (src_role == PAN_ROLE_CLIENT) in PAN_Connect()
343 if (dst_role == PAN_ROLE_CLIENT) in PAN_Connect()
361 else if (dst_role == PAN_ROLE_CLIENT) in PAN_Connect()
363 if (pan_cb.num_conns && pan_cb.active_role == PAN_ROLE_CLIENT && !pcb) in PAN_Connect()
535 if (pan_cb.active_role == PAN_ROLE_CLIENT) in PAN_Write()
[all …]
Dpan_main.c228 req_role = PAN_ROLE_CLIENT; in pan_conn_ind_cb()
282 pan_cb.active_role == PAN_ROLE_CLIENT)) in pan_conn_ind_cb()
385 pan_cb.active_role = PAN_ROLE_CLIENT; in pan_connect_state_cb()
392 peer_role = PAN_ROLE_CLIENT; in pan_connect_state_cb()
/external/bluetooth/bluedroid/bta/include/
Dbta_pan_api.h52 #define BTA_PAN_ROLE_PANU PAN_ROLE_CLIENT
/external/bluetooth/bluedroid/stack/include/
Dpan_api.h48 #define PAN_ROLE_CLIENT 0x01 /* PANU role */ macro
/external/bluetooth/bluedroid/bta/pan/
Dbta_pan_act.c87 if(src_role == PAN_ROLE_CLIENT) in bta_pan_conn_state_cback()
355 if(p_data->api_set_role.role & PAN_ROLE_CLIENT ) in bta_pan_set_role()
/external/bluetooth/bluedroid/btif/src/
Dbtif_pan.c178 if(bta_pan_role & PAN_ROLE_CLIENT) in bta_role_to_btpan()
194 bta_pan_role |= PAN_ROLE_CLIENT; in btpan_role_to_bta()