wavelan
所属分类:驱动编程
开发工具:LINUX
文件大小:117KB
下载次数:99
上传日期:2004-07-29 10:48:29
上 传 者:
winder77
说明: WaveLAN无线网卡Linux驱动程序
(WaveLAN wireless LAN Driver for Linux)
文件列表:
wavelan\Copyright (1769, 1998-10-01)
wavelan\etc\pccard.conf (1687, 1998-10-01)
wavelan\etc (0, 2004-05-22)
wavelan\Makefile (1029, 1998-10-01)
wavelan\pccardd\cardd.c (14582, 1999-03-07)
wavelan\pccardd\cardd.h (4511, 1998-10-01)
wavelan\pccardd\file.c (11621, 1998-10-01)
wavelan\pccardd\Makefile (295, 1999-03-07)
wavelan\pccardd\pccard.conf.5 (6394, 1998-10-01)
wavelan\pccardd\pccardd.8 (5134, 1998-10-01)
wavelan\pccardd\pccardd.c (2993, 1998-10-01)
wavelan\pccardd\printcis.c (15748, 1998-10-01)
wavelan\pccardd\readcis.c (14519, 1998-10-01)
wavelan\pccardd\readcis.h (3639, 1998-10-01)
wavelan\pccardd\util.c (5744, 1998-10-01)
wavelan\pccardd (0, 2004-05-22)
wavelan\sys\i386\conf\files.i386 (13663, 1999-03-07)
wavelan\sys\i386\conf\MONARCH (3924, 1999-03-07)
wavelan\sys\i386\conf (0, 2004-05-22)
wavelan\sys\i386\isa\ic\i82593.h (11155, 1999-03-07)
wavelan\sys\i386\isa\ic (0, 2004-05-22)
wavelan\sys\i386\isa\if_wlp.c (40400, 1999-03-07)
wavelan\sys\i386\isa\if_wlp.h (5557, 1999-03-07)
wavelan\sys\i386\isa\if_wlp_ir.c (8737, 1998-12-07)
wavelan\sys\i386\isa\if_wlp_ir.h (5651, 1998-10-01)
wavelan\sys\i386\isa\if_wlp_wavelan.c (20164, 1999-03-07)
wavelan\sys\i386\isa\if_wlp_wavelan.h (10445, 1998-12-07)
wavelan\sys\i386\isa\if_wlp_wavelan_roam.c (22859, 1999-03-07)
wavelan\sys\i386\isa\if_wlp_wavelan_roam.h (7980, 1999-03-07)
wavelan\sys\i386\isa (0, 2004-05-22)
wavelan\sys\i386 (0, 2004-05-22)
wavelan\sys\pccard\cardinfo.h (4814, 1999-03-07)
wavelan\sys\pccard\cis.h (9395, 1999-03-07)
wavelan\sys\pccard\driver.h (911, 1999-03-07)
wavelan\sys\pccard\i82365.h (9331, 1999-03-07)
wavelan\sys\pccard\pccard.c (27836, 1998-12-07)
wavelan\sys\pccard\pccard_beep.c (1317, 1999-03-07)
wavelan\sys\pccard\pcic.c (26626, 1999-03-07)
wavelan\sys\pccard\pcic98reg.h (1538, 1999-03-07)
... ...
PCMCIA Device Driver
Lucent Technologies WaveLAN (with Roaming support)
IBM Infrared Wireless LAN Adapter
NOTE: The IBM Adapter has not tested with the latest release
although it should still work fine.
Author:
Josh Broch (broch@andrew.cmu.edu)
Operating System:
FreeBSD 2.2.7
PCMCIA Package:
PCCARD (ships with FreeBSD)
Distribution:
Copyright
Makefile
README
etc/
- sample configuration files
pccardd/
- a fixed version of the 2.2.7 pccardd. Your system
will crash if you don't install this.
sys/
- changes/additions to the FreeBSD kernel
utils/
- two utilities to monitor/control the WaveLAN card
Introduction
This device driver supports two different wireless LAN adapters: Lucent
Technologies' WaveLAN adapter and IBM's Infrared Wireless LAN adapter.
I have tested this driver as best as I can and am not aware of any bugs
at this time.
================================================================================
Installation
* Copy the kernel files to their correct locations
cd /tmp
tar xzvf wavelan-1.2.tar.gz
cd wavelan
make sysfiles
NOTE: If you have already modified the standard FreeBSD kernel
examine the files that get copied over to make sure that
you don't overwrite any important configuration information.
* Build and install the two utility programs, "wlpcfg" and "wlpmonitor"
cd /tmp/utils
make
* Build and install pccardd
cd /tmp/pccardd
make && make install
* Edit the kernel configuration files
You need to have the following in your config file:
# Enable PCCARD changes
options MONARCH_PCCARD
# Enable WaveLAN Roaming
options WAVELAN_ROAMING
device wlp0 at isa? port 0x320 net irq 11 vector wlpintr
NOTE: MONARCH is a sample config file that gets copied over. You
can use this or modify your own to include the necessary
WaveLAN information.
* Recompile/Reinstall your kernel
cd /sys/i386/conf
config -n
cd /sys/compile/
make depend && make && make install
* Add the following to /etc/pccard.conf
card "Lucent Technologies" "WaveLAN/PCMCIA"
config default "wlp0" any
insert echo WaveLAN PCMCIA inserted
insert /etc/pccard_ether $device
insert wlpcfg -i $device -w roam 1
remove echo WaveLAN PCMCIA removed
remove /etc/pccard_ether_remove $device
card "IBM" "INFRARED WIRELESS"
config 0x20 "wlp0" any
ether 0xffe0
insert echo IBM Infrared inserted
insert /etc/pccard_ether $device
remove echo IBM Infrared removed
remove /etc/pccard_ether_remove $device
======================================================================
Notes:
* This device driver nows supports 2.4 gHz cards.
* This driver provides the following special ioctl()'s. A command-line
utility (wlpcfg.c) is provided that uses these.
SIOCSIFROAM / SIOCGIFROAM
Set/Get the current roaming status (ON/OFF).
SIOCSIFNWID / SIOCGIFNWID
Set/Get the Network-ID on the WaveLAN card.
SIOCSIFDOMID / SIOCGIFDOMID
Set/Get the Domain ID. A Domain ID of zero indicates that
all Domain ID's are accepted by the WaveLAN card.
SIOCSIFBEACONKEY / SIOCGIFBEACONKEY
Set/Get the Beacon Key.
SIOCGIFSIGNAL
Returns the current Signal Level, Silence Level, and Signal Quality.
SIOCGIFTHRESH
Returns the current Stop Cell, Regular Cell and Fast Cell Search
thresholds.
SIOCGIFSTATS
Dumps lots of statistics about the card, if the drivers has been
compiled with WLP_STATS defined. You can enable this by uncommenting
the line near the top of if_wlp.h:
/* #define WLP_STATS */
* If you are just experimenting with driver, you may want to uncomment
the line "#define WLP_DEBUG" (in if_wlp.c). This will allow you
to see useful things such as the device driver's current mode (stop
cell, regular cell, or fast cell) and when registration occurs with a
new access point.
* If you notice the driver spending considerable time in either Fast
Cell Search Mode or Regular Cell Search Mode, there are two things
to consider:
* Do the WaveLAN access points provide a reasonable SNR at the
mobile host's current location?
* Are the access points configured with reasonable threshold values?
Beacons are generated every 200ms (this is configurable) by each
access point. In these beacons are three threshold values:
Fast Cell Search Threshold (default 7)
Regular Cell Search Threshold (default 10)
Stop Cell Search Threshold (default 13)
These values are the SNR ratios used by the device driver to
determine what mode to operate in. Once the SNR falls below
the Regular Cell Search Threshold, the device driver enters
NWID promiscuous mode and begins looking for a new access point.
If the SNR falls below the Fast Cell Search Threshold, the
driver enters NWID promiscuous mode, but also disables transmission
by setting the IFF_OACTIVE flag on the interface because conditions
are deemed to be very bad.
------------------------------------------------------------------
Mailing Lists:
Comments, bug reports, and general questions about this software should be
sent to monarch@monarch.cs.cmu.edu.
Additionally, bug fixes and announcements of new versions of this software
will be posted to monarch-announce@monarch.cs.cmu.edu. To subscribe,
send mail to majordomo@monarch.cs.cmu.edu with the line
subscribe monarch-announce
as the body of the message.
近期下载者:
相关文件:
收藏者: