/system/bt/stack/rfcomm/ |
D | rfc_int.h | 47 extern void RFCOMM_StartReq(tRFC_MCB* p_mcb); 48 extern void RFCOMM_StartRsp(tRFC_MCB* p_mcb, uint16_t result); 50 extern void RFCOMM_DlcEstablishReq(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu); 51 extern void RFCOMM_DlcEstablishRsp(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu, 54 extern void RFCOMM_DataReq(tRFC_MCB* p_mcb, uint8_t dlci, BT_HDR* p_buf); 56 extern void RFCOMM_DlcReleaseReq(tRFC_MCB* p_mcb, uint8_t dlci); 58 extern void RFCOMM_ParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci, 60 extern void RFCOMM_ParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci, 64 extern void RFCOMM_FlowReq(tRFC_MCB* p_mcb, uint8_t dlci, bool state); 66 extern void RFCOMM_PortParameterNegotiationRequest(tRFC_MCB* p_mcb, [all …]
|
D | rfc_port_if.cc | 39 std::unordered_map<uint16_t /* sci */, tRFC_MCB*> rfc_lcid_mcb; 51 void RFCOMM_StartReq(tRFC_MCB* p_mcb) { in RFCOMM_StartReq() 64 void RFCOMM_StartRsp(tRFC_MCB* p_mcb, uint16_t result) { in RFCOMM_StartRsp() 79 void RFCOMM_DlcEstablishReq(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_DlcEstablishReq() 103 void RFCOMM_DlcEstablishRsp(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_DlcEstablishRsp() 129 void RFCOMM_ParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_ParameterNegotiationRequest() 178 void RFCOMM_ParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_ParameterNegotiationResponse() 197 void RFCOMM_PortParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_PortParameterNegotiationRequest() 228 void RFCOMM_PortParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_PortParameterNegotiationResponse() 244 void RFCOMM_ControlReq(tRFC_MCB* p_mcb, uint8_t dlci, tPORT_CTRL* p_pars) { in RFCOMM_ControlReq() [all …]
|
D | rfc_mx_fsm.cc | 45 static void rfc_mx_sm_state_idle(tRFC_MCB* p_mcb, uint16_t event, void* p_data); 46 static void rfc_mx_sm_state_wait_conn_cnf(tRFC_MCB* p_mcb, uint16_t event, 48 static void rfc_mx_sm_state_configure(tRFC_MCB* p_mcb, uint16_t event, 50 static void rfc_mx_sm_sabme_wait_ua(tRFC_MCB* p_mcb, uint16_t event, 52 static void rfc_mx_sm_state_wait_sabme(tRFC_MCB* p_mcb, uint16_t event, 54 static void rfc_mx_sm_state_connected(tRFC_MCB* p_mcb, uint16_t event, 56 static void rfc_mx_sm_state_disc_wait_ua(tRFC_MCB* p_mcb, uint16_t event, 59 static void rfc_mx_send_config_req(tRFC_MCB* p_mcb); 60 static void rfc_mx_conf_ind(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg); 61 static void rfc_mx_conf_cnf(tRFC_MCB* p_mcb, uint16_t result); [all …]
|
D | rfc_utils.cc | 132 tRFC_MCB* rfc_alloc_multiplexer_channel(const RawAddress& bd_addr, in rfc_alloc_multiplexer_channel() 135 tRFC_MCB* p_mcb = NULL; in rfc_alloc_multiplexer_channel() 170 memset(p_mcb, 0, sizeof(tRFC_MCB)); in rfc_alloc_multiplexer_channel() 198 void rfc_release_multiplexer_channel(tRFC_MCB* p_mcb) { in rfc_release_multiplexer_channel() 213 memset(p_mcb, 0, sizeof(tRFC_MCB)); in rfc_release_multiplexer_channel() 224 void rfc_timer_start(tRFC_MCB* p_mcb, uint16_t timeout) { in rfc_timer_start() 239 void rfc_timer_stop(tRFC_MCB* p_mcb) { in rfc_timer_stop() 283 void rfc_check_mcb_active(tRFC_MCB* p_mcb) { in rfc_check_mcb_active() 308 tRFC_MCB* p_mcb = (tRFC_MCB*)data; in rfcomm_mcb_timer_timeout() 349 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in rfc_port_closed() [all …]
|
D | rfc_l2cap_if.cc | 90 tRFC_MCB* p_mcb = rfc_alloc_multiplexer_channel(bd_addr, false); in RFCOMM_ConnectInd() 140 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_ConnectCnf() 180 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_ConfigInd() 211 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_ConfigCnf() 232 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_DisconnectInd() 251 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_BufDataInd() 349 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in RFCOMM_CongestionStatusInd() 367 tRFC_MCB* rfc_find_lcid_mcb(uint16_t lcid) { in rfc_find_lcid_mcb() 368 tRFC_MCB* p_mcb = rfc_lcid_mcb[lcid]; in rfc_find_lcid_mcb() 386 void rfc_save_lcid_mcb(tRFC_MCB* p_mcb, uint16_t lcid) { in rfc_save_lcid_mcb()
|
D | port_int.h | 102 } tRFC_MCB; typedef 118 tRFC_MCB* p_mcb; 197 tRFC_MCB rfc_mcb[MAX_BD_CONNECTIONS]; /* RFCOMM bd_connections pool */ 207 extern tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci); 208 extern tRFC_MCB* port_find_mcb(const RawAddress& bd_addr);
|
D | port_rfc.cc | 61 tRFC_MCB* p_mcb = rfc_alloc_multiplexer_channel(p_port->bd_addr, true); in port_open_continue() 104 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_control() 122 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_par_neg() 141 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_close() 186 void PORT_StartCnf(tRFC_MCB* p_mcb, uint16_t result) { in PORT_StartCnf() 243 void PORT_StartInd(tRFC_MCB* p_mcb) { in PORT_StartInd() 271 void PORT_ParNegInd(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu, uint8_t cl, in PORT_ParNegInd() 360 void PORT_ParNegCnf(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu, uint8_t cl, in PORT_ParNegCnf() 420 void PORT_DlcEstablishInd(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu) { in PORT_DlcEstablishInd() 467 void PORT_DlcEstablishCnf(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu, in PORT_DlcEstablishCnf() [all …]
|
D | rfc_ts_frames.cc | 43 void rfc_send_sabme(tRFC_MCB* p_mcb, uint8_t dlci) { in rfc_send_sabme() 71 void rfc_send_ua(tRFC_MCB* p_mcb, uint8_t dlci) { in rfc_send_ua() 98 void rfc_send_dm(tRFC_MCB* p_mcb, uint8_t dlci, bool pf) { in rfc_send_dm() 125 void rfc_send_disc(tRFC_MCB* p_mcb, uint8_t dlci) { in rfc_send_disc() 152 void rfc_send_buf_uih(tRFC_MCB* p_mcb, uint8_t dlci, BT_HDR* p_buf) { in rfc_send_buf_uih() 209 void rfc_send_pn(tRFC_MCB* p_mcb, uint8_t dlci, bool is_command, uint16_t mtu, in rfc_send_pn() 252 void rfc_send_fcon(tRFC_MCB* p_mcb, bool is_command) { in rfc_send_fcon() 275 void rfc_send_fcoff(tRFC_MCB* p_mcb, bool is_command) { in rfc_send_fcoff() 298 void rfc_send_msc(tRFC_MCB* p_mcb, uint8_t dlci, bool is_command, in rfc_send_msc() 345 void rfc_send_rls(tRFC_MCB* p_mcb, uint8_t dlci, bool is_command, in rfc_send_rls() [all …]
|
D | rfc_port_fsm.cc | 582 void rfc_process_pn(tRFC_MCB* p_mcb, bool is_command, MX_FRAME* p_frame) { in rfc_process_pn() 627 void rfc_process_rpn(tRFC_MCB* p_mcb, bool is_command, bool is_request, in rfc_process_rpn() 743 void rfc_process_msc(tRFC_MCB* p_mcb, bool is_command, MX_FRAME* p_frame) { in rfc_process_msc() 804 void rfc_process_rls(tRFC_MCB* p_mcb, bool is_command, MX_FRAME* p_frame) { in rfc_process_rls() 829 void rfc_process_nsc(UNUSED_ATTR tRFC_MCB* p_mcb, in rfc_process_nsc() 840 void rfc_process_test_rsp(UNUSED_ATTR tRFC_MCB* p_mcb, BT_HDR* p_buf) { in rfc_process_test_rsp() 852 void rfc_process_fcon(tRFC_MCB* p_mcb, bool is_command) { in rfc_process_fcon() 870 void rfc_process_fcoff(tRFC_MCB* p_mcb, bool is_command) { in rfc_process_fcoff() 887 void rfc_process_l2cap_congestion(tRFC_MCB* p_mcb, bool is_congested) { in rfc_process_l2cap_congestion()
|
D | port_utils.cc | 284 tRFC_MCB* port_find_mcb(const RawAddress& bd_addr) { in port_find_mcb() 285 for (tRFC_MCB& mcb : rfc_cb.port.rfc_mcb) { in port_find_mcb() 309 tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci) { in port_find_mcb_dlci_port()
|
D | port_api.cc | 140 tRFC_MCB* p_mcb = port_find_mcb(bd_addr); in RFCOMM_CreateConnection()
|