Home
last modified time | relevance | path

Searched refs:rem_bda (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/stack/l2cap/
Dl2c_ucd.c43 static BOOLEAN l2c_ucd_connect ( BD_ADDR rem_bda );
54 static void l2c_ucd_discover_cback (BD_ADDR rem_bda, UINT8 info_type, UINT32 data) in l2c_ucd_discover_cback() argument
69 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data); in l2c_ucd_discover_cback()
77 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data); in l2c_ucd_discover_cback()
93 static void l2c_ucd_data_ind_cback (BD_ADDR rem_bda, BT_HDR *p_buf) in l2c_ucd_data_ind_cback() argument
114 p_rcb->ucd.cb_info.pL2CA_UCD_Data_Cb(rem_bda, p_buf); in l2c_ucd_data_ind_cback()
127 static void l2c_ucd_congestion_status_cback (BD_ADDR rem_bda, BOOLEAN is_congested) in l2c_ucd_congestion_status_cback() argument
143 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in l2c_ucd_congestion_status_cback()
144 (rem_bda[4]<<8)+rem_bda[5]); in l2c_ucd_congestion_status_cback()
146 p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb ( rem_bda, is_congested ); in l2c_ucd_congestion_status_cback()
[all …]
Dl2c_ble.c54 BOOLEAN L2CA_CancelBleConnectReq (BD_ADDR rem_bda) in L2CA_CancelBleConnectReq() argument
65 if (memcmp (rem_bda, l2cb.ble_connecting_bda, BD_ADDR_LEN)) in L2CA_CancelBleConnectReq()
70 … (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], (rem_bda[4]<<8)+rem_bda[5]); in L2CA_CancelBleConnectReq()
77 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
80 … !(p_lcb->link_role == HCI_ROLE_SLAVE && btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE) != NULL)) in L2CA_CancelBleConnectReq()
105 BOOLEAN L2CA_UpdateBleConnParams (BD_ADDR rem_bda, UINT16 min_int, UINT16 max_int, in L2CA_UpdateBleConnParams() argument
109 tACL_CONN *p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
112 p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
118 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_UpdateBleConnParams()
119 (rem_bda[4]<<8)+rem_bda[5]); in L2CA_UpdateBleConnParams()
[all …]
Dl2c_api.c1677 BOOLEAN L2CA_ConnectFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda) in L2CA_ConnectFixedChnl() argument
1683 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], (rem_bda[4]<<8)+rem_bda[5]); in L2CA_ConnectFixedChnl()
1708 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, transport)) != NULL) in L2CA_ConnectFixedChnl()
1724 fixed_cid,(rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_ConnectFixedChnl()
1725 (rem_bda[4]<<8)+rem_bda[5]); in L2CA_ConnectFixedChnl()
1757 if ((p_lcb = l2cu_allocate_lcb (rem_bda, FALSE, transport)) == NULL) in L2CA_ConnectFixedChnl()
1796 UINT16 L2CA_SendFixedChnlData (UINT16 fixed_cid, BD_ADDR rem_bda, BT_HDR *p_buf) in L2CA_SendFixedChnlData() argument
1802 … (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], (rem_bda[4]<<8)+rem_bda[5]); in L2CA_SendFixedChnlData()
1827 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, transport)) == NULL || in L2CA_SendFixedChnlData()
1906 BOOLEAN L2CA_RemoveFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda) in L2CA_RemoveFixedChnl() argument
[all …]
/system/bt/stack/pan/
Dpan_utils.c194 memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0) in pan_allocate_pcb()
203 memcpy (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN); in pan_allocate_pcb()
254 if (memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0) in pan_get_pcb_by_addr()
339 p_pcb->rem_bda[0], p_pcb->rem_bda[1], p_pcb->rem_bda[2], in pan_dump_status()
340 p_pcb->rem_bda[3], p_pcb->rem_bda[4], p_pcb->rem_bda[5]); in pan_dump_status()
Dpan_api.c285 tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *handle) in PAN_Connect() argument
314 pcb = pan_get_pcb_by_addr (rem_bda); in PAN_Connect()
375 pcb = pan_allocate_pcb (rem_bda, BNEP_INVALID_HANDLE); in PAN_Connect()
381 BTM_SetOutService(rem_bda, BTM_SEC_SERVICE_BNEP_PANU, mx_chan_id); in PAN_Connect()
384 rem_bda[0], rem_bda[1], rem_bda[2], rem_bda[3], rem_bda[4], rem_bda[5]); in PAN_Connect()
407 result = BNEP_Connect (rem_bda, &src_uuid, &dst_uuid, &(pcb->handle)); in PAN_Connect()
455 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, FALSE); in PAN_Disconnect()
Dpan_main.c263 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, FALSE); in pan_conn_ind_cb()
331 void pan_connect_state_cb (UINT16 handle, BD_ADDR rem_bda, tBNEP_RESULT result, BOOLEAN is_role_cha… in pan_connect_state_cb() argument
335 UNUSED(rem_bda); in pan_connect_state_cb()
350 …(*pan_cb.pan_conn_state_cb) (pcb->handle, pcb->rem_bda, result, is_role_change, PAN_ROLE_INACTIVE,… in pan_connect_state_cb()
366 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, TRUE); in pan_connect_state_cb()
375 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, FALSE); in pan_connect_state_cb()
402 …(*pan_cb.pan_conn_state_cb) (pcb->handle, pcb->rem_bda, PAN_SUCCESS, is_role_change, pan_cb.active… in pan_connect_state_cb()
408 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, TRUE); in pan_connect_state_cb()
498 if (memcmp (pan_cb.pcb[i].rem_bda, dst, BD_ADDR_LEN) == 0) in pan_data_ind_cb()
Dpan_int.h55 BD_ADDR rem_bda; member
116 extern void pan_connect_state_cb (UINT16 handle, BD_ADDR rem_bda, tBNEP_RESULT result, BOOLEAN is_r…
/system/bt/stack/bnep/
Dbnep_main.c205 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_connect_cfm()
279 btm_sec_mx_access_request (p_bcb->rem_bda, BT_PSM_BNEP, TRUE, in bnep_config_ind()
327 btm_sec_mx_access_request (p_bcb->rem_bda, BT_PSM_BNEP, TRUE, in bnep_config_cfm()
339 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED_CFG, FALSE); in bnep_config_cfm()
379 … (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_DISCONNECTED, FALSE); in bnep_disconnect_ind()
385 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_disconnect_ind()
645 p_src_addr = (UINT8 *) p_bcb->rem_bda; in bnep_data_ind()
712 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_conn_timer_timeout()
727 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_conn_timer_timeout()
746 … (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_SET_FILTER_FAIL, FALSE); in bnep_conn_timer_timeout()
[all …]
Dbnep_api.c182 btm_sec_mx_access_request (p_bcb->rem_bda, BT_PSM_BNEP, TRUE, in BNEP_Connect()
187 bnep_sec_check_complete (p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in BNEP_Connect()
196 if ((cid = L2CA_ConnectReq (BT_PSM_BNEP, p_bcb->rem_bda)) != 0) in BNEP_Connect()
205 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in BNEP_Connect()
734 memcpy (p_status->rem_bda, p_bcb->rem_bda, BD_ADDR_LEN); in BNEP_GetStatus()
Dbnep_utils.c94 if (!memcmp ((UINT8 *)(p_bcb->rem_bda), p_bda, BD_ADDR_LEN)) in bnepu_find_bcb_by_bd_addr()
127 memcpy ((UINT8 *)(p_bcb->rem_bda), (UINT8 *)p_rem_bda, BD_ADDR_LEN); in bnepu_allocate_bcb()
478 if (memcmp (p_dest_addr, p_bcb->rem_bda, BD_ADDR_LEN)) in bnepu_build_bnep_hdr()
643 bnep_sec_check_complete (p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in bnep_process_setup_conn_req()
646 btm_sec_mx_access_request (p_bcb->rem_bda, BT_PSM_BNEP, FALSE, in bnep_process_setup_conn_req()
727 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, TRUE); in bnep_process_setup_conn_responce()
739 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, FALSE); in bnep_process_setup_conn_responce()
1196 … (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_SECURITY_FAIL, is_role_change); in bnep_sec_check_complete()
1208 … (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_SECURITY_FAIL, is_role_change); in bnep_sec_check_complete()
1247 …(*bnep_cb.p_conn_ind_cb) (p_bcb->handle, p_bcb->rem_bda, &p_bcb->dst_uuid, &p_bcb->src_uuid, is_ro… in bnep_sec_check_complete()
Dbnep_int.h134 BD_ADDR rem_bda; member
/system/bt/stack/include/
Dl2c_api.h965 extern BOOLEAN L2CA_UcdDiscover ( UINT16 psm, BD_ADDR rem_bda, UINT8 info_type );
984 extern UINT16 L2CA_UcdDataWrite (UINT16 psm, BD_ADDR rem_bda, BT_HDR *p_buf, UINT16 flags);
998 extern BOOLEAN L2CA_UcdSetIdleTimeout ( BD_ADDR rem_bda, UINT16 timeout );
1009 extern BOOLEAN L2CA_UCDSetTxPriority ( BD_ADDR rem_bda, tL2CAP_CHNL_PRIORITY priority );
1099 extern UINT16 L2CA_SendFixedChnlData (UINT16 fixed_cid, BD_ADDR rem_bda, BT_HDR *p_buf);
1114 extern BOOLEAN L2CA_RemoveFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda);
1133 extern BOOLEAN L2CA_SetFixedChannelTout (BD_ADDR rem_bda, UINT16 fixed_cid, UINT16 idle_tout);
1178 extern BOOLEAN L2CA_CancelBleConnectReq (BD_ADDR rem_bda);
1206 extern BOOLEAN L2CA_EnableUpdateBleConnParams (BD_ADDR rem_bda, BOOLEAN enable);
Dbnep_api.h86 BD_ADDR rem_bda,
209 BD_ADDR rem_bda; member
Dpan_api.h309 extern tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *handle);
Dbtm_api.h746 BD_ADDR rem_bda; member
757 BD_ADDR rem_bda; member
768 BD_ADDR rem_bda; member
/system/bt/bta/include/
Dbta_jv_api.h184 BD_ADDR rem_bda; /* The peer address */ member
193 BD_ADDR rem_bda; /* The peer address */ member
271 BD_ADDR rem_bda; /* The peer address */ member
279 BD_ADDR rem_bda; /* The peer address */ member
/system/bt/bta/jv/
Dbta_jv_act.c1003 bdcpy(evt_data.l2c_open.rem_bda, GAP_ConnGetRemoteAddr(gap_handle)); in bta_jv_l2cap_client_cback()
1172 bdcpy(evt_data.l2c_open.rem_bda, GAP_ConnGetRemoteAddr(gap_handle)); in bta_jv_l2cap_server_cback()
1475 BD_ADDR rem_bda; in bta_jv_port_mgmt_cl_cback() local
1486 PORT_CheckConnection(port_handle, rem_bda, &lcid); in bta_jv_port_mgmt_cl_cback()
1492 bdcpy(evt_data.rfc_open.rem_bda, rem_bda); in bta_jv_port_mgmt_cl_cback()
1709 BD_ADDR rem_bda; in bta_jv_port_mgmt_sr_cback() local
1722 PORT_CheckConnection(port_handle, rem_bda, &lcid); in bta_jv_port_mgmt_sr_cback()
1728 bdcpy(evt_data.rfc_srv_open.rem_bda, rem_bda); in bta_jv_port_mgmt_sr_cback()
2451 … memcpy(&open_evt.l2c_le_open.rem_bda, &t->remote_addr, sizeof(open_evt.l2c_le_open.rem_bda)); in fcchan_conn_chng_cbk()
/system/bt/btif/src/
Dbtif_sock_l2cap.c468 accept_rs = btsock_l2cap_alloc_l(sock->name, (const bt_bdaddr_t*)p_open->rem_bda, FALSE, 0); in on_srv_l2cap_psm_connect_l()
509 accept_rs = btsock_l2cap_alloc_l(sock->name, (const bt_bdaddr_t*)p_open->rem_bda, FALSE, 0); in on_srv_l2cap_le_connect_l()
543 bd_copy(sock->addr.address, p_open->rem_bda, 0); in on_cl_l2cap_psm_connect_l()
562 bd_copy(sock->addr.address, p_open->rem_bda, 0); in on_cl_l2cap_le_connect_l()
Dbtif_sock_rfc.c494 …rfc_slot_t *accept_rs = create_srv_accept_rfc_slot(srv_rs, (const bt_bdaddr_t *)p_open->rem_bda, p… in on_srv_rfc_connect()
523 memcpy(slot->addr.address, p_open->rem_bda, 6); in on_cli_rfc_connect()
Dbtif_gatt_client.c1037 bdcpy(btif_cb.bd_addr.address, p_result->rem_bda); in btm_read_rssi_cb()
/system/bt/stack/gatt/
Dgatt_main.c196 BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport) in gatt_connect() argument
206 gatt_ret = L2CA_ConnectFixedChnl (L2CAP_ATT_CID, rem_bda); in gatt_connect()
210 if ((p_tcb->att_lcid = L2CA_ConnectReq(BT_PSM_ATT, rem_bda)) != 0) in gatt_connect()
Dgatt_int.h536 extern BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport);
566 extern void gatt_sr_get_sec_info(BD_ADDR rem_bda, tBT_TRANSPORT transport, UINT8 *p_sec_flag, UINT8…
Dgatt_utils.c1437 void gatt_sr_get_sec_info(BD_ADDR rem_bda, tBT_TRANSPORT transport, UINT8 *p_sec_flag, UINT8 *p_key… in gatt_sr_get_sec_info() argument
1441 BTM_GetSecurityFlagsByTransport(rem_bda, &sec_flag, transport); in gatt_sr_get_sec_info()
1445 *p_key_size = btm_ble_read_sec_key_size(rem_bda); in gatt_sr_get_sec_info()
/system/bt/stack/btm/
Dbtm_acl.c2223 memcpy (results.rem_bda, p_acl_cb->remote_addr, BD_ADDR_LEN); in btm_read_tx_power_complete()
2232 memcpy(results.rem_bda, btm_cb.devcb.read_tx_pwr_addr, BD_ADDR_LEN); in btm_read_tx_power_complete()
2304 memcpy (results.rem_bda, p_acl_cb->remote_addr, BD_ADDR_LEN); in btm_read_rssi_complete()
2375 memcpy (results.rem_bda, p_acl_cb->remote_addr, BD_ADDR_LEN); in btm_read_link_quality_complete()
/system/bt/stack/smp/
Dsmp_utils.c284 BOOLEAN smp_send_msg_to_L2CAP(BD_ADDR rem_bda, BT_HDR *p_toL2CAP) in smp_send_msg_to_L2CAP() argument
297 if ((l2cap_ret = L2CA_SendFixedChnlData (fixed_cid, rem_bda, p_toL2CAP)) == L2CAP_DW_FAILED) in smp_send_msg_to_L2CAP()

12