History log of /dflybsd-src/sys/dev/netif/ral/rt2560var.h (Results 1 – 18 of 18)
Revision Date Author Comments
# 93d249f7 18-May-2016 Matthew Dillon <dillon@apollo.backplane.com>

wlan - Sync dev/netif/ral from FreeBSD (2)

* Last commit FreeBSD -> DragonFly port (this commit).

* Add back to build.


# 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)


# 26595b18 28-Nov-2014 Sascha Wildner <saw@online.de>

kernel: Use the new auto-created sysctl ctx/tree in various drivers.

Everywhere where we formerly rolled a hw.fooX.* per-device ctx/tree
ourselves.

This commit switches it to dev.foo.X.*


# d8235d53 09-Sep-2010 Joe Talbott <josepht@dragonflybsd.org>

wlan - Bring ral back into the fold.

*** NB ***
This has not been tested other than that it compiles (due to lack of
hardware) but will be tested within the week.


# 0d59ee76 05-Sep-2010 Joe Talbott <josepht@dragonflybsd.org>

ral - Convert to use wlan_token.

Tested-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>


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

Sync with FreeBSD.


# cb3c6fae 08-Feb-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Use per softc debug level instead of a global one.


# b77254ce 25-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

There are actually two TX queues for 2560 parts, so add two softc private
flags which are used to mark that the TX queues are "over active". Clear
IFF_OACTIVE iff all of the private OACT flags are o

There are actually two TX queues for 2560 parts, so add two softc private
flags which are used to mark that the TX queues are "over active". Clear
IFF_OACTIVE iff all of the private OACT flags are off.

show more ...


# 94876ba8 25-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Correct false CCA based RX sensitivity tuning.
- Add comment about relationship between bbp17 and RX sensitivity.
- Add comment about RX sensitivity dynamic tuning mechanism.


# 33882926 25-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Add sysctl node to set RX sensitivity, useful when operating in non-STA mode,
i.e. RX sensitivity calibration can't be used.


# de0a85ba 19-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

For 2560 parts:
ifconfig ral0 txpower POWER
now sets ral(4)'s TX power to POWER dBm


# 2da757be 19-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Setup BBP according to the values stored in BBP
- If EEPROM channel TX power is above 31 set it to 24, since there is only
5bits in the RF register for channel TX power
- Add RX sensitivity calib

- Setup BBP according to the values stored in BBP
- If EEPROM channel TX power is above 31 set it to 24, since there is only
5bits in the RF register for channel TX power
- Add RX sensitivity calibration support (STA operation mode). Add sysctl
node for it. It is on by default. Various limit values are obtained from
Ralink RT2500

show more ...


# 4601b177 18-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Extract RX sensitivity calibration capability from EEPROM
- Skip invalid BBP register/value entries extracted from EEPROM
- More debug messages


# 21028056 15-Jan-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Store tx rate control parameters in drivers, so switching between tx rate
control algorithms will not loose configured values.
- Move tx rate control private structures into its implementation fi

- Store tx rate control parameters in drivers, so switching between tx rate
control algorithms will not loose configured values.
- Move tx rate control private structures into its implementation file.

show more ...


# 0dba45fe 01-Apr-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Define 802.11 modulation types as 'enum ieee80211_modtype'.
- Expose ieee80211_rate2modtype() for pubic use.
- Add definition for DIFS, slot time and contention window.
- Add addition field in TX r

- Define 802.11 modulation types as 'enum ieee80211_modtype'.
- Expose ieee80211_rate2modtype() for pubic use.
- Add definition for DIFS, slot time and contention window.
- Add addition field in TX rate control state structure, so drivers can
give hints to TX rate control algorithms about their capabilities.
- Add Sample TX rate control support:
http://www.pdos.lcs.mit.edu/papers/jbicket-ms.pdf
It is factored out and adapted from the one in ath(4).
- In ieee80211_ratectl.h, expose only IEEE80211_RATECTL_{ONOE,AMRR,SAMPLE}
for user space program.
- Teach ifconfig(8) to show and set Sample TX rate control algorithm.
- Fix a node leakage on rt2560_tx_mgt() error handling path.
- Support Onoe and Sample TX rate control algorithm in 2560 part of
ral(4), and use Sample TX rate control algorithm as the default TX
rate control algorithm. [*]
- Make ral(4) depend on wlan_ratectl_{onoe,sample}.
- Hook Sample TX rate control algorithm into GENERIC and LINT.

# [*]
# If Sample TX rate control algorithm is used, I get almost 100~200%
# UDP_STREAM netperf TX performance boost than the original TX rate
# control algorithm in open/noisy enviroments, and +200~500Kbits/s
# UDP_STREAM netperf TX performance boost under good conditions.

show more ...


# 322b19a8 30-Mar-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

- Add a definition for the length of 802.11 MAC frame's FCS. Use it instead
of the magic number '4' in ral(4), rum(4) and ural(4).
- In ral(4), rum(4) and ural(4), use sizeof(struct ieee80211_fram

- Add a definition for the length of 802.11 MAC frame's FCS. Use it instead
of the magic number '4' in ral(4), rum(4) and ural(4).
- In ral(4), rum(4) and ural(4), use sizeof(struct ieee80211_frame_{ack,cts})
to calculate ACK and CTS size, instead of using the magic number '10'.
- In rum(4) and ural(4), nuke unused macro RAL_CTS_SIZE.
- Correct SIFS setting in ral(4), rum(4) and ural(4).
- Implement ieee80211_txtime(), according to 802.11 standards' TXTIME
calculation.
- Nuke {ral,rum,ural}_txtime(), use ieee80211_txtime() instead.

# We are one step closer to the generic Sample TX rate control algorithm.

show more ...


# a5c68736 05-Feb-2007 Sepherosa Ziehau <sephe@dragonflybsd.org>

Convert RSSI to receive signal strength (dbm). The real convertion is not yet
hooked, but it will be used when roaming/background scan is imported.

EEPROM offset of RSSI mapping value, default RSSI

Convert RSSI to receive signal strength (dbm). The real convertion is not yet
hooked, but it will be used when roaming/background scan is imported.

EEPROM offset of RSSI mapping value, default RSSI mapping value and noise floor
are obtained from Linux RT2500 driver.

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 ...