Home | History | Annotate | Download | only in rfcomm

Lines Matching refs:p_port

91     tPORT *p_port = port_find_mcb_dlci_port(p_mcb, dlci);
92 if (p_port == NULL) {
98 rfc_port_sm_execute(p_port, RFC_EVENT_OPEN, NULL);
119 tPORT *p_port = port_find_mcb_dlci_port (p_mcb, dlci);
120 if (p_port == NULL) {
125 rfc_port_sm_execute(p_port, RFC_EVENT_ESTABLISH_RSP, &result);
146 tPORT *p_port = port_find_mcb_dlci_port(p_mcb, dlci);
147 if (p_port == NULL) {
155 p_port->error = PORT_PAR_NEG_FAILED;
168 k = (p_port->credit_rx_max < RFCOMM_K_MAX) ? p_port->credit_rx_max : RFCOMM_K_MAX;
169 p_port->credit_rx = k;
178 p_port->rfc.expected_rsp |= RFC_RSP_PN;
182 rfc_port_timer_start (p_port, RFC_T2_TIMEOUT) ;
223 tPORT *p_port = port_find_mcb_dlci_port(p_mcb, dlci);
224 if (p_port == NULL) {
232 p_port->rfc.expected_rsp |= RFC_RSP_RPN_REPLY;
234 p_port->rfc.expected_rsp |= RFC_RSP_RPN;
237 rfc_port_timer_start (p_port, RFC_T2_TIMEOUT) ;
270 tPORT *p_port = port_find_mcb_dlci_port(p_mcb, dlci);
271 if (p_port == NULL) {
277 if ((p_port->state != PORT_STATE_OPENED)
278 || (p_port->rfc.state != RFC_STATE_OPENED))
281 p_port->port_ctrl |= PORT_CTRL_REQ_SENT;
283 p_port->rfc.expected_rsp |= RFC_RSP_MSC;
286 rfc_port_timer_start (p_port, RFC_T2_TIMEOUT) ;
302 tPORT *p_port = port_find_mcb_dlci_port(p_mcb, dlci);
303 if (p_port == NULL) {
309 if ((p_port->state != PORT_STATE_OPENED)
310 || (p_port->rfc.state != RFC_STATE_OPENED))
313 p_port->local_ctrl.fc = !enable;
315 p_port->rfc.expected_rsp |= RFC_RSP_MSC;
317 rfc_send_msc (p_mcb, dlci, TRUE, &p_port->local_ctrl);
318 rfc_port_timer_start (p_port, RFC_T2_TIMEOUT) ;
333 tPORT *p_port = port_find_mcb_dlci_port(p_mcb, dlci);
334 if (p_port == NULL) {
340 if ((p_port->state != PORT_STATE_OPENED)
341 || (p_port->rfc.state != RFC_STATE_OPENED))
344 p_port->rfc.expected_rsp |= RFC_RSP_RLS;
347 rfc_port_timer_start (p_port, RFC_T2_TIMEOUT);