Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 11/23/2005 04:12:33
Module Name:	src
Committed By:	dyoung
Date:		Wed Nov 23 04:12:33 UTC 2005

Modified Files:
	src/sys/dev/ic: rtw.c rtwreg.h rtwvar.h

Log Message:
Miscellaneous Realtek RTL8180L driver improvements:

1 Added new sysctl controls for debugging.

2 Improve detection & support for hardware WEP.

3 Revamp handling of transmit descriptor rings.

4 Reliably IFF_OACTIVE when transmit descriptors are available, to
  stop the transmit section of the driver from freezing up.

5 Fix beacon transmission in adhoc and hostap modes.  XXX There is
  a wart in hostap mode, where beacons are transmitted at 1/2 the
  correct rate.  Load beacon descriptors when the RTW_INTR_BINT
  interrupt arrives; schedule RTW_INTR_BINT 1ms ahead of the target
  beacon time.

6 Recover more gracefully from tx/rx errors: avoid
  transmitter/receiver/chip resets.  Try to re-synchronize software
  state with hardware state---e.g., load next descriptor pointer
  from hardware.

7 Activate the transmit watchdog timer for beacons as well as other
  packets.

8 Introduce rtw_idle() that waits for transmit DMA to finish; call
  it before resetting the transmitter.


To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 src/sys/dev/ic/rtw.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/ic/rtwreg.h
cvs rdiff -r1.24 -r1.25 src/sys/dev/ic/rtwvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.