302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
296154 |
28-Feb-2016 |
adrian |
Migrate athregs over to use the new stats API.
|
296153 |
28-Feb-2016 |
adrian |
Migrate athstats to use the new stats API.
|
296152 |
28-Feb-2016 |
adrian |
Begin abstracting out the access method for ath(4) ioctls.
Each of the ath* commands do their own direct socket/ioctl calls, which makes it difficult to forklift upgrade things.
So, this is the beginning of abstracting out the stats API calls in the hope that I can migrate things to use a /dev/athX file for ioctls and use a more general interface.
Tested:
* QCA9565 NIC, STA mode
|
295989 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Regenerate without local dependencies.
These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'.
Sponsored by: EMC / Isilon Storage Division
|
295390 |
08-Feb-2016 |
adrian |
Add a format string to the err() calls.
|
295363 |
07-Feb-2016 |
adrian |
Remove the hard-coded 'ath0' strings and use ATH_DEFAULT.
Remove the duplicate ATH_DEFAULT fields. The build bits should be including ../Makefile.inc as appropriate.
|
294600 |
22-Jan-2016 |
avos |
tools/tools/ath/ath_ee_v4k_print: reflect changes from r220589
Fix printf() arguments + sort includes
Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4045
|
292244 |
15-Dec-2015 |
adrian |
Flip this over to ncurses.
|
291738 |
04-Dec-2015 |
bdrewery |
Fix LDADD/DPADD that should be LIBADD.
Sponsored by: EMC / Isilon Storage Division
|
288226 |
25-Sep-2015 |
bdrewery |
META_MODE: Remove DEP_RELDIR from Makefile.depend files.
This has not been needed since r284171 in projects/bmake.
Sponsored by: EMC / Isilon Storage Division
|
287297 |
29-Aug-2015 |
rodrigc |
- Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems() - Add missing <err.h> for err() and <sys/sysctl.h> for sysctlbyname() - NULL -> 0 for 5th parameter of sysctlbyname()
Submitted by: Andriy Voskoboinyk <s3erios@gmail com> Differential Revision: https://reviews.freebsd.org/D3442
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|
283002 |
16-May-2015 |
adrian |
Make these all work with the new way of doing privatelib.
Without these CFLAGS settings a cross-compile won't find the headers anywhere.
Tested:
* mips (32, big endian) cross-build w/ LOCAL_DIRS including these tools.
|
281143 |
06-Apr-2015 |
glebius |
Stop including if_var.h from userland.
Sponsored by: Nginx, Inc.
|
281126 |
06-Apr-2015 |
adrian |
Typecast things.
|
280943 |
01-Apr-2015 |
adrian |
Don't use a private copy of the ANI definitions - use the HAL definitions.
Whilst I'm at it:
* fix the NI+ to be correct, rather than NI-; * use the diag api codes, now that the HAL is public.
Tested:
* AR9380, STA mode
|
280361 |
23-Mar-2015 |
adrian |
Bump mask to be 64 bits - this fixes seeing MCS rates > 19.
Tested:
* AR9380, STA mode, associated to a 3x3 AP (also FreeBSD)
|
275084 |
25-Nov-2014 |
bapt |
Convert to LIBADD
|
272508 |
04-Oct-2014 |
adrian |
Add in decode for the AR9300 RX descriptor.
|
270520 |
25-Aug-2014 |
adrian |
Update these to make them actually compile!
Tested:
* cross compilation to MIPS
|
270517 |
25-Aug-2014 |
adrian |
Allow it to compile again.
|
269951 |
13-Aug-2014 |
adrian |
Make the libbsdstat useful again.
|
269772 |
10-Aug-2014 |
adrian |
Fix paths.
|
269762 |
09-Aug-2014 |
adrian |
Add more tools to the build.
|
269761 |
09-Aug-2014 |
adrian |
Update athpoke/athregs to use the modified register read diagnostic API.
|
269638 |
06-Aug-2014 |
adrian |
Fix athdecode to actually work.
* Add AR9287 and AR9331 chipset support - it just uses the AR5416 support for now so some of the register mappings are wrong, but it works well enough.
* don't call exit() from opmark().
|
264925 |
25-Apr-2014 |
imp |
Eliminate last vestigies of NO_MAN= in the tree. Also, remove ineffectual NOMAN= lines. These don't change the build at all.
|
264400 |
13-Apr-2014 |
imp |
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
|
262829 |
06-Mar-2014 |
adrian |
Migrate athstats to use bsdstat.
|
262828 |
06-Mar-2014 |
adrian |
Fix a compiler warning.
Thanks Clang!
|
262827 |
06-Mar-2014 |
adrian |
Migrate athaggrstats to use bsdstat.
|
259730 |
22-Dec-2013 |
dim |
To avoid having to explicitly test COMPILER_TYPE for setting clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles:
CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc
In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler.
MFC after: 1 week
|
257532 |
01-Nov-2013 |
adrian |
Fix this build for clang.
|
252207 |
25-Jun-2013 |
adrian |
Add include path to the ar9300 HAL.
|
251739 |
14-Jun-2013 |
adrian |
Link the AR9300 EEPROM dump tool into the build.
|
251738 |
14-Jun-2013 |
adrian |
Begin fleshing out an AR9300 EEPROM dump helper utility.
|
251737 |
14-Jun-2013 |
adrian |
Add missing formatting strings.
Thanks to: clang
|
251398 |
04-Jun-2013 |
adrian |
Add RX STBC statistics.
|
250899 |
22-May-2013 |
adrian |
Implement beacon event debugging in athalq.
|
250266 |
05-May-2013 |
adrian |
Add the AR9300 descriptor decoding code.
|
250265 |
05-May-2013 |
adrian |
This is a simple script to output the delta between each TX and TXSTATUS.
Useful for debugging TDMA.
|
248669 |
23-Mar-2013 |
adrian |
More indentation fixes.
|
248668 |
23-Mar-2013 |
adrian |
Expose the beacon miss counter.
|
248632 |
23-Mar-2013 |
adrian |
Add AR9300 descriptor decoding.
|
246979 |
19-Feb-2013 |
adrian |
Print out the RTS/CTS rate in the TX descriptor.
|
246935 |
18-Feb-2013 |
adrian |
* Add initial debugging of the interrupt status entry * Add in the TDMA debugging entries that I added a while ago
|
246934 |
18-Feb-2013 |
adrian |
Make this output more terse.
|
246649 |
11-Feb-2013 |
adrian |
Teach athalq about the recent if_ath_alq timestamp format change.
|
245560 |
17-Jan-2013 |
adrian |
Add extra debugging fields.
|
245231 |
09-Jan-2013 |
adrian |
Add the "enable at reset" functionality to trigger spectral scan upon a channel change/reset.
|
244970 |
02-Jan-2013 |
adrian |
Disable clang for athstats for now.
|
244969 |
02-Jan-2013 |
adrian |
Add missing err() format string.
|
244968 |
02-Jan-2013 |
adrian |
Fix missing err() format string.
|
244967 |
02-Jan-2013 |
adrian |
Fix some conversions to keep clang happy.
|
244966 |
02-Jan-2013 |
adrian |
Fix some clang warnings!
|
244965 |
02-Jan-2013 |
adrian |
Fix up some warnings from clang.
This still triggers a bug in clang..
|
244964 |
02-Jan-2013 |
adrian |
Add missing err() format strings.
Thanks to: clang
|
244963 |
02-Jan-2013 |
adrian |
* Add missing err() string formats; * Fix up a printf() type mismatch.
Thanks to: clang
|
244962 |
02-Jan-2013 |
adrian |
* Add missing format specifier for err() * add missing exit(0) * Fix some operator evaluation complaints.
Thanks to: clang
|
244961 |
02-Jan-2013 |
adrian |
Fix some printf() formats.
Found by: clang
|
244960 |
02-Jan-2013 |
adrian |
Fix incorrect format string.
|
244953 |
02-Jan-2013 |
adrian |
Add a very skeletal spectral scan control application.
The main use for this is to manually trigger spectral scan operations (athspectral -i athX start) whilst doing debugging.
|
243593 |
27-Nov-2012 |
adrian |
Add in a totally hacked up copy of the AR5416 descriptor decoding stuff, as well as TDMA related things.
I used this to debug TDMA related issues in -HEAD.
|
243172 |
17-Nov-2012 |
adrian |
Make this a flag.
|
243171 |
17-Nov-2012 |
adrian |
Implement AR5210 descriptor decoding.
|
243170 |
17-Nov-2012 |
adrian |
Add AR5211 descriptor decoding support.
|
243167 |
17-Nov-2012 |
adrian |
Add AR5212 frame decoding support.
|
243166 |
17-Nov-2012 |
adrian |
Implement a basic data decoder for the data produced by if_ath_alq.
This decodes the AR5416 family 11n TX and RX descriptors.
|
240298 |
10-Sep-2012 |
adrian |
Add some colour to make it easy (well, easier) to see what the current selected rates and current sample rates are.
(Note: when run under high traffic and with -s 0.1 the display becomes very mesmerising. You've been warned.)
|
240223 |
08-Sep-2012 |
adrian |
Add a '-s <timeout>' option which will display live rate control statistics.
|
240184 |
07-Sep-2012 |
adrian |
Tidy up the output quite substantially, making it fit well within 80 columns.
This makes it much easier to use in a shell script, to display a "top" style output with live rate control data.
|
240183 |
07-Sep-2012 |
adrian |
Make this build again!
|
239970 |
01-Sep-2012 |
joel |
Minor mdoc fix.
|
239162 |
09-Aug-2012 |
adrian |
Add a missing HAL_DMA_ADDR definition.
|
239161 |
09-Aug-2012 |
adrian |
Add HAL_DMA_ADDR.
|
238893 |
30-Jul-2012 |
adrian |
Break out the parsing code from main() and modularise things a little.
The eventual aim will be to support listing "one" and "all" stations for the given ath device.
|
238651 |
20-Jul-2012 |
adrian |
Add a needed #include due to my recent change.
|
238650 |
20-Jul-2012 |
adrian |
Add missing SRCS.
|
238648 |
20-Jul-2012 |
adrian |
Add the new athratestats tool.
|
238646 |
20-Jul-2012 |
adrian |
Tidy things up substantially:
* remove some debugging; * introduce command line arguments; * introduce support for non-ath0 interfaces.
|
238639 |
20-Jul-2012 |
adrian |
Use the rate control table to display the rate rather than the rix, making the output of this program much more meaningful.
|
238635 |
20-Jul-2012 |
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.
|
237830 |
30-Jun-2012 |
adrian |
Bump this up - that way the AR9300 and later MACs get covered (for now) by the AR5416 register map.
|
237143 |
15-Jun-2012 |
adrian |
Convert athdebug to use the 64 bit dev.ath.X.debug sysctl.
|
236835 |
10-Jun-2012 |
adrian |
Add athaggrstats to the ath(4) tools build.
|
236834 |
10-Jun-2012 |
adrian |
Flesh out 'athaggrstats', a utility which will display the aggregation specific statistics for ath(4).
|
234777 |
28-Apr-2012 |
adrian |
Change cc -> bc : "bc" is "busy count", which is the % of time the channel is considered "busy but not doing any active TX or frame RX."
Just keep in mind that "frame RX" is "decoding what looks like a wifi signal", not necessarily "frame successfully decoded for this particular device."
|
234751 |
28-Apr-2012 |
adrian |
Add a tool to print out min, average and max channel survey information from the current channel.
There seem to be some occasional issues with the extension channel counters reporting more than 100% of use. I'll investigate that soon.
|
234015 |
08-Apr-2012 |
adrian |
Add AR_ISR_S5 and AR_ISR_S5_S.
|
233887 |
04-Apr-2012 |
adrian |
Add a threadid to the ah_decode API.
This adds the current thread ID to each logged register and mark entry, allowing for easier debugging of concurrent/overlapping NIC operations.
|
233648 |
29-Mar-2012 |
eadler |
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
|
232807 |
11-Mar-2012 |
adrian |
Stop some of the output from wrapping at 80 characters.
|
231863 |
17-Feb-2012 |
adrian |
Fix up this local copy of statfoo to support > 128 statistics.
This allows all of the athstats statistics to work again.
Specifics:
* The previous code used chars < 0x80 as printable, and chars >= 0x80 as "statistics" * .. which meant any statistic above 127 would wrap around to 0; * .. so once I added the 802.11n TX/RX statistics to athstats, the tail end of the statistics list weren't accessible.
This patch:
* adds a define which represents the magic character, rather than a hard coded one * the statistic in question is little endian encoded after the magic character.
Notes:
* statfoo is useful enough to possibly warrant turning into a library API.
|
231710 |
14-Feb-2012 |
adrian |
Add some missing radar config parameters.
|
230923 |
02-Feb-2012 |
adrian |
Add some missing radar config parameters to athradar.
|
228903 |
26-Dec-2011 |
adrian |
Oops, my bad. Fix a broken thing I introduced earlier.
|
228831 |
23-Dec-2011 |
adrian |
Add in ath_ee_9287_print.
|
227870 |
23-Nov-2011 |
adrian |
Tidy up the statistic documentation.
Sponsored by: Hobnob, Inc.
|
227869 |
23-Nov-2011 |
adrian |
Add the new statistics introduced in r227868.
Sponsored by: Hobnob, Inc.
|
226799 |
26-Oct-2011 |
adrian |
Bring over the new aggregate statistics from the 11n branch.
Some of these values are currently updated by the driver (the 11n RX related statistics) so they are immediately useful.
|
224266 |
22-Jul-2011 |
adrian |
Add athradar, an implementation of the radar parameter diagnostic API.
This is a reimplementation from scratch.
Approved by: re (kib)
|
222322 |
26-May-2011 |
adrian |
Include an EEPROM dump program for the AR9287 EEPROM format.
|
221691 |
09-May-2011 |
adrian |
This is a full 32 bit field for kite.
|
220534 |
11-Apr-2011 |
adrian |
Generate opt_ah.h now for all ath tools, a recent HAL change of mine now requires it.
|
220366 |
05-Apr-2011 |
adrian |
* re-enable marker stuff, I accidentally disabled it during debugging * correct arg check
|
220364 |
05-Apr-2011 |
adrian |
Flesh out a simple tool to print the ALQ dump generated by the HAL.
|
219901 |
23-Mar-2011 |
adrian |
Oops, fix badness i must've introduced earlier.
|
219420 |
09-Mar-2011 |
adrian |
The regdomain entries are 16 bits, not 8. Print out all 16 bits.
|
219398 |
08-Mar-2011 |
adrian |
Update to keep in sync with the HAL
|
219355 |
06-Mar-2011 |
adrian |
Add support for printing out the open-loop TX power control EEPROM fields.
|
218637 |
13-Feb-2011 |
adrian |
* add in new EEPROM fields from later revisions * add in printing futureBase
|
218057 |
29-Jan-2011 |
adrian |
Keep this in sync with the ar5212 power rate table size. This doesn't yet know about the 802.11n radios or rates.
|
217810 |
25-Jan-2011 |
adrian |
Fix this tool to use the updated (corrected) v4k eeprom definition introduced in a previous commit.
|
217770 |
24-Jan-2011 |
adrian |
Add a simple tool to print the contents of a v4k EEPROM dump.
|
217739 |
22-Jan-2011 |
adrian |
Add a new tool which takes a text hexdump of the current EEPROM contents.
|
217738 |
22-Jan-2011 |
adrian |
Patch the athstats code/Makefile to cross-compile correctly.
|
217682 |
21-Jan-2011 |
adrian |
Add in a new tool which prints a formatted v14 eeprom from an eeprom hexdump.
This is a part replacement of the old athprom code, which tries to both fetch and print the contents of an eeprom dump.
A tool to generate hexdumps from a running system will follow shortly.
|
217681 |
21-Jan-2011 |
adrian |
Remove an un-needed trailing / after OBJDIR.
Nitpicked by: juli
|
217680 |
21-Jan-2011 |
adrian |
Make the existing ath tools build again.
* add missing includes to quieten warnings * fix an inline function decl to have a return type * since .h files are created during the build (opt_ah.h, ah_osdep.h) which modify the behaviour of the HAL include/source files, include OBJDIR in the path so the #include's work.
The tools should now build when the directory is added to LOCAL_DIRS during a make buildworld.
|
206848 |
19-Apr-2010 |
rpaulo |
Dump the AR_PHY_TURBO register on the AR5416. This register holds 11n configurations.
Sponsored by: iXsystems, inc.
|
202161 |
12-Jan-2010 |
gavin |
Spell "Hz" correctly wherever it is user-visible.
PR: bin/142566 Submitted by: N.J. Mann njm njm.me.uk Approved by: ed (mentor) MFC after: 2 weeks
|
196696 |
31-Aug-2009 |
jhb |
Delete some empty mergeinfo.
|
196599 |
27-Aug-2009 |
sam |
recognie invalid register names
|
194873 |
24-Jun-2009 |
sam |
add a link named athpeek since my fingers keep typing it
|
194872 |
24-Jun-2009 |
sam |
read back the written value and display
|
189712 |
12-Mar-2009 |
sam |
add more register bit defs
|
189705 |
11-Mar-2009 |
sam |
move shared register support code to common
|
189704 |
11-Mar-2009 |
sam |
add athpoke, a tool to peek/poke registers
|
189702 |
11-Mar-2009 |
sam |
add athdecode, an app to decode register logs
|
189701 |
11-Mar-2009 |
sam |
add %b format strings for use by athdecode
|
189274 |
02-Mar-2009 |
sam |
add -b option to suppress the banner
|
189098 |
27-Feb-2009 |
sam |
fix build
|
189097 |
27-Feb-2009 |
sam |
fix build
|
189059 |
26-Feb-2009 |
sam |
add more gpio registers
|
188560 |
13-Feb-2009 |
sam |
add -z option to zero driver statistics (but note we don't yet zero stats obtained from the hal)
|
188559 |
13-Feb-2009 |
sam |
add stats no frags and missing stat for no dma buffers
|
188558 |
13-Feb-2009 |
sam |
backout r188327, it broke summary printing
|
188327 |
08-Feb-2009 |
sam |
o use humanize_number to print totals o shrink some fields now that we don't have to worry about overflow
|
188205 |
05-Feb-2009 |
sam |
unbreak -o
|
188196 |
05-Feb-2009 |
sam |
add new stats and missing tx_raw stat
|
187905 |
29-Jan-2009 |
sam |
track hal changes
|
187904 |
29-Jan-2009 |
sam |
update for hal changes
|
187322 |
15-Jan-2009 |
sam |
add athrd tool that dumps ath hal regulatory info; note this is soon to obsolete but commit now so it's available for anyone that's interested
|
186904 |
08-Jan-2009 |
sam |
TDMA support for long distance point-to-point links using ath devices: o add net80211 support for a tdma vap that is built on top of the existing adhoc-demo support o add tdma scheduling of frame transmission to the ath driver; it's conceivable other devices might be capable of this too in which case they can make use of the 802.11 protocol additions etc. o add minor bits to user tools that need to know: ifconfig to setup and configure, new statistics in athstats, and new debug mask bits
While the architecture can support >2 slots in a TDMA BSS the current design is intended (and tested) for only 2 slots.
Sponsored by: Intel
|
185743 |
07-Dec-2008 |
sam |
bring in diagnostic tools that are useful now that we have hal source code
|
184453 |
29-Oct-2008 |
sam |
o unbreak ani stat display o improve some labels
|
184371 |
27-Oct-2008 |
sam |
sync w/ driver updates; this also brings in ani stats
|
184370 |
27-Oct-2008 |
sam |
add regdomain knob
|
174571 |
13-Dec-2007 |
sam |
use ATH environment variable (when set) as the default interface name
|
174570 |
13-Dec-2007 |
sam |
Some overdue tlc: o push include paths to the Makefile o use the AFTER trick to simplify adding new items o prepare stat blocks for additional data o align values for verbose output o fillin some missing stats
MFC after: 1 week
|
174245 |
04-Dec-2007 |
sam |
update copyrights
|
166408 |
02-Feb-2007 |
sam |
create empty opt_ah.h for compiling athstats.o; it just needs the PHY definitions and not the descriptor so it doesn't matter if it's correct relative to the hal.o
|
161200 |
10-Aug-2006 |
sam |
checkpoint new version
|
160993 |
05-Aug-2006 |
sam |
raw tx stat
|
159895 |
23-Jun-2006 |
sam |
dump new cabq stats
|
156735 |
15-Mar-2006 |
ru |
Style: NO_MAN doesn't need any value.
|
153391 |
13-Dec-2005 |
sam |
update
|
153390 |
13-Dec-2005 |
sam |
fix include pathnames
|
153317 |
11-Dec-2005 |
sam |
o move programs to separate directories and use stock Makefiles; this simplifies including them in crunchgen images o rename 80211* programs to wlan* as was originally intended
|
153314 |
11-Dec-2005 |
sam |
remove cts burst extension stats
|
149629 |
30-Aug-2005 |
sam |
script to set ifs parameters based on distance; derived from program of the same name by Gunter Burchardt
MFC after: 3 days
|
148800 |
06-Aug-2005 |
sam |
sigh, sizeof the correct variable so we can match ifname's > 4 bytes
|
148665 |
03-Aug-2005 |
sam |
simplify use with non-ath devices; search the wlan sysctl nodes to locate the right one for the specified interface
MFC after: 3 days
|
148322 |
22-Jul-2005 |
sam |
update for recent additions
|
148321 |
22-Jul-2005 |
sam |
update with new msg classes
|
144982 |
13-Apr-2005 |
mdodd |
Save argv[0] and use it in usage message.
|
144349 |
30-Mar-2005 |
sam |
print new stats for cts burst extension logic
|
144345 |
30-Mar-2005 |
sam |
fix typo
|
144304 |
29-Mar-2005 |
sam |
handle rejoin event
|
139529 |
31-Dec-2004 |
sam |
new stat
|
138576 |
08-Dec-2004 |
sam |
o new tools for futzing with 80211 and ath debug masks symbolically o update stats programs to reflect driver and net80211 changes
|
136157 |
05-Oct-2004 |
sam |
add 80211watch program
|
136156 |
05-Oct-2004 |
sam |
simple program to watch 802.11 events through a routing socket
|
123261 |
07-Dec-2003 |
sam |
add install rule
|
123260 |
07-Dec-2003 |
sam |
o report 0 instead of -1 for xmit rate when in transition o report rssi in running display o futz with column widths in running display
|
123259 |
07-Dec-2003 |
sam |
fix comment
|
122275 |
08-Nov-2003 |
sam |
add 802.11 layer stats dumper
|
122274 |
08-Nov-2003 |
sam |
catchup with if_xname change
|
120235 |
19-Sep-2003 |
sam |
fix build
|
116997 |
28-Jun-2003 |
sam |
bring in ath-specific test tool; more to follow
|