/external/bluetooth/bluedroid/stack/rfcomm/ |
D | rfc_int.h | 48 extern void RFCOMM_StartReq (tRFC_MCB *p_mcb); 49 extern void RFCOMM_StartRsp (tRFC_MCB *p_mcb, UINT16 result); 51 extern void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu); 52 extern void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result); 54 extern void RFCOMM_DataReq (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf); 56 extern void RFCOMM_DlcReleaseReq (tRFC_MCB *p_mcb, UINT8 dlci); 58 extern void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu); 59 extern void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k); 66 extern void RFCOMM_FlowReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT8 state); 68 extern void RFCOMM_PortNegReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars); [all …]
|
D | rfc_port_if.c | 50 void RFCOMM_StartReq (tRFC_MCB *p_mcb) in RFCOMM_StartReq() 65 void RFCOMM_StartRsp (tRFC_MCB *p_mcb, UINT16 result) in RFCOMM_StartRsp() 82 void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) in RFCOMM_DlcEstablishReq() 104 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) in RFCOMM_DlcEstablishRsp() 129 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) in RFCOMM_ParNegReq() 177 void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) in RFCOMM_ParNegRsp() 198 void RFCOMM_PortNegReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars) in RFCOMM_PortNegReq() 228 void RFCOMM_PortNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars, in RFCOMM_PortNegRsp() 246 void RFCOMM_ControlReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_CTRL *p_pars) in RFCOMM_ControlReq() 273 void RFCOMM_FlowReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT8 enable) in RFCOMM_FlowReq() [all …]
|
D | rfc_mx_fsm.c | 42 static void rfc_mx_sm_state_idle (tRFC_MCB *p_mcb, UINT16 event, void *p_data); 43 static void rfc_mx_sm_state_wait_conn_cnf (tRFC_MCB *p_mcb, UINT16 event, void *p_data); 44 static void rfc_mx_sm_state_configure (tRFC_MCB *p_mcb, UINT16 event, void *p_data); 45 static void rfc_mx_sm_sabme_wait_ua (tRFC_MCB *p_mcb, UINT16 event, void *p_data); 46 static void rfc_mx_sm_state_wait_sabme (tRFC_MCB *p_mcb, UINT16 event, void *p_data); 47 static void rfc_mx_sm_state_connected (tRFC_MCB *p_mcb, UINT16 event, void *p_data); 48 static void rfc_mx_sm_state_disc_wait_ua (tRFC_MCB *p_mcb, UINT16 event, void *p_data); 50 static void rfc_mx_send_config_req (tRFC_MCB *p_mcb); 51 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg); 52 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg); [all …]
|
D | rfc_utils.c | 132 tRFC_MCB *rfc_alloc_multiplexer_channel (BD_ADDR bd_addr, BOOLEAN is_initiator) in rfc_alloc_multiplexer_channel() 135 tRFC_MCB *p_mcb = NULL; in rfc_alloc_multiplexer_channel() 172 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() 208 memset (p_mcb, 0, sizeof (tRFC_MCB)); in rfc_release_multiplexer_channel() 220 void rfc_timer_start (tRFC_MCB *p_mcb, UINT16 timeout) in rfc_timer_start() 239 void rfc_timer_stop (tRFC_MCB *p_mcb) in rfc_timer_stop() 291 void rfc_check_mcb_active (tRFC_MCB *p_mcb) in rfc_check_mcb_active() 329 rfc_mx_sm_execute ((tRFC_MCB *)p_tle->param, RFC_EVENT_TIMEOUT, NULL); in rfcomm_process_timeout() 379 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; in rfc_port_closed() [all …]
|
D | rfc_l2cap_if.c | 89 tRFC_MCB *p_mcb = rfc_alloc_multiplexer_channel(bd_addr, FALSE); in RFCOMM_ConnectInd() 143 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_ConnectCnf() 215 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_ConfigInd() 238 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_ConfigCnf() 273 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_DisconnectInd() 302 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_BufDataInd() 388 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_CongestionStatusInd() 409 tRFC_MCB *rfc_find_lcid_mcb (UINT16 lcid) in rfc_find_lcid_mcb() 411 tRFC_MCB *p_mcb; in rfc_find_lcid_mcb() 440 void rfc_save_lcid_mcb (tRFC_MCB *p_mcb, UINT16 lcid) in rfc_save_lcid_mcb()
|
D | port_rfc.c | 56 tRFC_MCB *p_mcb; in port_open_continue() 109 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; in port_start_control() 130 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; in port_start_par_neg() 151 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; in port_start_close() 199 void PORT_StartCnf (tRFC_MCB *p_mcb, UINT16 result) in PORT_StartCnf() 261 void PORT_StartInd (tRFC_MCB *p_mcb) in PORT_StartInd() 293 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) in PORT_ParNegInd() 384 void PORT_ParNegCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) in PORT_ParNegCnf() 445 void PORT_DlcEstablishInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) in PORT_DlcEstablishInd() 497 void PORT_DlcEstablishCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) in PORT_DlcEstablishCnf() [all …]
|
D | port_int.h | 111 } tRFC_MCB; typedef 135 tRFC_MCB *p_mcb; 216 tRFC_MCB rfc_mcb[MAX_BD_CONNECTIONS]; /* RFCOMM bd_connections pool */ 230 extern tPORT *port_find_mcb_dlci_port (tRFC_MCB *p_mcb, UINT8 dlci); 231 extern tRFC_MCB *port_find_mcb (BD_ADDR bd_addr);
|
D | rfc_ts_frames.c | 39 void rfc_send_sabme (tRFC_MCB *p_mcb, UINT8 dlci) in rfc_send_sabme() 71 void rfc_send_ua (tRFC_MCB *p_mcb, UINT8 dlci) in rfc_send_ua() 103 void rfc_send_dm (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN pf) in rfc_send_dm() 135 void rfc_send_disc (tRFC_MCB *p_mcb, UINT8 dlci) in rfc_send_disc() 167 void rfc_send_buf_uih (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf) in rfc_send_buf_uih() 231 void rfc_send_pn (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, UINT16 mtu, UINT8 cl, UINT8 k) in rfc_send_pn() 276 void rfc_send_fcon (tRFC_MCB *p_mcb, BOOLEAN is_command) in rfc_send_fcon() 304 void rfc_send_fcoff (tRFC_MCB *p_mcb, BOOLEAN is_command) in rfc_send_fcoff() 332 void rfc_send_msc (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, in rfc_send_msc() 386 void rfc_send_rls (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, UINT8 status) in rfc_send_rls() [all …]
|
D | rfc_port_fsm.c | 534 void rfc_process_pn (tRFC_MCB *p_mcb, BOOLEAN is_command, MX_FRAME *p_frame) in rfc_process_pn() 577 void rfc_process_rpn (tRFC_MCB *p_mcb, BOOLEAN is_command, in rfc_process_rpn() 694 void rfc_process_msc (tRFC_MCB *p_mcb, BOOLEAN is_command, MX_FRAME *p_frame) in rfc_process_msc() 765 void rfc_process_rls (tRFC_MCB *p_mcb, BOOLEAN is_command, MX_FRAME *p_frame) in rfc_process_rls() 796 void rfc_process_nsc (tRFC_MCB *p_mcb, MX_FRAME *p_frame) in rfc_process_nsc() 809 void rfc_process_test_rsp (tRFC_MCB *p_mcb, BT_HDR *p_buf) in rfc_process_test_rsp() 823 void rfc_process_fcon (tRFC_MCB *p_mcb, BOOLEAN is_command) in rfc_process_fcon() 844 void rfc_process_fcoff (tRFC_MCB *p_mcb, BOOLEAN is_command) in rfc_process_fcoff() 865 void rfc_process_l2cap_congestion (tRFC_MCB *p_mcb, BOOLEAN is_congested) in rfc_process_l2cap_congestion()
|
D | port_utils.c | 282 tRFC_MCB *port_find_mcb (BD_ADDR bd_addr) in port_find_mcb() 317 tPORT *port_find_mcb_dlci_port (tRFC_MCB *p_mcb, UINT8 dlci) in port_find_mcb_dlci_port()
|
D | port_api.c | 84 tRFC_MCB *p_mcb = port_find_mcb (bd_addr); in RFCOMM_CreateConnection() 508 tRFC_MCB *p_mcb = NULL; in PORT_IsOpening()
|