DragonFly commits List (threaded) for 2007-04
DragonFly BSD
DragonFly commits List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 22 Apr 2007 02:14:46 -0700 (PDT)

sephe       2007/04/22 02:14:46 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/ral    rt2661.c rt2661var.h rt2661reg.h 
  Log:
  - 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.
  
  Revision  Changes    Path
  1.18      +54 -14    src/sys/dev/netif/ral/rt2661.c
  1.6       +3 -1      src/sys/dev/netif/ral/rt2661var.h
  1.6       +5 -1      src/sys/dev/netif/ral/rt2661reg.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661var.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661reg.h.diff?r1=1.5&r2=1.6&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]