freebsd-dev/sys/dev/awi
Archie Cobbs 2e2de7f23f Move code to handle BPF and bridging for incoming Ethernet packets out
of the individual drivers and into the common routine ether_input().
Also, remove the (incomplete) hack for matching ethernet headers
in the ip_fw code.

The good news: net result of 1016 lines removed, and this should make
bridging now work with *all* Ethernet drivers.

The bad news: it's nearly impossible to test every driver, especially
for bridging, and I was unable to get much testing help on the mailing
lists.

Reviewed by:	freebsd-net
2000-05-14 02:18:43 +00:00
..
am79c930.c Remove unneeded #include <sys/kernel.h> 2000-04-29 15:36:14 +00:00
am79c930reg.h Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
am79c930var.h Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
awi.4 Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
awi.c Move code to handle BPF and bridging for incoming Ethernet packets out 2000-05-14 02:18:43 +00:00
awictl.h Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
awireg.h Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
awivar.h Provide mem* for compat with NetBSD to fix LINT 2000-04-17 22:58:15 +00:00
if_awi_pccard.c Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
if_awi_pcmcia.c Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
README Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00

# $Id: README,v 1.19 2000/03/24 08:13:24 onoe Exp $
# $FreeBSD$

===== Configuration
	ifconfig awi0 link0
		changes to encapsulation from 802.2 LLC/SNAP (default) to
		ether encapsulation.  MELCO access point and PAO's ux driver 
		use this.

===== Supported Cards
	Any IEEE 802.11 cards use AMD Am79C930 and Harris (Intersil) Chipset
	with PCnetMobile firmware by AMD.
	   BayStack 650   1Mbps Frequency Hopping PCCARD adapter
	   BayStack 660   2Mbps Direct Sequence PCCARD adapter
	   Icom SL-200    2Mbps Direct Sequence PCCARD adapter
	   Melco WLI-PCM  2Mbps Direct Sequence PCCARD adapter
	   NEL SSMagic    2Mbps Direct Sequence PCCARD adapter
	   Netwave AirSurfer Plus
			  1Mbps Frequency Hopping PCCARD adapter
	   Netwave AirSurfer Pro
			  2Mbps Direct Sequence PCCARD adapter

===== Known Problems
	WEP is not supported.
	Does not create IBSS itself.

	Cannot configure at all on FreeBSD:
		selection of infrastructure/adhoc mode
		ESSID
		...

===== How to add

*** NetBSD current
	already merged into current source tree.

        pcmcia: update the awi driver, which now supports AMD 79c930-based 
                802.11DS cards as well as 802.11FH cards, and can operate
                in infrastructure mode, adhoc mode, and wi(4) compatible
                adhoc mode. [onoe 20000322]

*** FreeBSD-current
	make directory /sys/dev/awi and put all files there.
	move if_ieee80211.h to /sys/net
	add following lines to /sys/conf/files
		dev/awi/am79c930.c	optional awi
		dev/awi/awi.c		optional awi
		dev/awi/if_awi_pccard.c	optional awi card
	add following line to config file
		device		awi0
	config and make kernel

	add description of your card to /etc/pccard.conf
	    ex.
		card "AMD" "Am79C930"
			config 0x1 "awi0" ?
		card "Icom" "SL-200"
			config 0x1 "awi0" ?
		card "Bay Networks" "BayStack 650 Wireless LAN"
			config 0x1 "awi0" ?