History log of /freebsd-10.1-release/usr.sbin/ancontrol/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


238221 08-Jul-2012 eadler

Fix always 0 tautologly revealed by gcc46

Approved by: cperciva
MFC after: 1 week


223492 24-Jun-2011 kevlo

Remove duplicated header files


216756 28-Dec-2010 uqs

Revert most of r210764, now that mdocml does the right
thing with empty quotation macros.

Requested by: Alex Kozlov


210764 02-Aug-2010 uqs

mdoc: make sure to pass at least one argument to quotation macros


201387 02-Jan-2010 ed

ANSIfy some more tools in usr.sbin/.

Most of these tools build with WARNS=6, except for their use of K&R
function declarations.


178370 21-Apr-2008 kevlo

Remove duplicate headers <sys/socket.h>


141846 13-Feb-2005 ru

Expand *n't contractions.


140442 18-Jan-2005 ru

Sort sections.


137169 03-Nov-2004 ceri

Allow the -f argument to work.

PR: bin/73229
Submitted by: Irina Liakh <spell at itl dot ua>
MT4: 2 weeks
MT5: After 5.3-RELEASE


132901 30-Jul-2004 njl

Drop WARNS down to 3 since sparc64 still has justified complaints about
bad casts.

Noticed by: johan


132900 30-Jul-2004 njl

Clean up some more casts. Note that the an_fudge alignment hack for
struct an_ltv_stats needs to be fixed. It has been here since this was
imported.


132861 30-Jul-2004 njl

Mark as WARNS 6 now that sign cleanups are done.


132860 30-Jul-2004 njl

Fix printing of stats by printing an unsigned value as unsigned. ANSIfy
function prototypes. Remove unnecessary returns.

Submitted by: David Hill <davidh -at- wmis.net>


126645 05-Mar-2004 rse

fix reference to sysctl variable: machdep.an_cache_mode -> hw.an.an_cache_mode


122789 16-Nov-2003 njl

Remove an annoying printf that somehow leaked into rev 1.21.


119156 20-Aug-2003 ambrisko

- Add support for Cisco latest firmware RID sizes that supports 25 SSIDs!
- 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.


114601 03-May-2003 obrien

Use __FBSDID over rcsid[]. Protect copyright[] where needed.


113091 04-Apr-2003 obrien

style.Makefile(5)


108401 29-Dec-2002 ambrisko

Add support for MPI-350 the mini-pci Cisco Aironet card. This needs more
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


108317 27-Dec-2002 schweikh

english(4) police.


108182 22-Dec-2002 pb

Fix typo: vunerable -> vulnerable.


106433 04-Nov-2002 dwmalone

The symbol for Hertz is Hz.


99968 14-Jul-2002 charnier

The .Nm utility


99800 11-Jul-2002 alfred

de-__P()


97927 06-Jun-2002 ru

Added missing DPADD detected by ``make checkdpadd''.


91844 08-Mar-2002 keramida

Fix typo: capablities -> capabilities.


90868 18-Feb-2002 mike

o Move NTOHL() and associated macros into <sys/param.h>. These are
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


89380 15-Jan-2002 ambrisko

Make man page and usage statement match reality submitted by Ruslan,
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


89212 10-Jan-2002 ru

mdoc(7) police:

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


88748 31-Dec-2001 ambrisko

Fix bugs in the structure for rx_frame by making gap length one byte and
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.


88153 18-Dec-2001 pb

Fix typo in usage (power same -> power save).


83337 11-Sep-2001 ru

mdoc(7) police: use standard list width.


83336 11-Sep-2001 ru

mdoc(7) police: fix markup.


83269 10-Sep-2001 brooks

Add support for monitor mode. This means that after enabling the
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)


81588 13-Aug-2001 ru

Spell "FreeBSD" with "F" and "BSD" in uppercase.


81586 13-Aug-2001 ru

Removed duplicate VCS ID tags, as per style(9).


80654 30-Jul-2001 brooks

Make spacing consistant and set WARNS correctly.


80454 27-Jul-2001 brooks

Make ancontrol WARNS=2 clean.


80186 23-Jul-2001 kris

Fix typos

Obtained from: OpenBSD
MFC After: 1 week


80029 20-Jul-2001 obrien

Perform a major cleanup of the usr.sbin Makefiles.
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.


80022 20-Jul-2001 obrien

Remove GCC'isms in CFLAGS.


79755 15-Jul-2001 dd

Remove whitespace at EOL.


79537 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


78788 26-Jun-2001 brooks

Output the current TX rate when showing status.

PR: bin/25470


75022 30-Mar-2001 jesper

MFC candidate

Change the default mode from ad-hoc to
infrastructure, as noted in

src/share/man/man4/an.4 rev 1.8


74816 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


74532 20-Mar-2001 ru

Set the default manual section for usr.sbin/ to 8.


72126 07-Feb-2001 ru

mdoc(7) police: Change -filled displays (which just happen
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.


70532 31-Dec-2000 imp

If the first argument doesn't start with '-' assume that it is an
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


70015 14-Dec-2000 ru

mdoc(7) police: removed history info from the .Os FreeBSD call.


69848 11-Dec-2000 ru

mdoc(7) police: reapply rev 1.7 lost in previous commit, clean up a bit.


69772 08-Dec-2000 archie

Fixes to the Aironet driver to clear up some WEP issues.
"Security notes" section to the man page added by me.

PR: 23097
Submitted by: Doug Ambrisko <ambrisko@whistle.com>


68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68692 13-Nov-2000 wpaul

Close PR# 21843 and PR# 21864. This adds support for WEP and updates some
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.


67823 28-Oct-2000 joe

Make '-i iface' optional. Assume an0 if it's not otherwise specified.


62239 29-Jun-2000 roberto

Remove a comment that should not have been committed.


61822 19-Jun-2000 green

Fix a comment botch which broke buildworld.


61815 18-Jun-2000 roberto

Fix potential buffer overflows (even if ancontrol is not setuid).

Submitted by: Aaron Campbell <aaron@cs.dal.ca> from OpenBSD


59558 23-Apr-2000 mpp

ancontrol first appeared in FreeBSD 4.0, not 3.0.

Also fix a couple of minor mdoc style things as long as I'm in here.

Submitted by: Allen Campbell <allenc@verinet.com>


57695 02-Mar-2000 sheldonh

Remove more single-space hard sentence breaks.


57673 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


55992 14-Jan-2000 wpaul

Add driver support for the Aironet 4500/4800 series wireless 802.11
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.