DragonFly commits List (threaded) for 2008-01
cvs commit: src/sys/dev/netif/ral rt2661.c rt2661reg.h rt2661var.h
sephe 2008/01/16 23:35:38 PST
DragonFly src repository
sys/dev/netif/ral rt2661.c rt2661reg.h rt2661var.h
- 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
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.
Revision Changes Path
1.26 +221 -37 src/sys/dev/netif/ral/rt2661.c
1.10 +1 -0 src/sys/dev/netif/ral/rt2661reg.h
1.10 +17 -3 src/sys/dev/netif/ral/rt2661var.h