2006-11-18 10:25:08

by Martin Lorenz

[permalink] [raw]
Subject: IEEE80211 and IPW3945

Dear James,

I just had some issues when trying to compile ieee80211 1.2.15 together with
ipw3945 1.1.2 on the latest kernel tree

attached are two patches I had to create to work around it
I guess they are self-explanatory :-)

greets
mlo
--
Dipl.-Ing. Martin Lorenz

They that can give up essential liberty
to obtain a little temporary safety
deserve neither liberty nor safety.
Benjamin Franklin

please encrypt your mail to me
GnuPG key-ID: F1AAD37D
get it here:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xF1AAD37D

ICQ UIN: 33588107


Attachments:
(No filename) (617.00 B)
ieee_api_define.patch (620.00 B)
config_h.patch (397.00 B)
Download all attachments

2006-11-18 12:35:12

by Christian Hesse

[permalink] [raw]
Subject: Re: IEEE80211 and IPW3945

On Saturday 18 November 2006 11:20, Martin Lorenz wrote:
> Dear James,
>
> I just had some issues when trying to compile ieee80211 1.2.15 together
> with ipw3945 1.1.2 on the latest kernel tree
>
> attached are two patches I had to create to work around it
> I guess they are self-explanatory :-)

I think you should not recreate linux/config.h but remove the reference to
it...
--
Regards,
Christian


Attachments:
(No filename) (403.00 B)
(No filename) (189.00 B)
Download all attachments

2006-11-18 12:49:51

by Ismail Dönmez

[permalink] [raw]
Subject: Re: IEEE80211 and IPW3945

18 Kas 2006 Cts 12:20 tarihinde, Martin Lorenz şunları yazmıştı:
> Dear James,
>
> I just had some issues when trying to compile ieee80211 1.2.15 together
> with ipw3945 1.1.2 on the latest kernel tree
>
> attached are two patches I had to create to work around it
> I guess they are self-explanatory :-)

I wonder when will ieee80211 tree will be merged to mainline, according to
some posts[1] its needed for some devices.

[1] http://www.ubuntuforums.org/showthread.php?t=156930

/ismail

2006-11-18 14:26:20

by Stephen Clark

[permalink] [raw]
Subject: Re: IEEE80211 and IPW3945

Ismail Donmez wrote:

>18 Kas 2006 Cts 12:20 tarihinde, Martin Lorenz şunları yazmıştı:
>
>
>>Dear James,
>>
>>I just had some issues when trying to compile ieee80211 1.2.15 together
>>with ipw3945 1.1.2 on the latest kernel tree
>>
>>attached are two patches I had to create to work around it
>>I guess they are self-explanatory :-)
>>
>>
>
>I wonder when will ieee80211 tree will be merged to mainline, according to
>some posts[1] its needed for some devices.
>
>[1] http://www.ubuntuforums.org/showthread.php?t=156930
>
>/ismail
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>

On Mon, 13 Nov 2006 08:42:55 -0500 Stephen Clark wrote:


>> can someone tell me why I have to replace the 803.11 stack that is
>> already in
>> linux 2.6.19 rc5 with the stack at sf.
>
>

You don't have to.
The one in .19-rc5 is new enough (the one in .18 too AFAIK)

I have successfully run ipw3945 with FC6 using the ieee80211 stack from the kernel
I just had to compile with:
make IEEE80211_API=2 EXTRA_CFLAGS=-DIEEE80211_API_VERSION=2

and ln autoconf.h to config.h

HTH,
steve



--

"They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety." (Ben Franklin)

"The course of history shows that as a government grows, liberty
decreases." (Thomas Jefferson)



2006-11-18 14:41:17

by Ismail Dönmez

[permalink] [raw]
Subject: Re: IEEE80211 and IPW3945

18 Kas 2006 Cts 16:26 tarihinde, Stephen Clark şunları yazmıştı:
> Ismail Donmez wrote:
> >18 Kas 2006 Cts 12:20 tarihinde, Martin Lorenz şunları yazmıştı:
> >>Dear James,
> >>
> >>I just had some issues when trying to compile ieee80211 1.2.15 together
> >>with ipw3945 1.1.2 on the latest kernel tree
> >>
> >>attached are two patches I had to create to work around it
> >>I guess they are self-explanatory :-)
> >
> >I wonder when will ieee80211 tree will be merged to mainline, according to
> >some posts[1] its needed for some devices.
> >
> >[1] http://www.ubuntuforums.org/showthread.php?t=156930
> >
> >/ismail
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> >the body of a message to [email protected]
> >More majordomo info at http://vger.kernel.org/majordomo-info.html
> >Please read the FAQ at http://www.tux.org/lkml/
>
> On Mon, 13 Nov 2006 08:42:55 -0500 Stephen Clark wrote:
> >> can someone tell me why I have to replace the 803.11 stack that is
> >> already in
> >> linux 2.6.19 rc5 with the stack at sf.
>
> You don't have to.
> The one in .19-rc5 is new enough (the one in .18 too AFAIK)
>
> I have successfully run ipw3945 with FC6 using the ieee80211 stack from the
> kernel I just had to compile with:
> make IEEE80211_API=2 EXTRA_CFLAGS=-DIEEE80211_API_VERSION=2

Nice tip! Thanks.

/ismail