On Thu, Jan 19, 2006 at 04:30:34PM +0100, feyd wrote:
> The point of the master not being netdev is to separate the two
> functions it serves - configuration and master interface, as combining
> them makes sense only for softmac devices.
> The single queue that all the packets have to pass and can be sheduled
> is the raw/rfmon device.
> 
> phy0     # not netdev, represents rather the radio
>  *->ap0  # no qdisc
>  *->sta0 # -//-
>  *->raw0 # qdisc

This should also let use use raw0 to write packets from userspace in a
consistent format (and this means the drivers will have to do some work
in some cases if they don't match the 'consistent format'.)

Right now I've been working on a userspace library to do common tx,
because of the 5 or so drivers that I know support it, many have their
own quirks about what they can do and how they format things (3addr,
4addr, different endians on the same host, etc).

I also think some sort of ioctl to get the feature set of the rawX
device would be good -- some can't inject all frames, some override
sequence/bsstimestamp, etc, and we need to know this from userspace for
some applications.  I *suppose* we could even include endian formats in
that, but I don't know that userspace ought to be dealing with endian
flipping for a specific card type.

-m

-- 
Mike Kershaw/Dragorn <[EMAIL PROTECTED]>
GPG Fingerprint: 3546 89DF 3C9D ED80 3381  A661 D7B2 8822 738B BDB1

"For every action there is an equal and opposite reaction.  Unfortunately, for
most people, that reaction is illiteracy."

Attachment: pgpa40sonJ1h0.pgp
Description: PGP signature

Reply via email to