Commit Graph

74 Commits

Author SHA1 Message Date
dmlb
03f70e94d0 Fix mbuf leaking - duh! 2000-04-04 06:43:30 +00:00
dmlb
34ac70fb1f Add signal strength cache structures. 2000-03-31 20:13:03 +00:00
dmlb
ad959eace7 Use the right value for IFQ_MAXLEN and fix brokeness with gatewaying http from windows.
Add signal strength cache and antenna selection (untested as firmware v4 doesn't return the antenna).

KNF
2000-03-31 20:12:30 +00:00
dmlb
354e76b2f3 For version 0.9 change DNET output 2000-03-21 14:39:36 +00:00
dmlb
864348db9d Added user level updates and reading of parameters. 2000-03-21 14:27:46 +00:00
dmlb
efbea7dcdb Typo. 2000-03-21 14:26:38 +00:00
dmlb
748babcb68 * add the start_join_net - done
*	i needed it anyway
 * remove startccs and startcmd - done
 *	as those were used for the NetBSD start timeout
 * multicast - done but UNTESTED
 *	I don't have the ability/facilty to test this
 * rxlevel - done
 *	stats reported via raycontrol
 * getparams ioctl - done
 *	reported via raycontrol
 * start_join_done needs a restart in download_done - done
 *	now use netbsd style start up

removed spare timerh

implemented start_assoc in ray_ccs_done

bit more knfing
2000-03-12 22:54:29 +00:00
dmlb
8940abdda0 structure for error counters added 2000-03-12 22:52:00 +00:00
dmlb
dd2095a1d9 Use ssid length from 80211.h
moved and extended ioctl's

added string and size definitions for raycontrol
2000-03-12 22:51:33 +00:00
dmlb
f70d612df1 Remove old hand crafted version of start_join_net for download. 2000-03-11 13:34:13 +00:00
dmlb
062b3844f8 Start to use ray_start_join_net (my old code removed on next checkin)
requires current and desired network parameters, so I have created a network parameter structure and used two on them in the softc. This gives a bit of room of expansion. Re-wrote the update check in _net to work with this.

Tidyed up softc due to above.

Removed startccs and startcmd as they were only used by NetBSDs startup timeout.
2000-03-11 13:25:33 +00:00
dmlb
2859a2ebb1 Use the ccs update command mechanism for dowloading parameters on startup 2000-03-09 21:34:47 +00:00
dmlb
a6fb4b16d6 Mega additions of NetBSD code - most of the NetBSD code is now in here, if
not actually used yet. This created a lot of prototypes.

I moved code around so that the functions are in the same order as NetBSD - this helps diff a lot.

Things that are missing are the TX routine and ifmedia stuff and ioctls

Not all of the stuff is enabled - we are missing calls in ccs_done and ioctl.

Promiscious mode is working.

Am almost ready to use the NetBSD start up routine - essentially all I need
to do is not use a seperate timer to call download_timo.

Other misc. things:
	callout_stop is a newish feature for cancelling a timer without
	argument checking it.

	tried to add a sysctl knob but it doesn't work in the module

	enabled infrastructure code to call netbsd bits.
2000-03-08 23:28:06 +00:00
dmlb
1bbd70aa46 Fix cock up with test on start address.
This code sent out to alpha testers.
2000-03-08 08:53:36 +00:00
dmlb
48dbef235d Added reset code and converted many panics into call to reset.
Finished ray_stop and ray_unload.

A little more macro tidying.
2000-03-05 22:24:30 +00:00
dmlb
b5e5c9dd37 Minor tidy up. 2000-03-05 22:04:09 +00:00
dmlb
0d62211658 Moved a lot of my inline comments to head of code and documented
card configuration hassles.

Added a TODO list so I don't forget to finish stuff.

Tidyed up a lot of XXX.

Tidy'd and documented debugging - all DPRINTF have a debug level associated.
RAY_DEBUG = 1, will log packet errors.

#if protect common memory hacking

Don't rely on pccardd for common memory settings.

Added a simple transmit mode - reasonable performance but not great. Will do a version of the NetBSD chained buffers soon. Yup we have two way transmisson!

Fix a stupid bug in the common memory code - the ioctl call was
hidden behind a debug test!
2000-03-05 14:39:23 +00:00
dmlb
a5aaf32a47 Tidy up.
Add TX tib structure.
2000-03-05 14:29:29 +00:00
dmlb
079b595e6d Mostly notes and minor style changes whilst I was travelling. 2000-03-03 17:07:42 +00:00
dmlb
6a1ee008fe Completed start/join code (well only infrastructure mode)
Added receive code and support for Webgear encapsulation.

More debugging macros/functions.

conditionalised timeout for start/join network

conditonalised attribute/common memory hacks

identified tracking code with XXX_TRACK

sorted out initialistion of instance structure to some extent

finished docuementing the start/join sequence
2000-02-27 19:52:29 +00:00
dmlb
631e6b661d Initial import 2000-02-27 19:47:06 +00:00
dmlb
bb530135b8 Snap shot check in.
The code doesn't compile (I'll do that in a minute), but functionally
it gets to receveing the interrupt from the start or join net command.

There is a lot of code to deal with the limitations of the PCCard memory
mapping code - I'm changing some of it hence the check in to preserve something
that worked.
2000-02-26 14:49:24 +00:00
dmlb
f4fad0c802 Skeleton framework for network driver and initial probing of device. 2000-02-20 14:56:17 +00:00
dmlb
fb03f43d16 Initial import 2000-02-13 21:07:25 +00:00