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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon May 7 07:14:29 PDT 2007


sephe       2007/05/07 07:14:21 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/ral    rt2661.c rt2661reg.h rt2661var.h 
  Log:
  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.
  
  Revision  Changes    Path
  1.21      +297 -10   src/sys/dev/netif/ral/rt2661.c
  1.9       +20 -4     src/sys/dev/netif/ral/rt2661reg.h
  1.7       +38 -2     src/sys/dev/netif/ral/rt2661var.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661reg.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ral/rt2661var.h.diff?r1=1.6&r2=1.7&f=u





More information about the Commits mailing list