linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adding CMD_SET_CHANNEL for station iftypes
@ 2021-11-19  0:11 James Prestwood
  2021-11-19  8:31 ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: James Prestwood @ 2021-11-19  0:11 UTC (permalink / raw)
  To: linux-wireless

Hi,

I see CMD_SET_CHANNEL is only supported for AP-type iftypes (AP,
P2P_GO, etc). While this definitely makes sense in most cases,
protocols like p2p/dpp require going off channel for an undetermined
amount of time.

I could go into the exact scenarios but in short your REMAIN_ON_CHANNEL
could end at very inconvenient times.

Specifically when a station is not associated to any AP is there any
harm in allowing CMD_SET_CHANNEL? Is this purely a software limitation
or do drivers not allow this?

If this sounds reasonable (and possible) I would propose adding the
station iftype to CMD_SET_CHANNEL in addition to an extended feature
e.g. NL80211_EXT_FEATURE_STA_SET_CHANNEL so supplicants can detect
support or fall back to using REMAIN_ON_CHANNEL for these specific use
cases.

Thanks,
James


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-03 22:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2022-01-10 17:13           ` James Prestwood
2022-02-03 22:06             ` Johannes Berg

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).