Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp657018lqi; Thu, 7 Mar 2024 07:56:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX3+9khToVthxHT1SDTMPQ5FLfUw0ez8mTTh+hEyAXG/jksWRejUsD38WVh5jmrFRl0U8fwLUycZ6Q+IZ7CUeUIO8kwsyi0gN0teDXFPA== X-Google-Smtp-Source: AGHT+IE1X/57FQmzgkleeRAzH4noxCl1ifDx/RQV0DctCKiuCCMfm8lr1VU1Y1OMuIe2CZLe+4zJ X-Received: by 2002:a05:6a21:9212:b0:1a0:e89c:38e4 with SMTP id tl18-20020a056a21921200b001a0e89c38e4mr8637068pzb.48.1709826974177; Thu, 07 Mar 2024 07:56:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709826974; cv=pass; d=google.com; s=arc-20160816; b=edOcaTbJ2yiExVvfVhiv5D3WO/AJ8oO+PIFW3renw7Zvp1GXlwWk3S+kEjS95cr+DB l3NJpMCmUBV5Y7QAkYISWyBL+bQjJMqRzsY2yXGYV7uxwwT7WlzH0qxe+t0+oSWmmip9 MmYPM3/75L/MAfRWrCU5pEBGZJKz1a8m39Z7+GOiUTSOfUgQNjmRHNJntl+LShKX8/ks Oy9UQZNnaP4nhAiGW17MGVQ8Pi0xd2ub484Gy28ngK6IXC0S1qDRBrK8maYjP/yPENC6 oLLCBZGm4llNzLopYFTWFAV414kAeU5OEGOi2Gvful814O8NcTl5D36EtfdSeAFs3g2R 6F4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:dkim-signature; bh=AS5H+X39rT4FtGFjCh14aIHpfAbyKW5h/PUqC1kzI2g=; fh=PtUkoN/+v44m91maJrMpMjTWasXqGdTKWVm0ltWP9DQ=; b=s9wPbTB+koIERrtPbqYK3Q+C+A8ViBLoY/nCWcr1kyy9qAlhQnGCkFWE/VqrjpmZHY 7JYZ56hevpAIsrNpsQq9Eb2wlW4ZhjttNCRX6000QUYvF1r30E/gJlFaBnQZY0MPSdOS M2AqfpCmRqjfHgZF+AnC2c1sdFaK06Qz8OA/1TRfQ582JEvjPxFVckinBL/fvXFKmiPG jEE62tDZasD3lIrxfVRuRCLTZqaXUGBZPoV0pNCqwt3OmDi184V/3LUIXp6AFvi/mdoO AKcf1VW7aWxCgrkfLZdtVPb5JygOW/6lXFMIVFxUmWJ9OZTe1Ru3BRTMkOh7KAd0CKfY HrNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=oL1dSynQ; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-4456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y2-20020a637d02000000b005dc82dd7342si14207992pgc.740.2024.03.07.07.56.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 07:56:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=oL1dSynQ; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-4456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0E1EAB2A03C for ; Thu, 7 Mar 2024 15:24:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9FF5D12EBF1; Thu, 7 Mar 2024 15:23:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="oL1dSynQ" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14DCA12F365 for ; Thu, 7 Mar 2024 15:23:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709825033; cv=none; b=r3CFEbwYWP7HDJY4DIubej96pGIpMz4Jris1QTtHg+lt+ZsTECHDXJVUX984qShHHachH0+3jVTkc/hsn9suDECO7BCGkG8znZYR2wK2HRjAG2p9W3tqF3LCn8VDPlWJ8n2LFjLMlxI6+l0YDJb5RS5YO8pVIT8dRrp1QsfZT04= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709825033; c=relaxed/simple; bh=AS5H+X39rT4FtGFjCh14aIHpfAbyKW5h/PUqC1kzI2g=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References: Content-Type:MIME-Version; b=fFgIy8NclsYl4ZiDykBxbv9r6HXnpuqh7io7JMs7nWgNFWtZX4mG5QCKt4YqApZP2bi6cJdsLTEsqwOqdt4Wi6W89OP0I5rRIbmNJjgJKb0lnTVmxQk4IOOtpaZX9/pCr1YZ/dKE02PRU9rpp8H2yqcXBXnhtmOZ4hz1Os9+/RI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=oL1dSynQ; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=AS5H+X39rT4FtGFjCh14aIHpfAbyKW5h/PUqC1kzI2g=; t=1709825031; x=1711034631; b=oL1dSynQFH4hRN1Bvd1cMiJ/M0kgVCyl+I5Lbum+wZvTajY 3L6x4KLFiTXoWh6VvaGVAUsg5F+MwHunNcUWVanQdkGYVvdmrFnBrpJ+s+e5OkZxpVAHHXyg632hX dGExrUPqd+KakRBmR4nciCsB4rxPZ00S2fQpunCmc5YvE9QH1wAcaRW/Z8FiRarQLzqgGgcxQy0Ys OtoGnk6ljX2un8xjxOMqOtQM/UW9K6bN0g2N5TsW1cf14KtxshLBGL4kezxIB7hxAjD/p8ANraEOn npk2AIQ24wL5LCrc6wsLUnzalnbX7BofA9dM4x4Mshx/YyIeO/Tckq04Q1I9btqw==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1riFb2-00000005m1E-2Lks; Thu, 07 Mar 2024 16:23:48 +0100 Message-ID: Subject: Re: [PATCH v7] Add JSON output options to 'iw' for scan results From: Johannes Berg To: Isaev Ruslan , linux-wireless@vger.kernel.org Date: Thu, 07 Mar 2024 16:23:47 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Mon, 2024-03-04 at 23:01 +0300, Isaev Ruslan wrote: > v7 changes: > - binaries json/a json/a.out removed >=20 > v6 changes: > - add iw_printf(const char *key, const char *fmt, ...) > - rewrite print_ssid_escaped() as a demo with new concept >=20 I guess it'd kind of be useless to test that way, but it'd be nicer to review a patch that only has new concepts? Maybe split it anyway - one patch to add all the external code, one to do the 'right' things and one with all the other stuff for testing? johannes