All of lore.kernel.org
 help / color / mirror / Atom feed
From: Holger Schurig <hs4233@mail.mn-solutions.de>
To: Dan Williams <dcbw@redhat.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [RFC] libertas: monster-patch to make CFG/WEXT configurable
Date: Thu, 22 Oct 2009 11:28:01 +0200	[thread overview]
Message-ID: <200910221128.01851.hs4233@mail.mn-solutions.de> (raw)
In-Reply-To: <1256150184.5010.45.camel@localhost.localdomain>

> 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.


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.


> 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?

-- 
http://www.holgerschurig.de

  parent reply	other threads:[~2009-10-22  9:28 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 [this message]
2009-10-22 15:31     ` Dan Williams

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=200910221128.01851.hs4233@mail.mn-solutions.de \
    --to=hs4233@mail.mn-solutions.de \
    --cc=dcbw@redhat.com \
    --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.