Searched refs:cfg_len (Results 1 – 2 of 2) sorted by relevance
488 uint8_t cfg_code, cfg_len; in process_l2cap_cmd() local494 STREAM_TO_UINT8(cfg_len, p); in process_l2cap_cmd()499 if (cfg_len != 2) { in process_l2cap_cmd()503 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()512 if (cfg_len != 2) { in process_l2cap_cmd()516 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()525 if (cfg_len != 2 + 5 * 4) { in process_l2cap_cmd()529 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()544 if (cfg_len != 3 + 3 * 2) { in process_l2cap_cmd()548 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()[all …]
565 uint16_t cfg_len = 0; in l2cu_send_peer_config_req() local575 cfg_len += L2CAP_CFG_MTU_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()577 cfg_len += L2CAP_CFG_FLUSH_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()579 cfg_len += L2CAP_CFG_QOS_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()581 cfg_len += L2CAP_CFG_FCR_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()583 cfg_len += L2CAP_CFG_FCS_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()585 cfg_len += L2CAP_CFG_EXT_FLOW_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()588 (uint16_t)(L2CAP_CONFIG_REQ_LEN + cfg_len), in l2cu_send_peer_config_req()666 uint16_t cfg_len = 0; in l2cu_send_peer_config_rsp() local671 cfg_len += L2CAP_CFG_MTU_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_rsp()[all …]