Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 08:54:51 +0900 (JST)
From:      Atsushi Onoe <onoe@sm.sony.co.jp>
To:        freebsd-mobile@freebsd.org
Cc:        sommerfeld@orchard.arlington.ma.us
Subject:   AMD Wireless IEEE802.11 status report
Message-ID:  <200001192354.IAA01247@duplo.sm.sony.co.jp>

next in thread | raw e-mail | index | archive | help
--NextPart-20000120085325-0042601
Content-Type: Text/Plain; charset=us-ascii

I've just working for porting (again) Bill Sommerfeld's awi driver
for NetBSD to FreeBSD-current.
Though it is not stable, here is the current status just FYI.

Summary
	running on FreeBSD-current and (maybe) FreeBSD 3.3+PAO
	Support DS in addition to FH.
	Limited support of adhoc mode.

	Doesn't work on NetBSD
		(my asynchronous attach code might be bad...)
	IBSS creation on adhoc mode is not working correctly.
	FH is not tested at all
	roaming is not tested at all.

Snapshot
	ftp://onoe2.sm.sony.co.jp/pub/awi/awi-000120.tar.gz
	you may use it only if you love hangups and hacking...

Atsushi Onoe

--NextPart-20000120085325-0042601
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="README"

# $Id: README,v 1.5 2000/01/19 23:00:05 onoe Exp $
===== How to add

*** FreeBSD-current
	make directory /sys/dev/awi and put all files there.
	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" ?

	(optional) implement cardmem function to pccardd and fix bugs
	    in pccard kernel code:-)
		awi driver can work with PIO.

*** FreeBSD 3.3 + PAO
	make directory /sys/dev/awi and put following files there.
		awi.c awireg.h awivar.h
		am79c930.c am79c930reg.h am79c930var.h
	overwrite existing file
		if_awi.c		-> /sys/i386/isa/
	(optional) remove unnecessary files
		/sys/i386/isa/
			am79c930_a.c am79c930reg.h am79c930var.h
			awi.c awireg.h awivar.h
			if_awi.c
			if_ux.c if_ux.h if_uxtypes.h
		/sys/dev/ux/*
	modify /sys/conf/files
		add following lines
			dev/awi/am79c930.c	optional awi device-driver
			dev/awi/awi.c		optional awi device-driver
		comment or remove following line
			dev/ux/am79c930.c	optional ux  device-driver
	modify /sys/i386/conf/files.i386
		add following line
			dev/awi/if_awi_pccard.c	optional awi device-driver
		comment or remove following lines
			i386/isa/am79c930_a.c	optional awi device-driver
			i386/isa/awi.c		optional awi device-driver
			i386/isa/if_ux.c	optional ux  device-driver
	comment or remove following line from config file
			device	ux0	at isa? port 0x300 net irq 5
	config and make kernel

	add or modify description of your card to /etc/pccard.conf
	    ex.
		card "AMD" "Am79C930"
			config  default "awi0" any
			cardmem 0xd4000 0 0x8000 0x40
			insert  /etc/pccard_ether $device
			remove  /etc/pccard_ether_remove $device
		card "Icom" "SL-200"
			config  default "awi0" any
			cardmem 0xd4000 0 0x8000 0x40
			insert  /etc/pccard_ether $device
			remove  /etc/pccard_ether_remove $device
		card "Bay Networks" "BayStack 650 Wireless LAN"
			config  default "awi0" any
			cardmem 0xd4000 0 0x8000 0x40
			insert  /etc/pccard_ether $device
			remove  /etc/pccard_ether_remove $device
		(cardmem lines are optional)

*** NetBSD current
	*** not working now. ***

	overwrite existing files
		awi.c awireg.h awivar.h		-> /sys/dev/ic
		(am79c930.c am79c930reg.h am79c930var.h ... no changes)
	modify /sys/dev/pcmcia/if_awi_pcmcia.c
		remove 2nd argument (enaddr) from awi_attach()
		remove awi_pcmcia_get_enaddr()
		modify awi_pcmcia_attach() to allow other cards than
		BayStack 650.
			Note that neither MELCO nor Icom has
			manufacturer/product code in their CIS tuple.
			need to match by string?
	(optional)enlarge memory window for pcic to 8KB or more.
		awi driver can work with PIO if mapping of 8KB memory
		fails.

===== 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.

	wicontrol -i awi0

===== Supported Cards
	Any IEEE 802.11 cards use AMD Am79C930 and Harris Chipset with
	PCnetMobile firmware by Harris (Intercil).
		BayStack	650(FH), 660(DS)
		Icom		UX-136(DS), SL-200(DS), SL-100(FH)
		BUFFALO		WLI-PCM(DS)

===== Status
	SL-200(DS) and WLI-PCM(DS) can communicate with:
		SL-200/WLI-PCM PAO3's ux driver
		SL-200 Windows98	[adhoc mode]
		WLI-PCM Windows98	[adhoc mode, encapsulated]
		by settings:
			# ifconfig awi0 link0
			# wicontrol -i awi0 -p 3
			# wicontrol -i awi0 -c 1
			# wicontrol -i awi0 -n "Desired ESS ID"

		WaveLAN IEEE TURBO [AdHoc Demo Mode, Standard]
		by settings:
			# wicontrol -i awi0 -p 3
			# wicontrol -i awi0 -c 0

		WavePoint II [Infrastructure]
		by settings:
			# wicontrol -i awi0 -p 1
			# wicontrol -i awi0 -n "Desired ESS ID"

	FH is not tested.
	roming is not tested.

===== Known Problems
	attaching card is done asyncronously.  assigning address just after
	card insertion may fail (or panic in NetBSD?).

		NetBSD panics just after attach because interrupt handler
		called after attach will unregister interrupt itself
		and makes dangling pointer...
		I've heard NetBSD is now allowing sleep in attaching driver,
		which may raise some porting issue...

	IBSS (adhoc mode) is not working correctly.

===== Todo
	...

===== References: Settings Information

Settings of Drivers on Windows 98

MELCO BUFFALO WLI-PCM (JP)
	Desired ESS ID  [AIRCONNECT]
	Frame Format    [Encapsulated]/RFC1042
	I/O Access Mode [Memory Map]/PIO
	Interrupt Mode  [Edge]/Level
	Network Mode    [Adhoc]/Infrastructure
	PktSize         [1500]

Icom SL-200 (JP)
	Desired ESS ID	[LG]
	Network Mode    [Adhoc]/Infrastructure
	PHY Parameters	[14]
	PktSize		[1000]

BayStack 650/660
	Initial SSID		[Default SSID]
	Network Mode		[Infrastructure Network]/Adhoc Network
	IP Subnet Preference	[Roam freely across subnets]/
				Stay on current subnet when possible/
				Always stay on current subnet
	WEP Active Key		[0]/1/2/3
	    Encrypt AUthentication Sequence	[ ]/x
	    Enrypt Data Packets			[ ]/x
	DS Preferred Channel	[1]/2/3/4/5/6/7/8/9/10/11/12/13/14
	Translation Mode	[802.1h+NTI STT]/Straight Encapsulation
	Power Save		[ ]/x
	# expert mode
	RTS Threshold		[2305]
	Fragmentation Threshold	[2305]
	# only if power save
	Listen Interval		[Every DTIM]/Every TIM/Every [ ]ms

WaveLAN IEEE Turbo (JP)	* Not supported by awi driver
	WaveLAN Network Name	[]
	Station Name		[]
	AdHoc Demo Mode		[ ]/x
	MAC Address		[]
	AP Density		[Low Density]/Medium Density/High Density
	Transmit Rate		[High]/Medium/Standard/Low
	Fixed			[ ]/x
	Medium Reservation	[Off]/Hidden Station

--NextPart-20000120085325-0042601--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001192354.IAA01247>