netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Kondratiev <vkondra@mail.ru>
To: netdev@oss.sgi.com
Cc: "David S. Miller" <davem@davemloft.net>,
	acx100-devel@lists.sourceforge.net,
	greg chesson <greg@atheros.com>,
	hadi@cyberus.ca, jgarzik@pobox.com, jkmaline@cc.hut.fi,
	prism54-devel@prism54.org, sam@errno.com,
	vda@port.imtp.ilyichevsk.odessa.ua
Subject: Re: [RFC] acx100 inclusion in mainline; generic 802.11 stack
Date: Wed, 8 Sep 2004 22:51:38 +0300	[thread overview]
Message-ID: <200409082251.45771.vkondra@mail.ru> (raw)
In-Reply-To: <413F2D33.1000508@atheros.com>

[-- Attachment #1: Type: text/plain, Size: 3582 bytes --]

Greg,
you missed one important point. Besides data packets, that every driver now 
convert .11<->.3 using almost the same code, there is whole story of 
management. Many modern cards are "softmac" and do all management on host. I 
see no point for every driver to implement its own scanning and association. 
It is simply waste of resources.

To make step forward, I suggest the following:

1. Dave's code is at least year old. someone need to start maintain it, 
starting with update for current kernel infrastructure. Get it compile and 
load for 2.6.9, for example.

2. To debug stack, you don't need real driver. I can write dummy .11 driver 
that will silently discard all Tx, and will provide some way for user level 
tool to simulate Rx (ioctl, netlink, does not really matter). For logic, it 
is sufficient. Later, when it will come to timing, performance etc, it will 
be easy to strip some real driver.

This may be king of "proof of concept".

Vladimir

On Wednesday 08 September 2004 19:02, greg chesson wrote:
gc> You guys are too serious and, I believe, missed the real points.
gc>
gc> 1.  There is a need in the OS for a "service" to convert between
gc>        .11 and .3 packet formats.   It should be designed for
gc> hw-independence.
gc>       Everyone sees the same potential for unification
gc>        of wireless drivers.
gc>
gc> 2.  It's harder to do than it first appears because the complete
gc>       transformation from .3 to .11 cannot be done in isolation
gc>       from the driver(s) and there are monkey wrenches that get
gc>       tossed in from crypto, interaction between crypto and
 fragementation, gc>       power-save, observing txoplimits, and other things
 that tend gc>       to cross architecture lines that would otherwise be nice
 and clean. gc>
gc> 3.  I personally don't have religion about whether a service
gc>       that transforms headers is implemented as a stack or implemented
gc>       as a side call.   I think that a variety of factors are worth
gc> considering.
gc>       In this particular case (header transformation), I believe a side
 call gc>       "helper function" is appropriate and has less overhead than
 the full gc>       protocol stack mechanism.   But it's pointless to argue
 about it gc> without
gc>       measurements.
gc>
gc> 4.  David's skeleton code is quite interesting and a good start.
gc>        You won't know its usefulness until someone tries to implement
gc>       a real driver.
gc>
gc> g
gc>
gc>
gc>
gc> jamal wrote:
gc> > On Tue, 2004-09-07 at 13:10, David S. Miller wrote:
gc> >
gc> >>On Tue, 07 Sep 2004 10:03:41 -0700
gc> >>greg chesson <greg@atheros.com> wrote:
gc> >>
gc> >>
gc> >>>What about eth_type_trans()?
gc> >>
gc> >>It determines the protocol type from the ethernet header
gc> >>fields.  It is a simple shorthand header field fetcher,
gc> >>not a protocol stack.
gc> >>
gc> >>You would need a eth80211_type_trans() for wireless
gc> >>drivers too, and surprise surprise my skeleton 802.11
gc> >>stack code in fact does exactly this.
gc> >
gc> >
gc> > Or as Andi has been suggesting for sometime, not invoke it all ;->
gc> > This is possible if the DMA descriptor already has all the info
gc> > needed (quiet a few modern hardware can be programmed to do this).
gc> > .. er, at the driver level. So this is not "a gross input packet
gc> > hooked eater thing that's an ugly wart bolted onto the
gc> > side of the driver API.";->
gc> >
gc> > cheers,
gc> > jamal
gc> >
gc> >
gc> >
gc>
gc>
gc>
gc>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-09-08 19:51 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31 18:11 [RFC] acx100 inclusion in mainline; generic 802.11 stack Denis Vlasenko
2004-08-31 18:21 ` Jeff Garzik
2004-08-31 19:14   ` Vladimir Kondratiev
2004-08-31 21:37     ` Luis R. Rodriguez
2004-08-31 22:06       ` Vladimir Kondratiev
2004-09-01  2:22       ` Jouni Malinen
2004-09-02 20:24   ` Vladimir Kondratiev
2004-09-02 20:33     ` Jeff Garzik
2004-09-03 17:37       ` Vladimir Kondratiev
2004-09-03 20:29         ` Jeff Garzik
2004-09-06 18:13 ` Sam Leffler
2004-09-06 18:57   ` Vladimir Kondratiev
2004-09-06 19:30     ` Sam Leffler
2004-09-06 20:09       ` Vladimir Kondratiev
2004-09-06 23:04         ` Sam Leffler
2004-09-07  1:23   ` David S. Miller
2004-09-07  4:32     ` Sam Leffler
2004-09-07  6:47       ` David S. Miller
2004-09-07 17:22         ` Vladimir Kondratiev
2004-09-07 17:32           ` David S. Miller
2004-09-07 18:06             ` Vladimir Kondratiev
2004-09-07 18:08               ` David S. Miller
2004-09-07 18:41                 ` Vladimir Kondratiev
2004-09-07 19:10                   ` David S. Miller
2004-09-07 19:54                     ` Vladimir Kondratiev
2004-09-09  2:40                       ` Sam Leffler
2004-09-09  4:36                       ` Luis R. Rodriguez
2004-09-07 17:03       ` [RFC] acx100 inclusion in mainline; " greg chesson
2004-09-07 17:10         ` David S. Miller
2004-09-07 18:14           ` greg chesson
2004-09-07 18:16             ` David S. Miller
2004-09-08  7:38           ` jamal
2004-09-08 16:02             ` greg chesson
2004-09-08 19:51               ` Vladimir Kondratiev [this message]
2004-09-08 20:52                 ` greg chesson
2004-09-08 21:54                   ` Vladimir Kondratiev
2004-09-09 17:06                     ` greg chesson
2004-09-12 18:03                       ` Vladimir Kondratiev
2004-09-13  0:09                         ` Jeff Garzik
2004-09-13  0:45                           ` David S. Miller
2004-09-15 17:57                             ` James Ketrenos
2004-09-13  0:14                         ` David S. Miller
2004-09-13  5:39                           ` Vladimir Kondratiev
2004-09-13  5:50                             ` Jeff Garzik
2004-09-13 23:21                               ` David S. Miller
2004-09-14  5:14                                 ` Vladimir Kondratiev
2004-09-14  5:35                                   ` David S. Miller
2004-09-14 23:55                                     ` Luis R. Rodriguez
2004-09-15  0:11                                       ` Jeff Garzik
2004-09-15  0:51                                         ` greg chesson
2004-09-15  1:19                                           ` Jeff Garzik
2004-09-15  3:02                                             ` Luis R. Rodriguez
2004-09-15  3:05                                               ` Jeff Garzik
2004-09-15  3:17                                                 ` Luis R. Rodriguez
2004-09-15  5:44                                                   ` Vladimir Kondratiev
2004-09-15 14:47                                                     ` greg chesson
2004-09-15 15:55                                                       ` David S. Miller
2004-09-15 16:48                                                         ` Sam Leffler
2004-09-15 17:06                                                           ` David S. Miller
2004-09-28 12:20                   ` [RFC] acx100 inclusion in mainline; " Luis R. Rodriguez
2004-09-28 20:29                     ` Vladimir Kondratiev
2004-09-29  0:48                       ` Luis R. Rodriguez
2004-09-29  7:10                         ` Vladimir Kondratiev
2004-09-29  8:00                           ` Luis R. Rodriguez
2004-10-01 14:30                             ` Vladimir Kondratiev
2004-10-01 22:53                               ` David S. Miller
2004-10-01 23:25                                 ` Vladimir Kondratiev
2004-10-02  0:11                                   ` David S. Miller
2004-09-08 21:19                 ` [Acx100-devel] Re: [RFC] acx100 inclusion in mainline; " Denis Vlasenko
2004-09-09  3:31                   ` Sam Leffler

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=200409082251.45771.vkondra@mail.ru \
    --to=vkondra@mail.ru \
    --cc=acx100-devel@lists.sourceforge.net \
    --cc=davem@davemloft.net \
    --cc=greg@atheros.com \
    --cc=hadi@cyberus.ca \
    --cc=jgarzik@pobox.com \
    --cc=jkmaline@cc.hut.fi \
    --cc=netdev@oss.sgi.com \
    --cc=prism54-devel@prism54.org \
    --cc=sam@errno.com \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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).