summaryrefslogtreecommitdiffstats
path: root/sys/dev/ray
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial import.dmlb2000-04-241-0/+126
|
* Make the moved about version compile and rundmlb2000-04-241-2/+6
|
* Moved functions around so that they are grouped a little more sensibly.dmlb2000-04-221-1012/+1016
|
* Functional driver with new command queue in place.dmlb2000-04-211-1278/+1068
| | | | | | | | | | | | | | | | | | | | | | | Working download and start/join network. What's nice is that I didn't touch TX or RX code at all. Not fully done yet - stubs for assoc, cast, promisc and user param updating. I can't work out the "nicest" way to get the mcast and promisc interactions sorted without needing to abort runq commands half way through. And, as mcast/promisc used elsewhere I want to get this right. Other stuff Fancy new debugging with __FUNCTION__ and __LINE__. Lots of panic's inserted until I check some stuff out. Removed all of the old scheduler. Removed start join timeout as I don't need it. Removed the promiscuous broadcast code that waas ifdef'd out. New CCS allocation
* A messy commit that checkpoints the driver (not known to actually work)dmlb2000-04-151-236/+330
| | | | | | | | | | | before I rip out the scheduler - whilst v. nice 'n all, it is doing the wrong job. We need something that sends commands to the card atomically so dhcp etc. works right. I've renamed and moved a lot of the scheduler code so that it is all in one place and all starts with ray_cmd_ ray_stop has some debugging crap left in - to be deleted rsn
* Merged in a load of information from the card documentation - not finished yet.dmlb2000-04-151-121/+338
|
* A few comment tidy-ups.dmlb2000-04-151-13/+27
| | | | | | | Add a %b printf descriptor Change the START command to DOWNLOAD to avoid confusion with start as in transmitting a packet.
* Most of this commit are minor changes whilst trying to make the driverdmlb2000-04-091-217/+375
| | | | | | | | | | | | robust enough to work with dhcp. Essentially the driver returns to userland before certain commands have been completed by the card. I'm trying to work out the best way to fix this. There are very minor functional changes, most of this is debugging. Rework of debugging so a bit mask is used and re-allocation around the place. Tried to protect ray_init with a tsleep until the network has been joined. I think this is only a partial fix as we also update the mcast and promisc values.
* Fix mbuf leaking - duh!dmlb2000-04-041-6/+9
|
* Add signal strength cache structures.dmlb2000-03-311-2/+14
|
* Use the right value for IFQ_MAXLEN and fix brokeness with gatewaying http ↵dmlb2000-03-311-438/+527
| | | | | | | | from windows. Add signal strength cache and antenna selection (untested as firmware v4 doesn't return the antenna). KNF
* For version 0.9 change DNET outputdmlb2000-03-211-1/+1
|
* Added user level updates and reading of parameters.dmlb2000-03-212-36/+266
|
* Typo.dmlb2000-03-211-2/+2
|
* * add the start_join_net - donedmlb2000-03-121-129/+178
| | | | | | | | | | | | | | | | | | | | * 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
* structure for error counters addeddmlb2000-03-121-7/+18
|
* Use ssid length from 80211.hdmlb2000-03-121-4/+136
| | | | | | moved and extended ioctl's added string and size definitions for raycontrol
* Remove old hand crafted version of start_join_net for download.dmlb2000-03-111-51/+10
|
* Start to use ray_start_join_net (my old code removed on next checkin)dmlb2000-03-111-174/+216
| | | | | | | | 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.
* Use the ccs update command mechanism for dowloading parameters on startupdmlb2000-03-091-112/+58
|
* Mega additions of NetBSD code - most of the NetBSD code is now in here, ifdmlb2000-03-081-832/+1785
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix cock up with test on start address.dmlb2000-03-081-8/+8
| | | | This code sent out to alpha testers.
* Added reset code and converted many panics into call to reset.dmlb2000-03-051-59/+201
| | | | | | Finished ray_stop and ray_unload. A little more macro tidying.
* Minor tidy up.dmlb2000-03-051-2/+2
|
* Moved a lot of my inline comments to head of code and documenteddmlb2000-03-051-378/+773
| | | | | | | | | | | | | | | | | | | | 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!
* Tidy up.dmlb2000-03-051-100/+140
| | | | Add TX tib structure.
* Mostly notes and minor style changes whilst I was travelling.dmlb2000-03-031-46/+132
|
* Completed start/join code (well only infrastructure mode)dmlb2000-02-271-115/+577
| | | | | | | | | | | | | | | | 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
* Initial importdmlb2000-02-271-0/+541
|
* Snap shot check in.dmlb2000-02-262-180/+1304
| | | | | | | | | 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.
* Skeleton framework for network driver and initial probing of device.dmlb2000-02-202-0/+897
|
* Initial importdmlb2000-02-132-0/+0
OpenPOWER on IntegriCloud