linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aloka Dixit <alokad@codeaurora.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH v3 1/2] nl80211: Unsolicited broadcast probe response support
Date: Mon, 03 Aug 2020 10:28:48 -0700	[thread overview]
Message-ID: <4c07745c1fd5c6e19a9b01488ca9e92a@codeaurora.org> (raw)
In-Reply-To: <b8455091e9ab4c0c3690dc3fadd000f1d1ca9165.camel@sipsolutions.net>

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

  reply	other threads:[~2020-08-03 17:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-15 23:05 [PATCH v3 0/2] Unsolicited broadcast probe resp support Aloka Dixit
2020-07-15 23:05 ` [PATCH v3 1/2] nl80211: Unsolicited broadcast probe response support Aloka Dixit
2020-08-03 10:18   ` Johannes Berg
2020-08-03 17:28     ` Aloka Dixit [this message]
2020-08-03 10:20   ` Johannes Berg
2020-08-03 17:30     ` Aloka Dixit
2020-08-03 10:20   ` Johannes Berg
2020-08-03 10:21     ` Johannes Berg
2020-08-03 17:33     ` Aloka Dixit
2020-07-15 23:05 ` [PATCH v3 2/2] mac80211: " Aloka Dixit
2020-07-16  9:35 ` [PATCH v3 0/2] Unsolicited broadcast probe resp support Arend Van Spriel
2020-07-20 21:36   ` Aloka Dixit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4c07745c1fd5c6e19a9b01488ca9e92a@codeaurora.org \
    --to=alokad@codeaurora.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).