summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_ral.c
AgeCommit message (Collapse)Author
2006-09-18don't use IF_PREPEND() on altq's.Damien Bergamini
use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
2006-08-24s/IEEE80211_MTU_MAX/IEEE80211_MAX_LEN/ in my previous commit.Damien Bergamini
2006-08-23- fall back to 1Mbps if tx rate is returned as zero. avoids divide by zero. ↵Niall O'Higgins
should never happen, but sometimes it does on my amd64. ok damien@
2006-08-23the maximum MTU allowed for IEEE802.11 is 2290 which is greater thanDamien Bergamini
MCLBYTES (usually 2048). allocate tx xfer buffers of IEEE80211_MTU_MAX instead of MCLBYTES. rx buffers are still limited to MCLBYTES though.
2006-08-23Add Nova Tech NV-902W, and mention another Zinwell ural(4) device.Jonathan Gray
2006-08-18set of unrelated cosmetic tweaks.Damien Bergamini
2006-08-18fix a printf format stringDamien Bergamini
2006-08-18sync w/ rum(4):Damien Bergamini
- in ral_newstate(), save the "arg" parameter so we can pass it to the ieee80211_newstate() function in the usb task - merge ral_tx_data() and ral_tx_mgt()
2006-08-09fix endianness. this should give rate adaptation a better chance to workDamien Bergamini
on big endian architectures.
2006-07-02Fix channel frequency/flags in radiotap structures.Jonathan Gray
Now I can see probes cycling 1->14 instead of just sitting at channel 1.
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-06-17Move AMRR rate control algorithm out of wpi(4) and ural(4), into net80211.Damien Bergamini
ok brad@
2006-06-10- fix checking of WEP flagDamien Bergamini
- move default MAC/BBP/RF settings from if_ral.c to if_ralreg.h
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-03-21Make ural(4) read and show real MAC/BBP rev instead of hardcoded RT2570Pedro Martelletto
"Go ahead" damien@ via jsg@
2006-02-19sync w/ rt2560.c:Damien Bergamini
don't try to release references to nodes that have been freed by net80211. in HostAP mode, when switching to the INIT state, net80211 sends a DISASSOC and a DEAUTH frame to all associated stations and immediately free all the nodes while we may still hold references to them in our Tx queues.
2006-02-11trim FCS in the driver instead of setting the M_HASFCS flag and lettingDamien Bergamini
ieee80211_input() do the job. requested by brad@
2006-02-04fix a copy/paste in a comment.Damien Bergamini
2006-01-29Use usbd_clear_endpoint_stall_async() when clearing endpoint stalls inBrad Smith
an interrupt context. From NetBSD ok dlg@
2006-01-22account tx retry-fail errors in if_oerrors.Damien Bergamini
2006-01-14- give rate to rx radiotapDamien Bergamini
- swap rssi/rate fields in ural_rx_desc
2006-01-14Correct the length of the rx radiotap to be that of the rx not txJonathan Gray
struct. ok damien@
2006-01-13send management frames at lowest possible rate.Damien Bergamini
2006-01-13- fix short preamble supportDamien Bergamini
- add short slot support - fix eifs settings - many consistency tweaks
2006-01-13- simplify lookup of 802.11a channels (we know they exist)Damien Bergamini
- kill two stupid comments while i'm here
2006-01-13- fix AMRR initialization + retry-fail countDamien Bergamini
- fix contention window - silently discard received frames that are too short - sync setup_tx_desc w/ ral
2006-01-04Remove redundant calls to bpfdetach.Can Erkin Acar
ok brad@
2005-12-23Support Nintendo Wi-Fi USB Connector, noticed in Linux rt2570 driverJonathan Gray
and verified against windows driver.
2005-12-09Add support for Linksys HU200-TS, id found in Linux RT2570 driver.Jonathan Gray
2005-11-24o Force the sending of an extra URB if there is less than 2 bytes leftDamien Bergamini
at the end of the last URB (URB = USB Request Block = 64 bytes). o Better check of the size of received frames. o In ural_tx_{data,mgt} send the packet to BPF after setting the duration field of the frame. o Minor tweaks.
2005-11-24ural should be DV_IFNET, not DV_DULL. noticed by ian@.Alexander Yurchenko
ok many.
2005-11-23Be more robust when receiving frames. If we can't allocate a new mbuf,Damien Bergamini
just discard the received frame and reuse the old mbuf.
2005-11-23use sizeof instead of hard-coded values.Damien Bergamini
2005-11-23Implement the Adaptive Multi Rate Retry algorithm (AMRR) for BSS mode.Damien Bergamini
This algorithm is particularly well suited for ural since it does not require per-frame retry statistics.
2005-11-23Optimize TXTIME and PLCP LENGTH field computation.Damien Bergamini
Avoid modulus operations.
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 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 WME settings (Best Effort).
2005-08-23Ralink windows driver incorrectly lists a SMC product id that isJonathan Gray
actually some kind of prism chip. ok derradt@
2005-08-01Don't keep the devinfo string on the stack, instead use malloc/free.Brad Smith
This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
2005-07-18Match Sphairon UB801R.Jonathan Gray
2005-07-07Match an additional 10 ural ids, most of which are already listedJonathan Gray
in the device list.
2005-07-07Match Gigabyte GN-WBKG, from Jaime Fournier <ober at linbsd.org>.Jonathan Gray
2005-06-20remove freebsd'isms in debug messages. pointed out by timsl (tim atDamien Bergamini
planetpixel dot de).
2005-06-16add support for the Belkin F5D7050 54g USB Network AdapterDavid Gwynne
for jmc@
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().