From: Johannes Berg <johannes@sipsolutions.net>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: Jouni Malinen <jouni@qca.qualcomm.com>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 2/3] mac80211: Support dynamic AP mode channel width changes
Date: Mon, 28 Apr 2014 17:47:53 +0200 [thread overview]
Message-ID: <1398700073.4132.2.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <1398699982.4132.1.camel@jlt4.sipsolutions.net> (sfid-20140428_174647_065920_FAF317DA)
On Mon, 2014-04-28 at 17:46 +0200, Johannes Berg wrote:
> > Shouldn't interface combinations be verified here? What if there was a
> > bandwidth upgrade (after a downgrade) but in the meantime a vif with a
> > to-be incompatible chandef was brought up?
>
> Yeah that seems like a potential issue.
Hm, wait, isn't this addressed by this code in
ieee80211_vif_change_bandwidth():
ctx = container_of(conf, struct ieee80211_chanctx, conf);
if (!cfg80211_chandef_compatible(&conf->def, chandef)) {
ret = -EINVAL;
goto out;
}
johannes
next prev parent reply other threads:[~2014-04-28 15:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 8:22 [PATCH 2/3] mac80211: Support dynamic AP mode channel width changes Jouni Malinen
2014-04-28 8:57 ` Michal Kazior
2014-04-28 15:46 ` Johannes Berg
2014-04-28 15:47 ` Johannes Berg [this message]
2014-04-29 6:00 ` Michal Kazior
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=1398700073.4132.2.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=jouni@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=michal.kazior@tieto.com \
/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