History log of /dragonfly/sys/dev/netif/ral/rt2661reg.h (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0
# 91b30d50 18-May-2016 Matthew Dillon <dillon@apollo.backplane.com>

wlan - Sync dev/netif/ral from FreeBSD

* Sync dev/netif/ral from FreeBSD, fbsd git dd885b9a0a0e, May 11 2016.

* This is a direct copy (next commit ports it to DFly)


Revision tags: v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# 2f3b7321 17-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Add TX power compensation support in TX power calibration.
EEPROM layout for TSSI is obtained from Ralink RT61


# 99fda2c4 17-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Add auto TX power and RX sensitivity calibration support. Add two sysctl
nodes to enable/disable them. Calibration is only done when NIC operates
as STA, since it does not make sense when the

- Add auto TX power and RX sensitivity calibration support. Add two sysctl
nodes to enable/disable them. Calibration is only done when NIC operates
as STA, since it does not make sense when the NIC operates in other mode.
By default, they are all disabled.
- Add sysctl node for TX power correction. TX power correction is disabled
by default. This could be used when TX power calibration should not be
performed, e.g. when NIC operates as AP

Enable TX power and RX sensitivity calibration and set TX power correction
to 8 (-4db) makes my EW-7608PG work well @48Mb and @54Mb when it is near AP
(-44dbm ~ -58dbm), @54Mb ~50 retries for ~1080 packets. Originally the NIC
requires at least one retry for every packets @48Mb.

TX power calibration needs further investigation. Calibrating TX power
based on RSSI may not work weel; integrate it into TX rate control may work
better.

Various limits and correction values are obtained from Ralink RT61 driver.

# TX power stepping for Auto-AGC capable NICs is not in place yet.
# RX sensitivity calibration for long distance is not in place yet.

show more ...


# 5717dc1a 07-May-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

Add hardware crypto support for 2x61 part of ral(4). This kind of hardware
can do hardware TKIP, TKIP MIC, WEP40/104 and CCMP.

Registers and global/pairwise key table layout are obtained from Ralin

Add hardware crypto support for 2x61 part of ral(4). This kind of hardware
can do hardware TKIP, TKIP MIC, WEP40/104 and CCMP.

Registers and global/pairwise key table layout are obtained from Ralink RT61
linux driver. Their driver does not use pairwise key table, but how to setup
pairwise key table and how to enable pairwise key slot are shown. BUT That's
still NOT enough to use pairwise key --- driver has to write 1 to SEC_CSR4 to
make the wheel whirl. It is mentioned in no place, and I had to figure it
out myself ;)

2x61 part has 64 pairwise key slots, only last 60 slots will be used currently.
It is mainly because the RX descriptor does not contain a field to indicate
in which key table the decryption key belongs.

show more ...


# 749e92ca 28-Apr-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

- PHY error bit no longer exists in RX descriptor flags.
- Cipher error mask is off by one bit.
Obtained-from: Ralink Linux RT61 driver

- Cache host byte order RX descriptor flags.


# 81709e7f 22-Apr-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

Turn off Sample TX rate control algorithm support for 2661d BBP. Due to
delayed/batched TX status report, Sample does not play well with this kind
of BBP. Use Onoe TX rate control algorithm for 266

Turn off Sample TX rate control algorithm support for 2661d BBP. Due to
delayed/batched TX status report, Sample does not play well with this kind
of BBP. Use Onoe TX rate control algorithm for 2661d BBP.

show more ...


# ce42f143 22-Apr-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Define macro for the number of channels. Use it instead of the magic
number.
- Define maximum and default channel TX power.
- The EEPROM regions, which contain 5GHz and 2GHz channels' TX power,

- Define macro for the number of channels. Use it instead of the magic
number.
- Define maximum and default channel TX power.
- The EEPROM regions, which contain 5GHz and 2GHz channels' TX power, are
not contiguous. Add rt2661_read_txpower_config() to read them seperately.
- Lower channel's TX power is in the lower byte of the 16bits EEPROM value,
while upper channel's TX power is in the upper byte of the 16bits EEPROM
value.
- Channel's TX power should never exceed maximum channel TX power, if it is
set it to default channel TX power.
- Rename rt2661_read_eeprom() to rt2661_read_config(), since we already have
rt2661_eeprom_read().

EEPROM layout, EEPROM values' layout and various limit values are obtained
from Ralink RT61 Linux driver.

show more ...


# e3ab8063 02-Apr-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

Add Sample and Onoe TX rate control algorithm support in 2661/2561 part
of ral(4), and use Sample as default TX rate control algorithm, which
leads to same dramatic TX performance boosts as it does f

Add Sample and Onoe TX rate control algorithm support in 2661/2561 part
of ral(4), and use Sample as default TX rate control algorithm, which
leads to same dramatic TX performance boosts as it does for 2560 part.

show more ...


# a6b13394 06-Feb-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

For rt2661 part:
Use relative RX signal strength (relative to noise floor) as RSSI.


# d606e81a 18-Nov-2006 Sepherosa Ziehau <sephe@dragonflybsd.org>

Correct layout of RT2661_TXRX_CSR4

Obtained-from: Linux RT61 driver

#
# Result of:
# ping -c 100 -i 0.1 -s 1300 192.168.3.2
#
# Before this commit
# --- 192.168.3.2 ping statistics ---
# 100 packet

Correct layout of RT2661_TXRX_CSR4

Obtained-from: Linux RT61 driver

#
# Result of:
# ping -c 100 -i 0.1 -s 1300 192.168.3.2
#
# Before this commit
# --- 192.168.3.2 ping statistics ---
# 100 packets transmitted, 37 packets received, 63% packet loss
# round-trip min/avg/max/stddev = 1.578/1.844/3.113/0.310 ms
#
# After this commit
# --- 192.168.3.2 ping statistics ---
# 100 packets transmitted, 100 packets received, 0% packet loss
# round-trip min/avg/max/stddev = 2.043/2.894/4.514/0.529 ms
#
# Maybe "63% packet loss" should be taken as "this card works well" :-P
#

show more ...


# 6c40999e 18-Nov-2006 Sepherosa Ziehau <sephe@dragonflybsd.org>

Properly setup Link/Act LED for rt2x61 chips.

LED EEPROM configures and LED MCU data/command layout are obtained from
Linux RT61 driver (the reference driver?).

# This makes my Edimax EW-7608PG(rt2

Properly setup Link/Act LED for rt2x61 chips.

LED EEPROM configures and LED MCU data/command layout are obtained from
Linux RT61 driver (the reference driver?).

# This makes my Edimax EW-7608PG(rt2661d) LED shining as expected.

show more ...


# 5fdff524 20-May-2006 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Add ral(4) for Ralink RT2500/RT2501/RT2600 chip based wireless NIC
- Add ral(4) to GENERIC and LINT
- Add man page for ral(4)
Reviewed-by: swildner

Thank Damien Bergamini for his work on this dr

- Add ral(4) for Ralink RT2500/RT2501/RT2600 chip based wireless NIC
- Add ral(4) to GENERIC and LINT
- Add man page for ral(4)
Reviewed-by: swildner

Thank Damien Bergamini for his work on this driver

For RT2500:
- Fix a ieee80211_node leakage
- Due to the inter-dependency nature of DONE/(ENCRYPT|DECRYPT) intr, reap desc
rings twice if one of them comes. This change gives me ~17.6% TX performance
boost on my ASUS WL-107G (WPA is used here):
Original way of TX/RX intr processing
------------------------------------------------------------
Client connecting to sephe-test, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.2.14 port 1063 connected with 192.168.2.254 port 5001
[ 3] 0.0- 5.0 sec 10.2 MBytes 17.1 Mbits/sec
[ 3] 5.0-10.0 sec 9.95 MBytes 16.7 Mbits/sec
[ 3] 10.0-15.0 sec 9.67 MBytes 16.2 Mbits/sec
[ 3] 15.0-20.0 sec 10.1 MBytes 17.0 Mbits/sec
[ 3] 20.0-25.0 sec 10.2 MBytes 17.1 Mbits/sec
[ 3] 25.0-30.0 sec 10.0 MBytes 16.8 Mbits/sec
[ 3] 30.0-35.0 sec 9.91 MBytes 16.6 Mbits/sec
[ 3] 35.0-40.0 sec 10.3 MBytes 17.2 Mbits/sec
[ 3] 40.0-45.0 sec 9.87 MBytes 16.6 Mbits/sec
[ 3] 45.0-50.0 sec 9.94 MBytes 16.7 Mbits/sec
[ 3] 50.0-55.0 sec 10.2 MBytes 17.2 Mbits/sec
[ 3] 55.0-60.0 sec 9.73 MBytes 16.3 Mbits/sec
[ 3] 0.0-60.0 sec 120 MBytes 16.8 Mbits/sec

Adapted way of TX/RX intr processing
------------------------------------------------------------
Client connecting to sephe-test, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.2.14 port 1062 connected with 192.168.2.254 port 5001
[ 3] 0.0- 5.0 sec 11.8 MBytes 19.8 Mbits/sec
[ 3] 5.0-10.0 sec 11.5 MBytes 19.4 Mbits/sec
[ 3] 10.0-15.0 sec 11.1 MBytes 18.7 Mbits/sec
[ 3] 15.0-20.0 sec 12.0 MBytes 20.1 Mbits/sec
[ 3] 20.0-25.0 sec 12.6 MBytes 21.2 Mbits/sec
[ 3] 25.0-30.0 sec 11.7 MBytes 19.6 Mbits/sec
[ 3] 30.0-35.0 sec 12.3 MBytes 20.7 Mbits/sec
[ 3] 35.0-40.0 sec 11.9 MBytes 19.9 Mbits/sec
[ 3] 40.0-45.0 sec 11.9 MBytes 19.9 Mbits/sec
[ 3] 45.0-50.0 sec 12.2 MBytes 20.4 Mbits/sec
[ 3] 50.0-55.0 sec 12.1 MBytes 20.2 Mbits/sec
[ 3] 55.0-60.0 sec 12.3 MBytes 20.7 Mbits/sec
[ 3] 0.0-60.0 sec 143 MBytes 20.0 Mbits/sec

Obtained-from: FreeBSD

show more ...


# feb94d24 08-Apr-2010 Rui Paulo <rpaulo@FreeBSD.org>

Sync with FreeBSD.