Home
last modified time | relevance | path

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

/system/bt/stack/rfcomm/
Drfc_utils.cc89 uint8_t fcs = 0xFF; in rfc_calc_fcs() local
92 fcs = rfc_crctable[fcs ^ *p++]; in rfc_calc_fcs()
96 return (0xFF - fcs); in rfc_calc_fcs()
112 uint8_t fcs = 0xFF; in rfc_check_fcs() local
115 fcs = rfc_crctable[fcs ^ *p++]; in rfc_check_fcs()
119 fcs = rfc_crctable[fcs ^ received_fcs]; in rfc_check_fcs()
122 return (fcs == 0xCF); in rfc_check_fcs()
Drfc_ts_frames.cc509 uint8_t ead, eal, fcs; in rfc_parse_data() local
563 fcs = *(p_data + len); in rfc_parse_data()
573 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
582 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
591 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
600 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
610 } else if (!rfc_check_fcs(2, p_start, fcs)) { in rfc_parse_data()
/system/bt/stack/l2cap/
Dl2c_fcr.cc416 uint16_t fcs; in prepare_I_frame() local
460 fcs = l2c_fcr_tx_get_fcs(p_buf); in prepare_I_frame()
469 UINT16_TO_STREAM(p, fcs); in prepare_I_frame()
513 uint16_t fcs; in l2c_fcr_send_S_frame() local
547 fcs = l2c_fcr_tx_get_fcs(p_buf); in l2c_fcr_send_S_frame()
549 UINT16_TO_STREAM(p, fcs); in l2c_fcr_send_S_frame()
606 uint16_t fcs; in l2c_fcr_proc_pdu() local
676 STREAM_TO_UINT16(fcs, p); in l2c_fcr_proc_pdu()
679 if (l2c_fcr_rx_get_fcs(p_buf) != fcs) { in l2c_fcr_proc_pdu()
1362 uint16_t fcs; in process_stream_frame() local
[all …]
Dl2c_main.cc547 STREAM_TO_UINT8(cfg_info.fcs, p); in process_l2cap_cmd()
661 STREAM_TO_UINT8(cfg_info.fcs, p); in process_l2cap_cmd()
Dl2c_utils.cc611 UINT8_TO_STREAM(p, p_cfg->fcs); in l2cu_send_peer_config_req()
2030 if (p_cfg->fcs_present && p_cfg->fcs == L2CAP_CFG_FCS_BYPASS) in l2cu_process_our_cfg_req()
/system/bt/stack/include/
Dl2c_api.h168 uint8_t fcs; /* '0' if desire is to bypass FCS, otherwise '1' */ member
/system/bt/bta/hl/
Dbta_hl_main.cc1228 (bool)(p_dcb->chnl_cfg.fcs & BTA_HL_MCA_FCS_USE_MASK); in bta_hl_api_dch_echo_test()