linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luciano Coelho <luciano.coelho@intel.com>
To: Eliad Peller <eliad@wizery.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Johannes Berg <johannes@sipsolutions.net>,
	Michal Kazior <michal.kazior@tieto.com>,
	sw@simonwunderlich.de, andrei.otcheretianski@intel.com
Subject: Re: [PATCH v6 2/3] mac80211: implement chanctx reservation
Date: Mon, 10 Mar 2014 09:43:41 +0200	[thread overview]
Message-ID: <1394437421.18265.3.camel@dubbel> (raw)
In-Reply-To: <CAB3XZEd-EQ5zHKzvW_zVngGAtzRO8_Bm61yAYN6ADZVHVnby5w@mail.gmail.com>

On Sun, 2014-03-09 at 17:08 +0200, Eliad Peller wrote:
> hi Luca,
> 
> On Sun, Mar 9, 2014 at 4:40 PM, Luciano Coelho <luciano.coelho@intel.com> wrote:
> > In order to support channel switch with multiple vifs and multiple
> > contexts, we implement a concept of channel context reservation.  This
> > allows us to reserve a channel context to be used later.
> >
> > The reservation functionality is not tied directly to channel switch
> > and may be used in other situations (eg. reserving a channel context
> > during IBSS join).
> >
> > We first check if an existing compatible context exists and if it
> > does, we reserve it.  If there is no compatible context we create a
> > new one and reserve it.
> >
> > Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
> > ---
> [...]
> 
> > +int ieee80211_vif_use_reserved_context(struct ieee80211_sub_if_data *sdata,
> > +                                      u32 *changed)
> > +{
> [...]
> > +
> > +       *changed = local_changed;
> > +
> > +       ieee80211_recalc_chanctx_chantype(local, ctx);
> > +       ieee80211_recalc_smps_chanctx(local, ctx);
> > +       ieee80211_recalc_radar_chanctx(local, ctx);
> 
> any reason for not calling ieee80211_recalc_chanctx_min_def() as well?

No, it's just missing. :( I'll add it.

--
Luca.


  reply	other threads:[~2014-03-10  7:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09 14:40 [PATCH v6 0/3] mac802111: channel context reservation Luciano Coelho
2014-03-09 14:40 ` [PATCH v6 1/3] mac80211: split ieee80211_vif_change_channel in two Luciano Coelho
2014-03-09 14:40 ` [PATCH v6 2/3] mac80211: implement chanctx reservation Luciano Coelho
2014-03-09 15:08   ` Eliad Peller
2014-03-10  7:43     ` Luciano Coelho [this message]
2014-03-09 14:40 ` [PATCH v6 3/3] mac80211: allow reservation of a running chanctx Luciano Coelho
2014-03-09 15:13   ` Eliad Peller
2014-03-10  7:37     ` Luciano Coelho
2014-03-10  8:32       ` Eliad Peller
2014-03-10  9:03         ` Michal Kazior
2014-03-10  9:15           ` Luca Coelho

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=1394437421.18265.3.camel@dubbel \
    --to=luciano.coelho@intel.com \
    --cc=andrei.otcheretianski@intel.com \
    --cc=eliad@wizery.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=michal.kazior@tieto.com \
    --cc=sw@simonwunderlich.de \
    /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;
as well as URLs for NNTP newsgroup(s).