blob: 95729905ba06bbbd74477046c9497362d921042d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
Index: ipw3945-1.1.3/Makefile
===================================================================
--- ipw3945-1.1.3.orig/Makefile
+++ ipw3945-1.1.3/Makefile
@@ -26,20 +26,20 @@ CONFIG_IPW3945_DEBUG=y
# NOTE: If you have problems compiling due to IW_MODE_MONITOR not being
# defined then you need to update the wireless extension version
# installed in your kernel, or comment this line out.
-# CONFIG_IPW3945_MONITOR=y
+CONFIG_IPW3945_MONITOR=y
# If you are interested in using radiotap headers in monitor mode,
# simply uncomment:
#
# NOTE: To use RADIOTAP you must also enable MONITOR above.
-# CONFIG_IEEE80211_RADIOTAP=y
+CONFIG_IEEE80211_RADIOTAP=y
# The above monitor mode provides standard monitor mode. The following
# will create a new interface (named raw%d) which will be sent all
# 802.11 frames received on the interface
#
# NOTE: To use PROMISCUOUS you must also enable MONITOR above.
-# CONFIG_IPW3945_PROMISCUOUS=y
+CONFIG_IPW3945_PROMISCUOUS=y
# The following, if enabled, will add a sysfs entry 'rx' that raw
# 802.11 radiotap formatted packets can be written to. Those packets
@@ -172,34 +172,6 @@ utils:
@[ ! -d util ] || make -C util IEEE80211_PATH=$(IEEE80211_PATH)
check_inc:
- @( [ "$(IEEE80211_DUPLICATE)" ] && echo -e \
-"\n WARNING: Your kernel contains ieee80211 symbol definitions and you\n"\
-"are not using the kernel's default ieee80211 subsystem. (Perhaps you\n"\
-"used the out-of-tree ieee80211 subsystem's 'make install' or have\n"\
-"provided a path to the ieee80211 subsystem via IEEE80211_INC.)\n\n"\
-"If you wish to use the out-of-tree ieee80211 subsystem then it is\n"\
-"recommended to use that projects' \"make patch_kernel\" facility\n"\
-"and rebuild your kernel to update the Module symbol version information.\n"\
-"\n"\
-"Failure to do this may result in build warnings and unexpected\n"\
-"behavior when running modules which rely on the ieee80211 subsystem.\n\n"\ || \
- exit 0)
-
- @( [ "$(IEEE80211_DUPLICATE)" ] && \
- [ ! "$(IEEE80211_IGNORE_DUPLICATE)" ] && echo -e \
-" Aborting the build. You can force the build to continue by adding:\n\n"\
-"\tIEEE80211_IGNORE_DUPLICATE=y\n\n"\
-"to your make command line.\n\n" && exit 1 || exit 0)
-
- @( [ ! "$(IEEE80211_API)" ] && echo -e \
-"\n ERROR: A compatible subsystem was not found in the following path[s]:\n\n"\
-"\t$(IEEE80211_RES)\n\n"\
-"You need to install the ieee80211 subsystem from http://ieee80211.sf.net\n"\
-"and point this build to the location where you installed those sources, eg.:\n\n"\
-"\t% make IEEE80211_INC=/usr/src/ieee80211/\n\n"\
-"or use the 'make patch_kernel' within the ieee80211 subsystem to patch your\n"\
-"kernel sources.\n" && exit 1 || exit 0)
-
@echo -e \
" Using ieee80211 subsystem version API v$(IEEE80211_API) from:\n\n" \
"\tBase: $(IEEE80211_BASE)\n" \
|