Lines Matching refs:dlci
77 void RFCOMM_DlcEstablishReq(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_DlcEstablishReq() argument
80 PORT_DlcEstablishCnf(p_mcb, dlci, 0, RFCOMM_ERROR); in RFCOMM_DlcEstablishReq()
84 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_DlcEstablishReq()
86 RFCOMM_TRACE_WARNING("%s Unable to find DLCI port dlci:%d", __func__, dlci); in RFCOMM_DlcEstablishReq()
101 void RFCOMM_DlcEstablishRsp(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_DlcEstablishRsp() argument
104 PORT_DlcReleaseInd(p_mcb, dlci); in RFCOMM_DlcEstablishRsp()
108 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_DlcEstablishRsp()
110 RFCOMM_TRACE_WARNING("%s Unable to find DLCI port dlci:%d", __func__, dlci); in RFCOMM_DlcEstablishRsp()
127 void RFCOMM_ParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_ParameterNegotiationRequest() argument
133 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_ParameterNegotiationRequest()
135 RFCOMM_TRACE_WARNING("%s Unable to find DLCI port dlci:%d", __func__, dlci); in RFCOMM_ParameterNegotiationRequest()
163 rfc_send_pn(p_mcb, dlci, true, mtu, cl, k); in RFCOMM_ParameterNegotiationRequest()
176 void RFCOMM_ParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_ParameterNegotiationResponse() argument
181 rfc_send_pn(p_mcb, dlci, false, mtu, cl, k); in RFCOMM_ParameterNegotiationResponse()
195 void RFCOMM_PortParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_PortParameterNegotiationRequest() argument
198 PORT_PortNegCnf(p_mcb, dlci, nullptr, RFCOMM_ERROR); in RFCOMM_PortParameterNegotiationRequest()
202 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_PortParameterNegotiationRequest()
204 RFCOMM_TRACE_WARNING("%s Unable to find DLCI port dlci:%d", __func__, dlci); in RFCOMM_PortParameterNegotiationRequest()
214 rfc_send_rpn(p_mcb, dlci, true, p_pars, RFCOMM_RPN_PM_MASK); in RFCOMM_PortParameterNegotiationRequest()
226 void RFCOMM_PortParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci, in RFCOMM_PortParameterNegotiationResponse() argument
231 rfc_send_rpn(p_mcb, dlci, false, p_pars, param_mask); in RFCOMM_PortParameterNegotiationResponse()
242 void RFCOMM_ControlReq(tRFC_MCB* p_mcb, uint8_t dlci, tPORT_CTRL* p_pars) { in RFCOMM_ControlReq() argument
243 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_ControlReq()
245 RFCOMM_TRACE_WARNING("%s Unable to find DLCI port dlci:%d", __func__, dlci); in RFCOMM_ControlReq()
257 rfc_send_msc(p_mcb, dlci, true, p_pars); in RFCOMM_ControlReq()
270 void RFCOMM_FlowReq(tRFC_MCB* p_mcb, uint8_t dlci, bool enable) { in RFCOMM_FlowReq() argument
271 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_FlowReq()
273 RFCOMM_TRACE_WARNING("%s Unable to find DLCI port dlci:%d", __func__, dlci); in RFCOMM_FlowReq()
285 rfc_send_msc(p_mcb, dlci, true, &p_port->local_ctrl); in RFCOMM_FlowReq()
297 void RFCOMM_LineStatusReq(tRFC_MCB* p_mcb, uint8_t dlci, uint8_t status) { in RFCOMM_LineStatusReq() argument
298 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_LineStatusReq()
300 RFCOMM_TRACE_WARNING("%s Unable to find DLCI port dlci:%d", __func__, dlci); in RFCOMM_LineStatusReq()
310 rfc_send_rls(p_mcb, dlci, true, status); in RFCOMM_LineStatusReq()
321 void RFCOMM_DlcReleaseReq(tRFC_MCB* p_mcb, uint8_t dlci) { in RFCOMM_DlcReleaseReq() argument
322 rfc_port_sm_execute(port_find_mcb_dlci_port(p_mcb, dlci), RFC_EVENT_CLOSE, in RFCOMM_DlcReleaseReq()
333 void RFCOMM_DataReq(tRFC_MCB* p_mcb, uint8_t dlci, BT_HDR* p_buf) { in RFCOMM_DataReq() argument
334 rfc_port_sm_execute(port_find_mcb_dlci_port(p_mcb, dlci), RFC_EVENT_DATA, in RFCOMM_DataReq()