aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ancontrol
Commit message (Collapse)AuthorAgeFilesLines
* ancontrol: Remove an(4) utilityEmmanuel Vadot2021-06-114-2364/+0
| | | | | | | | | Last an(4) devices have been End Of Life and End Of Sale in 2007. Time to remove this driver. Differential Revision: https://reviews.freebsd.org/D30680 Reviewed by: imp (earlier version), emaste (earlier version) Sponsored by: Diablotin Systems
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-181-1/+3
| | | | | | | | | | | | | | | | | | | | The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133 Notes: svn path=/head/; revision=325966
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* usr.sbin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-1/+1
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314659
* ancontrol(8): replace comma with semicolon when pertinent.Pedro F. Giffuni2016-08-091-2/+2
| | | | | | | | | | | | | Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after: 1 month Notes: svn path=/head/; revision=303894
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-272-3/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-191-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync from headSimon J. Gerraty2012-11-041-1/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | Stop including if_var.h from userland.Gleb Smirnoff2015-04-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=281143
* | | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|/ |/| | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-201-1/+1
| |/ |/| | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* | Fix always 0 tautologly revealed by gcc46Eitan Adler2012-07-081-1/+1
|/ | | | | | | | Approved by: cperciva MFC after: 1 week Notes: svn path=/head/; revision=238221
* Remove duplicated header filesKevin Lo2011-06-241-1/+0
| | | | Notes: svn path=/head/; revision=223492
* Revert most of r210764, now that mdocml does the rightUlrich Spörlein2010-12-281-1/+1
| | | | | | | | | thing with empty quotation macros. Requested by: Alex Kozlov Notes: svn path=/head/; revision=216756
* mdoc: make sure to pass at least one argument to quotation macrosUlrich Spörlein2010-08-021-1/+1
| | | | Notes: svn path=/head/; revision=210764
* ANSIfy some more tools in usr.sbin/.Ed Schouten2010-01-021-2/+2
| | | | | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations. Notes: svn path=/head/; revision=201387
* Remove duplicate headers <sys/socket.h>Kevin Lo2008-04-211-1/+0
| | | | Notes: svn path=/head/; revision=178370
* Expand *n't contractions.Ruslan Ermilov2005-02-131-2/+2
| | | | Notes: svn path=/head/; revision=141846
* Sort sections.Ruslan Ermilov2005-01-181-5/+5
| | | | Notes: svn path=/head/; revision=140442
* Allow the -f argument to work.Ceri Davies2004-11-031-1/+1
| | | | | | | | | | PR: bin/73229 Submitted by: Irina Liakh <spell at itl dot ua> MT4: 2 weeks MT5: After 5.3-RELEASE Notes: svn path=/head/; revision=137169
* Drop WARNS down to 3 since sparc64 still has justified complaints aboutNate Lawson2004-07-301-1/+1
| | | | | | | | | bad casts. Noticed by: johan Notes: svn path=/head/; revision=132901
* Clean up some more casts. Note that the an_fudge alignment hack forNate Lawson2004-07-301-23/+17
| | | | | | | | struct an_ltv_stats needs to be fixed. It has been here since this was imported. Notes: svn path=/head/; revision=132900
* Mark as WARNS 6 now that sign cleanups are done.Nate Lawson2004-07-301-1/+1
| | | | Notes: svn path=/head/; revision=132861
* Fix printing of stats by printing an unsigned value as unsigned. ANSIfyNate Lawson2004-07-301-197/+152
| | | | | | | | | function prototypes. Remove unnecessary returns. Submitted by: David Hill <davidh -at- wmis.net> Notes: svn path=/head/; revision=132860
* fix reference to sysctl variable: machdep.an_cache_mode -> hw.an.an_cache_modeRalf S. Engelschall2004-03-051-1/+1
| | | | Notes: svn path=/head/; revision=126645
* Remove an annoying printf that somehow leaked into rev 1.21.Nate Lawson2003-11-161-1/+0
| | | | Notes: svn path=/head/; revision=122789
* - Add support for Cisco latest firmware RID sizes that supports 25 SSIDs!Doug Ambrisko2003-08-201-50/+42
| | | | | | | | | | | | | | | - Fix up TX speed changes. - Make mpi-350 cards sort-of work with new firmware. It RXs okay but TXs only work for about 14 packets then fails to get an interrupt. The TX watchdog fires. It has been reported that my hack for now doesn't break cards with the older firmware. It appears my card has lost the ability to RX or TX at all but other peoples cards work. I assume it got damaged in tansport. MFC: 1 week. Notes: svn path=/head/; revision=119156
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien2003-05-031-2/+4
| | | | Notes: svn path=/head/; revision=114601
* style.Makefile(5)David E. O'Brien2003-04-041-6/+6
| | | | Notes: svn path=/head/; revision=113091
* Add support for MPI-350 the mini-pci Cisco Aironet card. This needs moreDoug Ambrisko2002-12-292-21/+128
| | | | | | | | | | | | | | | | | | | | | | | | | work. The interface was gleaned from the Linux driver. Currently only one RX & one TX buffer are used. Firmware support is not tested so for the MPI-350 so it is disabled. Signal cache and monitor mode are not supported yet. Signal cache is not supported since in encapsulation mode ethernet frames are returned by the chip. LAN monitor mode support will be added shortly. Thanks to Warner for the MPI-350 card he sent me. Add support for RSSI map from PR kern/32880 which was incomplete. Enhanced with the ability to select the cache mode of raw, dbm or per-cent. Clean up Signal/Noise/Quality structures and units with help from Marco Molteni. Change flash to use a malloc'ed buffer when needed. PR: kern/32880 Submitted by: Douglas S. J. De Couto decouto@pdos.lcs.mit.edu, Marco Molteni MFC: 3 weeks Notes: svn path=/head/; revision=108401
* english(4) police.Jens Schweikhardt2002-12-271-3/+3
| | | | Notes: svn path=/head/; revision=108317
* Fix typo: vunerable -> vulnerable.Pierre Beyssac2002-12-221-1/+1
| | | | Notes: svn path=/head/; revision=108182
* The symbol for Hertz is Hz.David Malone2002-11-041-1/+1
| | | | Notes: svn path=/head/; revision=106433
* The .Nm utilityPhilippe Charnier2002-07-141-5/+5
| | | | Notes: svn path=/head/; revision=99968
* de-__P()Alfred Perlstein2002-07-111-27/+27
| | | | Notes: svn path=/head/; revision=99800
* Added missing DPADD detected by ``make checkdpadd''.Ruslan Ermilov2002-06-061-1/+2
| | | | Notes: svn path=/head/; revision=97927
* Fix typo: capablities -> capabilities.Giorgos Keramidas2002-03-081-1/+1
| | | | Notes: svn path=/head/; revision=91844
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-02-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm Notes: svn path=/head/; revision=90868
* Make man page and usage statement match reality submitted by Ruslan,Doug Ambrisko2002-01-152-29/+44
| | | | | | | | | | | | | Clean up "n to m" type options with "n-m" and some other improvements suggested by Ruslan. Change -C option to report the transmit key "4" if in "Home" mode. Submitted by: ru Approved by: imp, ru Notes: svn path=/head/; revision=89380
* mdoc(7) police:Ruslan Ermilov2002-01-101-26/+13
| | | | | | | | | | | | Fixed bugs from previous delta: - Removed duplicate -m and -o options from SYNOPSIS - Added missing -L option to SYNOPSIS - Removed duplicate -M option from DESCRIPTION - Tidy up the markup Notes: svn path=/head/; revision=89212
* Fix bugs in the structure for rx_frame by making gap length one byte andDoug Ambrisko2001-12-313-11/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a packed array so sizeof work. This broke RFMON mode and passing up 802.11 packets. The Linux emulation code was derived from the open source Linux driver to maintain compatibility. LEAP support is added, hints from Richard Johnson. I've verified this locally with PC350v42510.img firmware. More bug fixing from Marco to fix long passwords. Change DELAYs in flash part of driver to FLASH_DELAY which uses tsleep so it doesn't look like your system died during a flash update. Install header files in /usr/include/dev/an Cleanup some ifmedia bugs add "Home" key mode to ifmedia and ancontrol. This way you can manage 2 keys a little easier. Map the home mode into key 5. Enhance ifconfig to dump the various configured SSIDs. I use a bunch of different ones and roam between them. Use the syntax similar to the WEP keys to deal with setting difference SSIDs. Bump up up the Card capabilities RID since they added 2 bytes to it in the latest firmware. Thankfully we changed it from a terminal failure so the card still worked but the driver whined. Some cleanup patches from Marco Molteni. Submitted by: Richard Johnson <raj@cisco.com> Marco Molteni <molter@tin.it> and myself Various checks: David Wolfskill <david@catwhisker.org> Reviewed by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Approved by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Obtained from: Linux emulation API's from Aironet driver. Notes: svn path=/head/; revision=88748
* Fix typo in usage (power same -> power save).Pierre Beyssac2001-12-181-1/+1
| | | | Notes: svn path=/head/; revision=88153
* mdoc(7) police: use standard list width.Ruslan Ermilov2001-09-111-2/+1
| | | | Notes: svn path=/head/; revision=83337