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.
- 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.