Re: What happened to linux/802_11.h?

From: Jean Tourrilhes
Date: Mon Jun 21 2004 - 19:49:31 EST


On Mon, Jun 21, 2004 at 05:38:27PM -0700, Andrew Morton wrote:
> Joshua Kwan <jkwan@xxxxxxxxxxxx> wrote:
> >
> > Hello,
> >
> > linus.patch from -mm1:
> > # BitKeeper/deleted/.del-802_11.h~9b6bd4cff8af7a90
> > # 2004/06/18 09:47:58-07:00 torvalds@xxxxxxxxxxxxxxx +0 -0
> > # Delete: include/linux/802_11.h
> >
> > Why was this file removed?
>
> Nothing in the kernel is using it.

It was a remnant from the old aironet4500 driver that was
removed during 2.5.X. It was also confusing because there is a file
called drivers/net/wireless/ieee802_11.h that has a somewhat similar
purpose and is used in various drivers (Orinoco, Atmel). I think it
was discussed on netdev.
I was not aware that IPW2100 was using it. I could not try
this driver because it doesn't compile with gcc 2.95.

> > The IPW2100 driver
> > (http://ipw2100.sourceforge.net) uses its definitions and now won't build
> > against -bk or -mm kernel source.
>
> Jean, should we restore 802_11.h, or is there some alternative file which
> that driver should be using?

Well, Jeff explicitely said that we should not care about
drivers outside the kernel ;-)
Seriously, I see three solutions :
1) Convert ipw2100 to using drivers/net/wireless/ieee802_11.h,
extend this header as necessary
2) Have ipw2100 use a private version of 802_11.h
3) Convince us that this file is really needed (good luck)
Obviously (1) is better in the long term.

Have fun...

Jean
-
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/