From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from s3.sipsolutions.net ([5.9.151.49]:39422 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964935AbdAIKsp (ORCPT ); Mon, 9 Jan 2017 05:48:45 -0500 Message-ID: <1483958921.17582.20.camel@sipsolutions.net> (sfid-20170109_115023_543747_9679AF00) Subject: Re: [PATCH] RFC: Universal scan proposal From: Johannes Berg To: Arend Van Spriel , Dmitry Shmidt Cc: linux-wireless@vger.kernel.org Date: Mon, 09 Jan 2017 11:48:41 +0100 In-Reply-To: (sfid-20170105_205959_067611_AE4895FD) References: <94eb2c110db85c2379054172dad0@google.com> <1480948100.31788.15.camel@sipsolutions.net> <1481093061.4092.17.camel@sipsolutions.net> <93d4475c-58bd-d497-3347-a988d551f374@broadcom.com> <1481645205.20412.32.camel@sipsolutions.net> <1483536510.7312.5.camel@sipsolutions.net> <1483616763.4394.8.camel@sipsolutions.net> <1483623882.4394.20.camel@sipsolutions.net> (sfid-20170105_205959_067611_AE4895FD) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 2017-01-05 at 20:59 +0100, Arend Van Spriel wrote: > > From what Dmitry listed I guess there's really only one. Ok. I guess I need to go back to that then. > Early on in the thread Luca gave some other examples of scan > extensions so may need to consider notification/dump methods that are > extensible. It seems awkward to have a single "initiate" command and > a couple of "notification/retrieval" commands. It may not be so bad > as long as it is clear which retrieval command goes with a > notification. Well, we might not even need different commands. We need different storage internally, but if you request the results for a given scan ID then you might get a totally different result format? Though that wouldn't lend itself well to query "everything you have" which is also useful. But even then, it could be done by passing the appropriate "report type" attribute to the dump command - we need that anyway for trigger. I think with that discussion we're getting ahead of ourselves though - do we really know that we just need the two result types * full, and * partial (for history scan) and have we even defined the attributes we want in the partial one? johannes