1 Index: madwifi-ng-r2756-20071018/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:20.213841201 +0200
4 +++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:20.433853739 +0200
6 #include <net80211/if_llc.h>
12 #include "net80211/if_athproto.h"
13 #include "if_athvar.h"
14 Index: madwifi-ng-r2756-20071018/ath_rate/amrr/amrr.c
15 ===================================================================
16 --- madwifi-ng-r2756-20071018.orig/ath_rate/amrr/amrr.c 2007-10-24 06:20:16.253615519 +0200
17 +++ madwifi-ng-r2756-20071018/ath_rate/amrr/amrr.c 2007-10-24 06:20:20.433853739 +0200
25 #define DPRINTF(sc, _fmt, ...) do { \
26 if (sc->sc_debug & 0x10) \
27 Index: madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c
28 ===================================================================
29 --- madwifi-ng-r2756-20071018.orig/ath_rate/minstrel/minstrel.c 2007-10-24 06:20:18.217727448 +0200
30 +++ madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c 2007-10-24 06:20:20.441854191 +0200
35 -#define MINSTREL_DEBUG
36 +#undef MINSTREL_DEBUG
39 ATH_DEBUG_RATE = 0x00000010 /* rate control */
40 Index: madwifi-ng-r2756-20071018/ath_rate/onoe/onoe.c
41 ===================================================================
42 --- madwifi-ng-r2756-20071018.orig/ath_rate/onoe/onoe.c 2007-10-24 06:20:16.269616432 +0200
43 +++ madwifi-ng-r2756-20071018/ath_rate/onoe/onoe.c 2007-10-24 06:20:20.445854420 +0200
52 ATH_DEBUG_RATE = 0x00000010, /* rate control */
53 Index: madwifi-ng-r2756-20071018/ath_rate/sample/sample.c
54 ===================================================================
55 --- madwifi-ng-r2756-20071018.orig/ath_rate/sample/sample.c 2007-10-24 06:20:16.277616884 +0200
56 +++ madwifi-ng-r2756-20071018/ath_rate/sample/sample.c 2007-10-24 06:20:20.449854648 +0200
65 ATH_DEBUG_NODE = 0x00080000, /* node management */
66 Index: madwifi-ng-r2756-20071018/net80211/ieee80211_var.h
67 ===================================================================
68 --- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_var.h 2007-10-24 06:20:16.285617342 +0200
69 +++ madwifi-ng-r2756-20071018/net80211/ieee80211_var.h 2007-10-24 06:20:20.453854879 +0200
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-r2756-20071018/tools/do_multi.c
82 ===================================================================
83 --- madwifi-ng-r2756-20071018.orig/tools/do_multi.c 2007-10-24 06:20:17.249672281 +0200
84 +++ madwifi-ng-r2756-20071018/tools/do_multi.c 2007-10-24 06:20:20.453854879 +0200
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-r2756-20071018/tools/Makefile
107 ===================================================================
108 --- madwifi-ng-r2756-20071018.orig/tools/Makefile 2007-10-24 06:20:17.253672511 +0200
109 +++ madwifi-ng-r2756-20071018/tools/Makefile 2007-10-24 06:20:20.453854879 +0200
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; \