Searched refs:cfg_len (Results 1 – 2 of 2) sorted by relevance
469 uint8_t cfg_code, cfg_len; in process_l2cap_cmd() local472 STREAM_TO_UINT8(cfg_len, p); in process_l2cap_cmd()477 if (cfg_len != 2) { in process_l2cap_cmd()481 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()490 if (cfg_len != 2) { in process_l2cap_cmd()494 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()503 if (cfg_len != 2 + 5 * 4) { in process_l2cap_cmd()507 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()522 if (cfg_len != 3 + 3 * 2) { in process_l2cap_cmd()526 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()[all …]
539 uint16_t cfg_len = 0; in l2cu_send_peer_config_req() local549 cfg_len += L2CAP_CFG_MTU_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()551 cfg_len += L2CAP_CFG_FLUSH_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()553 cfg_len += L2CAP_CFG_QOS_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()555 cfg_len += L2CAP_CFG_FCR_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()557 cfg_len += L2CAP_CFG_FCS_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()559 cfg_len += L2CAP_CFG_EXT_FLOW_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_req()562 (uint16_t)(L2CAP_CONFIG_REQ_LEN + cfg_len), in l2cu_send_peer_config_req()640 uint16_t cfg_len = 0; in l2cu_send_peer_config_rsp() local645 cfg_len += L2CAP_CFG_MTU_OPTION_LEN + L2CAP_CFG_OPTION_OVERHEAD; in l2cu_send_peer_config_rsp()[all …]