Kevin Lo
7a7e01caa4
Add support for the MediaTek/Ralink RT3593 chipset.
...
Committed over the ZyXEL NWD2705 on amd64 with WPA.
2014-01-03 06:01:05 +00:00
Kevin Lo
fd8fcee579
Fix style: add tab after #define.
2013-12-18 08:39:12 +00:00
Kevin Lo
010b13fa94
Add support to IQ calibration.
2013-12-18 07:34:57 +00:00
Kevin Lo
242dbae34c
Add support for the MediaTek/Ralink RT5572 chipset.
...
Committed over the TP-LINK TL-WDN3200 (RT5572) on amd64 with WPA.
While here, add my copyright.
2013-12-06 15:26:39 +00:00
Kevin Lo
e0790ad8eb
Replace the magic numbers with something more readable.
2013-12-06 15:17:28 +00:00
Eitan Adler
7a22215c53
Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
...
shifts into the sign bit. Instead use (1U << 31) which gets the
expected result.
This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.
A similar change was made in OpenBSD.
Discussed with: -arch, rdivacky
Reviewed by: cperciva
2013-11-30 22:17:27 +00:00
Kevin Lo
5b7514646c
Change run_rt2870_rf_write() prototype (no functional change)
2013-11-29 07:08:17 +00:00
Kevin Lo
0f3728be20
Remove a couple of unused macros.
2013-11-13 05:22:39 +00:00
Kevin Lo
64891211ca
Add support for the MediaTek/Ralink RT5370/RT5372 chipset.
...
Tested with the TP-Link TL-WN727N (RT5370) and the D-Link DWA-140 (RT5372)
on i386/amd64/arm with WPA.
2013-11-11 09:47:33 +00:00
Kevin Lo
30dfa97944
Add RT2860_BCN_OFFSET1 and RT2860_MAX_LEN_CFG register initialization to
...
match with the vendor driver. While here, remove unused RT2860_DEF_MAC
definition.
2013-10-31 02:03:30 +00:00
Kevin Lo
1365315d41
Initialize BBP68 to improve rx sensitivity.
2013-10-31 02:02:14 +00:00
Kevin Lo
9648d6ae84
Fix rf registers for RT3070.
2013-10-18 07:42:16 +00:00
Hans Petter Selasky
f417369bdd
* Fix page fault caused by referring freed node.
...
While updating Tx stats, already freed node could be referred and cause
page fault. To avoid such panic, spool Tx stats in driver's softc. Then,
on every ratectl interval, grab node though ieee80211_iterate_nodes() and
update ratectl stats.
* Simplify some code in run_iter_func().
* Fix typo
* Use memset instead of bzero (hselasky @)
PR: kern/153938
Submitted by: PseudoCylon <moonlightakkiy@yahoo.ca>
Approved by: thompsa (mentor)
2011-02-14 08:14:06 +00:00
Andrew Thompson
85e7bb81e9
Sync run(4) driver from author's site.
...
Submitted by: Akinori Furukoshi
Obtained from: git://gitorious.org/run/run.git
2010-05-13 00:19:03 +00:00
Andrew Thompson
3707a5e930
- Integrate latest driver code from OpenBSD
...
- Drain our tasks from the ieee80211 taskqueue
- Add more IDs
Submitted by: Akinori Furukoshi
2010-03-11 22:05:12 +00:00
Andrew Thompson
069f1a8056
Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices.
...
This driver was written for OpenBSD by Damien Bergamini and ported over by
Akinori Furukoshi.
2010-01-28 22:24:54 +00:00