aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/ath
Commit message (Collapse)AuthorAgeFilesLines
* ncurses: chase dependency changes in the source treeBaptiste Daroussin2021-10-041-1/+1
| | | | Differential Revision: https://reviews.freebsd.org/D32098
* [athstats] Add a tag to listen for beacon stuffAdrian Chadd2021-05-221-0/+3
| | | | I'm debugging weird beacon issues and thus here we are.
* [athstats] Add some (but not all, sigh) missing statistics.Adrian Chadd2021-05-221-5/+33
| | | | | This adds a few recent statistics, including TSFOOR that I just added to the driver.
* ncurses: only keep the version with widechar supportBaptiste Daroussin2021-01-051-1/+1
| | | | | | | | | | | | | | | | Only keep the widechar version of ncurses as libncursesw.so.9 Keep the old name to avoid breaking the ABI compatibility (the non widechar version libncurses.so.9 is not binary compatible with libncursesw.so.9) since all ports and base are already only linking against the widechar version we can simply remove libncurses.so.9 Since the .9 version only lived in the dev branch and never ended in a release, it is simply removed and not added to any binary compat package. Add symlinks to keep build time compatibility for anyone linking against -lncurses
* Replace literal uses of /usr/local in C sources with _PATH_LOCALBASEStefan E├čer2020-10-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Literal references to /usr/local exist in a large number of files in the FreeBSD base system. Many are in contributed software, in configuration files, or in the documentation, but 19 uses have been identified in C source files or headers outside the contrib and sys/contrib directories. This commit makes it possible to set _PATH_LOCALBASE in paths.h to use a different prefix for locally installed software. In order to avoid changes to openssh source files, LOCALBASE is passed to the build via Makefiles under src/secure. While _PATH_LOCALBASE could have been used here, there is precedent in the construction of the path used to a xauth program which depends on the LOCALBASE value passed on the compiler command line to select a non-default directory. This could be changed in a later commit to make the openssh build consistently use _PATH_LOCALBASE. It is considered out-of-scope for this commit. Reviewed by: imp MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D26942 Notes: svn path=/head/; revision=367075
* [ath] Set WARNS to 0 here for nowAdrian Chadd2020-10-131-0/+2
| | | | | | | | | | There are still more warnings to fix here, but gcc on mips treats a lot of these as failures. So stop it stopping me for now whilst I fix them. Notes: svn path=/head/; revision=366680
* [athdebug] Fix warnings generated by gcc on mipsAdrian Chadd2020-10-131-3/+6
| | | | | | | | | | * commented out currently unused/dead code; need to see what it was once used for * remove unused variable * fix typing Notes: svn path=/head/; revision=366679
* [ath] Flip athratestats to use two columns for now.Adrian Chadd2020-05-161-1/+11
| | | | | | | Yeah I have too many rates on the screen now... Notes: svn path=/head/; revision=361115
* [ath] ok ok, fix the indenting now that I have 5 column packet sizes.Adrian Chadd2020-05-161-2/+2
| | | | | | | | Now things line up nicely again. There's a lot of them, and I don't have a long enough screen right now, but they at least line up right. Notes: svn path=/head/; revision=361107
* [ath] Extend the colours to 4, not 2.Adrian Chadd2020-05-141-10/+9
| | | | | | | | There's 8 bins in the upcoming changeset to ath/ath_rate, so I need more colours. Yeah, I know. Notes: svn path=/head/; revision=361025
* [ath] Prepare for .. more sample rate control entriesAdrian Chadd2020-05-131-7/+5
| | | | | | | | | | | | | This is in preparation for me bumping how many size buckets are used for ath_rate_sample statistics. * Bump buffer size to 64k * Don't waste 4 lines per bucket size, condense it to two * Alternate colours; my logic made everything after the first two just be black. Oops. Notes: svn path=/head/; revision=361009
* [ar9300] Fix up this tool after test compiling it with LLVM. Le oops.Adrian Chadd2020-05-121-7/+7
| | | | Notes: svn path=/head/; revision=360951
* [ar9300] Update the ar9300 eeprom dump utility to include target power and CTL.Adrian Chadd2020-05-121-0/+278
| | | | | | | | | | This lets me easily see what the EEPROM target power and regulatory compliance table limits are. (Yeah, should've done this in 2013..) Notes: svn path=/head/; revision=360950
* [ath] [fix] athani compilation was broken by recent ath changeMichael Zhilin2019-06-051-1/+1
| | | | | | | | * This commit is going to fix build of AR724x on 13-CURRENT with additional tools like athani. See r344841 Notes: svn path=/head/; revision=348697
* [athani] Add a simple tool to list and control ANI parameters.Adrian Chadd2019-03-063-1/+250
| | | | | | | | | | | | | | | This is a WIP tool I'm using to figure out why ANI is weirdly busted in my home FreeBSD AP/STA setup. Although athstats (mostly) gets the ANI statistics correct, ANI is making the radio deaf it doesn't recover without being disabled. It's very WIP. Tested: * Carambola 2, (AR9331), AP/STA mode. Notes: svn path=/head/; revision=344842
* Garbage collect AH_SUPPORT_AR5416 config option.Andriy Voskoboinyk2019-01-2512-12/+0
| | | | | | | It does nothing since r318857. Notes: svn path=/head/; revision=343427
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* [athspectral] add a knob to expose the spectral scan priority.Adrian Chadd2017-02-021-0/+6
| | | | | | | This is required for AR9380 and later chips.. please leave it at 0 for now. Notes: svn path=/head/; revision=313084
* [athalq] fix rxtimestamp wrapping; print out per-packet timestamp deltas.Adrian Chadd2017-01-221-4/+12
| | | | | | | | | The delta here is just between the current TX/RX copmletion and the previous TX/RX completion. The metadata needed to link TX descriptor timestamps to their /completion/ timestamp isn't there yet. Notes: svn path=/head/; revision=312618
* [athalq] print out unsigned tx timestamps.Adrian Chadd2017-01-221-2/+2
| | | | Notes: svn path=/head/; revision=312616
* [athalq] add debug parsing for the TX FIFO push status.Adrian Chadd2017-01-223-7/+29
| | | | Notes: svn path=/head/; revision=312611
* Print out some more fields.Adrian Chadd2016-08-121-1/+3
| | | | | | | | | Tested: * AR9331 SoC (Carambola 2) - specifically looking for the tuning caps fields. Notes: svn path=/head/; revision=303981
* Migrate athregs over to use the new stats API.Adrian Chadd2016-02-282-6/+24
| | | | Notes: svn path=/head/; revision=296154
* Migrate athstats to use the new stats API.Adrian Chadd2016-02-282-16/+23
| | | | Notes: svn path=/head/; revision=296153
* Begin abstracting out the access method for ath(4) ioctls.Adrian Chadd2016-02-282-0/+277
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=296152
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-2/+0
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=295989
* Add a format string to the err() calls.Adrian Chadd2016-02-081-2/+2
| | | | Notes: svn path=/head/; revision=295390
* Remove the hard-coded 'ath0' strings and use ATH_DEFAULT.Adrian Chadd2016-02-076-13/+5
| | | | | | | | Remove the duplicate ATH_DEFAULT fields. The build bits should be including ../Makefile.inc as appropriate. Notes: svn path=/head/; revision=295363
* tools/tools/ath/ath_ee_v4k_print: reflect changes from r220589Andriy Voskoboinyk2016-01-221-9/+8
| | | | | | | | | | Fix printf() arguments + sort includes Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4045 Notes: svn path=/head/; revision=294600
* Flip this over to ncurses.Adrian Chadd2015-12-151-1/+1
| | | | Notes: svn path=/head/; revision=292244
* Fix LDADD/DPADD that should be LIBADD.Bryan Drewery2015-12-041-1/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291738
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226
* - Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems()Craig Rodrigues2015-08-2911-65/+59
| | | | | | | | | | | - 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 Notes: svn path=/head/; revision=287297
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=284345
| * Merge sync of headSimon J. Gerraty2015-05-274-46/+16
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-197-12/+91
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge headSimon J. Gerraty2014-04-2817-707/+46
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | New dependenciesSimon J. Gerraty2013-10-131-0/+20
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256418
* | | | Make these all work with the new way of doing privatelib.Adrian Chadd2015-05-162-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=283002
* | | | Stop including if_var.h from userland.Gleb Smirnoff2015-04-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=281143
* | | | Typecast things.Adrian Chadd2015-04-061-2/+4
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=281126
* | | | Don't use a private copy of the ANI definitions - use the HAL definitions.Adrian Chadd2015-04-011-33/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=280943
* | | | Bump mask to be 64 bits - this fixes seeing MCS rates > 19.Adrian Chadd2015-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested: * AR9380, STA mode, associated to a 3x3 AP (also FreeBSD) Notes: svn path=/head/; revision=280361
* | | | Convert to LIBADDBaptiste Daroussin2014-11-252-5/+2
| |_|/ |/| | | | | | | | Notes: svn path=/head/; revision=275084
* | | Add in decode for the AR9300 RX descriptor.Adrian Chadd2014-10-041-0/+74
| | | | | | | | | | | | Notes: svn path=/head/; revision=272508
* | | Update these to make them actually compile!Adrian Chadd2014-08-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tested: * cross compilation to MIPS Notes: svn path=/head/; revision=270520
* | | Allow it to compile again.Adrian Chadd2014-08-251-2/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=270517
* | | Make the libbsdstat useful again.Adrian Chadd2014-08-132-4/+5
| | | | | | | | | | | | Notes: svn path=/head/; revision=269951
* | | Fix paths.Adrian Chadd2014-08-101-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=269772
* | | Add more tools to the build.Adrian Chadd2014-08-091-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=269762