* IEEE80211 and IPW3945
@ 2006-11-18 10:20 Martin Lorenz
2006-11-18 12:31 ` Hesse, Christian
2006-11-18 12:49 ` Ismail Donmez
0 siblings, 2 replies; 5+ messages in thread
From: Martin Lorenz @ 2006-11-18 10:20 UTC (permalink / raw)
To: jketreno; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
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
[-- Attachment #2: ieee_api_define.patch --]
[-- Type: text/plain, Size: 620 bytes --]
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h
index ee66681..b0d1ca3 100644
--- a/include/net/ieee80211.h
+++ b/include/net/ieee80211.h
@@ -30,8 +30,11 @@
#include <linux/wireless.h>
#define IEEE80211_VERSION_MAJOR 1
+#define IEEE80211_MAJOR_VERSION IEEE80211_VERSION_MAJOR
#define IEEE80211_VERSION_API 2
+#define IEEE80211_API_VERSION IEEE80211_VERSION_API
#define IEEE80211_VERSION_MINOR 15
+#define IEEE80211_MINOR_VERSION IEEE80211_VERSION_MINOR
#define IEEE80211_VERSION_CODE IEEE80211_VERSION_MAJOR * 65536 + \
IEEE80211_VERSION_API * 256 + \
IEEE80211_VERSION_MINOR
[-- Attachment #3: config_h.patch --]
[-- Type: text/plain, Size: 397 bytes --]
diff --git a/include/linux/config.h b/include/linux/config.h
new file mode 100644
index 0000000..a91f5e5
--- /dev/null
+++ b/include/linux/config.h
@@ -0,0 +1,8 @@
+#ifndef _LINUX_CONFIG_H
+#define _LINUX_CONFIG_H
+/* This file is no longer in use and kept only for backward compatibility.
+ * autoconf.h is now included via -imacros on the commandline
+ */
+#include <linux/autoconf.h>
+
+#endif
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: IEEE80211 and IPW3945
2006-11-18 10:20 IEEE80211 and IPW3945 Martin Lorenz
@ 2006-11-18 12:31 ` Hesse, Christian
2006-11-18 12:49 ` Ismail Donmez
1 sibling, 0 replies; 5+ messages in thread
From: Hesse, Christian @ 2006-11-18 12:31 UTC (permalink / raw)
To: Martin Lorenz; +Cc: jketreno, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 417 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: IEEE80211 and IPW3945
2006-11-18 10:20 IEEE80211 and IPW3945 Martin Lorenz
2006-11-18 12:31 ` Hesse, Christian
@ 2006-11-18 12:49 ` Ismail Donmez
2006-11-18 14:26 ` Stephen Clark
1 sibling, 1 reply; 5+ messages in thread
From: Ismail Donmez @ 2006-11-18 12:49 UTC (permalink / raw)
To: jketreno, linux-kernel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: IEEE80211 and IPW3945
2006-11-18 12:49 ` Ismail Donmez
@ 2006-11-18 14:26 ` Stephen Clark
2006-11-18 14:41 ` Ismail Donmez
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Clark @ 2006-11-18 14:26 UTC (permalink / raw)
To: Ismail Donmez; +Cc: jketreno, linux-kernel
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 majordomo@vger.kernel.org
>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)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: IEEE80211 and IPW3945
2006-11-18 14:26 ` Stephen Clark
@ 2006-11-18 14:41 ` Ismail Donmez
0 siblings, 0 replies; 5+ messages in thread
From: Ismail Donmez @ 2006-11-18 14:41 UTC (permalink / raw)
To: Stephen.Clark; +Cc: jketreno, linux-kernel
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 majordomo@vger.kernel.org
> >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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-11-18 14:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-18 10:20 IEEE80211 and IPW3945 Martin Lorenz
2006-11-18 12:31 ` Hesse, Christian
2006-11-18 12:49 ` Ismail Donmez
2006-11-18 14:26 ` Stephen Clark
2006-11-18 14:41 ` Ismail Donmez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.