Searched refs:fcs (Results 1 - 11 of 11) sorted by relevance

/system/bt/stack/rfcomm/
H A Drfc_utils.c84 UINT8 fcs = 0xFF; local
88 fcs = rfc_crctable[fcs ^ *p++];
92 return (0xFF - fcs);
110 UINT8 fcs = 0xFF; local
114 fcs = rfc_crctable[fcs ^ *p++];
118 fcs = rfc_crctable[fcs ^ received_fcs];
121 return (fcs
[all...]
H A Drfc_ts_frames.c576 UINT8 ead, eal, fcs; local
616 fcs = *(p_data + len);
627 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs))
638 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs))
649 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs))
660 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs))
674 else if (!rfc_check_fcs (2, p_start, fcs))
/system/bt/stack/mcap/
H A Dmca_main.c259 tMCA_FCS_OPT fcs = MCA_FCS_NONE; local
271 fcs = p_dcb->p_chnl_cfg->fcs;
279 if (fcs & MCA_FCS_PRESNT_MASK)
282 p_cfg->fcs = (fcs & MCA_FCS_USE_MASK);
/system/bt/bta/hl/
H A Dbta_hl_utils.c2550 mdl_cfg.fcs = l2cap_cfg.fcs;
2569 APPL_TRACE_DEBUG("Saved. L2cap cfg mdl_id=%d mtu=%d fcs=%d dch_mode=%d",
2570 mdl_cfg.mdl_id, mdl_cfg.mtu, mdl_cfg.fcs, mdl_cfg.dch_mode);
2627 p_dcb->chnl_cfg.fcs = BTA_HL_MCA_NO_FCS;
2633 p_dcb->chnl_cfg.fcs = BTA_HL_DEFAULT_SOURCE_FCS;
2638 p_dcb->chnl_cfg.fcs = BTA_HL_MCA_USE_FCS;
2643 APPL_TRACE_DEBUG("Use FCS =%s mtu=%d", ((p_dcb->chnl_cfg.fcs & 1)?"YES":"NO"),
2691 p_cfg->fcs = BTA_HL_MCA_NO_FCS;
2694 p_cfg->fcs |
[all...]
H A Dbta_hl_int.h138 UINT8 fcs; /* '0' No FCS, otherwise '1' */ member in struct:__anon227
/system/bt/stack/l2cap/
H A Dl2c_fcr.c418 UINT16 fcs; local
468 fcs = l2c_fcr_tx_get_fcs(p_buf);
473 UINT16_TO_STREAM (p, fcs);
519 UINT16 fcs; local
557 fcs = l2c_fcr_tx_get_fcs (p_buf);
559 UINT16_TO_STREAM (p, fcs);
626 UINT16 fcs; local
697 STREAM_TO_UINT16 (fcs, p);
700 if (l2c_fcr_rx_get_fcs(p_buf) != fcs)
1286 UINT16 fcs; local
[all...]
H A Dl2c_main.c545 STREAM_TO_UINT8 (cfg_info.fcs, p);
647 STREAM_TO_UINT8 (cfg_info.fcs, p);
H A Dl2c_utils.c665 UINT8_TO_STREAM (p, p_cfg->fcs);
2118 if (p_cfg->fcs_present && p_cfg->fcs == L2CAP_CFG_FCS_BYPASS)
/system/bt/stack/include/
H A Dmca_api.h109 #define MCA_FCS_BYPASS 0x10 /* fcs_present=TRUE, fcs=L2CAP_CFG_FCS_BYPASS */
110 #define MCA_FCS_USE 0x11 /* fcs_present=TRUE, fcs=L2CAP_CFG_FCS_USE */
112 #define MCA_FCS_USE_MASK 0x01 /* mask for fcs */
122 tMCA_FCS_OPT fcs; member in struct:__anon1143
H A Dl2c_api.h163 UINT8 fcs; /* '0' if desire is to bypass FCS, otherwise '1' */ member in struct:__anon1135
/system/bt/bta/include/
H A Dbta_hl_api.h278 UINT8 fcs; member in struct:__anon426

Completed in 202 milliseconds