Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2242609ybg; Thu, 30 Jul 2020 14:23:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0bdf8ooVfhfvpUH+JYOS9xqsSzUV/Rfe4WSfdzkMzoQavur45p157fEmXufuplWgBWzc2 X-Received: by 2002:a05:6402:1427:: with SMTP id c7mr964119edx.245.1596144226251; Thu, 30 Jul 2020 14:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596144226; cv=none; d=google.com; s=arc-20160816; b=F81yKzG8gGpBp8I+rIGoOeINkTd7xKvRdaUNItuKRso5CE4hsB4s7wUspHc4jaqcNl GnpK4HOt+PEyqad7HQnA5sEnIGdC73Uo5SRSHzQkOwfb+3nfl8I19tydcBA020PHt9Tw Y2RUVoaMbSl9QZyNtDDGicdApqZKT5N1O1az5RksXsszxSMp1WtypBi3Y/tBAwkzBpRb Ny7DZUOEiLLsBaxux/YNWsC5XoAsTRYsEs1KfUwj5oa6yXmzXoDAsdhvj0TGMwUPwmqA Z5oYf0m5iXEAvVbGkbnXfGpbFnoiYO5w6pYpolN7JbB2SkPhaKvqi497bMgi00pH5dzb 3qGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=cALtr2ynR9SF3uNjA99kgpti0Nj5LH/bvI3ms+CeHz8=; b=agKJNPgemV3SXLGoycLnqJkOp06rFaxDP9FmfVVDo4T9AqSTwCdDVfqn8CQyM35fI/ lJLXAjXpK0E1CbwOff2ZykQ5KdrHpW3uRKRY74To2/ld3+Y9l12QvIdcEGkiYkKI2cN3 nNIL1Drd94Ya2OayTK785JoNatLVtX/tF+Sgh5flt4MRnYPM7A8PRPyRo+VujHRKYCB3 Xksi0GZKL695BbxchKgljSxdtYTQp4JKaRBHs5LCNocbGcw49GwHzbm/Ga1uykBOkxY1 MZMBg+iOkSB16+Y4kddAclf/NZzyUVc2cDD2g5L0wBLcQ+d3npfUuHXg86HoyNm0JQMQ EeIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si3731367ejo.528.2020.07.30.14.23.21; Thu, 30 Jul 2020 14:23:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730640AbgG3VWI (ORCPT + 99 others); Thu, 30 Jul 2020 17:22:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730551AbgG3VWG (ORCPT ); Thu, 30 Jul 2020 17:22:06 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ED2AC061574 for ; Thu, 30 Jul 2020 14:22:06 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1k1G03-00Dkqx-HU; Thu, 30 Jul 2020 23:22:03 +0200 Message-ID: <54628f052b380e660c37cb9b7c3f224976aa1c83.camel@sipsolutions.net> Subject: Re: [PATCH v4 1/2] nl80211: Add FILS discovery support From: Johannes Berg To: Aloka Dixit Cc: linux-wireless@vger.kernel.org, linux-wireless-owner@vger.kernel.org Date: Thu, 30 Jul 2020 23:22:02 +0200 In-Reply-To: <2b1ea1c4baedcb119f4e632b26399071@codeaurora.org> References: <20200618050427.5891-1-alokad@codeaurora.org> <20200618050427.5891-2-alokad@codeaurora.org> <2b1ea1c4baedcb119f4e632b26399071@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.4 (3.36.4-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2020-07-30 at 14:17 -0700, Aloka Dixit wrote: > > OTOH, if it's with headers, how could it be optional? In fact, either > > way, how is it optional? > > > > Template has management frame headers as well. Will change the wording > accordingly. OK. > I made the template optional because FILS discovery may or may not be > offloaded to FW. But how would anyone know? Try without it, and then try again if that fails? Would it fail? I mean, you also said it was required at least for 6 GHz, so wouldn't userspace be better off always giving it - and then we should probably make it mandatory so it doesn't fall into the trap? However - and here that's my ignorance speaking - can it really be offloaded? I mean, is everything in there completely determined by the beacon already, and so you have no choice in how to build it? Or how does that work? > Yeah, I looked through existing examples for NLA_BINARY, those provide > only the higher bound for length. Yeah, no way to do anything else right now. But you should have a lower bound in the code, I think. > But I can modify it to range once that is added. Later maybe :) johannes