Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2225870pxa; Mon, 3 Aug 2020 10:30:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz63JU4xP+h7Nkp+dV30fi3HoV2i/mHKXtE4kNsjVn54irBGTFfpyCRvrWfASC87Y3QlHI5 X-Received: by 2002:a05:6402:cb9:: with SMTP id cn25mr17054721edb.247.1596475822515; Mon, 03 Aug 2020 10:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596475822; cv=none; d=google.com; s=arc-20160816; b=ex9axnNsOnuGUbNfur+mkH92ZKHJrkevRCR6HKnQSc59L0MNcbnshN/Tb70oJBtOgt p40eYOqXtBb9PZhCWl9lUa5yOlMh4XHIHRmuNZR2j+fBrOyoeYD5ZIJAyjgur5JV5sLd P0BmsvXAXfRpCDysoOanofvQ7uM6sNTfitBuDp5M2HDgxhcT036Ov1i+Rd/WJ8NPvRPm iHV8PdrrP8PsUWIomDOKVZwmZ6lujQ/J9LvxJQN0UrlSzPRcc3rPAYW5afW27WFVRTDB xdyA2XXJW5c4bh+D3Rn+pZurcARn4ZNV/avGUDYm+GB1XUvp1dlaNAevN9iWtnQh16bX 6fHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=0OosOyOReZIaB9lhBiQuqtf/Qc7eZX8uXFImePyi4FE=; b=g8CWjOsv1C7QSV+bATn+O6iU0oGXe3L7k16DWi6+Bd6SLZiD6VP54ZXnC1QQl7Pnwx fBIrl30ExMIpnkZIFTrwZ8FvdNQ4ZDvw+iv6oJiEAnJbWishUe5ebyJhqKh7HtQiKTm9 R8pARtRQ9lfUn5hhxLSDiicQuraxIKOCWmePqAEWQPXZuvsxOGQo2kvOUY3P66u7aujs N5s/jwyhfm9t4f21FHHOd6f9X9mA6JxT01r8zoqKiIaolJvYpdJoLhvovPZhqVu4XaEk y2NrR+0vIEV/doh8BDUPwERxMs2ZbMmgD8T6gf0T19qTlZXPXU451XinViHZOTIiq8ez oXjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=reBzdnYP; 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 l23si11302243ejb.632.2020.08.03.10.29.46; Mon, 03 Aug 2020 10:30:22 -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; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=reBzdnYP; 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 S1728442AbgHCR3I (ORCPT + 99 others); Mon, 3 Aug 2020 13:29:08 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:34546 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726398AbgHCR3H (ORCPT ); Mon, 3 Aug 2020 13:29:07 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1596475747; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=0OosOyOReZIaB9lhBiQuqtf/Qc7eZX8uXFImePyi4FE=; b=reBzdnYPuTfiT8Mh6kuSompdz2jw1tG3ysMkjG+wL7wW4uBmWSZrnH78LKe1f9uujddaMCdc i08FF0HRNU9edYPxJvcEFMD7odwmefA+yoqfAO/d4fdKVzVwrUI2ZJZtY48A5vOuLU4bWm/n h0eqereYgEw6bV+8Wnnqo2VmPHA= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 5f284954eecfc978d3c68f94 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 03 Aug 2020 17:28:52 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 2BF25C433C9; Mon, 3 Aug 2020 17:28:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: alokad) by smtp.codeaurora.org (Postfix) with ESMTPSA id EE637C433C6; Mon, 3 Aug 2020 17:28:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 03 Aug 2020 10:28:48 -0700 From: Aloka Dixit To: Johannes Berg Cc: linux-wireless@vger.kernel.org Subject: Re: [PATCH v3 1/2] nl80211: Unsolicited broadcast probe response support In-Reply-To: References: <20200715230514.26792-1-alokad@codeaurora.org> <20200715230514.26792-2-alokad@codeaurora.org> Message-ID: <4c07745c1fd5c6e19a9b01488ca9e92a@codeaurora.org> X-Sender: alokad@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2020-08-03 03:18, Johannes Berg wrote: >> +/** >> + * enum nl80211_unsol_bcast_probe_resp_attributes - Unsolicited >> broadcast probe >> + * response configuration. Applicable only in 6GHz. >> + * >> + * @__NL80211_UNSOL_BCAST_PROBE_RESP_INVALID: Invalid >> + * >> + * @NL80211_UNSOL_BCAST_PROBE_RESP_INT: Maximum packet interval (u32, >> TU). >> + * Allowed range: 0..20 (TU = Time Unit). IEEE P802.11ax/D6.0 >> + * 26.17.2.3.2 (AP behavior for fast passive scanning. > > nit: that "(" never closes > >> + tmpl = tb[NL80211_UNSOL_BCAST_PROBE_RESP_TMPL]; >> + if (tmpl) { >> + presp->tmpl = nla_data(tmpl); >> + presp->tmpl_len = nla_len(tmpl); >> + } >> > So, hmm. Similar question here - what do you do without a template? Or > OTOH, why do you even need a template? Would you advertise something > that's *different* from the regular probe response template you already > get for offloaded probe request/response support? > The template will be same as the probe response, except for the destination MAC address as this one is broadcast. Main reason is that this unsolicited broadcast probe response transmission is specific to 6GHz and not applicable to lower bands. Having a separate netlink command allowed not messing with the existing probe response offload feature which is for all bands. Thanks. > johannes