summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ral.c
AgeCommit message (Collapse)Author
2005-07-02clear IFF_RUNNING & IFF_OACTIVE in ral_stop() before de-allocating resources.Brad Smith
2005-06-20fix a couple of 'use after free' bugs on mbuf chains in the tx path.Damien Bergamini
originally pointed out by Mike Silbersack on the fbsd version of the iwi driver.
2005-06-08completely revert rev 1.52, which broke ral for some people; from danh@Christian Weisgerber
2005-05-18don't initialize bbp registers with values in eeprom. some adapters seemDamien Bergamini
to have problems with that. noticed by Andrey Matveev.
2005-05-13override default bbp register values with values stored in eeprom (exceptDamien Bergamini
for the R17 register).
2005-05-13before ieee80211.c rev 1.6, it was guaranted that ic_curmode was differentDamien Bergamini
from IEEE80211_MODE_AUTO if ic_fixed_rate != -1. it is no longer the case. this implements a temporary workaround. the whole rate selection should be rewritten.
2005-05-13simplify test conditions. ((v & f1) || (v & f2)) <=> (v & (f1 | f2)) inDamien Bergamini
these particular cases. avoid extra calls to letoh32().
2005-04-17don't disassociate on SIOCSIFADDR if the interface is already up and running.Damien Bergamini
2005-04-02call ral_set_chan() in IEEE80211_S_RUN too. this was causing troubles withDamien Bergamini
hostap mode.
2005-04-02set the bssid in hostap mode too.Damien Bergamini
2005-04-02remove an unneeded initialization of TXCSR7.Damien Bergamini
2005-04-02Damn it! I spent hours fixing that "device timeout" bug!Damien Bergamini
It turned out that priority ring base address must be set before atim ring. This was not documented anywhere. Stupid hardware!
2005-04-01call ral_set_chan() on transition to state IEEE80211_S_ASSOC to make sureDamien Bergamini
we disable RF auto-tuning.
2005-04-01make registers and constants names match the spec.Damien Bergamini
document registers in ralreg.h based on the spec. do some cleaning in the code while i'm here.
2005-04-01avoid double-free of a mbuf chain on failure.Damien Bergamini
2005-04-01add antenna selection code. this ensures proper I/Q flip for RF RT2525e,Damien Bergamini
RT2526 and RT5222. based on ural code.
2005-04-01sync RF and BBP code with ural (for future merging).Damien Bergamini
2005-04-01ieee80211_rssadapt_choose() is broken when called with a fixed rate.Damien Bergamini
ic_fixed_rate is an index inside ic->ic_sup_rates[ic->ic_curmode], not inside any ni->ni_rates. for the moment, i implement a simple workaround until it get fixed.
2005-03-23do packet accounting (opackets/oerrors/ierrors).Damien Bergamini
2005-03-19scan channels 12, 13 and 14 too.Damien Bergamini
2005-03-18don't set BSSID in hostap mode. this allows hostap mode to work to someDamien Bergamini
extend.
2005-03-17fix ral_enable_tsf_sync() for hostap mode.Damien Bergamini
2005-03-17do not drop ToDS frames when acting as an access point.Damien Bergamini
fix beacon expired interrupt handler in hostap mode.
2005-03-17give ipv6 a chance. pointed out by Paul de Weerd.Damien Bergamini
2005-03-11make use of the new ral_get_rts(), ral_txtime() and ral_setup_tx_desc()Damien Bergamini
functions. this makes RTS protection mode and 802.11g work.
2005-03-11don't forget to release nodes when they are no longer needed.Damien Bergamini
2005-03-11introduce new ral_setup_tx_desc() function so we can factor out fillingDamien Bergamini
of tx descriptors.
2005-03-11fix IBSS mode. clean ral_newstate() while i'm here.Damien Bergamini
2005-03-11new ral_get_rts() function for building RTS frames.Damien Bergamini
2005-03-11distinguish null data frames from management frames.Damien Bergamini
2005-03-11simplify led management code.Damien Bergamini
2005-03-11do not disable RF tune in monitor mode.Damien Bergamini
2005-03-11fix ral_enable_tsf_sync() for future IBSS and HostAP support.Damien Bergamini
2005-03-11add various functions to compute duration and plcp length in 802.11a/g.Damien Bergamini
2005-03-11implement fast channel switching for monitor mode (used by kismet).Damien Bergamini
2005-03-11fix tx rate of beacons and mgmt frames in 802.11a.Damien Bergamini
2005-03-11enter RUN state in monitor mode instead of staying in INIT state.Damien Bergamini
make sure we are not enabling TSF synchronization and rate adaptation in monitor mode.
2005-03-11fix basic rates for 802.11g.Damien Bergamini
initialize power mode in ral_init().
2005-03-11don't initialiaze BBP registers with values stored in E2PROM.Damien Bergamini
it seems to override critical default values (like sensitivity).
2005-03-11some cosmetic tweaksDamien Bergamini
fix debug messages level simplify e2prom code
2005-03-01use one uint64_t instead of two uint32_t in rx radiotap header.Damien Bergamini
2005-02-28add radiotap, monitor and promiscuous mode support.Damien Bergamini
2005-02-28do per-node rate adaptation. paves the way for ibss support.Damien Bergamini
2005-02-22make ral compile on macppc.Damien Bergamini
fix endianness issues. pointed out by "barryg" (Barry Dexter A. Gonzaga).
2005-02-19fix attachment process and dmesg output. do some indent while i'm here.Damien Bergamini
pointed out by jsg@
2005-02-19do not transmit any data frame if there is not at least two free descriptorsDamien Bergamini
in the tx ring (CTS/RTS frame + data frame).
2005-02-19cosmetic tweaks.Damien Bergamini
2005-02-19make dhclient work.Damien Bergamini
2005-02-18do not enable debug messages by default.Damien Bergamini
2005-02-18reset the interface on tx timeouts.Damien Bergamini