8 .Nd read/write wavelan config parameters
12 .Op Ar param value ...
16 command can be used to read and set parameters for the NCR/AT&T Wavelan
17 radio LAN card. Various parameters stored in the non-volatile Parameter
18 Storage Area (PSA) on the card can be modified with this program, replacing
21 program. It can also be used to interrogate the optional signal
22 strength cache which may have been compiled into the driver.
26 parameter specifies the wavelan interface name (eg.
28 If no other arguments are supplied, the current contents of the PSA
29 are interpreted and displayed.
35 arguments can be used to change the value of several parameters.
38 pairs may be supplied.
39 .Bl -tag -width 15n -offset indent
43 IRQ value (used at next reset), may be one of 3,4,5,6,10,11,12,15.
45 Local MAC value (ethernet address).
52 (as set at the factory).
54 The NWID is a 2-byte parameter passed to the card's radio modem.
55 NWIDs allow multiple logically discrete networks to operate
56 independently whilst occupying the same airspace.
57 Packets with a different NWID are simply ignored by the modem.
58 In the hardware, NWIDs are stored long-term in non-volatile memory
59 (called the PSA or programmable storage area), and are loaded by
60 software into the radio modem when the driver is
61 initialized. This sets the default NWID loaded at startup.
63 This sets the current operating NWID (but does not save it to the
66 The driver may maintain a per interface fixed size cache of signal strength,
67 silence, and quality levels, which are indexed by sender MAC addresses.
68 Input packets are stored in the cache, and when received, the values
69 stored in the radio modem are interrogated and stored.
70 There are also two sysctl values (iponly and multicast only) which
71 can be used for filtering out some input packets. By default, the
72 cache mechanism stores only non-unicast IP packets, but this can
76 input packet causes a cache update, hence one can monitor
77 the antennae signal strength to a remote system.
78 There are three commands that can be given as values:
80 which prints out the raw signal strength data as found in the radio
83 which scales the raw hardware values to 0..100%, and
85 which clears out the cache in case you want to store new samples.
88 Note that if the IRQ on the Wavelan card is incorrect, the interface
89 will be configured, but will not function. The
91 program should then be used to reconfigure the card to a sensible
94 Set the NWID to 0x1234:
96 # wlconfig wl0 nwid 0x1234
99 Show the current settings:
103 Base address options : 0x300, 0x390, 0x3c0, 0x3e0
107 Default MAC address : 08:00:0e:20:3d:4b
108 Soft MAC address : 00:00:00:00:00:00
109 Current MAC address : Default
110 Adapter compatibility : PC-AT 2.4GHz
112 Call code required : NO
114 Quality threshold : 3
115 Hardware version : 0 (Rel1/Rel2)
116 Network ID enable : YES
118 Datalink security : NO
119 Databus width : 16 (variable)
120 Configuration state : unconfigured
125 Print a scaled version of the signal strength cache:
127 # wlconfig wl0 cache scale
133 This implementation of the
135 command is completely new, written for Hilink Internet by