Searched refs:fcs (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/ |
D | rfc_utils.c | 86 UINT8 fcs = 0xFF; in rfc_calc_fcs() local 89 fcs = rfc_crctable[fcs ^ *p++]; in rfc_calc_fcs() 93 return (0xFF - fcs); in rfc_calc_fcs() 111 UINT8 fcs = 0xFF; in rfc_check_fcs() local 114 fcs = rfc_crctable[fcs ^ *p++]; in rfc_check_fcs() 118 fcs = rfc_crctable[fcs ^ received_fcs]; in rfc_check_fcs() 121 return (fcs == 0xCF); in rfc_check_fcs()
|
D | rfc_ts_frames.c | 633 UINT8 ead, eal, fcs; in rfc_parse_data() local 669 fcs = *(p_data + len); in rfc_parse_data() 679 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data() 689 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data() 699 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data() 709 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data() 720 } else if (!rfc_check_fcs (2, p_start, fcs)) { in rfc_parse_data()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | crypto.c | 768 uint8_t fcs = 0xff; in bt_mesh_fcs_calc() local 771 fcs = crc_table[fcs ^ *data++]; in bt_mesh_fcs_calc() 774 BT_DBG("fcs 0x%02x", 0xff - fcs); in bt_mesh_fcs_calc() 776 return 0xff - fcs; in bt_mesh_fcs_calc() 783 uint8_t fcs = 0xff; in bt_mesh_fcs_check() local 786 fcs = crc_table[fcs ^ *data++]; in bt_mesh_fcs_check() 789 return crc_table[fcs ^ received_fcs] == 0xcf; in bt_mesh_fcs_check()
|
D | prov.c | 141 uint8_t fcs; /* Expected FCS value */ member 1438 if (!bt_mesh_fcs_check(link.rx.buf, link.rx.fcs)) { in prov_msg_recv() 1560 link.rx.fcs = net_buf_simple_pull_u8(buf); in gen_prov_start() 1563 START_LAST_SEG(rx->gpc), link.rx.buf->len, link.rx.fcs); in gen_prov_start()
|
D | provisioner_prov.c | 171 uint8_t fcs; /* Expected FCS value */ member 2870 if (!bt_mesh_fcs_check(link[idx].rx.buf, link[idx].rx.fcs)) { 2998 link[idx].rx.fcs = net_buf_simple_pull_u8(buf); 3001 START_LAST_SEG(rx->gpc), link[idx].rx.buf->len, link[idx].rx.fcs);
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/ |
D | l2c_fcr.c | 413 UINT16 fcs; in prepare_I_frame() local 460 fcs = l2c_fcr_tx_get_fcs(p_buf); in prepare_I_frame() 465 UINT16_TO_STREAM (p, fcs); in prepare_I_frame() 509 UINT16 fcs; in l2c_fcr_send_S_frame() local 545 fcs = l2c_fcr_tx_get_fcs (p_buf); in l2c_fcr_send_S_frame() 547 UINT16_TO_STREAM (p, fcs); in l2c_fcr_send_S_frame() 608 UINT16 fcs; in l2c_fcr_proc_pdu() local 673 STREAM_TO_UINT16 (fcs, p); in l2c_fcr_proc_pdu() 676 if (l2c_fcr_rx_get_fcs(p_buf) != fcs) { in l2c_fcr_proc_pdu() 1221 UINT16 fcs; in process_stream_frame() local [all …]
|
D | l2c_main.c | 572 STREAM_TO_UINT8 (cfg_info.fcs, p); in process_l2cap_cmd() 663 STREAM_TO_UINT8 (cfg_info.fcs, p); in process_l2cap_cmd()
|
D | l2c_utils.c | 732 UINT8_TO_STREAM (p, p_cfg->fcs); in l2cu_send_peer_config_req() 2160 if (p_cfg->fcs_present && p_cfg->fcs == L2CAP_CFG_FCS_BYPASS) { in l2cu_process_our_cfg_req()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | l2c_api.h | 165 UINT8 fcs; /* '0' if desire is to bypass FCS, otherwise '1' */ member
|