| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Tested by procter@ on RT2860 and by me on RT2790 and RT3090.
Ported from FreeBSD by James Hastings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes an error in the existing code: the "hopeless case" guard
equivales 'ring now full', so oactive is never set: the code drops any mbuf
that would fill the ring. This occurs often in practice.
The new code avoids some hoop-jumping. Currently, one tx dma-map can fill
the tx ring. Therefore an mbuf that fits a dma-map may yet not fit into the tx
ring's remaining space. To be sure it can, we must in general count the
mbuf's fragments and, if necessary, defrag it and reload the dmamap.
Patch by Richard Procter via bugs@
Tested by Richard on RT2860 and by me on RT3090 and RT2700.
ok mpi@ dlg@
|
|
|
|
|
|
|
|
|
|
| |
On full tx ring, ring->cur wraps to an active tx descriptor. Passing
that wrapped value to the card was observed to cause general flakiness.
Fix prevents the wrap at the cost of reducing usable tx descriptors by one.
Patch by Richard Procter via bugs@
Tested by Richard on RT2860 and by me on RT3090 and RT2700.
ok mpi@ dlg@
|
|
|
|
|
|
|
|
| |
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
|
|
|
|
|
| |
traversal code to suspend/resume
ok oga kettenis blambert
|
|
|
|
|
|
| |
Get rid of the sc_power() callback, which isn't used anymore.
ok deraadt@
|
|
|
|
|
|
| |
ok deraadt@, sthen@
tested by matthew@ (RT2560), dcoppa@ (RT2790), okan@ (RT2860), todd@ (RT2560)
|
|
|
|
|
| |
and use this later instead of converting ni_associd into WCID each
time we need it.
|
| |
|
|
|
|
|
|
|
| |
Probably not functionnal yet (but test reports are welcome).
Update microcode for RT2860 while I'm here (remember to run
make && make install under sys/dev/microcode/ral/).
|
| |
|
| |
|
| |
|
|
|
|
| |
add some definitions for RT2870/RT3070.
|
|
|
|
| |
clean up the ctl_ridx mess.
|
|
|
|
|
|
|
| |
logged by some WPA supplicants when connecting to a ral(4) WPA AP.)
- get rid of the ugly ack_rate, rate2mcs functions (pre-compute ACKs
duration for all rates at node association time.)
- lot of clean up, prepare for future enhancements
|
|
|
|
| |
import some fixes for 1T2R adapters from the linux vendor driver.
|
|
|
|
|
| |
Fixes resume from suspend/hibernate problems mentioned in
PR 5845.
|
|
|
|
|
|
|
|
| |
frame, so track changes to protection mode at each beacon interval
and update the hardware registers appropriately.
cleanup some comments.
undef RAL_DEBUG while i'm here..
|
| |
|
|
|
|
|
| |
Fix channel 126 settings.
Workarounds for various hardware bugs.
|
| |
|
| |
|
|
Attaches as 'ral' as it shares the PCI and CardBus frontends with
RT2560 and RT2661 though it is actually a separate driver.
Requires a firmware that can't be redistributed with the base system
due to license restrictions (exact same license as iwn(4) firmware).
The 802.11n capabilities not yet supported (except MIMO).
Great thanks to Sam Fourman Jr for donating hardware.
ok deraadt@
|