summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/athvar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kill a !__NetBSD__ ifdef which just confusesderaadt2011-04-271-3/+1
|
* 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
* Get rid of the clumsy pci_activate function and do this job inside ath.cderaadt2010-08-271-4/+3
| | | | | so that the powerhook wrapper can get at it ok kettenis
* cleanup and remove some #ifdef junk in the power hooks.reyk2010-07-021-4/+1
| | | | ok deraadt@
* 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@.
* 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
* wrap the kernel specific parts in an _KERNEL ifdef.jsg2009-07-241-3/+7
| | | | ok reyk@
* add support for software crypto to allow WPA/WPA2/RSN. it is disabledreyk2008-08-291-1/+3
| | | | | | | | | | | for now because it needs more testing, but basic WPA/WPA2 and WEP seems to work. to enable it, set the compiled-in ath_softcrypto variable to 1. this is based on a previous diff from damien@ with some changes to disable the hardware crypto engine if softcrypto is enabled and to keeps the hardware crypto code in place to allow later work on hardware WPA/WPA2.
* - fix FIFO overruns on PCI-E chipsets by setting the DMA sizereyk2008-07-291-2/+2
| | | | | | | | RX/TX configuration registers to 128 instead of 512 bytes. - add a few more MAC/RF id strings for the dmesg. - check for PCI-E instead of single chip variants in a few places. ok deraadt@
* 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.
* Allow ath(4) to detach cleanly when attaching via PCI. Alsojsing2008-06-141-1/+2
| | | | | | complete/cleanup the attachment cleanup code. ok reyk@ jsg@
* If you have #if FOO > 0 parts of your softc bejsg2008-06-131-1/+3
| | | | | | | | | | | | | | | | | | | sure to #include "foo.h" in all code that uses the softc, otherwise some object files will have a different idea of how big the softc struct is. This will result in things like part of the softc, say the interrupt handler being overridden by other data. Putting printfs in the main object file will look fine as it has the right idea as to what the size is. It is only after several hours debugging that you start to figure out what the hell is going on. jsing started trying to figure out the problem and got hints from kettenis that it likely wasn't an interrupt problem, after quite a bit of head scratching with joel I eventually spotted the problem. ok reyk@ jsing@
* the copyright holder changed the license from "dual bsd/gpl" to bereyk2007-06-061-5/+1
| | | | 2-clause bsd-only. good.
* The integrated Atheros NICs found in IBM/Lenovo ThinkPads use the samereyk2007-04-131-2/+3
| | | | | | | | | | | | | | device ID for old AR5212-based 32bit and new AR5424-based 64bit (PCI Express Mini Card) interfaces. Use an extra check to look if the card is 64bit and attach it as a single chip device. This prevents a panic when attaching the device on some laptops like the T60. Tested on a T42 (old AR5212 Mini PCI interface), Tested on a T60 (new AR5424 Mini Card interface) Nevertheless, the AR5424 does not work yet. Thanks to Stefan Konrath
* set the RSSI Max value in ath(4) and use the new RSSI radiotap headerreyk2006-06-231-3/+4
| | | | | | | instead of the old db signal header. also allow tcpdump and hostapd to print the new RSSI radiotap header values current/max rssi. ok damien@ jsg@
* defintion -> definition;jmc2005-10-201-3/+3
|
* cleanup and simplify the regulation domain handling. some devices arereyk2005-09-231-3/+1
| | | | | | | | | known to have a broken/unsupported regulation domain stored in their EEPROM, we use the default instead (Canada). there's no need to manually define COUNTRYCODE in ar5xxx.c anymore for invalid EEPROMs but it's still possible to force a specific country - your choice. ok aanriot@
* remove the very basic ath(4) rate control implementation and usereyk2005-09-221-20/+19
| | | | | | | rssadapt(9) instead. this may need some further work but now it's in the right place and shared with other drivers (like ral(4)). yes jsg@
* fix led states and knf. this also enables support for the software ledreyk2005-08-171-6/+6
| | | | in some thinkpads - turn it on in the ASSOC and RUN states.
* remove a useless timeout after tx (decrease nasty delays whilereyk2005-07-301-4/+6
| | | | scanning) and fix various other minor things in the ath(4) driver.
* fix hostap modereyk2005-05-281-1/+7
|
* make sure to enable socket on resume.robert2005-05-281-1/+2
| | | | | | in order for the enable to work disable the socket on suspend. ok jsg@, mickey@
* re-enable gpio init even without using the gpio(4) frameworkreyk2005-05-271-3/+1
|
* - disable the gpio user interface for now, it's just an unimportantreyk2005-05-271-1/+3
| | | | | | | button which is not yet available on non-i386 platforms - fix endianess and attachement on big endian platforms (tested on macppc - ath attaches correctly, receives frames but assoc still fails)
* ath_hal_rx_monitor should be used for link state monitoring instead ofreyk2005-05-241-3/+3
| | | | | | setting the promisc mode. rename it to ath_hal_rx_signal and remove the incorrect promisc flag. this should fix some problems with ath running in forwarding mode.
* beautify the code by renaming HAL functions with capitalized words (ireyk2005-04-181-117/+117
| | | | | always wanted to do that). this breaks HAL compatibility but porting should be easy, have a look at athvar.h. no functional changes.
* fix channel initialisation. thanks to simon slater.reyk2005-03-111-1/+2
|
* improve radiotap support, fix some minor bugs.reyk2005-03-031-20/+19
|
* mostly cosmetic changes: knf, get rid of unneeded sysctls, cleanup thereyk2005-02-171-52/+60
| | | | code.
* use tick instead of ticks. thanks to hannes at mehnert dot org.reyk2004-12-181-2/+2
|
* support the gpio found on ath(4) devices.reyk2004-11-231-10/+19
| | | | ok grange@
* imported Sam Leffler's ath driver for atheros multimode wireless nicsreyk2004-11-021-0/+534
from NetBSD and FreeBSD. ok deraadt@