Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/l2cap/
Dl2c_utils.c659 UINT16 cfg_len = 0; in l2cu_send_peer_config_req() local
669 cfg_len += L2CAP_CFG_MTU_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
672 cfg_len += L2CAP_CFG_FLUSH_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
675 cfg_len += L2CAP_CFG_QOS_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
678 cfg_len += L2CAP_CFG_FCR_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
681 cfg_len += L2CAP_CFG_FCS_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
684 cfg_len += L2CAP_CFG_EXT_FLOW_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
687 if ((p_buf = l2cu_build_header (p_ccb->p_lcb, (UINT16) (L2CAP_CONFIG_REQ_LEN + cfg_len), in l2cu_send_peer_config_req()
765 UINT16 cfg_len = 0; in l2cu_send_peer_config_rsp() local
770 cfg_len += L2CAP_CFG_MTU_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_rsp()
[all …]
Dl2c_main.c339 UINT8 cmd_code, cfg_code, cfg_len, id; in process_l2cap_cmd() local
508 STREAM_TO_UINT8 (cfg_len, p); in process_l2cap_cmd()
559 if ((cfg_len + L2CAP_CFG_OPTION_OVERHEAD) <= cmd_len) { in process_l2cap_cmd()
560 p += cfg_len; in process_l2cap_cmd()
562 cfg_rej_len += cfg_len + L2CAP_CFG_OPTION_OVERHEAD; in process_l2cap_cmd()
599 STREAM_TO_UINT8 (cfg_len, p); in process_l2cap_cmd()