Home
last modified time | relevance | path

Searched refs:tRFC_MCB (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/rfcomm/
Drfc_int.h48 extern void RFCOMM_StartReq(tRFC_MCB* p_mcb);
49 extern void RFCOMM_StartRsp(tRFC_MCB* p_mcb, uint16_t result);
51 extern void RFCOMM_DlcEstablishReq(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu);
52 extern void RFCOMM_DlcEstablishRsp(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu,
55 extern void RFCOMM_DataReq(tRFC_MCB* p_mcb, uint8_t dlci, BT_HDR* p_buf);
57 extern void RFCOMM_DlcReleaseReq(tRFC_MCB* p_mcb, uint8_t dlci);
59 extern void RFCOMM_ParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci,
61 extern void RFCOMM_ParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci,
67 extern void RFCOMM_FlowReq(tRFC_MCB* p_mcb, uint8_t dlci, bool state);
69 extern void RFCOMM_PortParameterNegotiationRequest(tRFC_MCB* p_mcb,
[all …]
Drfc_port_if.cc49 void RFCOMM_StartReq(tRFC_MCB* p_mcb) { in RFCOMM_StartReq()
62 void RFCOMM_StartRsp(tRFC_MCB* p_mcb, uint16_t result) { in RFCOMM_StartRsp()
77 void RFCOMM_DlcEstablishReq(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_DlcEstablishReq()
101 void RFCOMM_DlcEstablishRsp(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_DlcEstablishRsp()
127 void RFCOMM_ParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_ParameterNegotiationRequest()
176 void RFCOMM_ParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_ParameterNegotiationResponse()
195 void RFCOMM_PortParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_PortParameterNegotiationRequest()
226 void RFCOMM_PortParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_PortParameterNegotiationResponse()
242 void RFCOMM_ControlReq(tRFC_MCB* p_mcb, uint8_t dlci, tPORT_CTRL* p_pars) { in RFCOMM_ControlReq()
270 void RFCOMM_FlowReq(tRFC_MCB* p_mcb, uint8_t dlci, bool enable) { in RFCOMM_FlowReq()
[all …]
Drfc_mx_fsm.cc43 static void rfc_mx_sm_state_idle(tRFC_MCB* p_mcb, uint16_t event, void* p_data);
44 static void rfc_mx_sm_state_wait_conn_cnf(tRFC_MCB* p_mcb, uint16_t event,
46 static void rfc_mx_sm_state_configure(tRFC_MCB* p_mcb, uint16_t event,
48 static void rfc_mx_sm_sabme_wait_ua(tRFC_MCB* p_mcb, uint16_t event,
50 static void rfc_mx_sm_state_wait_sabme(tRFC_MCB* p_mcb, uint16_t event,
52 static void rfc_mx_sm_state_connected(tRFC_MCB* p_mcb, uint16_t event,
54 static void rfc_mx_sm_state_disc_wait_ua(tRFC_MCB* p_mcb, uint16_t event,
57 static void rfc_mx_send_config_req(tRFC_MCB* p_mcb);
58 static void rfc_mx_conf_ind(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg);
59 static void rfc_mx_conf_cnf(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg);
[all …]
Drfc_utils.cc133 tRFC_MCB* rfc_alloc_multiplexer_channel(const RawAddress& bd_addr, in rfc_alloc_multiplexer_channel()
136 tRFC_MCB* p_mcb = NULL; in rfc_alloc_multiplexer_channel()
171 memset(p_mcb, 0, sizeof(tRFC_MCB)); in rfc_alloc_multiplexer_channel()
199 void rfc_release_multiplexer_channel(tRFC_MCB* p_mcb) { in rfc_release_multiplexer_channel()
214 memset(p_mcb, 0, sizeof(tRFC_MCB)); in rfc_release_multiplexer_channel()
225 void rfc_timer_start(tRFC_MCB* p_mcb, uint16_t timeout) { in rfc_timer_start()
240 void rfc_timer_stop(tRFC_MCB* p_mcb) { in rfc_timer_stop()
284 void rfc_check_mcb_active(tRFC_MCB* p_mcb) { in rfc_check_mcb_active()
309 tRFC_MCB* p_mcb = (tRFC_MCB*)data; in rfcomm_mcb_timer_timeout()
350 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in rfc_port_closed()
[all …]
Drfc_l2cap_if.cc91 tRFC_MCB* p_mcb = rfc_alloc_multiplexer_channel(bd_addr, false); in RFCOMM_ConnectInd()
142 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_ConnectCnf()
210 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_ConfigInd()
230 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_ConfigCnf()
262 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_DisconnectInd()
284 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_BufDataInd()
382 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_CongestionStatusInd()
400 tRFC_MCB* rfc_find_lcid_mcb(uint16_t lcid) { in rfc_find_lcid_mcb()
405 tRFC_MCB* p_mcb = rfc_cb.rfc.p_rfc_lcid_mcb[lcid - L2CAP_BASE_APPL_CID]; in rfc_find_lcid_mcb()
424 void rfc_save_lcid_mcb(tRFC_MCB* p_mcb, uint16_t lcid) { in rfc_save_lcid_mcb()
Dport_rfc.cc62 tRFC_MCB* p_mcb = rfc_alloc_multiplexer_channel(p_port->bd_addr, true); in port_open_continue()
105 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_control()
123 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_par_neg()
142 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_close()
187 void PORT_StartCnf(tRFC_MCB* p_mcb, uint16_t result) { in PORT_StartCnf()
244 void PORT_StartInd(tRFC_MCB* p_mcb) { in PORT_StartInd()
272 void PORT_ParNegInd(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu, uint8_t cl, in PORT_ParNegInd()
361 void PORT_ParNegCnf(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu, uint8_t cl, in PORT_ParNegCnf()
421 void PORT_DlcEstablishInd(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu) { in PORT_DlcEstablishInd()
468 void PORT_DlcEstablishCnf(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu, in PORT_DlcEstablishCnf()
[all …]
Dport_int.h111 } tRFC_MCB; typedef
133 tRFC_MCB* p_mcb;
212 tRFC_MCB rfc_mcb[MAX_BD_CONNECTIONS]; /* RFCOMM bd_connections pool */
222 extern tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci);
223 extern tRFC_MCB* port_find_mcb(const RawAddress& bd_addr);
Drfc_ts_frames.cc42 void rfc_send_sabme(tRFC_MCB* p_mcb, uint8_t dlci) { in rfc_send_sabme()
70 void rfc_send_ua(tRFC_MCB* p_mcb, uint8_t dlci) { in rfc_send_ua()
97 void rfc_send_dm(tRFC_MCB* p_mcb, uint8_t dlci, bool pf) { in rfc_send_dm()
124 void rfc_send_disc(tRFC_MCB* p_mcb, uint8_t dlci) { in rfc_send_disc()
151 void rfc_send_buf_uih(tRFC_MCB* p_mcb, uint8_t dlci, BT_HDR* p_buf) { in rfc_send_buf_uih()
208 void rfc_send_pn(tRFC_MCB* p_mcb, uint8_t dlci, bool is_command, uint16_t mtu, in rfc_send_pn()
251 void rfc_send_fcon(tRFC_MCB* p_mcb, bool is_command) { in rfc_send_fcon()
274 void rfc_send_fcoff(tRFC_MCB* p_mcb, bool is_command) { in rfc_send_fcoff()
297 void rfc_send_msc(tRFC_MCB* p_mcb, uint8_t dlci, bool is_command, in rfc_send_msc()
344 void rfc_send_rls(tRFC_MCB* p_mcb, uint8_t dlci, bool is_command, in rfc_send_rls()
[all …]
Drfc_port_fsm.cc572 void rfc_process_pn(tRFC_MCB* p_mcb, bool is_command, MX_FRAME* p_frame) { in rfc_process_pn()
617 void rfc_process_rpn(tRFC_MCB* p_mcb, bool is_command, bool is_request, in rfc_process_rpn()
733 void rfc_process_msc(tRFC_MCB* p_mcb, bool is_command, MX_FRAME* p_frame) { in rfc_process_msc()
794 void rfc_process_rls(tRFC_MCB* p_mcb, bool is_command, MX_FRAME* p_frame) { in rfc_process_rls()
819 void rfc_process_nsc(UNUSED_ATTR tRFC_MCB* p_mcb, in rfc_process_nsc()
830 void rfc_process_test_rsp(UNUSED_ATTR tRFC_MCB* p_mcb, BT_HDR* p_buf) { in rfc_process_test_rsp()
842 void rfc_process_fcon(tRFC_MCB* p_mcb, bool is_command) { in rfc_process_fcon()
860 void rfc_process_fcoff(tRFC_MCB* p_mcb, bool is_command) { in rfc_process_fcoff()
877 void rfc_process_l2cap_congestion(tRFC_MCB* p_mcb, bool is_congested) { in rfc_process_l2cap_congestion()
Dport_utils.cc282 tRFC_MCB* port_find_mcb(const RawAddress& bd_addr) { in port_find_mcb()
283 for (tRFC_MCB& mcb : rfc_cb.port.rfc_mcb) { in port_find_mcb()
307 tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci) { in port_find_mcb_dlci_port()
Dport_api.cc133 tRFC_MCB* p_mcb = port_find_mcb(bd_addr); in RFCOMM_CreateConnection()