summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ancontrol
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: capablities -> capabilities.keramida2002-03-081-1/+1
|
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-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
* Make man page and usage statement match reality submitted by Ruslan,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
* mdoc(7) police:ru2002-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
* Fix bugs in the structure for rx_frame by making gap length one byte andambrisko2001-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.
* Fix typo in usage (power same -> power save).pb2001-12-181-1/+1
|
* mdoc(7) police: use standard list width.ru2001-09-111-2/+1
|
* mdoc(7) police: fix markup.ru2001-09-111-131/+168
|
* Add support for monitor mode. This means that after enabling thebrooks2001-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)
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-131-1/+2
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-131-9/+7
|
* Make spacing consistant and set WARNS correctly.brooks2001-07-301-4/+4
|
* Make ancontrol WARNS=2 clean.brooks2001-07-272-44/+52
|
* Fix typoskris2001-07-231-3/+3
| | | | | Obtained from: OpenBSD MFC After: 1 week
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-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.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+1
|
* Remove whitespace at EOL.dd2001-07-151-7/+7
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Output the current TX rate when showing status.brooks2001-06-261-0/+11
| | | | PR: bin/25470
* MFC candidatejesper2001-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
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-3/+0
|
* mdoc(7) police: Change -filled displays (which just happenru2001-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.
* If the first argument doesn't start with '-' assume that it is animp2000-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
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: reapply rev 1.7 lost in previous commit, clean up a bit.ru2000-12-111-50/+56
|
* Fixes to the Aironet driver to clear up some WEP issues.archie2000-12-083-52/+210
| | | | | | | "Security notes" section to the man page added by me. PR: 23097 Submitted by: Doug Ambrisko <ambrisko@whistle.com>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-25/+25
|
* Close PR# 21843 and PR# 21864. This adds support for WEP and updates somewpaul2000-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.
* Make '-i iface' optional. Assume an0 if it's not otherwise specified.joe2000-10-282-5/+15
|
* Remove a comment that should not have been committed.roberto2000-06-291-2/+0
|
* Fix a comment botch which broke buildworld.green2000-06-191-0/+2
|
* Fix potential buffer overflows (even if ancontrol is not setuid).roberto2000-06-181-13/+10
| | | | Submitted by: Aaron Campbell <aaron@cs.dal.ca> from OpenBSD
* ancontrol first appeared in FreeBSD 4.0, not 3.0.mpp2000-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>
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-4/+8
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-50/+100
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Add driver support for the Aironet 4500/4800 series wireless 802.11wpaul2000-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.
OpenPOWER on IntegriCloud