1 Index: madwifi-ng-r2834-20071106/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:04.077603246 +0100
4 +++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:04.537629461 +0100
6 #include <net80211/if_llc.h>
12 #include "net80211/if_athproto.h"
13 #include "if_athvar.h"
14 Index: madwifi-ng-r2834-20071106/ath_rate/amrr/amrr.c
15 ===================================================================
16 --- madwifi-ng-r2834-20071106.orig/ath_rate/amrr/amrr.c 2007-11-07 14:01:59.177323993 +0100
17 +++ madwifi-ng-r2834-20071106/ath_rate/amrr/amrr.c 2007-11-07 14:02:04.545629914 +0100
25 #define DPRINTF(sc, _fmt, ...) do { \
26 if (sc->sc_debug & 0x10) \
27 Index: madwifi-ng-r2834-20071106/ath_rate/minstrel/minstrel.c
28 ===================================================================
29 --- madwifi-ng-r2834-20071106.orig/ath_rate/minstrel/minstrel.c 2007-11-07 14:02:01.169437517 +0100
30 +++ madwifi-ng-r2834-20071106/ath_rate/minstrel/minstrel.c 2007-11-07 14:02:04.549630142 +0100
35 -#define MINSTREL_DEBUG
36 +#undef MINSTREL_DEBUG
39 ATH_DEBUG_RATE = 0x00000010 /* rate control */
40 Index: madwifi-ng-r2834-20071106/ath_rate/onoe/onoe.c
41 ===================================================================
42 --- madwifi-ng-r2834-20071106.orig/ath_rate/onoe/onoe.c 2007-11-07 14:01:59.193324906 +0100
43 +++ madwifi-ng-r2834-20071106/ath_rate/onoe/onoe.c 2007-11-07 14:02:04.553630371 +0100
52 ATH_DEBUG_RATE = 0x00000010, /* rate control */
53 Index: madwifi-ng-r2834-20071106/ath_rate/sample/sample.c
54 ===================================================================
55 --- madwifi-ng-r2834-20071106.orig/ath_rate/sample/sample.c 2007-11-07 14:01:59.201325359 +0100
56 +++ madwifi-ng-r2834-20071106/ath_rate/sample/sample.c 2007-11-07 14:02:04.557630601 +0100
65 ATH_DEBUG_NODE = 0x00080000, /* node management */
66 Index: madwifi-ng-r2834-20071106/net80211/ieee80211_var.h
67 ===================================================================
68 --- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_var.h 2007-11-07 14:01:59.209325817 +0100
69 +++ madwifi-ng-r2834-20071106/net80211/ieee80211_var.h 2007-11-07 14:02:04.561630827 +0100
71 #ifndef _NET80211_IEEE80211_VAR_H_
72 #define _NET80211_IEEE80211_VAR_H_
74 -#define IEEE80211_DEBUG
75 -#define IEEE80211_DEBUG_REFCNT /* Node reference count debugging */
76 +#undef IEEE80211_DEBUG
77 +#undef IEEE80211_DEBUG_REFCNT /* Node reference count debugging */
79 /* Definitions for IEEE 802.11 drivers. */
80 #include <net80211/ieee80211_linux.h>
81 Index: madwifi-ng-r2834-20071106/tools/do_multi.c
82 ===================================================================
83 --- madwifi-ng-r2834-20071106.orig/tools/do_multi.c 2007-11-07 14:02:00.197382122 +0100
84 +++ madwifi-ng-r2834-20071106/tools/do_multi.c 2007-11-07 14:02:04.565631053 +0100
87 progname = basename(argv[0]);
90 if(strcmp(progname, "80211debug") == 0)
91 ret = a80211debug_init(argc, argv);
93 if(strcmp(progname, "80211stats") == 0)
94 ret = a80211stats_init(argc, argv);
95 if(strcmp(progname, "athchans") == 0)
96 ret = athchans_init(argc, argv);
97 if(strcmp(progname, "athctrl") == 0)
98 ret = athctrl_init(argc, argv);
100 if(strcmp(progname, "athdebug") == 0)
101 ret = athdebug_init(argc, argv);
103 if(strcmp(progname, "athkey") == 0)
104 ret = athkey_init(argc, argv);
105 if(strcmp(progname, "athstats") == 0)
106 Index: madwifi-ng-r2834-20071106/tools/Makefile
107 ===================================================================
108 --- madwifi-ng-r2834-20071106.orig/tools/Makefile 2007-11-07 14:02:00.197382122 +0100
109 +++ madwifi-ng-r2834-20071106/tools/Makefile 2007-11-07 14:02:04.565631053 +0100
113 ALLPROGS= athstats 80211stats athkey athchans athctrl \
114 - athdebug 80211debug wlanconfig ath_info
115 + wlanconfig ath_info
117 OBJS= $(patsubst %,%.o,$(ALLPROGS) do_multi)
118 ALL= ${OBJS} madwifi_multi
120 ${CC} -c -o do_multi.o -DDOMULTI=1 ${ALL_CFLAGS} do_multi.c
121 madwifi_multi: $(OBJS)
122 ${CC} -o madwifi_multi ${LDFLAGS} ${OBJS}
123 - for i in athstats 80211stats athkey athchans athctrl athdebug wlanconfig 80211debug; do \
124 + for i in athstats 80211stats athkey athchans athctrl wlanconfig; do \
125 ln -s -f madwifi_multi $$i; \