head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.01.54.07;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.09.08.01.14.13;	author adrian;	state Exp;
branches;
next	1.3;

1.3
date	2012.09.07.06.02.01;	author adrian;	state Exp;
branches;
next	1.2;

1.2
date	2012.07.20.07.38.11;	author adrian;	state Exp;
branches;
next	1.1;

1.1
date	2012.07.20.01.38.03;	author adrian;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/tools/tools/ath/athratestats/Makefile 240223 2012-09-08 01:14:13Z adrian $

.PATH:	${.CURDIR}/../../../../sys/dev/ath/ath_hal
.PATH:	${.CURDIR}/../../../../sys/dev/ath/

PROG=	athratestats

SRCS=	main.c opt_ah.h ah_osdep.h

LDADD+=	-lcurses

CLEANFILES+=	opt_ah.h ah_osdep.h

.include <../Makefile.inc>

CFLAGS+=-DATH_SUPPORT_ANI -g -ggdb
CFLAGS+=-DATH_SUPPORT_TDMA

opt_ah.h:
	echo "#define AH_DEBUG 1" > opt_ah.h
	echo "#define AH_DEBUG_COUNTRY 1" >> opt_ah.h
	echo "#define AH_SUPPORT_AR5416 1" >> opt_ah.h

ah_osdep.h:
	echo 'typedef void *HAL_SOFTC;' >ah_osdep.h
	echo 'typedef int HAL_BUS_TAG;' >>ah_osdep.h
	echo 'typedef void *HAL_BUS_HANDLE;' >>ah_osdep.h
	echo 'typedef uint32_t *HAL_DMA_ADDR;' >>ah_osdep.h

.include <bsd.prog.mk>
@


1.4
log
@SVN rev 240223 on 2012-09-08 01:14:13Z by adrian

Add a '-s <timeout>' option which will display live rate control
statistics.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.3
log
@SVN rev 240183 on 2012-09-07 06:02:01Z by adrian

Make this build again!
@
text
@d10 2
@


1.2
log
@SVN rev 238650 on 2012-07-20 07:38:11Z by adrian

Add missing SRCS.
@
text
@d10 1
a10 1
CLEANFILES+=	opt_ah.h
d26 1
@


1.1
log
@SVN rev 238635 on 2012-07-20 01:38:03Z by adrian

Implement a first cut of the 'sample' rate statistics userland utility.

This outputs almost exactly the same information as the kernel sysctl does,
however the rix -> rate mapping isn't yet available as a TLV.
@
text
@d8 1
a8 1
SRCS=	main.c
@

