Commit Graph

81 Commits

Author SHA1 Message Date
ru
0f82df7b38 Fix manpage's SYNOPSIS and program's usage().
XXX: some options are still left undocumented.

PR:		docs/43861
2006-10-12 13:01:34 +00:00
brian
7311f9613c Spell powersavesleep correctly. 2005-08-22 09:59:13 +00:00
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ru
c05985f13f Sort sections. 2005-01-18 20:02:45 +00:00
stefanf
c0d4a309fc Remove an extra semicolon after a function. 2004-10-17 21:29:53 +00:00
ru
c1a105b9fc Markup nits. 2004-06-05 20:20:34 +00:00
ru
99db664fda Trim whitespace at EOL. 2004-06-04 19:24:21 +00:00
blackend
8911cdd373 Typos fixing:
paramters -> parameters
assoicated -> associated
2003-10-05 12:09:31 +00:00
imp
9eb4929fe5 Document that the atheros driver supports wicontrol too. Minor word
smithing as approrpiate.

PR: 57327
Submitted by: Matt Peterson
2003-09-29 06:34:47 +00:00
imp
0fda899d32 Add -L to the usage message.
PR:	57327
Submitted by: Matt Peterson
2003-09-29 06:32:11 +00:00
eivind
f5f2dd0653 - Reorder to group the non-obsolete options together
- Change from "will be deprecated in 5.1" to "was deprecated in 5.1"
2003-09-18 16:18:45 +00:00
sam
bd3f239047 o update for new 802.11 support
o relax some error handling so other drivers (e.g. ath) are usable
o revert ap scanning logic to old scheme
o add to capability info printing for 11a and 11g
2003-06-28 06:22:23 +00:00
ru
55c56e17eb Assorted mdoc(7) fixes.
Approved by:	re (blanket)
2003-05-22 11:52:23 +00:00
obrien
7293a24a2b Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rwatson
160e84fba3 s/obsoelte/obsolete/ 2003-04-07 04:42:37 +00:00
imp
4195d393b5 Improve, and slightly soften, the deprecated flags. Call them deprecated
and not obsolete, but add a warning about their disappearance.

Add additional notes that explain the lameness of WEP.
2003-04-06 19:27:49 +00:00
imp
8f3a17f085 o Tone down the obsolete messages since we actually do something, for
the moment, with the deprecated flags.
o Better error reporting on getting values from the driver.  When we can't
  get one for the default dumpinfo output.  The old driver would succeed
  for invalid RIDs, while the new driver reports errors.  Since the info
  we're getting from the card/driver doesn't exist for all cards, we just
  don't report them.  Improve error reporting elsewhere now that wi_getval
  doesn't exit.  Also fix a file descriptor leak as a side effect.

Reported by: scottl
2003-04-06 19:11:33 +00:00
obrien
a920d12f89 style.Makefile(5) 2003-04-04 17:49:21 +00:00
imp
a658027292 Start whining to stderr when people use obsolete flags. These flags
will be removed.  Give terse pointer to ifconfig h0h0 magic to use.
2003-03-04 14:59:48 +00:00
imp
e168271f0c another obsolete flag 2003-03-04 14:55:58 +00:00
imp
df00c1529d Correct mistake in T flag: weptxkey is the replacement 2003-03-04 14:54:49 +00:00
imp
69865be330 Document the obsolete flags as obsolete, with pointers to their
ifconfig equivalents.  This is the first step in removing them from
the system.  Users of wicontrol to configure the wireless card are
strongly encouraged to change their scripts, as sometime in the future
all configuration of the cards that isn't in ifconfig will be removed
with extreme prejustice.
2003-03-04 14:47:19 +00:00
mdodd
dade7fd934 - Restore header printing to wi_printaplist()
- Move APRATE switch() code to function for clarity.
- Conditionally call wi_printaplist() alone if more than one 'L'
  is preset.
- Add the 'Q' flag to suppress printing of extraneous information
  in wi_printaplist().
- Re-order second getopt() in main().

Reviewed by:	 imp
2003-01-21 07:28:57 +00:00
sam
6f645b3f27 fix -L (scan ap's): use WI_RID_SCAN_APS instead of WI_RDI_SCAN_REQ to start
a scan so the driver can use the best/right op for the card
2003-01-20 19:46:46 +00:00
sam
a7f59810e1 update for revised wi driver that uses the 802.11 link layer support
Reviewed by:	imp
2003-01-15 20:15:00 +00:00
schweikh
fec6546e12 english(4) police. 2002-12-27 12:15:40 +00:00
ru
fef14a0ffe mdoc(7) police: markup fixes.
Approved by:	re
2002-11-27 15:31:08 +00:00
dwmalone
8a4e33ad88 The symbol for Hertz is Hz. 2002-11-04 22:44:42 +00:00
jhb
5a64f9c84e Spell 'Temperature' correctly. 2002-10-08 19:41:12 +00:00
imp
395dec52c7 Warn that hex keys are the most portable.
Submitted by: Gregory Bond <gnb@itga.com.au>
Pr: 40872
2002-08-12 06:59:04 +00:00
imp
37e0622098 Use wi_ltv_domains struct to print domains 2002-08-05 07:46:22 +00:00
imp
9abe2e2b0a Add more (possibly useless) information to wicontrol's output (maybe
some of these need to be enabled for an extra verbose mode or
something):
	o Try to print the dBm comms quality.  This may or may not be available
	  for your card in your configuration.
	o Print the PRI Id and STA Id.  These are in the raw format, so might
	  be a little hard to read.
	o Print CardID so that we can know exactly what kind of card the
	  user has (this is important if you download firmware to it).
	o Regulatory domains are now printed for the card.
	o Temp range is printed.
	o If you define WI_EXTRA_INFO you get more garbage than is listed
	  here that you need the manual to decode.
	o Channel list is now printed in hex for easier decoding.  This has
	  lead to my discovery that my US symbol card supports channels 12-14
	  as well as 1-11, which is not allowed in the us/canada.

This ain't pretty, but it isn't horrible either.
2002-08-05 07:36:11 +00:00
imp
05e67f8dc7 gcc tells me that this isn't a prototype, and it is right :-) Use
ANSI decl here.  The old K&R one was copied from OpenBSD I think.
2002-08-03 07:31:57 +00:00
charnier
d2168fe021 The .Nm utility 2002-07-14 14:47:15 +00:00
imp
43f0d4bddc include if_ieee80211.h and if_wireg.h, don't know why that didn't work before 2002-06-24 06:20:35 +00:00
imp
dd9b9a1d11 Document -L and -l.
Change -l -> -L to match OpenBSD (since we haven't MFC'd it yet).
-l will now list stations that are associated with a hostap (preliminary)

MFC After: 2 weeks
2002-06-24 06:09:54 +00:00
dwmalone
3a164e8568 As far as I can tell, the maximum packet size for 802.11b is 2346,
which means that the valid range for the RTS threshold is 0-2347.
The default is definitely 2347.
2002-05-27 13:39:01 +00:00
dwmalone
4c72376dab Remove a stray "t" in the usage message.
PR:		38605
Submitted by:	KOIE Hidetaka <hide@koie.org>
MFC after:	1 week
2002-05-27 13:33:46 +00:00
asmodai
a9c8222534 Change typo, 2347 -> 2047.
Submitted by:	moses
2002-04-09 17:29:30 +00:00
imp
f0dad7c21b Integrate airtools. This adds a number of parameters, which I've not
documented yet, the most interesting one is -l, which lists all the
access points available.
2002-04-04 07:04:29 +00:00
imp
2cf6bc353f Use ansi function definitions.
Add const to usage function.
2002-03-27 04:21:40 +00:00
imp
30a0ce7e17 de __P 2002-03-27 04:14:11 +00:00
ru
6137f71e4c WARNS= -> WARNS?= 2001-09-21 07:25:53 +00:00
brooks
28af511dd7 Make wicontrol WARNS=2 clean. This is mostly just adding const to things. 2001-09-05 23:59:20 +00:00
ru
95ce4d2cdc Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
ru
49de19efcc mdoc(7) police: fix markup and a SYNOPSIS bug from revision 1.24. 2001-08-10 10:45:59 +00:00
imp
4de67820e0 Incorporate feedback about the level of security that WEP gives you:
Not much, but it is better than nothing as it discourages
	the extremely lazy.
Please read the actual text (the last text was softer than the commit
message about it) before giving me feedback.

Also, in the last commit I also tagged the newly optional elements in
the command line as optional.
2001-08-10 04:17:55 +00:00
imp
50ef5d59f5 Add a note that says:
WEP IS INSECURE.  DO NOT USE IT.
and point people to details on the attack:
	http://www.cs.rice.edu/~astubble/wep/wep_attack.html
and recommend people use ipsec instead if possible.

Approved by: kris

Mandoc police: Please do your worst.  I'd like to merge similar text
into ancontrol and ifconfig.
2001-08-09 21:59:07 +00:00
obrien
9c97c8f02d 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.
2001-07-20 06:20:32 +00:00
obrien
be022bb715 Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00