summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/rt2860var.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for RT5390 and RT5392 chipsets to the ral(4) driver.stsp2016-08-171-2/+2
| | | | | Tested by procter@ on RT2860 and by me on RT2790 and RT3090. Ported from FreeBSD by James Hastings.
* In ral(4) RT2860 code, replace custom defrag with m_defrag().stsp2016-03-211-3/+5
| | | | | | | | | | | | | | | 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@
* Fix watchdog timeouts and dropped frames under load with RT2860 ral(4).stsp2016-03-211-2/+3
| | | | | | | | | | 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@
* Add a DVACT_WAKEUP op to the *_activate() API. This is called after thederaadt2013-12-061-2/+2
| | | | | | | | 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
* remove the powerhook code. All architectures now use the ca_activate treederaadt2010-09-071-2/+1
| | | | | traversal code to suspend/resume ok oga kettenis blambert
* Stop calling xxx_power() from xxx_resume(); instead do it the other way around.kettenis2010-08-271-2/+1
| | | | | | Get rid of the sc_power() callback, which isn't used anymore. ok deraadt@
* add suspend/resume support for PCI ral(4) devices.damien2010-08-041-4/+8
| | | | | | ok deraadt@, sthen@ tested by matthew@ (RT2560), dcoppa@ (RT2790), okan@ (RT2860), todd@ (RT2560)
* store the WCID in the rt2860_node structure at association timedamien2010-07-191-1/+2
| | | | | and use this later instead of converting ni_associd into WCID each time we need it.
* On RT3090 chips, read vendor RF settings from ROM and apply them.damien2010-04-061-2/+2
|
* Initial bits for >=RT3090 support.damien2010-04-051-2/+13
| | | | | | | 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 the 10us sifs directly to the pre-computed ack durations.damien2010-02-081-2/+1
|
* add channels 167, 169, 171, 173 for dual-band devicesdamien2010-02-071-3/+3
|
* three more shutdown hooks bite the dust.damien2009-08-101-3/+1
|
* move the 802.11 header out of the TXWI structure.damien2008-12-291-2/+4
| | | | add some definitions for RT2870/RT3070.
* use the hardware general-purpose timer interrupt instead of timeout(9).damien2008-12-131-4/+1
| | | | clean up the ctl_ridx mess.
* - fix HW crypto using group keys (this should fix the "ExtIV bit not set"damien2008-12-121-3/+10
| | | | | | | 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
* rename rt2860 pci ids to match with reality.damien2008-07-211-1/+3
| | | | import some fixes for 1T2R adapters from the linux vendor driver.
* Set up shutdown and powerhooks with code adapted from rt2661.jsg2008-06-081-1/+3
| | | | | Fixes resume from suspend/hibernate problems mentioned in PR 5845.
* the hardware does not allow to specify the protection mode in eachdamien2007-12-141-1/+3
| | | | | | | | 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..
* LEDsdamien2007-12-071-1/+3
|
* In hostap mode, update beacon to reflect ERP IE changes.damien2007-12-071-1/+2
| | | | | Fix channel 126 settings. Workarounds for various hardware bugs.
* 802.11 radiotap + various tweaksdamien2007-11-191-1/+52
|
* implement ic_set_key() and ic_delete_key() callbacks.damien2007-11-171-2/+2
|
* New driver for Ralink RT2860 chipset.damien2007-11-151-0/+130
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@