Search Linux Wireless

Re: Adding CMD_SET_CHANNEL for station iftypes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2022-01-10 at 09:13 -0800, James Prestwood wrote:
> > 
> > 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?
> 
> Correct, I'm only talking about doing this while not associated.
> 
> As for my intentended scenario I simply want to call CMD_SET_CHANNEL
> then run the entire DPP auth/config protocol while on this channel.
> Then, once finished, call (a new API) CMD_SET_CHANNEL_CANCEL.
> 

So I think Arend and I are approaching this from a different angle :-)

I was mostly thinking about the iwlwifi firmware implementation, to be
honest, which simply doesn't have such a thing today. The closest would
probably be putting it into monitor mode, which of course means you
don't get proper ACK behaviour etc.

I think Arend was probably more thinking of semantics rather than
implementation, surely it'd be _possible_ to do it, but it's not
something that you can _practically_ do today on all hardware.

So practically, if we add such API

 1) it might fix the issue on some devices that can implement it

 2) it would leave us having to emulate it using remain-on-channel or
    similar when the firmware doesn't support

 3) you'd still have to implement it for older kernels

(or we leave out 2, and you have to have the implementation for 3 for
newer kernels too)

I guess I wouldn't particularly mind adding APIs for it, but I'm not
sure I'd want to have to implement and maintain (2).

johannes



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux