aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ancontrol
Commit message (Collapse)AuthorAgeFilesLines
* 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
* mdoc(7) police: fix markup.Ruslan Ermilov2001-09-111-131/+168
| | | | Notes: svn path=/head/; revision=83336
* Add support for monitor mode. This means that after enabling theBrooks Davis2001-09-102-5/+36
| | | | | | | | | | | correct mode via ancontrol, you can use bpf to sniff raw 802.11 frames. Who want's to port AirSnort. ;-) Submitted by: Doug Ambrisko <ambrisko@ambrisko.com> (author) David Wolfskill <david@catwhisker.org> (port to current) Notes: svn path=/head/; revision=83269
* Spell "FreeBSD" with "F" and "BSD" in uppercase.Ruslan Ermilov2001-08-131-1/+2
| | | | Notes: svn path=/head/; revision=81588
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-131-9/+7
| | | | Notes: svn path=/head/; revision=81586
* Make spacing consistant and set WARNS correctly.Brooks Davis2001-07-301-4/+4
| | | | Notes: svn path=/head/; revision=80654
* Make ancontrol WARNS=2 clean.Brooks Davis2001-07-272-44/+52
| | | | Notes: svn path=/head/; revision=80454
* Fix typosKris Kennaway2001-07-231-3/+3
| | | | | | | | Obtained from: OpenBSD MFC After: 1 week Notes: svn path=/head/; revision=80186
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-1/+1
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Remove GCC'isms in CFLAGS.David E. O'Brien2001-07-201-1/+1
| | | | Notes: svn path=/head/; revision=80022
* Remove whitespace at EOL.Dima Dorfman2001-07-151-7/+7
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* Output the current TX rate when showing status.Brooks Davis2001-06-261-0/+11
| | | | | | | PR: bin/25470 Notes: svn path=/head/; revision=78788
* MFC candidateJesper Skriver2001-03-301-1/+1
| | | | | | | | | | Change the default mode from ad-hoc to infrastructure, as noted in src/share/man/man4/an.4 rev 1.8 Notes: svn path=/head/; revision=75022
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-3/+0
| | | | Notes: svn path=/head/; revision=74532
* mdoc(7) police: Change -filled displays (which just happenRuslan Ermilov2001-02-071-12/+4
| | | | | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins. Notes: svn path=/head/; revision=72126
* If the first argument doesn't start with '-' assume that it is anWarner Losh2000-12-311-2/+7
| | | | | | | | | | | | | interface. This augments the default to an appropriate interface code. # These programs should be merged into ifconfig, ala NetBSD, but that's # a fight for another day. Idea from: OpenBSD Notes: svn path=/head/; revision=70532
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* mdoc(7) police: reapply rev 1.7 lost in previous commit, clean up a bit.Ruslan Ermilov2000-12-111-50/+56
| | | | Notes: svn path=/head/; revision=69848
* Fixes to the Aironet driver to clear up some WEP issues.Archie Cobbs2000-12-083-52/+210
| | | | | | | | | | "Security notes" section to the man page added by me. PR: 23097 Submitted by: Doug Ambrisko <ambrisko@whistle.com> Notes: svn path=/head/; revision=69772
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-25/+25
| | | | Notes: svn path=/head/; revision=68965
* Close PR# 21843 and PR# 21864. This adds support for WEP and updates someBill Paul2000-11-132-13/+164
| | | | | | | | | | | | | | | | | | of the data structures to include new members that weren't defined in the manual I have. I opted to use Doug Ambrisko's WEP patches since David Cornejo's patches did not include the necessary changes to ancontrol(8) to actually enable and use WEP. NOTE: I don't currently have access to an Aironet card, so I can't test any of this. Everything compiles and close scrutiny doesn't reveal any obvious problems, but Murphy's Law applies. This means I will probably leave these changes in -current for a bit longer than usual until I'm sure they work right. Notes: svn path=/head/; revision=68692
* Make '-i iface' optional. Assume an0 if it's not otherwise specified.Josef Karthauser2000-10-282-5/+15
| | | | Notes: svn path=/head/; revision=67823