From: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
To: Julian Calaby <julian.calaby@gmail.com>
Cc: John Linville <linville@tuxdriver.com>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] ath9k: Fix interface combinations for multi-channel concurrency
Date: Thu, 29 May 2014 15:03:03 +0530 [thread overview]
Message-ID: <20140529093301.GA13680@qca.qualcomm.com> (raw)
In-Reply-To: <CAGRGNgWo8AvT=hUmhR2AKr6xksw5CFFApj3eEX1nd+J=RrENpw@mail.gmail.com>
On Thu, May 29, 2014 at 05:18:54PM +1000, Julian Calaby wrote:
> Hi Rajkumar,
>
> On Thu, May 29, 2014 at 4:49 PM, Rajkumar Manoharan
> <rmanohar@qti.qualcomm.com> wrote:
> > Currently mac80211 does not support WDS and DFS with channel context
> > drivers. So advertise these features only when the driver is not
> > supporting channel context and modparam "use_chanctx" is introduced
> > for preparing channel context support in ath9k.
> >
> > @@ -722,12 +736,15 @@ static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
> > BIT(NL80211_IFTYPE_P2P_GO) |
> > BIT(NL80211_IFTYPE_P2P_CLIENT) |
> > BIT(NL80211_IFTYPE_AP) |
> > - BIT(NL80211_IFTYPE_WDS) |
> > BIT(NL80211_IFTYPE_STATION) |
> > BIT(NL80211_IFTYPE_ADHOC) |
> > BIT(NL80211_IFTYPE_MESH_POINT);
> > hw->wiphy->iface_combinations = if_comb;
> > - hw->wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);
> > + if (!ath9k_use_chanctx) {
> > + hw->wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);
> > + hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_WDS);
> > + } else
> > + hw->wiphy->n_iface_combinations = 1;
>
> Is that right?
>
Julian,
Right now mcc support is not implemented in ath9k and am working on that.
Once all channel context callbacks are added, iface_combinations will
refer to right interface set.
-Rajkumar
next prev parent reply other threads:[~2014-05-29 9:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 6:49 [PATCH] ath9k: Fix interface combinations for multi-channel concurrency Rajkumar Manoharan
2014-05-29 7:18 ` Julian Calaby
2014-05-29 9:33 ` Rajkumar Manoharan [this message]
2014-05-29 10:39 ` Julian Calaby
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=20140529093301.GA13680@qca.qualcomm.com \
--to=rmanohar@qti.qualcomm.com \
--cc=julian.calaby@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.