Lines Matching refs:rpn
487 /* Total length is sizeof RPN data + mx header 2 */
856 RFCOMM_TRACE_ERROR0 ("Bad RPN frame");
860 p_rx_frame->u.rpn.is_request = (length == RFCOMM_MX_RPN_REQ_LEN);
862 if (!p_rx_frame->u.rpn.is_request)
864 p_rx_frame->u.rpn.baud_rate = *p_data++;
865 p_rx_frame->u.rpn.byte_size = (*p_data >> RFCOMM_RPN_BITS_SHIFT) & RFCOMM_RPN_BITS_MASK;
866 p_rx_frame->u.rpn.stop_bits = (*p_data >> RFCOMM_RPN_STOP_BITS_SHIFT) & RFCOMM_RPN_STOP_BITS_MASK;
867 p_rx_frame->u.rpn.parity = (*p_data >> RFCOMM_RPN_PARITY_SHIFT) & RFCOMM_RPN_PARITY_MASK;
868 p_rx_frame->u.rpn.parity_type = (*p_data++ >> RFCOMM_RPN_PARITY_TYPE_SHIFT) & RFCOMM_RPN_PARITY_TYPE_MASK;
870 p_rx_frame->u.rpn.fc_type = *p_data++ & RFCOMM_FC_MASK;
871 p_rx_frame->u.rpn.xon_char = *p_data++;
872 p_rx_frame->u.rpn.xoff_char = *p_data++;
873 p_rx_frame->u.rpn.param_mask = (*p_data + (*(p_data + 1) << 8)) & RFCOMM_RPN_PM_MASK;
877 rfc_process_rpn (p_mcb, is_command, p_rx_frame->u.rpn.is_request, p_rx_frame);
893 RFCOMM_TRACE_ERROR0 ("Bad RPN frame");