1 Index: madwifi-ng-r2568-20070710/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-23 01:48:43.942484311 +0200
4 +++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-23 01:48:44.466514171 +0200
6 #include <net80211/if_llc.h>
12 #include "net80211/if_athproto.h"
13 #include "if_athvar.h"
14 Index: madwifi-ng-r2568-20070710/ath_rate/amrr/amrr.c
15 ===================================================================
16 --- madwifi-ng-r2568-20070710.orig/ath_rate/amrr/amrr.c 2007-07-23 01:48:37.298105667 +0200
17 +++ madwifi-ng-r2568-20070710/ath_rate/amrr/amrr.c 2007-07-23 01:48:44.470514400 +0200
25 #define DPRINTF(sc, _fmt, ...) do { \
26 if (sc->sc_debug & 0x10) \
27 Index: madwifi-ng-r2568-20070710/ath_rate/minstrel/minstrel.c
28 ===================================================================
29 --- madwifi-ng-r2568-20070710.orig/ath_rate/minstrel/minstrel.c 2007-07-23 01:48:40.974315165 +0200
30 +++ madwifi-ng-r2568-20070710/ath_rate/minstrel/minstrel.c 2007-07-23 01:48:44.494515770 +0200
35 -#define MINSTREL_DEBUG
36 +#undef MINSTREL_DEBUG
39 ATH_DEBUG_RATE = 0x00000010 /* rate control */
40 Index: madwifi-ng-r2568-20070710/ath_rate/onoe/onoe.c
41 ===================================================================
42 --- madwifi-ng-r2568-20070710.orig/ath_rate/onoe/onoe.c 2007-07-23 01:48:37.314106578 +0200
43 +++ madwifi-ng-r2568-20070710/ath_rate/onoe/onoe.c 2007-07-23 01:48:44.518517136 +0200
52 ATH_DEBUG_RATE = 0x00000010, /* rate control */
53 Index: madwifi-ng-r2568-20070710/ath_rate/sample/sample.c
54 ===================================================================
55 --- madwifi-ng-r2568-20070710.orig/ath_rate/sample/sample.c 2007-07-23 01:48:37.322107035 +0200
56 +++ madwifi-ng-r2568-20070710/ath_rate/sample/sample.c 2007-07-23 01:48:44.546518731 +0200
65 ATH_DEBUG_NODE = 0x00080000, /* node management */
66 Index: madwifi-ng-r2568-20070710/net80211/ieee80211_proto.c
67 ===================================================================
68 --- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_proto.c 2007-07-23 01:48:37.330107492 +0200
69 +++ madwifi-ng-r2568-20070710/net80211/ieee80211_proto.c 2007-07-23 01:48:44.570520097 +0200
72 EXPORT_SYMBOL(ieee80211_aclator_get);
74 +#ifdef IEEE80211_DEBUG
76 ieee80211_print_essid(const u_int8_t *essid, int len)
80 EXPORT_SYMBOL(ieee80211_print_essid);
82 -#ifdef IEEE80211_DEBUG
84 ieee80211_dump_pkt(struct ieee80211com *ic,
85 const u_int8_t *buf, int len, int rate, int rssi)
86 Index: madwifi-ng-r2568-20070710/net80211/ieee80211_var.h
87 ===================================================================
88 --- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_var.h 2007-07-23 01:48:37.338107946 +0200
89 +++ madwifi-ng-r2568-20070710/net80211/ieee80211_var.h 2007-07-23 01:48:44.622523064 +0200
91 #ifndef _NET80211_IEEE80211_VAR_H_
92 #define _NET80211_IEEE80211_VAR_H_
94 -#define IEEE80211_DEBUG
95 -#define IEEE80211_DEBUG_REFCNT /* Node reference count debugging */
96 +#undef IEEE80211_DEBUG
97 +#undef IEEE80211_DEBUG_REFCNT /* Node reference count debugging */
99 /* Definitions for IEEE 802.11 drivers. */
100 #include <net80211/ieee80211_linux.h>
101 Index: madwifi-ng-r2568-20070710/tools/do_multi.c
102 ===================================================================
103 --- madwifi-ng-r2568-20070710.orig/tools/do_multi.c 2007-07-23 01:48:39.754245634 +0200
104 +++ madwifi-ng-r2568-20070710/tools/do_multi.c 2007-07-23 01:48:44.650524656 +0200
107 progname = basename(argv[0]);
110 if(strcmp(progname, "80211debug") == 0)
111 ret = a80211debug_init(argc, argv);
113 if(strcmp(progname, "80211stats") == 0)
114 ret = a80211stats_init(argc, argv);
115 if(strcmp(progname, "athchans") == 0)
116 ret = athchans_init(argc, argv);
117 if(strcmp(progname, "athctrl") == 0)
118 ret = athctrl_init(argc, argv);
120 if(strcmp(progname, "athdebug") == 0)
121 ret = athdebug_init(argc, argv);
123 if(strcmp(progname, "athkey") == 0)
124 ret = athkey_init(argc, argv);
125 if(strcmp(progname, "athstats") == 0)
126 Index: madwifi-ng-r2568-20070710/tools/Makefile
127 ===================================================================
128 --- madwifi-ng-r2568-20070710.orig/tools/Makefile 2007-07-23 01:48:39.798248141 +0200
129 +++ madwifi-ng-r2568-20070710/tools/Makefile 2007-07-23 01:48:44.670525796 +0200
133 OBJS= do_multi.o athstats.o 80211stats.o athkey.o athchans.o athctrl.o \
134 - athdebug.o 80211debug.o wlanconfig.o
136 ALL= ${OBJS} madwifi_multi
140 ${CC} -c -o do_multi.o -DDOMULTI=1 ${ALL_CFLAGS} do_multi.c
142 ${CC} -o madwifi_multi ${LDFLAGS} ${OBJS}
143 - for i in athstats 80211stats athkey athchans athctrl athdebug wlanconfig 80211debug; do \
144 + for i in athstats 80211stats athkey athchans athctrl wlanconfig; do \
145 ln -s -f madwifi_multi $$i; \