Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_utils.c599 UINT16 cfg_len=0; in l2cu_send_peer_config_req() local
609 cfg_len += L2CAP_CFG_MTU_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
611 cfg_len += L2CAP_CFG_FLUSH_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
613 cfg_len += L2CAP_CFG_QOS_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
615 cfg_len += L2CAP_CFG_FCR_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
617 cfg_len += L2CAP_CFG_FCS_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
619 cfg_len += L2CAP_CFG_EXT_FLOW_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()
621 if ((p_buf = l2cu_build_header (p_ccb->p_lcb, (UINT16) (L2CAP_CONFIG_REQ_LEN + cfg_len), in l2cu_send_peer_config_req()
706 UINT16 cfg_len = 0; in l2cu_send_peer_config_rsp() local
711 cfg_len += L2CAP_CFG_MTU_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_rsp()
[all …]
Dl2c_main.c274 UINT8 cmd_code, cfg_code, cfg_len, id; in process_l2cap_cmd() local
458 STREAM_TO_UINT8 (cfg_len, p); in process_l2cap_cmd()
510 if ((cfg_len + L2CAP_CFG_OPTION_OVERHEAD) <= cmd_len) in process_l2cap_cmd()
512 p += cfg_len; in process_l2cap_cmd()
515 cfg_rej_len += cfg_len + L2CAP_CFG_OPTION_OVERHEAD; in process_l2cap_cmd()
560 STREAM_TO_UINT8 (cfg_len, p); in process_l2cap_cmd()