Home
last modified time | relevance | path

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

/system/bt/stack/rfcomm/
Drfc_ts_frames.c668 MX_FRAME *p_rx_frame = &rfc_cb.rfc.rx_frame; in rfc_process_mx_message() local
673 p_rx_frame->ea = *p_data & RFCOMM_EA; in rfc_process_mx_message()
674 p_rx_frame->cr = (*p_data & RFCOMM_CR_MASK) >> RFCOMM_SHIFT_CR; in rfc_process_mx_message()
675 p_rx_frame->type = *p_data++ & ~(RFCOMM_CR_MASK | RFCOMM_EA_MASK); in rfc_process_mx_message()
677 if (!p_rx_frame->ea || !length) in rfc_process_mx_message()
679 RFCOMM_TRACE_ERROR ("Illegal MX Frame ea:%d len:%d", p_rx_frame->ea, length); in rfc_process_mx_message()
686 is_command = p_rx_frame->cr; in rfc_process_mx_message()
706 switch (p_rx_frame->type) in rfc_process_mx_message()
712 p_rx_frame->dlci = *p_data++ & RFCOMM_PN_DLCI_MASK; in rfc_process_mx_message()
713 p_rx_frame->u.pn.frame_type = *p_data & RFCOMM_PN_FRAME_TYPE_MASK; in rfc_process_mx_message()
[all …]