/system/bt/stack/rfcomm/ |
rfc_l2cap_if.c | 63 tL2CAP_APPL_INFO *p_l2c = &rfc_cb.rfc.reg_info; 183 rfc_cb.port.port[idx - 1].dlci += 1; 184 RFCOMM_TRACE_DEBUG ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci); 320 event = rfc_parse_data (p_mcb, &rfc_cb.rfc.rx_frame, p_buf); 329 if (rfc_cb.rfc.rx_frame.dlci == RFCOMM_MX_DLCI) 345 if (((p_port = port_find_mcb_dlci_port (p_mcb, rfc_cb.rfc.rx_frame.dlci)) == NULL) 351 if (( p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) 352 || (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) 353 rfc_send_dm (p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf) [all...] |
rfc_utils.c | 145 RFCOMM_TRACE_DEBUG("rfc_alloc_multiplexer_channel rfc_cb.port.rfc_mcb[%d].state:%d", 146 i, rfc_cb.port.rfc_mcb[i].state); 147 RFCOMM_TRACE_DEBUG("(rfc_cb.port.rfc_mcb[i].bd_addr:%02x:%02x:%02x:%02x:%02x:%02x", 148 rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1], 149 rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3], 150 rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]); 152 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE [all...] |
port_api.c | 257 p_port = &rfc_cb.port.port[handle - 1]; 293 p_port = &rfc_cb.port.port[handle - 1]; 338 p_port = &rfc_cb.port.port[port_handle - 1]; 371 p_port = &rfc_cb.port.port[port_handle - 1]; 401 p_port = &rfc_cb.port.port[port_handle - 1]; 437 p_port = &rfc_cb.port.port[port_handle - 1]; 471 p_port = &rfc_cb.port.port[port_handle - 1]; 507 p_port = &rfc_cb.port.port[handle - 1]; 549 if ((rfc_cb.port.rfc_mcb[xx].state > RFC_MX_STATE_IDLE) && 550 (rfc_cb.port.rfc_mcb[xx].state < RFC_MX_STATE_CONNECTED) [all...] |
port_utils.c | 67 tPORT *p_port = &rfc_cb.port.port[0]; 70 for (xx = 0, yy = rfc_cb.rfc.last_port + 1; xx < MAX_RFC_PORTS; xx++, yy++) 75 p_port = &rfc_cb.port.port[yy]; 87 rfc_cb.rfc.last_port = yy; 92 RFCOMM_TRACE_DEBUG("rfc_cb.port.port[%d]:%p allocated, last_port:%d", yy, p_port, rfc_cb.rfc.last_port); 293 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE) 294 && !memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)) 299 RFCOMM_TRACE_DEBUG("port_find_mcb: rfc_cb.port.rfc_mcb:index:%d, %p, lcid:%d", 300 i, &rfc_cb.port.rfc_mcb[i], rfc_cb.port.rfc_mcb[i].lcid) [all...] |
port_rfc.c | 210 p_port = &rfc_cb.port.port[0]; 270 p_port = &rfc_cb.port.port[0]; 784 p_port = &rfc_cb.port.port[0]; 810 p_port = &rfc_cb.port.port[0]; 955 p_port = &rfc_cb.port.port[i]; [all...] |
rfc_ts_frames.c | 240 *p_data++ = rfc_cb.rfc.rx_frame.u.pn.priority; 402 *p_data++ = rfc_cb.rfc.rx_frame.ea | 403 (rfc_cb.rfc.rx_frame.cr << RFCOMM_SHIFT_CR) | 404 rfc_cb.rfc.rx_frame.type; 668 MX_FRAME *p_rx_frame = &rfc_cb.rfc.rx_frame;
|
rfc_port_fsm.c | 830 rfc_cb.rfc.peer_rx_disabled = FALSE; 851 rfc_cb.rfc.peer_rx_disabled = TRUE; 877 if (!rfc_cb.rfc.peer_rx_disabled)
|
rfc_int.h | 236 extern tRFC_CB rfc_cb; 239 #define rfc_cb (*rfc_cb_ptr) macro
|
rfc_mx_fsm.c | 241 rfc_cb.port.port[idx - 1].dlci += 1; 242 RFCOMM_TRACE_DEBUG ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci);
|
rfc_port_if.c | 37 tRFC_CB rfc_cb; variable
|
/system/bt/bta/jv/ |
bta_jv_api.c | 812 if (hi < BTA_JV_MAX_RFC_CONN && bta_jv_cb.rfc_cb[hi].p_cback && 813 si < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { 818 p_msg->p_cb = &bta_jv_cb.rfc_cb[hi]; 918 si < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) 919 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle; [all...] |
bta_jv_int.h | 380 tBTA_JV_RFC_CB rfc_cb[BTA_JV_MAX_RFC_CONN]; member in struct:__anon72114
|
bta_jv_act.c | 149 if(bta_jv_cb.rfc_cb[i].handle ) 194 if (0 == bta_jv_cb.rfc_cb[i].handle ) 196 p_cb = &bta_jv_cb.rfc_cb[i]; 267 p_cb = &bta_jv_cb.rfc_cb[handle - 1]; 477 if (hi < BTA_JV_MAX_RFC_CONN && bta_jv_cb.rfc_cb[hi].p_cback && si 478 < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) 480 tBTA_JV_PCB *p_pcb = bta_jv_rfc_port_to_pcb(bta_jv_cb.rfc_cb[hi].rfc_hdl[si]); [all...] |
/system/bt/include/ |
bt_trace.h | 259 #define RFCOMM_TRACE_ERROR(...) {if (rfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT_TRACE(TRACE_LAYER_RFCOMM, TRACE_TYPE_ERROR, ##__VA_ARGS__);} 260 #define RFCOMM_TRACE_WARNING(...) {if (rfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING) BT_TRACE(TRACE_LAYER_RFCOMM, TRACE_TYPE_WARNING, ##__VA_ARGS__);} 261 #define RFCOMM_TRACE_API(...) {if (rfc_cb.trace_level >= BT_TRACE_LEVEL_API) BT_TRACE(TRACE_LAYER_RFCOMM, TRACE_TYPE_API, ##__VA_ARGS__);} 262 #define RFCOMM_TRACE_EVENT(...) {if (rfc_cb.trace_level >= BT_TRACE_LEVEL_EVENT) BT_TRACE(TRACE_LAYER_RFCOMM, TRACE_TYPE_EVENT, ##__VA_ARGS__);} 263 #define RFCOMM_TRACE_DEBUG(...) {if (rfc_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) BT_TRACE(TRACE_LAYER_RFCOMM, TRACE_TYPE_DEBUG, ##__VA_ARGS__);}
|
/external/libnfc-nci/src/include/ |
bt_trace.h | [all...] |