From: Dan Williams <dcbw@redhat.com>
To: Holger Schurig <hs4233@mail.mn-solutions.de>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [RFC] libertas: monster-patch to make CFG/WEXT configurable
Date: Thu, 22 Oct 2009 08:31:53 -0700 [thread overview]
Message-ID: <1256225513.29650.6.camel@localhost.localdomain> (raw)
In-Reply-To: <200910221128.01851.hs4233@mail.mn-solutions.de>
On Thu, 2009-10-22 at 11:28 +0200, Holger Schurig wrote:
> > For the mesh interface stuff, especially in tx/rx paths, would
> > you mind not ifdefing that? Since with cfg80211,
> > priv->mesh_dev will always be NULL, those checks will be just
> > fine and you still don't have to care about mesh.
>
> Sure, I'll do that.
>
> I just thought that there's no need for priv->mesh_dev in the
> cfg80211 case. Wouldn't mesh be activated by "iw dev XXX set
> type mesh"? Then cfg80211_ops .change_intf() would be called.
>
> Now that could either populate priv->mesh_dev ... or it could
> change priv->dev. Not sure about what is better. But the answer
> to this would tell us how to handle the mesh tx/rx paths.
Except that we need *both* the mesh dev and the normal wifi dev running
at the same time, like we had before. It's not either/or. So in
cfg80211 land, we'd have two virtual interfaces, one would be mesh, and
the other wifi. They would always share the same RF channel and a few
other PHY characteristics.
> cmdresp.c checks for priv->mesh_autostart_enabled. Is this
> another "sitting-forever-in-OLPC" thingy? It's nowhere else
> used and there's no code to set it.
Mesh autostart is a feature where if mesh isn't explicitly enabled (by
turning on msh0 or whatever) then after a short delay, the mesh
functionality will be automatically enabled in firmware. As with most
mesh stuff, this is OLPC-specific.
> > I'm sure that the bits for SNMP_MIB_OID_BSS_TYPE could also be
> > converted to use lib80211 or cfg80211 values instead of WEXT
> > ones; I just picked WEXT at the time because we had no cfg80211
> > yet.
>
> Good idea.
>
> However, when I'm teaching cfg80211 about the SNMP-commands, I'll
> use new-style commands anyway. I'd need them for RTS threshold
> etc anyway.
>
>
>
>
> BTW: I added the RX part of the monitor in my cfg80211
> implementation. But for my CF card, I'm still stuck with firmware
> 5.0.16.p0. That doesn't support monitor mode. However, I also
> have some USB stick around (got it from you!). Do you know which
> firmware for this USB stick supports monitor?
Any of the mesh-enabled firmwares should work, I think; just pick the
latest of:
http://dev.laptop.org/pub/firmware/libertas/
I checked on Extranet and I do not have access to any CF8385 firmware
later than 5.0.21.p3 (and thus cannot commit it to linux-firmware).
Dan
prev parent reply other threads:[~2009-10-22 15:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 12:49 [RFC] libertas: monster-patch to make CFG/WEXT configurable Holger Schurig
2009-10-20 0:33 ` Johannes Berg
2009-10-20 6:35 ` Holger Schurig
2009-10-22 8:31 ` Johannes Berg
2009-10-23 15:38 ` Holger Schurig
2009-10-23 16:27 ` Dan Williams
2009-10-21 18:36 ` Dan Williams
2009-10-21 18:39 ` Dan Williams
2009-10-22 9:28 ` Holger Schurig
2009-10-22 15:31 ` Dan Williams [this message]
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=1256225513.29650.6.camel@localhost.localdomain \
--to=dcbw@redhat.com \
--cc=hs4233@mail.mn-solutions.de \
--cc=linux-wireless@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 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.