summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ral.c
AgeCommit message (Collapse)Author
2005-11-23When defragmenting a mbuf chain before transmitting it, don't allocate a mbufDamien Bergamini
cluster if the payload fits in the header. From NetBSD (scw@)
2005-11-23Be more robust when handling Rx interrupts. If we can't allocate and DMA mapDamien Bergamini
a new mbuf, just discard the received frame and reuse the old mbuf. From NetBSD (joerg@)
2005-11-23Optimize TXTIME and PLCP LENGTH field computation.Damien Bergamini
Avoid modulus operations.
2005-10-02assert tx rate is non-null so we don't end up dividing by zero.Damien Bergamini
2005-10-02avoid multiple calls to sc_enable(). cardbus_intr_establish() was calledDamien Bergamini
multiple times without calling cardbus_intr_disestablish() in between.
2005-10-02allows dhcpd to work when ral/ural is acting as a standalone AP (withoutDamien Bergamini
bridging). it appears that ieee80211_input() enqueues packets in if_snd without calling if_start(). closes PR/4237
2005-08-27Extend basic rate set in 802.11g so that ACKs can be sent at 5.5 or 11Mbps.Damien Bergamini
Fix IFS parameters settings (account for Rx/Tx turnaround time). Fix WME settings (Best Effort). ok deraadt@ reyk@ henning@ tested by many
2005-08-27backout unapproved diffTheo de Raadt
2005-08-25Extend basic rate set in 802.11g so that ACKs can be sent at 5.5 or 11Mbps.Damien Bergamini
Fix IFS parameters settings (account for Rx/Tx turnaround time). Fix WME settings (Best Effort).
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