Re: [PATCH] wifi: mwifiex: Ensure all STA and AP use the same channel
From: Johannes Berg
Date: Fri Aug 30 2024 - 07:58:44 EST
On Fri, 2024-08-30 at 13:04 +0200, Sascha Hauer wrote:
>
> Related: num_different_channels is exposed to userspace, but outside the
> MAC80211 layer there is nothing in the kernel that enforces this
> restriction. Am I missing something or is this just an open patch
> opportunity?
>
It is, or was least was, non-trivial to do in cfg80211 since it
isn't/wasn't always fully aware of what's going on. mac80211 does this
by calling into some helper functions with an appropriate description of
what's happening, any other driver could do that too.
johannes