6 .Nd read/write wavelan config parameters
10 .Op Ar param value ...
14 command can be used to read and set parameters for the NCR/AT&T Wavelan
15 radio LAN card. Various parameters stored in the nonvolatile Parameter
16 Storage Area (PSA) on the card can be modified with this program, which
17 obviates the need for the DOS-based
19 program. It can also be used to interrogate the optional signal
20 strength cache which may have been compiled into the driver.
24 parameter specifies the wavelan interface name (eg.
26 ). If no other arguments are supplied, the current contents of the PSA
27 are interpreted and displayed.
33 arguments can be used to change the value of several parameters.
36 pairs may be supplied.
37 .Bl -tag -width 15n -compat -offset indent
41 IRQ value (used at next reset), may be one of 3,4,5,6,10,11,12,15
43 Local MAC value (ethernet address)
50 (as set at the factory).
52 The NWID is a 2-byte parameter passed to the card's radio modem.
53 NWIDs allow multiple logically discrete networks to operate
54 independantly whilse occupying the same airspace.
55 Packets with a different NWID are simply ignored by the modem.
56 In the hardware, NWIDs are stored long-term in non-volative memory
57 (called the PSA or programmable storage area), and are loaded by
58 software into the radio modem when the driver is
59 initialized. This sets the default NWID loaded at startup.
61 This sets the current operating NWID (but does not save it to the
64 The driver may maintain a per interface fixed size cache of signal strength,
65 silence, and quality levels, which are indexed by sender MAC addresses.
66 Input packets are stored in the cache, and when received, the values
67 stored in the radio modem are interrogated and stored.
68 There are also two sysctl values (iponly and multicast only) which
69 can be used for filtering out some input packets. By default, the
70 cache mechanism stores only non-unicast IP packets, but this can
71 be changed with sysctl(8). Each non-filtered
72 input packet causes a cache update, hence one can monitor
73 the antennae signal strength to a remote system.
74 There are three commands that can be given as values:
76 which prints out the raw signal strength data as found in the radio
79 which scales the raw hardware values to 0..100%, and
81 which clears out the cache in case you want to store new samples.
84 Note that if the IRQ on the Wavelan card is incorrect, the interface
85 will be configured, but will not function. The
87 program should then be used to reconfigure the card to a sensible
90 Set the NWID to 0x1234 :
92 # wlconfig wl0 nwid 0x1234
95 Show the current settings :
99 Base address options : 0x300, 0x390, 0x3c0, 0x3e0
103 Default MAC address : 08:00:0e:20:3d:4b
104 Soft MAC address : 00:00:00:00:00:00
105 Current MAC address : Default
106 Adapter compatability : PC-AT 2.4GHz
108 Call code required : NO
110 Quality threshold : 3
111 Hardware version : 0 (Rel1/Rel2)
112 Network ID enable : YES
114 Datalink security : NO
115 Databus width : 16 (variable)
116 Configuration state : unconfigured
120 Print a scaled version of the signal strength cache :
122 # wlconfig wl0 cache scale
128 This implementation of the
130 command is completely new, written for Hilink Internet by Michael Smith,
131 and updated by Jim Binkley &c.