summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5212.c
AgeCommit message (Collapse)Author
2009-06-02replace custom macro AR5K_ELEMENTS() with nitems()Reyk Floeter
2009-02-06Replace comparision between boolean expression result and an integerAlexander Yurchenko
that may confuse gcc with a simple boolean expression. ok reyk@
2009-01-15const void foo() makes no sense. No binary change.Alexander Yurchenko
ok niklas@ otto@
2008-09-13fallback to 11b support if the EEPROM is not reporting any available mode.Reyk Floeter
there is probably a new EEPROM format here, but i don't know how to parse the AR5424 version yet, so just set some defaults for these chipsets for now.
2008-08-29add a HAL function to force disabling the hardware crypto engineReyk Floeter
2008-08-27introduce new IEEE80211_STA_ONLY kernel option that can be set toDamien Bergamini
remove IBSS and HostAP support from net80211 and 802.11 drivers. it can be used to shrink RAMDISK kernels for instance (like what was done for wi(4)). it also has the benefit of highlighting what is specific to IBSS and HostAP modes in the code. the cost is that we now have two code paths to maintain.
2008-07-30spacingReyk Floeter
2008-07-30Update the RF, RFGAIN, MODE, INI, and BBGAIN initialization tablesReyk Floeter
with different versions for various ar5212 variants and add an extra table for PCI-E devices. This fixes support for various newer devices (like the 1st generation MacBook, T61 variants) but it still does not work on a number of other devices. Tested by many ok deraadt@
2008-07-29- fix FIFO overruns on PCI-E chipsets by setting the DMA sizeReyk Floeter
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@
2007-11-01backout last "fix" because it breaks operation on some devices. evenReyk Floeter
if the fix looks right, it seems to expose another problem that i haven't found yet. figured out by Denis Doroshenko at gmail dot com
2007-10-29fix the setup of Tx descriptors. the frame type and "no ack" bits wereReyk Floeter
initialized in ar5k_ar521*_setup_tx_desc() but cleared in ar5k_ar521*_fill_tx_desc() by setting the segment length incorrectly. From ath5k via Nick Kossifidis (mickflemm at gmail dot com)* ---snip--- The missing no_ack in broadcast frames caused them to be retried up to the retry_limit(1+4=5 transmissions by default). ---snap--- * it was explicitly mentioned that it is ISC-licensed now
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-03-12add some HAL functions (again) inspired by the changes from theReyk Floeter
madwifi-old-openhal project. this was backed out the last time because it was too close to the release and i didn't respect the ABI/API lock.
2007-03-12do not use bcopy to set the mac address registers. this diff shouldReyk Floeter
fix the "hal" on big endian systems. thanks to the madwifi-old-openhal people
2007-03-05back out, reyk is not paying attentionTheo de Raadt
2007-03-05Add some HAL functions.Reyk Floeter
From madwifi-old-openhal via Nick Kossifidis (mickflemm at gmail dot com) Bump copyright while I'm here.
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
ok kettenis@ cloder@ tom@ henning@
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-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-19better mode setup in the ar5211 and ar5212 reset functionsReyk Floeter
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-09-19disable 11g mode for nowReyk Floeter
2006-06-05start to sync some changes and fixes from various "openhal" ports ofReyk Floeter
this driver. thanks for contribution (even if i didn't get much feedback from these projects...). tested by many during c2k6, like aanriot@ and ian@
2005-12-18Update my e-mail address in the copyright statement, no binary changes.Reyk Floeter
2005-10-07KNFReyk Floeter
2005-09-19don't attach unsupported radio chipsetsReyk Floeter
based on a diff by jsg@
2005-09-10ansi, no binary change.Jonathan Gray
ok reyk@
2005-08-14catched->caughtMiod Vallat
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-06-17remove non-constant array initializers which is a GNU extension.Reyk Floeter
suggested by anil some time ago.
2005-05-28fix hostap modeReyk Floeter
2005-05-27remove some misplaced htole32sReyk Floeter
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-21sync power management settings. this should fix some unrecoverableReyk Floeter
sleep mode timeouts for ar5210, ar5211 and ar5212.
2005-05-21improve power saving modeReyk Floeter
2005-05-08fix silicon version number reporting. ie. ath0: mac 80.6 -> ath0: mac 5.6.Reyk Floeter
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-08bye bye unportable bitfieldsReyk 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-03-23fix a possible kernel panic in the ar5211 and ar5212 detach functions.Reyk Floeter
closes PR #4153.
2005-03-20some fixes for wep and reset.Reyk Floeter
btw.: this is a commit using an ar5212 in 11b mode... ok deraadt@, krw@
2005-03-19ar5212 uses larger tx descriptors, adjust the offsetReyk Floeter
2005-03-19further fixes for ar5212.Reyk Floeter
2005-03-18improve ar5212 init on resetReyk Floeter
2005-03-13the wep mac may be NULL if it's a broadcast keyReyk Floeter
ok krw@
2005-03-10fix beacon handlingReyk Floeter
2005-03-03improve radiotap support, fix some minor bugs.Reyk Floeter
2005-02-25add support for the atheros ar5211 802.11A/B/g wireless chipset.Reyk Floeter
ok deraadt@
2005-02-19return on invalid beacon stateReyk Floeter