summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/ath.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* spacingreyk2008-07-301-2/+2
|
* - fix FIFO overruns on PCI-E chipsets by setting the DMA sizereyk2008-07-291-3/+3
| | | | | | | | 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-7/+11
| | | | | | | 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.
* remove unneeded declarations that shadows existing vars; ok by many.fgsch2007-10-131-3/+1
|
* More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'.krw2007-10-011-4/+4
|
* Only the most obvious bzero() -> M_ZERO changes. No cast changes, nokrw2007-09-181-3/+2
| | | | | MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
* replace the ieee80211_wepkey structure with a more generic ieee80211_keydamien2007-07-181-9/+6
| | | | one that can be used with other ciphers than WEP.
* constifydamien2007-06-161-5/+5
|
* the copyright holder changed the license from "dual bsd/gpl" to bereyk2007-06-061-5/+1
| | | | 2-clause bsd-only. good.
* remove the internal wrapper functions for ieee80211_mhz2ieee andreyk2007-05-091-2/+2
| | | | | | ieee80211_ieee2mhz which also removes some dead code. figured out by deraadt@
* 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
* M_DUP_PKTHDR() cleanup. On static buffers M_DUP_PKTHDR() will leak mbuf tags.claudio2007-01-031-6/+7
| | | | See similar rum(4) commit for more info. OK mglocker@
* fix a minor bug in the tx data queue setup by using the right queuereyk2006-12-141-2/+3
| | | | | | | type. this would cause us some more trouble with WME which isn't supported yet... thanks to Nick Kossifidis
* figured out by tdeval@:reyk2006-11-061-18/+1
| | | | | >During factorization in 1.57, the switch block was moved too early. >Hence it's updating an uninitialized ah structure.
* s/Mhz/MHz/ in comments and printf() stringstom2006-10-191-2/+2
| | | | ok jsg@
* fix the slightly different reset procedure of single chip variants.reyk2006-10-141-16/+20
| | | | | | this should successfully initialize the ar5424 PCI-E chipset. figured out by kettenis@
* attach and enable the newer chipset generations AR2413, AR5413, andreyk2006-09-191-1/+5
| | | | | | | | | | | | | AR5424. unlike the previous chipset generations, these chipsets are single chip solutions. the AR5424 is a PCI Express chipset as found in various intel Macs. support is still incomplete- 11a mode works and 11b mode is rx-only. i need some more test reports, hardware donations (there are several different subrevisions) and time to finish it. thanks for help from kettenis@ "of course!" deraadt@
* detect the newer single chip generations AR2413, AR5413 and AR5224 butreyk2006-09-191-14/+34
| | | | don't attach them, yet.
* "pure g" is a special, non-standard ofdm-only mode. use the standardreyk2006-09-191-2/+2
| | | | dynamic cck/ofdm "11g" mode instead.
* use the correct antenna mode settings and fix a bug in the txreyk2006-09-191-2/+2
| | | | | descriptor setup. this will fix various issues including 11a mode with ar5212.
* set the RSSI Max value in ath(4) and use the new RSSI radiotap headerreyk2006-06-231-2/+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@
* In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesmiod2006-06-231-2/+1
| | | | | | something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
* Attach routines can fail before calling *hook_establish(), and theykrw2006-05-221-3/+5
| | | | | | | | often rely on the detach routine for cleanup. So be consistant and careful by checking for a NULL hook before calling *hook_disestablish in detach routines. ok mickey@ brad@ dlg@
* Make ath_attach() return error if the RF is unsupported so the PCI codepedro2006-05-081-1/+2
| | | | | can disable its shutdown hooks, otherwise we will panic upon halt. Okay jsg@ and brad@.
* printf() calls with the format string spanning several lines should not havemiod2006-04-201-2/+2
| | | | trailing commas between string chunks, for this has unexpected effects.
* allow bpf(4) to ignore packets based on their direction (inbound ordjm2006-03-251-5/+5
| | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
* Fix kernel builds without bpfilter. Linking is still broken.damien2006-02-201-1/+3
| | | | "Please commit this diff ASAP" brad@
* Remove redundant calls to bpfdetach.canacar2006-01-041-4/+1
| | | | ok brad@
* Initialize flags before using it. Spotted by lint.krw2005-12-101-2/+2
| | | | ok reyk@
* more verbose error message for the "bogus xmit rate" problemreyk2005-11-111-3/+4
|
* cleanup and simplify the regulation domain handling. some devices arereyk2005-09-231-22/+23
| | | | | | | | | 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-144/+50
| | | | | | | 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@
* don't attach unsupported radio chipsetsreyk2005-09-191-27/+28
| | | | based on a diff by jsg@
* use ieee80211_iterate_nodes to iterate the nodes and add a extra checkreyk2005-09-081-16/+21
| | | | for the maximal number of gpio pins.
* fix a possible division by zero by using minimal default values for thereyk2005-09-081-3/+3
| | | | beacon interval and the beacon miss timeout (beacon interval * 7).
* Remove the last of the FreeBSD compatiblity goop.jsg2005-09-081-2/+1
| | | | ok reyk@
* Remove FreeBSD if_printf compat function from net80211.jsg2005-09-081-33/+39
| | | | ok reyk@
* update the 802.11 station address if the ethernet lladdr has been changed.reyk2005-08-211-1/+7
| | | | pointed out by Nick Holmes and Justin Reigle.
* remove the IEEE80211_C_SCANALL capability, it should be used onreyk2005-08-211-2/+1
| | | | | | devices with firmware-based scanning only. pointed out in a discussion about iwi(4) and ipw(4).
* fix led states and knf. this also enables support for the software ledreyk2005-08-171-25/+49
| | | | in some thinkpads - turn it on in the ASSOC and RUN states.
* remove a useless timeout after tx (decrease nasty delays whilereyk2005-07-301-33/+54
| | | | scanning) and fix various other minor things in the ath(4) driver.
* - the self linked hardware rx descriptor list does not work in hostapreyk2005-07-191-4/+8
| | | | | | | mode, use the normal behaviour with rx overrun interrupts for now. this prevents the hostap from locking under heavy load (like ping -f) and it works more reliable. - run ath_calibrate in splnet() context (from netbsd)
* remove trailing newline in panic(9); ok millert@ and deraadt@fgsch2005-07-181-3/+3
|
* fix hostap modereyk2005-05-281-3/+9
|
* re-enable gpio init even without using the gpio(4) frameworkreyk2005-05-271-15/+5
|
* - disable the gpio user interface for now, it's just an unimportantreyk2005-05-271-1/+9
| | | | | | | 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/+2
| | | | | | 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.
* extra checks for monitor modereyk2005-05-111-3/+8
|
* change the dmesg output: print known chipset names, don't print thereyk2005-05-081-21/+13
| | | | | | supported 802.11a/b/g modes (this could be discovered with ifconfig -m athX). inspired by Johan M:son Lindman and others asking about the several different ARxxxx chipset combos.
* beautify the code by renaming HAL functions with capitalized words (ireyk2005-04-181-91/+91
| | | | | always wanted to do that). this breaks HAL compatibility but porting should be easy, have a look at athvar.h. no functional changes.