freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | $FreeWRT$
|
|---|
| 2 | --- madwifi-0.9.2.orig/tools/80211stats.c Sat May 27 08:21:18 2006
|
|---|
| 3 | +++ madwifi-0.9.2/tools/80211stats.c Thu Sep 21 02:15:31 2006
|
|---|
| 4 | @@ -58,6 +58,10 @@
|
|---|
| 5 | #include "net80211/ieee80211_crypto.h"
|
|---|
| 6 | #include "net80211/ieee80211_ioctl.h"
|
|---|
| 7 |
|
|---|
| 8 | +#ifdef DOMULTI
|
|---|
| 9 | +#include "do_multi.h"
|
|---|
| 10 | +#endif
|
|---|
| 11 | +
|
|---|
| 12 | #ifndef SIOCG80211STATS
|
|---|
| 13 | #define SIOCG80211STATS (SIOCDEVPRIVATE + 2)
|
|---|
| 14 | #endif
|
|---|
| 15 | @@ -241,9 +245,19 @@ print_sta_stats(FILE *fd, const u_int8_t
|
|---|
| 16 | #undef STAT
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | +#ifdef DOMULTI
|
|---|
| 20 | +
|
|---|
| 21 | int
|
|---|
| 22 | +a80211stats_init(int argc, char *argv[])
|
|---|
| 23 | +{
|
|---|
| 24 | +
|
|---|
| 25 | +#else
|
|---|
| 26 | +
|
|---|
| 27 | +int
|
|---|
| 28 | main(int argc, char *argv[])
|
|---|
| 29 | {
|
|---|
| 30 | +
|
|---|
| 31 | +#endif
|
|---|
| 32 | int c, len;
|
|---|
| 33 | struct ieee80211req_sta_info *si;
|
|---|
| 34 | u_int8_t buf[24*1024], *cp;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.