Commit Graph

28 Commits

Author SHA1 Message Date
dyoung 3e30600b49 Add flag -g, set fragmentation threshold. Also, query RSSI->dBm
conversion constant.

Remove flags

  -c Create IBSS: use ifconfig wi0 mediaopt adhoc, which turns on the
                  802.11-compliant behavior
  -e enable WEP: use ifconfig wi0 nwkey ...
  -f set channel: use ifconfig wi0 chan ch
  -k set WEP keys: use ifconfig wi0 nwkey ...
  -n set desired SSID to join in IBSS mode: use ifconfig wi0 nwid id
  -p set the desired port type: use ifconfig wi0 mediaopt ...
  -q set SSID to create: use ifconfig wi0 nwid ...
  -t set TX rate: ifconfig wi0 media ...
  -A set authentication type: ifconfig wi0 nwkey ...
  -S set maximum sleep interval: ifconfig wi0 powersavesleep ...
  -P enable power management: ifconfig wi0 powersave
  -T select WEP key for transmitted packets: ifconfig wi0 nwkey n:k1,k2,k3,k4
  -Z unimplemented

which duplicate ifconfig functions. This leaves flags

  -a access point density
  -o print out statistics counters
  -s set station name for Lucent WaveMANAGER software
  -M enable/disable "microwave oven robustness"
  -R enable/disable roaming function

which affect wi(4)-specific parameters, and flags

  -D scan once for access points
  -d maximum data length
  -m set MAC address
  -r set RTS/CTS threshold

which affect 802.11-standard parameters and activities (so may not
belong in wiconfig, in the long-term). The new flag, -g, also
affects an 802.11 parameter.
2002-11-16 22:39:57 +00:00
onoe 55ef0eb8b9 Changed the name for resource id 0xfd45 to match the reality.
WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:52:44 +00:00
tron 92cd63769f Make this build after "wi_ieee.h" has been changed. 2002-08-11 12:16:27 +00:00
thorpej a819d2296f Use __RCSID() and __COPYRIGHT(). 2002-04-09 02:56:17 +00:00
ichiro 56d2b07be1 fix channel list to be 1-14.
txrate parameter value determines the rate at which the
Probe request frames will be sent.
bit0 1Mbps
bit1 2M
bit3 5.5M
bit4 11M
2002-04-02 16:59:14 +00:00
dbj 6e4b27cd49 when no access points are available, explicitly state so
rather then printing a list heading and nothing else.
2002-03-04 01:28:09 +00:00
dbj 7ec184ce2e print out channel list as a list of decimal channels rather
than as a bitmask printed as a single decimal number
2002-03-04 01:26:58 +00:00
dbj 1d7d73ee19 s/Kusec/msec/ 2002-03-04 01:24:53 +00:00
dbj aee0e0eba3 use all 4 bytes of result length when scanning APs. 2002-03-03 05:00:03 +00:00
ichiro 3ee53752e9 It is missing fflush() when scanning the network and no avaible AP. 2002-01-28 22:07:30 +00:00
christos d08bc504d8 If WI_RID_SCAN_APS is not defined, then don't support it. 2002-01-25 17:17:21 +00:00
ichiro 66a56d4efe If the interface isn't up, up and scan.
then, down it when scanning is done.

point out from lha@stacken.kth.se, kern/15328
2002-01-22 02:09:11 +00:00
ichiro 780b3934d4 display Beacon Interval of STA 2002-01-21 12:59:50 +00:00
ichiro 1635f76bf6 forces if_wi to initiate one round of access point scan.
This code was written by jrb@cs.pdx.edu, modified and bug-fixed by ichiro@netbsd.org
2002-01-21 11:35:06 +00:00
tsubai eef5fa50d3 Big-endian support. 2001-05-16 10:45:36 +00:00
ichiro a420303a55 It enabled it to control roaming mode and authentication mode. 2001-05-15 04:16:21 +00:00
ichiro 16aa429153 sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h 2001-05-06 03:28:57 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
jdolecek c40ad1440d cast isprint() parameter to (unsigned char) - it looses if the character has high
bit set when the architecture is using signed char by default
This fixes bin/11556 by Michael Eriksson.
2000-11-24 09:53:36 +00:00
jhawk 5056d0ce7c Add support for "microwave oven robustness" with wiconfig -M. 2000-08-23 19:01:04 +00:00
enami f1cac3326d Add our RCS Id and restore original Id. 2000-08-07 00:55:08 +00:00
enami 3268786888 - Process all passed option rather than ignoring silently except the first one.
- Centerize the check whether an interface is specified.
- Print maximum data length.
- Swap wi_type and wi_code in struct wi_table so that wi_type matches with
  wi_type in wi_req.
2000-07-06 03:37:26 +00:00
sommerfeld 88930abce1 Add support for the documented, but unimplemented, -a flag. 2000-06-24 04:15:49 +00:00
enami 7c396cad70 When we steal an argument, just bump optind instead of copying
rest of argument vector.
2000-05-23 09:04:33 +00:00
explorer a4563961cf when setting the key, don't dump interface stats too. 2000-05-04 21:19:12 +00:00
itojun f03b262b04 don't traverse NULL pointer on "wiconfig -p 1".
From: veego
2000-03-26 08:58:11 +00:00
explorer 82cee51cf3 bring over WEP mode from FreeBSD/OpenBSD 2000-02-04 07:59:45 +00:00
sommerfeld 7c00275166 Utility to configure wi* 802.11 driver 1999-07-14 22:33:33 +00:00