summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/atwvar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a DVACT_WAKEUP op to the *_activate() API. This is called after thederaadt2013-12-061-5/+2
| | | | | | | | kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op's in drivers creating callback/threads themselves, but that has become too common, indicating the need for a built-in mechanism. ok dlg kettenis, tested by a sufficient amount of people
* replace workqs with tasks for handling resumedlg2013-11-141-3/+3
| | | | from kimberley manning
* __attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, andmiod2010-11-201-2/+2
| | | | | uncommenting it is intentional. ok deraadt@
* remove the powerhook code. All architectures now use the ca_activate treederaadt2010-09-071-3/+1
| | | | | traversal code to suspend/resume ok oga kettenis blambert
* Massage the powerhook functions into activate functions, and then callderaadt2010-08-291-2/+6
| | | | | | them from the powerhook. Fix a few quibbles about the things done for the IFF_RUNNING and IFF_UP cases ok kettenis
* Get rid of devact enum, substitute it with an int and coresponding defines.pirofti2009-10-131-2/+2
| | | | | | This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
* remove use of BITS and BIT macros.jsg2009-08-161-6/+6
|
* start getting rid of some of these horrific bit macros, removejsg2009-08-161-3/+3
| | | | | | usage of BITS(). There is a binary change due to the way these macros are further used in the MASK_AND_RSHIFT specifically for ATW_SR_RFTYPE_MASK and ATW_SR_BBPTYPE_MASK.
* More cases of shutdown hooks not needed after card is already stopped. Inderaadt2009-08-101-3/+1
| | | | | | these cases the xxstop function is a bit more complicated and has a flag of some sort, but the use of that flag does not matter; DMA is already ceased ok dlg
* put the values direct in the array, otherwise the nested macros are longerderaadt2009-06-031-17/+1
| | | | | than standards permit found & ok by jsg
* let atw at pci be detachable; untested.jsg2009-06-021-1/+2
|
* instead of passing rx tstamp and rssi to the ieee80211_input function,damien2008-07-211-2/+2
| | | | | | | pass a pointer to an ieee80211_rxinfo structure containing those two fields plus an extra flags field that indicates whether the frame was decrypted by hardware or not. required for a future fix.
* More removal of clauses 3 and 4 from NetBSD licenses.ray2008-06-271-8/+1
| | | | OK deraadt@ and millert@
* move ieee80211_compute_duration() and ieee80211_compute_duration1()damien2007-06-071-3/+11
| | | | | | | | | | functions into the two drivers that use them (atw and rtw.) this code is not generic enough to be used by other drivers and there is no chance that it will ever be used in newer driver since it supports 802.11b only. plus, it hurts my eyes each time i look into ieee80211_output.c. "fine with me as long as the logic doesn't change in the functions" jsg@
* __attribute__((__packed__)) -> __packedjsg2006-06-271-3/+3
|
* Missed part of last atw commit.jsg2006-02-171-1/+3
|
* Remove surplus semicolon.jsg2005-12-091-2/+2
|
* Remove a bunch of redundant defines that are also in net80211.jsg2005-09-241-24/+1
| | | | From a change by David Young to NetBSD.
* make sure to enable socket on resume.robert2005-05-271-1/+2
| | | | | | | in order for the enable to work disable the socket on suspend. lot of help from mickey@ ok jsg@ millert@
* Begin conditioning device configuration on revision number. Three typesmillert2004-07-251-2/+13
| | | | | are known: ADM8211A (1.1/1.5), ADM8211B (2.0), ADM8211C (3.0). The B and C parts, while not yet supported, have AP capability. From NetBSD (dyoung).
* Improve register definitions and slightly demystify some magicmillert2004-07-251-3/+3
| | | | numbers. From NetBSD (dyoung)
* Simplify receive descriptor setup; from NetBSD (dyoung).millert2004-07-151-9/+4
|
* kill sc_intr_ackmillert2004-07-151-4/+1
|
* Do not treat the lost beacon count specially any more. It is kind ofmillert2004-07-151-2/+2
| | | | a dumb way to track the link condition anyway. From NetBSD (dyoung).
* The ADM8211C uses a different BBP type-number for RFMD parts thanmillert2004-07-071-2/+2
| | | | the original ADM8211. From NetBSD (dyoung)
* atw(4) driver from NetBSD (dyoung). Based in part on a port bymillert2004-06-221-0/+476
Matthew Gream. Unfortunately, the adm8211 card I have with me does not work correctly with the driver yet so real testing will have to wait until I get my hands on an adm8211-based DWL-650 or something similar.