From: Johannes Berg <johannes@sipsolutions.net>
To: Sascha Hauer <s.hauer@pengutronix.de>, Kalle Valo <kvalo@kernel.org>
Cc: Brian Norris <briannorris@chromium.org>,
Francesco Dolcini <francesco@dolcini.it>,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] wifi: mwifiex: Ensure all STA and AP use the same channel
Date: Fri, 30 Aug 2024 13:58:20 +0200 [thread overview]
Message-ID: <192a1df2754eade22b68da5d8652dc996f2330e9.camel@sipsolutions.net> (raw)
In-Reply-To: <ZtGnWC7SPHt7Vbbp@pengutronix.de>
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
next prev parent reply other threads:[~2024-08-30 11:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 6:56 Sascha Hauer
2024-08-30 9:49 ` Kalle Valo
2024-08-30 11:04 ` Sascha Hauer
2024-08-30 11:58 ` Johannes Berg [this message]
2024-09-03 7:31 ` [EXT] " David Lin
2024-09-09 17:17 ` Francesco Dolcini
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=192a1df2754eade22b68da5d8652dc996f2330e9.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=briannorris@chromium.org \
--cc=francesco@dolcini.it \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=stable@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
all inboxes | Powered by JetHome®