Subject: HEADS UP: many wiconfig(8) flags deprecated; use ifconfig
To: None <current-users@netbsd.org>
From: David Young <dyoung@ojctech.com>
List: current-users
Date: 11/16/2002 16:42:26
I removed 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 they
probably don't belong in wiconfig).

I added flag -g, set fragmentation threshold.  Wiconfig will also query
the RSSI->dBm conversion constant.  -g also affects an 802.11 parameter,
so it may move into ifconfig shortly.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Engineering from the Right Brain
                        Urbana, IL * (217) 278-3933