aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ancontrol
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove a comment that should not have been committed.Ollivier Robert2000-06-291-2/+0
| | | | Notes: svn path=/head/; revision=62239
* Fix a comment botch which broke buildworld.Brian Feldman2000-06-191-0/+2
| | | | Notes: svn path=/head/; revision=61822
* Fix potential buffer overflows (even if ancontrol is not setuid).Ollivier Robert2000-06-181-13/+10
| | | | | | | Submitted by: Aaron Campbell <aaron@cs.dal.ca> from OpenBSD Notes: svn path=/head/; revision=61815
* ancontrol first appeared in FreeBSD 4.0, not 3.0.Mike Pritchard2000-04-231-3/+3
| | | | | | | | | Also fix a couple of minor mdoc style things as long as I'm in here. Submitted by: Allen Campbell <allenc@verinet.com> Notes: svn path=/head/; revision=59558
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-021-4/+8
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-50/+100
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57673
* Add driver support for the Aironet 4500/4800 series wireless 802.11Bill Paul2000-01-143-0/+1676
NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported, though only the ISA and PCI ones will work on the alpha for now. PCCARD, ISA and PCI attachments are all provided. Also provided an ancontrol(8) utility for configuring the NIC, man pages, and updated pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired mode, although you must configure the kernel explicitly to support the hardwired mode since you have to know the I/O address and port ahead of time. Special thanks to Doug Ambrisko for doing the initial newbus hackery and getting it to work in infrastructure mode. Notes: svn path=/head/; revision=55992