Re: libertas (private) ioctls vs. nl80211

From: John W. Linville
Date: Thu Jun 14 2007 - 15:26:29 EST


On Thu, Jun 14, 2007 at 11:23:11AM -0700, Linus Torvalds wrote:
>
>
> On Thu, 14 Jun 2007, Christoph Hellwig wrote:
> >
> > > I suspect that the probability of your proposal succeeding would be increased
> > > if you could prepare a patch...
> >
> > Here we go:

FWIW, I do appreciate the patch rather than just mere
complaining... :-)

> I don't mind ripping them out, but it makes sense only if people are
> actually signed up to implementing this on a higher layer. As such, I'd
> need to get a sign-off from somebody actually involved in wireless mesh
> stuff etc.

I'm not aware of any project working on wireless mesh in mac80211 at
the moment, serious or otherwise. I think one would be worthwhile,
but I don't know of anyone working on it.

> Please? I do agree that the private iwpriv interface seems to be totally
> the wrong thing to do, but I want to see this as a first step towards a
> better situation, rather than just a "remove code that is ugly" issue!

Private wireless extensions are ugly, even uglier in some ways than
normal private ioctls. However, they have been used in the past for
just this sort of thing (i.e. something a given driver can do but is
not generically available).

We don't have either generic functionality
for mesh in mac80211 or even other drivers doing mesh on their own,
so there is nothing to validate a generic configuration option.
Further, while the beginnings of nl80211 are available it will still
be some non-zero time before it is even mature enough to replace
truly generic configuration facilities in the wireless extensions.

> Comments?

Aside from simply carrying an out-of-stream patch, the OLPC and
libertas driver people would have only the alternative of hacking-up
a debugfs configuration regime. Is it worthwhile to obligate them
to either alternative? What is to be gained?

It does not make sense to me to rip this out purely for aesthetic
reasons.

John
--
John W. Linville
linville@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/