linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arend van Spriel <aspriel@gmail.com>
To: James Prestwood <prestwoj@gmail.com>,
	Johannes Berg <johannes@sipsolutions.net>,
	<linux-wireless@vger.kernel.org>
Subject: Re: Adding CMD_SET_CHANNEL for station iftypes
Date: Sun, 09 Jan 2022 13:00:34 +0100	[thread overview]
Message-ID: <17e3eb62ed0.279b.9696ff82abe5fb6502268bdc3b0467d4@gmail.com> (raw)
In-Reply-To: <58ebff51d64d1ae6b01d85cff7bb9e137e19848a.camel@gmail.com>

On January 8, 2022 12:31:19 AM James Prestwood <prestwoj@gmail.com> wrote:

> On Thu, 2022-01-06 at 23:01 +0100, Johannes Berg wrote:
>> Hi Preston,
>>
>> Ugh, sorry. I'm way behind on a whole bunch of emails (about 4 dozen
>> to
>> be honest) ... trying to catch up, but only so many hours a day.
>
> No worries, thanks for getting to it :)
>
>>

[...]

>
>>
>> At which point it's probably not really worth it? Emulating it in the
>> driver by repeatedly issuing time events also seems like a bad idea,
>> worse even than doing it in the application, since the application
>> could
>> at least try to synchronise it a bit with whatever it needs to be
>> doing,
>> whereas the driver can't do that at all.
>
> If this is the case then sure, its just offloading the same nasty
> procedure into the driver/FW. You know more than me about this topic
> but I'm still trying to understand how this would differ much from AP
> mode?
>
> In my own mind I see SET_CHANNEL doing the same thing as START_AP, just
> without sending out beacons/probes and the iftype being station. Maybe
> this is an oversimplifation but it seems like the FW/driver *can* sit
> on channel without some time constraint if it supports AP mode.

Even if it only supports STA mode it can. The constraint being that it is 
not associated (or busy trying to associate) to an AP. When it is 
associated it has to sit on the channel of the AP, as announced in it's 
beacon and/or probe response, at regular intervals. You referred to DPP to 
provision the STA so I assume it is not associated, right? Could you write 
out the whole scenario as you think it should/could be done?

Regards,
Arend



  reply	other threads:[~2022-01-09 12:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19  0:11 Adding CMD_SET_CHANNEL for station iftypes James Prestwood
2021-11-19  8:31 ` Johannes Berg
2021-11-19 17:43   ` James Prestwood
2022-01-06 22:01     ` Johannes Berg
2022-01-07 19:35       ` James Prestwood
2022-01-09 12:00         ` Arend van Spriel [this message]
2022-01-10 17:13           ` James Prestwood
2022-02-03 22:06             ` Johannes Berg

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=17e3eb62ed0.279b.9696ff82abe5fb6502268bdc3b0467d4@gmail.com \
    --to=aspriel@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=prestwoj@gmail.com \
    /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).