cvs commit: src/sys/dev/netif/ral rt2661.c rt2661reg.h rt2661var.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Jan 16 23:37:26 PST 2008


sephe       2008/01/16 23:35:38 PST

DragonFly src repository

  Modified files:
    sys/dev/netif/ral    rt2661.c rt2661reg.h rt2661var.h 
  Log:
  - 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.
  
  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


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661reg.h.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661var.h.diff?r1=1.9&r2=1.10&f=u





More information about the Commits mailing list