1 diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
2 --- madwifi.old/ath/if_ath.c 2007-02-20 22:50:52.277096688 +0100
3 +++ madwifi.dev/ath/if_ath.c 2007-02-20 22:53:50.476006336 +0100
5 #include <net80211/if_llc.h>
11 #include "if_athrate.h"
12 #include "net80211/if_athproto.h"
14 ath_keyprint(__func__, ix, hk, mac); \
16 #else /* defined(AR_DEBUG) */
17 -#define IFF_DUMPPKTS(sc, _m) netif_msg_dumppkts(&sc->sc_ic)
18 +#define IFF_DUMPPKTS(sc, _m)
19 #define DPRINTF(sc, _m, _fmt, ...)
20 #define KEYPRINTF(sc, k, ix, mac)
21 #endif /* defined(AR_DEBUG) */
22 diff -ur madwifi.old/ath_rate/amrr/amrr.c madwifi.dev/ath_rate/amrr/amrr.c
23 --- madwifi.old/ath_rate/amrr/amrr.c 2007-02-20 22:50:52.278096536 +0100
24 +++ madwifi.dev/ath_rate/amrr/amrr.c 2007-02-20 22:50:31.652232144 +0100
32 #define DPRINTF(sc, _fmt, ...) do { \
33 if (sc->sc_debug & 0x10) \
34 diff -ur madwifi.old/ath_rate/onoe/onoe.c madwifi.dev/ath_rate/onoe/onoe.c
35 --- madwifi.old/ath_rate/onoe/onoe.c 2007-02-20 22:50:52.278096536 +0100
36 +++ madwifi.dev/ath_rate/onoe/onoe.c 2007-02-20 22:50:31.653231992 +0100
45 ATH_DEBUG_RATE = 0x00000010, /* rate control */
46 diff -ur madwifi.old/ath_rate/sample/sample.c madwifi.dev/ath_rate/sample/sample.c
47 --- madwifi.old/ath_rate/sample/sample.c 2007-02-20 22:50:52.278096536 +0100
48 +++ madwifi.dev/ath_rate/sample/sample.c 2007-02-20 22:50:31.653231992 +0100
57 ATH_DEBUG_RATE = 0x00000010 /* rate control */
58 diff -ur madwifi.old/net80211/ieee80211_var.h madwifi.dev/net80211/ieee80211_var.h
59 --- madwifi.old/net80211/ieee80211_var.h 2007-02-20 22:50:52.279096384 +0100
60 +++ madwifi.dev/net80211/ieee80211_var.h 2007-02-20 22:50:31.654231840 +0100
63 * Definitions for IEEE 802.11 drivers.
65 -#define IEEE80211_DEBUG
66 +#undef IEEE80211_DEBUG
67 #undef IEEE80211_DEBUG_REFCNT /* node refcnt stuff */
69 #include <net80211/ieee80211_linux.h>
70 diff -ur madwifi.old/tools/do_multi.c madwifi.dev/tools/do_multi.c
71 --- madwifi.old/tools/do_multi.c 2007-02-20 22:50:52.279096384 +0100
72 +++ madwifi.dev/tools/do_multi.c 2007-02-20 22:50:31.654231840 +0100
75 progname = basename(argv[0]);
78 if(strcmp(progname, "80211debug") == 0)
79 ret = a80211debug_init(argc, argv);
81 if(strcmp(progname, "80211stats") == 0)
82 ret = a80211stats_init(argc, argv);
83 if(strcmp(progname, "athchans") == 0)
84 ret = athchans_init(argc, argv);
85 if(strcmp(progname, "athctrl") == 0)
86 ret = athctrl_init(argc, argv);
88 if(strcmp(progname, "athdebug") == 0)
89 ret = athdebug_init(argc, argv);
91 if(strcmp(progname, "athkey") == 0)
92 ret = athkey_init(argc, argv);
93 if(strcmp(progname, "athstats") == 0)
94 diff -ur madwifi.old/tools/Makefile madwifi.dev/tools/Makefile
95 --- madwifi.old/tools/Makefile 2007-02-20 22:50:52.279096384 +0100
96 +++ madwifi.dev/tools/Makefile 2007-02-20 22:50:31.654231840 +0100
100 OBJS= do_multi.o athstats.o 80211stats.o athkey.o athchans.o athctrl.o \
101 - athdebug.o 80211debug.o wlanconfig.o
103 ALL= ${OBJS} madwifi_multi
107 ${CC} -c -o do_multi.o -DDOMULTI=1 ${ALL_CFLAGS} do_multi.c
109 ${CC} -o madwifi_multi ${LDFLAGS} ${OBJS}
110 - for i in athstats 80211stats athkey athchans athctrl athdebug wlanconfig 80211debug; do \
111 + for i in athstats 80211stats athkey athchans athctrl wlanconfig; do \
112 ln -s -f madwifi_multi $$i; \