home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
mobile
/
wi.44.patches
/
README
< prev
next >
Wrap
Text File
|
2002-01-17
|
2KB
|
82 lines
README
-----
Jim Binkley
jrb@cs.pdx.edu
Thu Jan 17 13:54:33 PST 2002
The code here allows the Lucent/prism2 wi driver to scan for access points.
4.4 BSD replacement files, and patches based on differences with 4.4 are supplied.
E.g.,
# wicontrol -i wi0 -A
scanning .....
ap[0]:
netname: somewhere
channel: 6
quality/signal/noise: 28 -74 -102
BSSID - 0:2:2d:2a:1f:d1
beacon interval: 100
capinfo: 1
ap[1]:
netname: elsewhere
channel: 1
quality/signal/noise: 26 -76 -102
BSSID - 0:50:18:5:d0:f8
beacon interval: 90
capinfo: 1
Note: I do not know what "capinfo" means or what 100 stands for in terms
of the beacon interval. Although the latter is probably microseconds
per AP beacon.
The code has 4 sets of functionality that differs from the distributed
4.4 driver:
1. firmware information will be printed out when the driver is probed.
2. access point scanning is supported.
3. monitor code - untested
There is also some monitor code supplied by Brooks but I do not know
anything about its functionality (no way to turn it on yet). It doesn't
look like it will hurt anything though.
4. a bug fix for # wicontrol -i wi0 -o
Also wicontrol.8 has been edited in an attempt to make its information
more up to date and easier to use.
INSTALL
-------
given a 4.4 BSD kernel:
1. patch or replace kernel modules
/usr/src/sys/i386/isa/if_wi.c
/usr/src/sys/i386/isa/if_wireg.h
/usr/src/sys/i386/include/if_wavelan_ieee.h
and rebuild/reinstall the kernel. For other kernels, patch away and good luck.
2. compile/install wicontrol.c
You need the Makefile found in /usr/src/usr.sbin/wicontrol.
note that in order to recompile wicontrol.c, you should link or copy
# cp /usr/src/sys/i386/include/if_wavelan_ieee.h /usr/include/machine
You can then make install wicontrol (it lives in /usr/sbin)
after copying wicontrol.c over its original version.
# make install
And install the new man page
# cp wicontrol.8 /usr/share/man/man8
ACKNOWLEDGEMENTS
Brooks Davis gave me some major clues and so did Adam Shand. I also
borrowed a few things (firmware version) from the Lucent wavelan2_cs
driver.