summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtwreg.h
AgeCommit message (Collapse)Author
2009-08-16remove use of BITS and BIT macrosJonathan Gray
2006-01-05rev 1.59 & 1.60 of rtw.c commited by David Young to NetBSD:Jonathan Gray
On a transmit FIFO overflow (err, actually an underflow...) reset both the transmit & receive sections of the MAC. Fix comments and debug printfs: Tx FIFOs underflow, they don't overflow.
2006-01-05part of rev 1.58 of rtw.c David Young comitted to NetBSD:Jonathan Gray
Miscellaneous Realtek RTL8180L driver improvements: 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.
2005-11-20Add support for GCT GRF5101 RF transceiver based hardware. Magic numbersJonathan Gray
partially derived from rtl8180-sa2400 Linux driver. GCT refuse to release documentation so this is more than likely not as optimal as it could be.
2005-10-24change RTW_ANAPARM to RTW_ANAPARM_0 for consistency with the rtl8225 code.Reyk Floeter
ok jsg@
2005-10-23use read/write/barrier callbacks, will be used laterReyk Floeter
ok jsg@
2005-10-23Some additional rtl8185 specific defines.Jonathan Gray
2005-05-29knfReyk Floeter
2005-05-29rtw cleanupReyk Floeter
2005-02-14From NetBSD:Jonathan Gray
From part of rtw.c rev 1.42: log message: Add RTW_TPPOLL_ALL, RTW_TPPOLL_SALL to start and stop, respectively, all of the transmit rings. Revamp the transmit section to make better use of all the transmit rings: beacon queue, high-, low-, and medium-priority rings. Put beacon frames on the beacon ring. All other management frames, and data frames, go on the medium-priority ring. Power-save data frames go on the high-priority ring. (Note that powersaving is not implemented!) This is a work in progress. Send all 802.11 Management frames at 1Mbps. After we put a packet on a transmit ring, tickle the right bit in the TPPOLL to tell RTL8180. Stop all rings on error and in rtw_stop. And rtw.c rev 1.33: log message: Consolidate variables related to the rx ring in sc_rxdesc_blk, which is a struct rtw_rxdesc_blk. Put a copy of the DMA tag and the DMA map into the rx- and tx-ring blocks so that I don't have to pass them to subroutines all of the time. ok dlg@
2005-02-08From NetBSD:Jonathan Gray
sys/dev/ic/rtw.c rev 1.38: Use clue from rtk(4) and re(4) to fix the rtw(4) packet filter. Previously, I was using the wrong CRC32 function to hash multicast addresses; to compensate, I set the multicast filter to all 1s. Now that I hash the addresses correctly, I do not any longer set the filter to all 1s. In rtw_ioctl, avoid gratuitous re-initialization when the interface flags change. If a !IFF_UP -> IFF_UP transition, call rtw_init(); otherwise, only reload the packet filter. sys/dev/ic/rtwreg.h rev 1.10: Put useful combinations of Receiver Control Register flags in RTW_RCR_PKTFILT_MASK, RTW_RCR_MONITOR, and RTW_RCR_PKTFILT_DEFAULT. (XXX RTW_RCR_MONITOR should be called RTW_RCR_PKTFILT_MONITOR.)
2005-01-22Reduce diff to NetBSD.Jonathan Gray
From rtw.c rev 1.34: I like the tlp/atw-style names for software descriptors, txsoft, better than txctl. Change from rtw_txctl/rtw_rxctl to rtw_txsoft/rtw_rxsoft. Change the descriptor blocks' names to match: rtw_txctl_blk becomes rtw_txsoft_blk. Change the member-name prefixes for both software and hardware descriptors.
2004-12-30Correct copyright as per David Young's recent change in NetBSD.Jonathan Gray
2004-12-29Driver for Realtek 802.11 devices from NetBSD.Jonathan Gray
Not yet working.