summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ath.c
AgeCommit message (Collapse)Author
2007-07-18replace the ieee80211_wepkey structure with a more generic ieee80211_keyDamien Bergamini
one that can be used with other ciphers than WEP.
2007-06-16constifyDamien Bergamini
2007-06-06the copyright holder changed the license from "dual bsd/gpl" to beReyk Floeter
2-clause bsd-only. good.
2007-05-09remove the internal wrapper functions for ieee80211_mhz2ieee andReyk Floeter
ieee80211_ieee2mhz which also removes some dead code. figured out by deraadt@
2007-04-13The integrated Atheros NICs found in IBM/Lenovo ThinkPads use the sameReyk Floeter
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
2007-01-03M_DUP_PKTHDR() cleanup. On static buffers M_DUP_PKTHDR() will leak mbuf tags.Claudio Jeker
See similar rum(4) commit for more info. OK mglocker@
2006-12-14fix a minor bug in the tx data queue setup by using the right queueReyk Floeter
type. this would cause us some more trouble with WME which isn't supported yet... thanks to Nick Kossifidis
2006-11-06figured out by tdeval@:Reyk Floeter
>During factorization in 1.57, the switch block was moved too early. >Hence it's updating an uninitialized ah structure.
2006-10-19s/Mhz/MHz/ in comments and printf() stringsTom Cosgrove
ok jsg@
2006-10-14fix the slightly different reset procedure of single chip variants.Reyk Floeter
this should successfully initialize the ar5424 PCI-E chipset. figured out by kettenis@
2006-09-19attach and enable the newer chipset generations AR2413, AR5413, andReyk Floeter
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@
2006-09-19detect the newer single chip generations AR2413, AR5413 and AR5224 butReyk Floeter
don't attach them, yet.
2006-09-19"pure g" is a special, non-standard ofdm-only mode. use the standardReyk Floeter
dynamic cck/ofdm "11g" mode instead.
2006-09-19use the correct antenna mode settings and fix a bug in the txReyk Floeter
descriptor setup. this will fix various issues including 11a mode with ar5212.
2006-06-23set the RSSI Max value in ath(4) and use the new RSSI radiotap headerReyk Floeter
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@
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod Vallat
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@
2006-05-22Attach routines can fail before calling *hook_establish(), and theyKenneth R Westerback
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@
2006-05-08Make ath_attach() return error if the RF is unsupported so the PCI codePedro Martelletto
can disable its shutdown hooks, otherwise we will panic upon halt. Okay jsg@ and brad@.
2006-04-20printf() calls with the format string spanning several lines should not haveMiod Vallat
trailing commas between string chunks, for this has unexpected effects.
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-02-20Fix kernel builds without bpfilter. Linking is still broken.Damien Bergamini
"Please commit this diff ASAP" brad@
2006-01-04Remove redundant calls to bpfdetach.Can Erkin Acar
ok brad@
2005-12-10Initialize flags before using it. Spotted by lint.Kenneth R Westerback
ok reyk@
2005-11-11more verbose error message for the "bogus xmit rate" problemReyk Floeter
2005-09-23cleanup and simplify the regulation domain handling. some devices areReyk Floeter
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@
2005-09-22remove the very basic ath(4) rate control implementation and useReyk Floeter
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@
2005-09-19don't attach unsupported radio chipsetsReyk Floeter
based on a diff by jsg@
2005-09-08use ieee80211_iterate_nodes to iterate the nodes and add a extra checkReyk Floeter
for the maximal number of gpio pins.
2005-09-08fix a possible division by zero by using minimal default values for theReyk Floeter
beacon interval and the beacon miss timeout (beacon interval * 7).
2005-09-08Remove the last of the FreeBSD compatiblity goop.Jonathan Gray
ok reyk@
2005-09-08Remove FreeBSD if_printf compat function from net80211.Jonathan Gray
ok reyk@
2005-08-21update the 802.11 station address if the ethernet lladdr has been changed.Reyk Floeter
pointed out by Nick Holmes and Justin Reigle.
2005-08-21remove the IEEE80211_C_SCANALL capability, it should be used onReyk Floeter
devices with firmware-based scanning only. pointed out in a discussion about iwi(4) and ipw(4).
2005-08-17fix led states and knf. this also enables support for the software ledReyk Floeter
in some thinkpads - turn it on in the ASSOC and RUN states.
2005-07-30remove a useless timeout after tx (decrease nasty delays whileReyk Floeter
scanning) and fix various other minor things in the ath(4) driver.
2005-07-19- the self linked hardware rx descriptor list does not work in hostapReyk Floeter
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)
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-05-28fix hostap modeReyk Floeter
2005-05-27re-enable gpio init even without using the gpio(4) frameworkReyk Floeter
2005-05-27- disable the gpio user interface for now, it's just an unimportantReyk Floeter
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)
2005-05-24ath_hal_rx_monitor should be used for link state monitoring instead ofReyk Floeter
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.
2005-05-11extra checks for monitor modeReyk Floeter
2005-05-08change the dmesg output: print known chipset names, don't print theReyk Floeter
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.
2005-04-18beautify the code by renaming HAL functions with capitalized words (iReyk Floeter
always wanted to do that). this breaks HAL compatibility but porting should be easy, have a look at athvar.h. no functional changes.
2005-04-08move reset of HAL descriptors to ath.cReyk Floeter
2005-04-06pad keys with zeros to a supported key length. this is bad but seemsReyk Floeter
to be the default WEP behaviour for string-based keys and allows commands like "ifconfig ath0 nwkey yuck" to work...
2005-04-06<sys/types.h> is not needed with <sys/param.h>Kevin Lo
ok reyk and damien
2005-04-05fix wep by adjusting the total packet lengthReyk Floeter
2005-04-03remove redundant suser() checksUwe Stuehler
2005-04-02More ioctl permission checks.Uwe Stuehler