linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: "Stefanik Gábor" <netrolller.3d@gmail.com>
Cc: Martin Dubuc <martind1111@gmail.com>,
	linux-wireless@vger.kernel.org,
	ipw3945-devel@lists.sourceforge.net
Subject: Re: [ipw3945-devel] Monitor mode on boot
Date: Fri, 16 May 2008 11:08:24 -0400	[thread overview]
Message-ID: <20080516150824.GB6510@tuxdriver.com> (raw)
In-Reply-To: <69e28c910805160703j4fef73e8x2c357f91d4b43ea5@mail.gmail.com>

On Fri, May 16, 2008 at 04:03:15PM +0200, Stefanik G=E1bor wrote:
> On Fri, May 16, 2008 at 3:27 PM, Martin Dubuc <martind1111@gmail.com>=
 wrote:
>=20
> > You are right pointing out that it is possible to perform monitor m=
ode
> > configuration using startup scripts. However, to fit nicely in exis=
ting
> > frameworks, such as the ones available from Fedora, it would be nic=
e that
> > the driver be enhanced. Madwifi allows users to put a configuration=
 like
> > this one in the modprobe.conf.:
> >
> > options ath_pci autocreate=3Dmonitor
> >
> > The nice thing about such a configuration is that it decouples the =
device
> > type configuration from the interface management function. One does=
 not need
> > to worry which interface (wlan0, wlan1, wlan2, etc.) a device will =
come up
> > on, the system configures any device of a given type using a common=
 set of
> > configuration. For systems that have only one Wi-Fi device, your me=
thod is
> > as good as this one, but for systems that have more than one Wi-Fi =
device,
> > some of them coming off and on while the system is running, possibl=
y using
> > different interface names, the modprobe.conf solution is better.
> >
> > Martin
> >
> >
> This might better be done in the stack, rather than the driver. This =
way,
> all drivers would get this functionality. CCing the linux-wireless ma=
iling
> list.

In general I think we would like to avoid module options, especially
in cases where the userland equivalent is easily accomplished.
But if this is truly warranted it would make more sense to put it
into mac80211 than into an individual driver.

Why would you want to automatically create several monitor interfaces
on the same box?  Won't this usually be more-or-less redundant?

> Also, since an userspace solution might be preferred by Linville and =
the
> other wireless maintainers, it might be wise to add an "aggregate dev=
ice" or
> a "supermaster" which can be targeted by iw so that all devices gover=
ned by
> that driver get a new interface.

Gack!  The last thing I would want to see is more magical netdevs
with mysterious purposes...

> Alternatively, a script can be made that creates a monitor interface =
on monX
> or rtapX for all wmasterX devices. This is equivalent to madwifi's so=
lution,
> except that it's userspace, which is preferred now.

The scripts later in the thread seem simple enough.  Do they suffice?

John
--=20
John W. Linville
linville@tuxdriver.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-05-16 15:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7a0107ba0805151404o778a09ddj522fffa3edbeec6@mail.gmail.com>
     [not found] ` <69e28c910805160316q7c1b869an7fd554979ea260b8@mail.gmail.com>
     [not found]   ` <7a0107ba0805160627l55f53b04r69a32e1bba36ecb6@mail.gmail.com>
     [not found]     ` <69e28c910805160703j4fef73e8x2c357f91d4b43ea5@mail.gmail.com>
2008-05-16 14:04       ` Fwd: [ipw3945-devel] Monitor mode on boot Stefanik Gábor
2008-05-16 14:28       ` Stefanik Gábor
2008-05-16 14:30         ` Stefanik Gábor
2008-05-16 15:08       ` John W. Linville [this message]
     [not found]         ` <7a0107ba0805160906r4bfcd09ch6e550b929e3bd21d@mail.gmail.com>
2008-05-16 16:16           ` Stefanik Gábor
     [not found]             ` <7a0107ba0805160926ib7cc07er57c00054dec238e@mail.gmail.com>
2008-05-16 16:40               ` Stefanik Gábor
     [not found]                 ` <7a0107ba0805160948j3ca21a85v1b5fce8ddca23ac9@mail.gmail.com>
2008-05-16 17:27                   ` John W. Linville
2008-05-16 20:24                     ` Johannes Berg

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=20080516150824.GB6510@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=ipw3945-devel@lists.sourceforge.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=martind1111@gmail.com \
    --cc=netrolller.3d@gmail.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;
as well as URLs for NNTP newsgroup(s).