From: Johannes Berg <johannes@sipsolutions.net>
To: Felix Fietkau <nbd@nbd.name>, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 02/11] wifi: mac80211: use vif radio mask to limit ibss scan frequencies
Date: Wed, 02 Oct 2024 14:57:31 +0200 [thread overview]
Message-ID: <a9fae8abdc94c094d831f8b39b7f9c6fde61815a.camel@sipsolutions.net> (raw)
In-Reply-To: <fa77d4843c4e986db81960c7f859d0750e2b9e8d.1727869380.git-series.nbd@nbd.name>
On Wed, 2024-10-02 at 13:45 +0200, Felix Fietkau wrote:
>
> @@ -1215,14 +1217,16 @@ int ieee80211_request_ibss_scan(struct ieee80211_sub_if_data *sdata,
> } else {
> for (i = 0; i < n_channels; i++) {
> if (channels[i]->flags & (IEEE80211_CHAN_NO_IR |
> - IEEE80211_CHAN_DISABLED))
> + IEEE80211_CHAN_DISABLED) ||
> + !cfg80211_wdev_channel_allowed(&sdata->wdev,
> + channels[i]))
> continue;
>
> local->int_scan_req->channels[n_ch] = channels[i];
> n_ch++;
> }
>
> - if (WARN_ON_ONCE(n_ch == 0))
> + if (n_ch == 0)
> goto unlock;
-EBUSY seems somewhat confusing in this case?
johannes
next prev parent reply other threads:[~2024-10-02 12:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-02 11:45 [PATCH 00/11] wifi: cfg80211/mac80211: improve support for multiple radios Felix Fietkau
2024-10-02 11:45 ` [PATCH 01/11] wifi: cfg80211: add option for vif allowed radios Felix Fietkau
2024-10-02 12:55 ` Johannes Berg
2024-10-02 11:45 ` [PATCH 02/11] wifi: mac80211: use vif radio mask to limit ibss scan frequencies Felix Fietkau
2024-10-02 12:57 ` Johannes Berg [this message]
2024-10-02 11:45 ` [PATCH 03/11] wifi: mac80211: use vif radio mask to limit chanctx and remain-on-channel Felix Fietkau
2024-10-02 12:58 ` Johannes Berg
2024-10-02 14:38 ` Felix Fietkau
2024-10-02 11:45 ` [PATCH 04/11] wifi: cfg80211: report per wiphy radio antenna mask Felix Fietkau
2024-10-02 11:45 ` [PATCH 05/11] wifi: mac80211: remove status->ampdu_delimiter_crc Felix Fietkau
2024-10-02 11:45 ` [PATCH 06/11] wifi: cfg80211: pass net_device to .set_monitor_channel Felix Fietkau
2024-10-02 11:45 ` [PATCH 07/11] wifi: mac80211: add flag to opt out of virtual monitor support Felix Fietkau
2024-10-02 11:45 ` [PATCH 08/11] wifi: cfg80211: add monitor SKIP_TX flag Felix Fietkau
2024-10-02 11:45 ` [PATCH 09/11] wifi: mac80211: add support for the " Felix Fietkau
2024-10-02 11:45 ` [PATCH 10/11] wifi: mac80211: refactor ieee80211_rx_monitor Felix Fietkau
2024-10-02 11:45 ` [PATCH 11/11] wifi: mac80211: filter on monitor interfaces based on configured channel Felix Fietkau
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=a9fae8abdc94c094d831f8b39b7f9c6fde61815a.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@nbd.name \
/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