3 .\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that this notice is retained,
7 .\" the conditions in the following notices are met, and terms applying
8 .\" to contributors in the following notices also apply to Berkeley
9 .\" Software Design, Inc.
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. All advertising materials mentioning features or use of this software
17 .\" must display the following acknowledgement:
18 .\" This product includes software developed by
19 .\" Berkeley Software Design, Inc.
20 .\" 4. Neither the name of the Berkeley Software Design, Inc. nor the names
21 .\" of its contributors may be used to endorse or promote products derived
22 .\" from this software without specific prior written permission.
24 .\" THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN, INC. ``AS IS'' AND
25 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 .\" ARE DISCLAIMED. IN NO EVENT SHALL BERKELEY SOFTWARE DESIGN, INC. BE LIABLE
28 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 .\" PAO2 Id: cnwctl.8,v 1.1.1.1 1997/12/11 14:46:06 itojun Exp
43 .Nd display statistics and control Netwave AirSurfer PC Cards
48 .Op Fl k Ar scramble-key
53 utility is used to control Netwave AirSurfer PC Cards as well as
55 The following options are available:
57 .Bl -tag -width indent
59 Set the domain of the card to
61 The domain must be between 0x000 and 0x1ff.
62 The domains 0x000 through 0x0ff are for access to an add-hoc network.
63 The domains 0x100 through 0x1ff are for access to a Netwave Access Point.
64 The default domain is 0x000.
65 A card may only talk to the access point in its domain, or other cards
66 in its add-hoc domain.
70 as the interface rather than
73 Set the scramble key to
75 The scramble key must be between 0x0000 and 0xffff.
76 Both the source and the destination must use the same scramble key
77 in order to communicate.
80 When the optional argument
82 (which must be the last argument to the end of the command line)
83 is specified as a non-zero value, statistics will be displayed
89 of statistics, column labels will be displayed. The first row of
90 statistics will be totals since boot, subsequent lines are deltas
91 from the previous row.
94 is not specified, or is 0 (zero), a single page of statistics will be
95 displayed. These statistics are more detailed and include:
96 .Bl -tag -width indent
98 The domain this card is part of.
100 Number of packets received.
102 Number of overflows detected.
104 Number of overruns detected.
106 Number of CRC errors detected.
107 Random noise can cause these errors.
109 Number of framing errors detected.
111 Number of generic errors detected.
113 Number of times a packet was available.
115 Number of packets requested to be sent.
117 Number of packets sent.
119 Number of packets aborted (not sent within 9 tries).
121 Number of times carrier detect was lost.
123 Number of generic transmit errors detected.
125 Total number of retries.
126 .It Ar N Ns No x retries
127 Number of packets which were retried
132 Display status read from the hardware. This option is only available
136 argument is used as with the
139 The following fields are displayed
140 .Bl -tag -width indent
141 .It link integrity field (lif)
142 A 0 value implies no links.
143 .It connection quality (cq)
144 Probably indicates the quality of the connection to the access point.
147 .It link quality (lq)
148 Probably indicated the quality of the link to the access point.
154 The revision numbers of the card.