summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ath.c
AgeCommit message (Collapse)Author
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
2005-03-19further fixes for ar5212.Reyk Floeter
2005-03-18use IFQ_* instead of IF_* for the data queueReyk Floeter
2005-03-11fix channel initialisation. thanks to simon slater.Reyk Floeter
2005-03-10fix beacon handlingReyk Floeter
2005-03-10use bcopy and bzeroReyk Floeter
2005-03-03improve radiotap support, fix some minor bugs.Reyk Floeter
2005-03-03addtion of a generic function for allocating beacons: ieee80211_beacon_alloc().Damien Bergamini
ok jsg@, reyk@, dlg@
2005-03-01fix the radiotap bpf listenerReyk Floeter
2005-02-17mostly cosmetic changes: knf, get rid of unneeded sysctls, cleanup theReyk Floeter
code.
2005-02-17derived from NetBSD:Reyk Floeter
--- Make the node table into an LRU cache: least-recently used nodes are at the end of the node queue. Change the reference-counting discipline: ni->ni_refcnt indicates how many times net80211 has granted ni to the driver. Every node in the table with ni_refcnt=0 is eligible to be garbage-collected. The mere presence of a node in the table does not any longer indicate its auth/assoc state; nodes have a ni_state variable, now. While I am here, patch ieee80211_find_node_for_beacon to do a "best match" by bssid/ssid/channel, not a "perfect match." This keeps net80211 from caching duplicate nodes in the table. --- ok deraadt@ dlg@, looks good jsg@