Skip to contentSkip to conversation

IEEE80211 and IPW3945

PATCH Martin Lorenz 4 participants 5 messages Nov 18, 2006 Networking

lore
Share & tools
lore
#0 lore raw

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

include/net/ieee80211.h +3 -0
index ee66681..b0d1ca3 100644
@@ -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
include/linux/config.h new file +8 -0
new file mode 100644
index 0000000..a91f5e5
@@ -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
#1 lore raw
Quoted 7 lines · Martin Lorenz

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...

Signature · 2 lines
Regards,
Christian
#2 lore raw
In reply to Martin Lorenz

18 Kas 2006 Cts 12:20 tarihinde, Martin Lorenz şunları yazmıştı:

Quoted 7 lines

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

#3 lore raw
Quoted 26 lines · Ismail Donmez

18 Kas 2006 Cts 12:20 tarihinde, Martin Lorenz şunları yazmıştı:

Quoted 9 lines

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/

Quoted 4 lines · On Mon, 13 Nov 2006 08:42:55 -0500 Stephen Clark wrote:
Quoted 2 lines

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

Signature · 3 lines
"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)
#4 lore raw

18 Kas 2006 Cts 16:26 tarihinde, Stephen Clark şunları yazmıştı:

Quoted 27 lines
Quoted 20 lines · Ismail Donmez

18 Kas 2006 Cts 12:20 tarihinde, Martin Lorenz şunları yazmıştı:

Quoted 7 lines

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/

Quoted 3 lines · On Mon, 13 Nov 2006 08:42:55 -0500 Stephen Clark wrote:
Quoted 3 lines

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.

Quoted 6 lines

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