RTL8187B-GR: Wireless Lan Network Interface Controller
RTL8187B-GR: Wireless Lan Network Interface Controller
RTL8187B-GR: Wireless Lan Network Interface Controller
DATASHEET
Rev. 1.0
09 October 2006
Track ID: JATR-1076-21
COPYRIGHT
©2006 Realtek Semiconductor Corp. All rights reserved. No part of this document may be reproduced,
transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any
means without the written permission of Realtek Semiconductor Corp.
DISCLAIMER
Realtek provides this document “as is”, without warranty of any kind, neither expressed nor implied,
including, but not limited to, the particular purpose. Realtek may make improvements and/or changes in
this document or in the product described in this document at any time. This document could include
technical inaccuracies or typographical errors.
TRADEMARKS
Realtek is a trademark of Realtek Semiconductor Corporation. Other names mentioned in this document are
trademarks/registered trademarks of their respective owners.
REVISION HISTORY
Revision Release Date Summary
1.0 2006/10/09 First release.
Wireless LAN Network Interface Controller ii Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Table of Contents
1. GENERAL DESCRIPTION ...............................................................................................................................................1
2. FEATURES ..........................................................................................................................................................................2
5. PIN ASSIGNMENTS...........................................................................................................................................................5
5.1. GREEN PACKAGE AND VERSION IDENTIFICATION ...........................................................................................................5
6. PIN DESCRIPTIONS ..........................................................................................................................................................6
6.1. USB TRANSCEIVER INTERFACE ......................................................................................................................................6
6.2. EEPROM INTERFACE .....................................................................................................................................................6
6.3. POWER PINS ....................................................................................................................................................................6
6.4. LED INTERFACE..............................................................................................................................................................7
6.5. ATTACHMENT UNIT INTERFACE ......................................................................................................................................7
6.5.1. RTL8225 RF Chipset ..............................................................................................................................................7
6.5.2. RTL8255 RF Chipset ..............................................................................................................................................8
6.6. CLOCK AND OTHER PINS .................................................................................................................................................9
7. CPU ACCESS TO ENDPOINT DATA............................................................................................................................10
7.1. CONTROL TRANSFER .....................................................................................................................................................10
7.2. BULK TRANSFER ...........................................................................................................................................................10
8. USB REQUEST ..................................................................................................................................................................11
8.1. GET DESCRIPTOR-DEVICE .............................................................................................................................................11
8.2. GET DESCRIPTOR-DEVICE QUALIFIER (HIGH SPEED)....................................................................................................11
8.3. GET DESCRIPTOR-CONFIGURATION ..............................................................................................................................12
8.4. GET DESCRIPTOR-STRING INDEX 0 ...............................................................................................................................13
8.5. GET DESCRIPTOR-STRING INDEX 1 ...............................................................................................................................13
8.6. GET DESCRIPTOR-STRING INDEX 2 ...............................................................................................................................13
8.7. GET DESCRIPTOR-STRING INDEX 3 ...............................................................................................................................14
8.8. GET DESCRIPTOR-STRING INDEX 4 ...............................................................................................................................14
8.9. GET DESCRIPTOR-STRING INDEX 5 ...............................................................................................................................15
8.10. GET DESCRIPTOR-OTHER SPEED CONFIGURATION....................................................................................................15
8.11. SET ADDRESS ............................................................................................................................................................16
8.12. SET INTERFACE 0 ......................................................................................................................................................16
8.13. SET FEATURE DEVICE ...............................................................................................................................................16
8.14. CLEAR FEATURE DEVICE ..........................................................................................................................................17
8.15. SET CONFIG 0............................................................................................................................................................17
8.16. SET CONFIG 1............................................................................................................................................................17
9. EEPROM (93C46 OR 93C56) CONTENTS ....................................................................................................................18
9.1. EEPROM REGISTERS SUMMARY ..................................................................................................................................21
9.2. EEPROM POWER MANAGEMENT REGISTERS SUMMARY .............................................................................................21
10. USB PACKET BUFFERING ........................................................................................................................................22
10.1. TRANSMIT BUFFER MANAGER ..................................................................................................................................22
10.2. RECEIVE BUFFER MANAGER .....................................................................................................................................22
Wireless LAN Network Interface Controller iii Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
10.3. PACKET RECOGNITION ..............................................................................................................................................22
11. FUNCTIONAL DESCRIPTION ..................................................................................................................................23
11.1. TRANSMIT & RECEIVE OPERATIONS..........................................................................................................................23
11.1.1. Transmit ...............................................................................................................................................................23
11.1.2. Receive .................................................................................................................................................................27
11.2. RX COMMAND ...........................................................................................................................................................29
11.3. LOOPBACK OPERATION .............................................................................................................................................29
11.4. TX ENCAPSULATION (WITH RTL8187B INTERNAL BASEBAND PROCESSOR)............................................................29
11.5. RX DECAPSULATION (WITH RTL8187B INTERNAL BASEBAND PROCESSOR) ...........................................................30
11.6. QOS FUNCTIONS .......................................................................................................................................................30
11.7. CONTENTION-BASED ADMISSION CONTROL FUNCTIONS ...........................................................................................30
11.8. DURATION FIELD PROCESSING ..................................................................................................................................31
11.9. LED FUNCTIONS .......................................................................................................................................................31
11.9.1. Link Monitor.........................................................................................................................................................31
11.9.2. Infrastructure Monitor .........................................................................................................................................31
11.9.3. Rx LED .................................................................................................................................................................32
11.9.4. Tx LED .................................................................................................................................................................33
11.9.5. Tx/Rx LED ............................................................................................................................................................33
11.9.6. LINK/ACT LED ....................................................................................................................................................34
12. APPLICATION DIAGRAM .........................................................................................................................................35
List of Tables
TABLE 1. USB TRANSCEIVER INTERFACE .....................................................................................................................................6
TABLE 2. EEPROM INTERFACE ....................................................................................................................................................6
TABLE 3. POWER PINS ...................................................................................................................................................................6
TABLE 4. LED INTERFACE.............................................................................................................................................................7
TABLE 5. ATTACHMENT UNIT INTERFACE .....................................................................................................................................7
TABLE 6. RTL8255 RF CHIPSET....................................................................................................................................................8
TABLE 7. CLOCK AND OTHER PINS ................................................................................................................................................9
TABLE 8. GET DESCRIPTOR-DEVICE ............................................................................................................................................11
TABLE 9. GET DESCRIPTOR- DEVICE QUALIFIER (HIGH SPEED) ..................................................................................................11
TABLE 10. GET DESCRIPTOR-CONFIGURATION .............................................................................................................................12
TABLE 11. GET DESCRIPTOR-STRING INDEX 0 ..............................................................................................................................13
TABLE 12. GET DESCRIPTOR-STRING INDEX 1 ..............................................................................................................................13
TABLE 13. GET DESCRIPTOR-STRING INDEX 2 ..............................................................................................................................13
TABLE 14. GET DESCRIPTOR-STRING INDEX 3 ..............................................................................................................................14
TABLE 15. GET DESCRIPTOR-STRING INDEX 4 ..............................................................................................................................14
Wireless LAN Network Interface Controller iv Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
TABLE 16. GET DESCRIPTOR-STRING INDEX 5 ..............................................................................................................................15
TABLE 17. GET DESCRIPTOR-OTHER SPEED CONFIGURATION ......................................................................................................15
TABLE 18. SET ADDRESS ..............................................................................................................................................................16
TABLE 19. SET INTERFACE 0 .........................................................................................................................................................16
TABLE 20. SET FEATURE DEVICE ..................................................................................................................................................16
TABLE 21. CLEAR FEATURE DEVICE .............................................................................................................................................17
TABLE 22. SET CONFIG 0 ..............................................................................................................................................................17
TABLE 23. SET CONFIG 1 ..............................................................................................................................................................17
TABLE 24. EEPROM (93C46 OR 93C56) CONTENTS ....................................................................................................................18
TABLE 25. EEPROM REGISTERS SUMMARY ................................................................................................................................21
TABLE 26. EEPROM POWER MANAGEMENT REGISTERS SUMMARY ............................................................................................21
TABLE 27. TX DESCRIPTOR FORMAT ............................................................................................................................................23
TABLE 28. TX STATUS DESCRIPTOR ..............................................................................................................................................24
TABLE 29. RX DESCRIPTOR FORMAT ............................................................................................................................................27
TABLE 30. RX STATUS DESCRIPTOR..............................................................................................................................................28
TABLE 31. TX BEACON INTERRUPT ...............................................................................................................................................29
TABLE 32. TX CLOSE DESCRIPTOR................................................................................................................................................29
TABLE 33. TEMPERATURE LIMIT RATINGS ....................................................................................................................................36
TABLE 34. DC CHARACTERISTICS .................................................................................................................................................36
TABLE 35. EEPROM ACCESS TIMING PARAMETERS ....................................................................................................................37
TABLE 36. ORDERING INFORMATION ............................................................................................................................................39
List of Figures
FIGURE 1. BLOCK DIAGRAM ..........................................................................................................................................................4
FIGURE 2. PIN ASSIGNMENTS.........................................................................................................................................................5
FIGURE 3. RX LED ......................................................................................................................................................................32
FIGURE 4. TX LED ......................................................................................................................................................................33
FIGURE 5. TX/RX LED ................................................................................................................................................................33
FIGURE 6. LINK/ACT LED.........................................................................................................................................................34
FIGURE 7. APPLICATION DIAGRAM ..............................................................................................................................................35
FIGURE 8. SERIAL EEPROM INTERFACE TIMING ........................................................................................................................37
Wireless LAN Network Interface Controller v Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
1. General Description
The Realtek RTL8187B is a low-profile highly integrated cost-effective Wireless LAN USB 2.0 network
interface controller that integrates a USB 2.0 PHY, SIE (Serial Interface Engine), 8051 MCU, a Wireless
LAN MAC, and a Direct Sequence Spread Spectrum/OFDM baseband processor onto one chip. It provides
USB high speed (480Mbps), and full speed (12Mbps), and supports 9 endpoints for transfer pipes. To
reduce protocol overhead, the RTL8187B supports Short InterFrame Space (SIFS) burst mode to send
packets back-to-back. A protection mechanism prevents collisions among 802.11b nodes. The RTL8187B
fully complies with IEEE 802.11a/b/g, WMM, 802.11e, and CCX specifications.
To reduce protocol overhead, the RTL8187B supports Short InterFrame Space (SIFS) burst mode to send
packets back-to-back. A protection mechanism prevents collisions among 802.11b nodes.
Direct Sequence Spread Spectrum (DSSS), Complementary Code Keying (CCK), and Orthogonal
Frequency Division Multiplexing (OFDM) baseband processing are implemented to support all IEEE
802.11a, 802.11b, and 802.11g data rates. Differential phase shift keying modulation schemes, DBPSK and
DQPSK with data scrambling capability, are available, along with complementary code keying to provide
data rates of 1, 2, 5.5, and 11Mbps, with long or short preamble. A high-speed Fast Fourier Transform
(FFT)/Inverse Fast Fourier Transform (IFFT), combined with BPSK, QPSK, 16QAM and 64QAM
modulation of the individual sub-carriers, provides data rates of 6, 9, 12, 18, 24, 36, 48 and 54Mbps, with
rate-compatible punctured convolutional coding with a coding rate of 1/2, 2/3, and 3/4.
An enhanced signal detector, an adaptive frequency domain equalizer, and a soft-decision Viterbi decoder
are built-in to alleviate severe multipath effects. Efficient IQ-imbalance calibration, DC offset, phase noise,
frequency offset, and timing offset compensation reduce radio frequency front-end impairments. Selectable
digital transmit and receiver FIR filters are provided to meet the requirements of transmit spectrum masks,
and to reject adjacent channel interference, respectively. Both in the transmitter and receiver,
programmable scaling in the digital domain trades the quantization noise against the increased probability
of clipping. Robust signal detection, symbol boundary detection, and channel estimation perform well at
the minimum sensitivity.
The RTL8187B supports fast receiver Automatic Gain Control (AGC) and antenna diversity functions, and
an adaptive transmit power control function to obtain better performance in the analog portions of the
transceiver. It also has on-chip digital-to-analog converters and analog-to-digital converters for analog I
and Q inputs and outputs, transmit TSSI and receiver RSSI inputs, and transmit and receiver AGC outputs.
The RTL8187B keeps network maintenance costs low and eliminates usage barriers. The RTL8187B is
highly integrated and requires no ‘glue’ logic or external memory.
Wireless LAN Network Interface Controller 1 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
2. Features
128-Pin LQFP with ‘Green’ package OFDM with BPSK, QPSK, 16QAM and
64QAM modulations and demodulations
State machine implementation without supported with rate compatible punctured
external memory (RAM, flash) requirement convolutional coding with coding rate of 1/2,
2/3, and 3/4
Complies with IEEE 802.11a/b/g standards
Efficient IQ-imbalance calibration, DC
Supports descriptor-based buffer offset, phase noise, frequency offset and
management timing offset compensation reduce analog
front-end impairments
Integrated Wireless LAN MAC and Direct
Sequence Spread Spectrum/OFDM Selectable digital transmit and receiver FIR
Baseband Processor in one chip filters provided to meet transmit spectrum
mask requirements and to reject adjacent
Enhanced signal detector, adaptive frequency channel interference
domain equalizer, and soft-decision Viterbi
decoder to alleviate severe multipath effects Programmable scaling both in transmitter
and receiver to trade quantization noise
Processing Gain compliant with FCC against the increased probability of clipping
On-Chip A/D and D/A converters for I/Q Fast receiver Automatic Gain Control (AGC)
Data, AGC, and Adaptive Power Control & antenna diversity functions
Supports both transmit and receive Antenna Complies with WMM, 802.11e, and CCX
Diversity specifications
Data rates of 1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, Complies with 802.11h, 802.11i, 802.11j
48, and 54Mbps specifications
Supports 40MHz OSC as the internal clock Hardware-based IEEE 802.11i
source. The frequency deviation of the OSC encryption/decryption engine, including
must be within 25 PPM on IEEE 802.11g and 64-bit/128-bit WEP, TKIP, and AES
20 PPM on IEEE 802.11a
Supports Wi-Fi alliance WPA and WPA2
IEEE 802.11g protection mechanisms for security
both RTS/CTS and CTS-to-self
Contains two large independent transmit and
Burst-mode support for dramatically receive FIFO buffers
enhanced throughput
Advanced power saving mode when the
DSSS with DBPSK and DQPSK, CCK LAN and wakeup function are not used
modulations and demodulations supported
with long and short preamble
Wireless LAN Network Interface Controller 2 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Uses 93C46 (64*16-bit EEPROM) or 93C56 Embedded standard 8051 CPU with
(128*16-bit EEPROM) to store resource enhanced features:
configuration and ID parameter data
Four cycles per instruction
LED pins for various network activity Variable clock speed cuts power
indications consumption
Six GPIO pins supported Supports 9 endpoints:
Supports digital loopback capability on both 64-Byte buffer for control endpoint
ports Two 512-Byte buffers for bulk IN
endpoint
Scatter and gather operation
Seven 512-Byte buffers for bulk OUT
Complies with USB Specification 2.0 endpoint
Supports Full-speed (12Mbps) and 3.3V and 1.5V power supplies required
High-speed (480Mbps)
5V tolerant I/Os
3. System Applications
USB Dongle WLAN adapter
Wireless LAN Network Interface Controller 3 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
4. Block Diagram
MAC EEPROM
Interface
LED Driver Serial
Control
Radio and
Synthesizer
Power and TX/RX Timing Control Logic Control
Frame Length
Discriminator
Frame Type
Interrupt RTS, CTS,
Register
Control ACK Frame
Logic Generator
D+
S I E + Register
D-
WEP/
TKIP/ Checksum
AES Logic CCA/
Engine NAV
From BBP
Transmit/
FIFO
Receive MAC/BBP
FIFO Control
Logic Interface
Logic Interface
BBP, TX Section
DAC TXI
MAC/BBP Digital
Scrambler Coding
Interface Filter
DAC TXQ
DAC TXAGC
From Register
TX State TX AGC
Machine Control
MAC ADC TXDET
BBP, RX Section
ADC RXI
MAC/BBP
Descrambler Decoding
Interface
ADC RXQ
Clear Channel
DAC RXAGC
RX AGC
To MAC Assessment/
Control
Signal Quality
ADC RSSI
Antenna
From RX State
Diversity
ANTSEL
Register
Machine
MAC Control ANTSELB
Wireless LAN Network Interface Controller 4 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
5. Pin Assignments
Wireless LAN Network Interface Controller 5 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
6. Pin Descriptions
In order to reduce pin count, and therefore size and cost, some pins have multiple functions. In such cases,
the functions are separated with a ‘/’ symbol. Refer to the Pin Assignments diagram on page 5 for a
graphical representation.
The following signal type codes are used in the tables:
I: Input. S/T/S: Sustained Tri-State.
O: Output O/D: Open Drain.
T/S: Tri-State bi-directional input/output pin.
Wireless LAN Network Interface Controller 6 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 7 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Symbol Type Pin No Description
GPIO4 O 100 General purpose input/output pin.
GPIO5 O 94 General purpose input/output pin.
VREFO X 118 Not used in the RTL8225 RF chipset.
VRP X 119 Not used in the RTL8225 RF chipset.
VRN X 120 Not used in the RTL8225 RF chipset.
RXIP I 121 Receive (Rx) In-phase Analog Data.
RXIN I 122
RXQP I 124 Receive (Rx) Quadrature-phase Analog Data.
RXQN I 125
RXAGC I 4 Not used in the RTL8225 RF chipset.
TXAGC O 5 Not used in the RTL8225 RF chipset.
RSSI I 6 Analog Input to the Receive Power A/D Converter for Receive AGC Control.
TSSI0 I 7 Input to the Transmit Power A/D Converter for 2.4GHz Transmit AGC Control.
TSSI1 I 8 Not used in the RTL8225 RF chipset.
TXQP I 11 Not used in the RTL8225 RF chipset.
TXQN I 12
TXIP O 14 Not used in the RTL8225 RF chipset.
TXIN O 13
TXQTP O 15 Transmit (TX) Quadrature-phase Analog Data.
TXQTN O 16
TXITP O 17 Transmit (TX) In-phase Analog Data.
TXITN O 18
Wireless LAN Network Interface Controller 8 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Symbol Type Pin No Description
RFTXEN O 102 Not used in the RTL8255 RF chipset.
RFRXEN O 113 Not used in the RTL8255 RF chipset.
GPIO[0] O 67 General purpose input/output pin.
GPIO[1] O 68 General purpose input/output pin.
GPIO[2] O 69 General purpose input/output pin.
GPIO[3] O 70 General purpose input/output pin.
GPIO[4] O 100 General purpose input/output pin.
GPIO[5] O 94 General purpose input/output pin.
VREFO X 118 Not used in the RTL8255 RF chipset.
VRP X 119 Not used in the RTL8255 RF chipset.
VRN X 120 Not used in the RTL8255 RF chipset.
RXIP I 121 Receive (Rx) In-phase Analog Data.
RXIN I 122
RXQP I 124 Receive (Rx) Quadrature-phase Analog Data.
RXQN I 125
RXAGC O 4 Not used in the RTL8255 RF chipset.
TXAGC O 5 Not used in the RTL8255 RF chipset.
RSSI I 6 Analog Input to the Receive Power A/D Converter for Receive AGC Control.
TSSI0 I 7 Input to the Transmit Power A/D Converter for 2.4GHz Transmit AGC Control.
TSSI1 I 8 Input to the Transmit Power A/D Converter for 5GHz Transmit AGC Control.
TXQP O 11 Transmit (TX) Quadrature-phase Analog Data.
TXQN O 12
TXIP O 14 Transmit (TX) In-phase Analog Data.
TXIN O 13
TXQTP O 15 Not used in the RTL8255 RF chipset.
TXQTN O 16
TXITP O 17 Not used in the RTL8255 RF chipset.
TXITN O 18
Wireless LAN Network Interface Controller 9 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 10 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
8. USB Request
8.1. Get Descriptor-Device
Table 8. Get Descriptor-Device
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 00 01 00 00 Lengh_L Length_H
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
0A 06 00 02 00 00 00 40
01 00
Wireless LAN Network Interface Controller 11 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 12 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
04 03 09 04 - - - -
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
10 03 52 00 65 00 61 00
6C 00 74 00 65 00 6B 00
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
2B 03 52 00 54 00 4C 00
38 00 31 00 38 00 37 00
42 00 20 00 57 00 4C 00
41 00 4E 00 20 00 41 00
64 00 6` 00 70 00 74 00
65 00 72
Wireless LAN Network Interface Controller 13 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
1A 03 30 00 30 00 65 00
30 00 34 00 63 00 30 00
30 00 30 00 30 00 30 00
31 00
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
2C 03 57 00 69 00 72 00
65 00 6C 00 65 00 73 00
73 00 20 00 4E 00 65 00
74 00 77 00 6F 00 72 00
6B 00 20 00 43 00 61 00
72 00 64 00
Wireless LAN Network Interface Controller 14 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
30 03 55 00 53 00 42 00
20 00 48 00 53 00 20 00
48 00 65 00 72 00 69 00
61 00 6C 00 20 00 43 00
6F 00 6E 00 76 00 65 00
72 00 74 00 65 00 72 00
Wireless LAN Network Interface Controller 15 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 16 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 17 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 18 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Bytes Contents Description
19h CONFIG4 RTL8187B Configuration register 4.
Operational register FF5Ah.
1Ah~1Dh ANA_PARM Analog Parameter for the RTL8187B.
Operational registers of the RTL8187B are from 54h to 57h.
Reserved. Do not change this field without Realtek approval.
1Eh TESTR RTL8187B Test Mode Register.
Operational register FF5Bh.
Reserved. Do not change this field without Realtek approval.
1Fh CONFIG5 RTL8187B Configuration register 5.
Operational register FFD8h.
20h TxPower36 Transmit Power Level for 802.11a-defined channel_ID 36
(Center frequency=5180MHz).
21h TxPower40 Transmit Power Level for 802.11a-defined channel_ID 40
(Center frequency=5200MHz).
22h TxPower44 Transmit Power Level for 802.11a-defined channel_ID 44
(Center frequency=5220MHz).
23h TxPower48 Transmit Power Level for 802.11a-defined channel_ID 48
(Center frequency=5240MHz).
24h TxPower52 Transmit Power Level for 802.11a-defined channel_ID 52
(Center frequency=5260MHz).
25h TxPower56 Transmit Power Level for 802.11a-defined channel_ID 56
(Center frequency=5280MHz).
26h TxPower60 Transmit Power Level for 802.11a-defined channel_ID 60
(Center frequency=5300MHz).
27h TxPower64 Transmit Power Level for 802.11a-defined channel_ID 64
(Center frequency=5320MHz).
28h TxPower149 Transmit Power Level for 802.11a-defined channel_ID 149
(Center frequency=5745MHz).
29h TxPower153 Transmit Power Level for 802.11a-defined channel_ID 153
(Center frequency=5765MHz).
2Ah TxPower157 Transmit Power Level for 802.11a-defined channel_ID 157
(Center frequency=5785MHz).
2Bh TxPower161 Transmit Power Level for 802.11a-defined channel_ID 161
(Center frequency=5805MHz).
2Ch TxPower1 Transmit Power Level for 802.11b(g)-defined channel_ID 1
(center frequency=2412MHz).
2Dh TxPower2 Transmit Power Level for 802.11b(g)-defined channel_ID 2
(center frequency=2417MHz).
2Eh TxPower3 Transmit Power Level for 802.11b(g)-defined channel_ID 3
(center frequency=2422MHz).
2Fh TxPower4 Transmit Power Level for 802.11b(g)-defined channel_ID 4
(center frequency=2427MHz).
30h TxPower5 Transmit Power Level for 802.11b(g)-defined channel_ID 5
(center frequency=2432MHz).
31h TxPower6 Transmit Power Level for 802.11b(g)-defined channel_ID 6
(center frequency=2437MHz).
Wireless LAN Network Interface Controller 19 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Bytes Contents Description
32h-35h ANA_PARM2 Analog Parameter 2 for RTL8187B.
Operational registers for the RTL8187B are 60h to 63h.
Reserved. Do not change this field without Realtek approval.
36h TxPower11 Transmit Power Level for 802.11b(g)-defined channel_ID 11
(center frequency=2462MHz).
37h Optional functions Bit[1:0]: Suspend pin behavior.
00b: Default pull high
01b: Default pill low
10b: Functions as a PME# signal
Wireless LAN Network Interface Controller 20 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 21 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 22 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
11.1.1. Transmit
Tx Descriptor Format
Table 27. Tx Descriptor Format
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
O D F L TXRATE R RTSRATE C M S N BSSID TPKTSIZE (12 bits) Offset 0
W M S S (4 bits) T (4 bits) T O P O _NO
N A S S R L _
= E E E C E
1 O N NF P N
K R
C
A
R
G
Y
P
T
L
E Length (15 bits) RTSDUR (16 bits) Offset 4
N
G
E
X
T
TX_BUFFER_ADDRESS Offset 8
DURATION (16 bits) M RSVD Frame_Length (12 bits) Offset 12
I (3 bits)
C
_
C
A
L
NEXT_TX_DESCRIPTOR_ADDRESS Offset 16
RATE_FALL RTS_RATE RSVD P N R RETRY_LIMIT (8 bits) RTSAGC (8 bits) Offset 20
BACK_LIMIT _FALL (4bits) I O T
(5 bits) BACK_LIM F _ _
IT (4 bits) S A D
C B
M
Wireless LAN Network Interface Controller 23 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R SPC A AGC (8 bits) RSVD DELAY_BOUND (16 bits) Offset 24
S N (4bits)
V T
D E
N
N
A
FRAG_QSIZE (16 bits) E E BCKEY (6 bits) P T TPC T R HW Offset 28
N N T P _PO P S Leng
_ _ _ C LAR C V thSel
P B E _ ITY _ D ect
M C N E D
P K N E
D E S
Y E
N
Wireless LAN Network Interface Controller 24 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Offset# Bit# Symbol Description
0 27:24 TXRATE Tx Rate.
These five bits indicate the current frame’s transmission rate.
Bit 27 Bit 26 Bit 25 Bit 24
1Mbps 0 0 0 0
2Mbps 0 0 0 1
5.5Mbps 0 0 1 0
11Mbps 0 0 1 1
6Mbps 0 1 0 0
9Mbps 0 1 0 1
12Mbps 0 1 1 0
18Mbps 0 1 1 1
24Mbps 1 0 0 0
36Mbps 1 0 0 1
48Mbps 1 0 1 0
54Mbps 1 0 1 1
Reserved All other combinations
0 23 RTSEN RTS Enable.
Set to 1 indicates that an RTS/CTS handshake shall be performed at the
beginning of any frame exchange sequence where the frame is of type Data or
Management, the frame has an unicast address in the Address1 field, and the
length of the frame is greater than RTSThreshold.
0 22:19 RTSRATE RTS Rate.
These four bits indicate the RTS frame’s transmission rate before transmitting
the current frame and will be ignored if the RTSEN bit is set to 0.
Bit 22 Bit 21 Bit 20 Bit 19
1Mbps 0 0 0 0
2Mbps 0 0 0 1
5.5Mbps 0 0 1 0
11Mbps 0 0 1 1
6Mbps 0 1 0 0
9Mbps 0 1 0 1
12Mbps 0 1 1 0
18Mbps 0 1 1 1
24Mbps 1 0 0 0
36Mbps 1 0 0 1
48Mbps 1 0 1 0
54Mbps 1 0 1 1
Reserved All other combinations
0 18 CTSEN CTS Enable.
Both RTSEN and CTSEN set to 1 indicates that the CTS-to-self protection
mechanism will be used.
0 17 MOREFRAG More Fragment.
This bit is set to 1 in all data type frames that have another fragment of the
current packet to follow.
0 16 SPLCP Short Physical Layer Convergence Protocol format.
When set, this bit indicates that a short PLCP preamble will be added to the
header before transmitting the frame.
Wireless LAN Network Interface Controller 25 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Offset# Bit# Symbol Description
0 15 NO_ENCRYPT No Encryption.
This packet will be sent out without encryption even if Tx encryption is
enabled.
0 14:12 RSVD Reserved.
0 11:0 TPKTSIZE Transmit Packet Size.
This field indicates the number of bytes required to transmit the frame.
4 31 LENGEXT Length Extension.
This bit is used to supplement the Length field (bits 30:16, offset 4). This bit
will be ignored if the TXRATE is set to 1Mbps, 2Mbps, or 5.5Mbps.
4 30:16 Length PLCP Length: The PLCP length field indicates the number of microseconds
required to transmit the frame.
4 15:0 RTSDUR RTS Duration: These bits indicate the RTS frame’s duration field before
transmitting the current frame and will be ignored if the RTSEN bit is set to 0.
8 31:0 TxBuff 32-bit Transmit Buffer Address.
12 31:16 DURATION Time duration to send this packet plus SIFS and ACK
12 15 MIC_CAL Enable MIC calculation.
12 14:12 RSVD Reserved.
12 11:0 Frame_Length Transmit Frame Length.
This field indicates the length in the Tx buffer, in bytes, to be transmitted.
16 31:0 NTDA 32-bit Address of the Next Transmit Descriptor.
20 31:27 RATE_FALL Data Rate Auto Fallback Limit.
BACK_LIMIT
20 26:23 RTS_RATE_FALL RTS/CTS Rate Auto Fallback Limit.
BACK_LIMIT
20 22:19 RSVD Reserved.
20 18 PIFS Setting this bit will cause this frame be sent after PIFS
20 17 NO_ACM No admission control procedure.
This packet will be sent out without being restricted by admission control
procedures. For example, the management type frames shall be sent using the
access category AC_VO without being restricted by admission control
procedures.
20 16 RT_DB Lifetime limited by RETRY_LIMIT (RT_DB=0) or DELAY_BOUND
(RT_DB=1).
20 15:8 RETRY_LIMIT Retry Count Limit.
20 7:0 RTSAGC Tx RTS AGC.
24 31 RSVD Reserved.
24 30:29 SPC Short preamble count.
00: 10 bits
01: 12 bits
10: 14 bits
11: 16 bits
24 28 ANTENNA Tx Antenna.
24 27:20 AGC Tx AGC.
24 19:16 RSVD Reserved.
24 15:0 DELAY_BOUND DELAY BOUND
Wireless LAN Network Interface Controller 26 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Offset# Bit# Symbol Description
28 31:16 FRAG_QSIZE Fragmentation Queue Size.
Upon sending the first frame of a fragmentation sequence, the driver writes the
queue size of the entire fragmentation exchange (including the first frame)
here. MAC uses this value when counting down TXOP. This field is valid
when TCR (0x40) duration processing fields are set to mode 1 or 2.
28 15 ENPMPD Enable Power Meter Pre-distortion Packet.
28 14 EN_BCKEY Enable broadcast/multicast key search when using Multiple BSSID
28 13:8 BCKEY Specify key to use in CAM for broadcast/multicast.
28 7 PT_EN Enable Power Tracking.
28 6 TPC_EN Enable TPC.
28 5:4 TPC_POLARITY TPC Polarity Select.
00: Neither increment nor decrement.
01: Increment.
10: Decrement.
11: Reserved.
28 3 TPC_DESEN TPC Descriptor AGC Enable.
0: Use the value of register TPC_TXAGC_OFDM as 54MHz TXAGC Base.
1: Use the value of AGC in the same descriptor as 54MHz TXAGC Base.
28 1:0 HWLengthSelect HW Length Select.
00: No Encryption.
01: RC4 Encryption.
10: AES Encryption.
11: Reserved.
11.1.2. Receive
Rx Descriptor Format
Table 29. Rx Descriptor Format
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
O D F L U T Offset 0
W M S S RSVD (11 bits) D O RTS RC Packet RC
N A R K (7 bits) (8 bits)
= _
0 O
K
RSVD Offset 4
TX_BUFFER_ADDRESS Offset 8
MPDUExchangeTime (16 bits) RSVD (4 Frame_Length (12 bits) Offset 12
bits)
NEXT_TX_ DESCRIPTOR _ADDRESS Offset 16
RSVD Offset 20
RSVD Offset 24
RSVD Offset 28
Wireless LAN Network Interface Controller 27 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Table 30. Rx Status Descriptor
Offset# Bit# Symbol Description
0 31 OWN Ownership.
When set, this bit indicates that the descriptor is owned by the NIC. When clear, it
indicates that the descriptor is owned by the host system. The NIC clears this bit
when the related buffer data has been transmitted. In this case, OWN=0.
0 30 DMA_OK DMA Okay.
0 29 FS First Segment Descriptor.
When set, this bit indicates that this is the first descriptor of a Tx packet, and that
this descriptor is pointing to the first segment of the packet.
0 28 LS Last Segment Descriptor.
When set, this bit indicates that this is the last descriptor of a Tx packet, and that
this descriptor is pointing to the last segment of the packet.
0 27:17 RSVD Reserved.
0 16 UDR FIFO underrun during transmission of this packet.
0 15 TOK Transmit (Tx) OK.
Indicates that a packet exchange sequence has completed successfully.
0 14:8 RTS RC RTS Retry Count. The RTS RC’s initial value is 0. It indicates the number of
retries of RTS.
0 7:0 Packet RC Packet Retry Count.
The RC’s initial value is 0. It indicates the number of retries before a packet was
transmitted properly.
4 31:0 RSVD Reserved.
8 31:0 TxBuff 32-bit Transmit Buffer Address.
12 31:16 MPDUExchange MPDUExchangeTime corresponds to the just completed MPDU exchange. The
Time MPDUExchangeTime equals the time required to transmit the MPDU sequence,
i.e., the time required to transmit the MPDU plus the time required to transmit the
expected response frame plus one SIFS.
12 15:12 RSVD Reserved.
12 11:0 Frame_Length Transmit Frame Length.
This field indicates the length in the Tx buffer, in bytes, to be transmitted.
16 31:0 NTDA 32-bit Address of Next Transmit Descriptor.
20 31:0 RSVD Reserved.
24 31:0 RSVD Reserved.
28 31:0 RSVD Reserved.
Wireless LAN Network Interface Controller 28 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
11.2. Rx Command
The RTL8187B supports an Rx command queue to feedback the Tx state and beacon interrupt . When the
Command Type (bit[31:30]) is set to 00b, it indicates Tx Beacon Interrupt. When set to 01b, it indicates Tx
Close Descriptor.
Table 31. Tx Beacon Interrupt
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Cmd RSVD Last Beacon CW
Type
Last Beacon TSF[31:0]
Wireless LAN Network Interface Controller 29 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 30 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 31 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
11.9.3. Rx LED
Blinking of the Rx LED indicates that receive activity is occurring.
Power On
LED = High
Receiving No
Packet?
Yes
Figure 3. Rx LED
Wireless LAN Network Interface Controller 32 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
11.9.4. Tx LED
Blinking of the Tx LED indicates that transmit activity is occurring.
Power On
LED = High
Transmitting No
Packet?
Yes
Figure 4. Tx LED
Power On
LED = High
No
Tx/Rx Packet?
Yes
Wireless LAN Network Interface Controller 33 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Power On
LED = High
No
Link?
Yes
LED = Low
No
Tx/Rx packet?
Yes
Wireless LAN Network Interface Controller 34 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
RTL8187B
External D+
Base
Antenna RF Band
MAC SIE
D-
Devices
Wireless LAN Network Interface Controller 35 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
13.2. DC Characteristics
Table 34. DC Characteristics
Symbol Parameter Conditions Minimum Typical Maximum Units
VDD33 3.3V Supply Voltage 3.0 3.3 3.6 V
VDD15 1.5V Supply Voltage 1.4 1.5 1.6 V
Voh Minimum High Level Output Ioh = -8mA 0.9 * Vcc Vcc V
Voltage
Vol Maximum Low Level Output Iol = 8mA 0.1 * Vcc V
Voltage
Vih Minimum High Level Input Voltage 0.5 * Vcc Vcc+0.5 V
Vil Maximum Low Level Input Voltage -0.5 0.3 * Vcc V
Iin Input Current Vin =Vcc or GND -1.0 1.0 µA
Ioz Tri-State Output Leakage Current Vout =Vcc or GND -10 10 µA
Icc Average Operating Supply Current Iout = 0mA 242 mA
Wireless LAN Network Interface Controller 36 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
13.3. AC Characteristics
13.3.1. Serial EEPROM Interface Timing (93C46(64*16)/93C56(128*16))
EESK
EECS tcs
EEDI (Read) 1 1 0 An A2 A1 A0
(Read)
EEDO High Impedance 0 Dn D1 D0
EESK
EECS tcs
tsk
EESK
tskh tskl tcsh
EECS tcss
tdis tdih
EEDI
tdos tdoh
EEDO (Read)
tsv
EEDO STATUS VALID
(Program)
Wireless LAN Network Interface Controller 37 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 38 Track ID: JATR-1076-21 Rev. 1.0
RTL8187B
Datasheet
Wireless LAN Network Interface Controller 39 Track ID: JATR-1076-21 Rev. 1.0
Test Report
REALTEK SEMICONDUCTOR CORP. Report No. : CE/2005/12075
NO. 2, INDUSTRY E. RD. IX, SCIENCE-BASED INDUSTRIAL Date : 2005/01/20
PARK, HSINCHU 300, TAIWAN Page : 1 of 2
The following merchandise was (were) submitted and identified by the client as :
============================================================================
The content of this PDF file is in accordance with the original issued reports for reference only. This Test Report cannot be reproduced, except in full,
without prior written permission of the Company
SGS TAIWAN LIMITED NO. 136-1, Wu Kung Road, WuKu Industrial Zone, Taipei county, Taiwan.
t(886-2) 22993939 f(886-2) 2299-3237 www.sgs.com.tw
Test Report
REALTEK SEMICONDUCTOR CORP. Report No. : CE/2005/12075
NO. 2, INDUSTRY E. RD. IX, SCIENCE-BASED INDUSTRIAL Date : 2005/01/20
PARK, HSINCHU 300, TAIWAN Page : 2 of 2
Test Result
Result
Test Item (s): Unit Method MDL
No.1
PBBs(Polybrominated % With reference to 0.0005 N.D.
biphenyls)(CAS NO:059536- USEPA3540 or USEPA3550.
65-1) Analysis was performed by
HPLC/DAD, LC/MS or
GC/MS. (prohibited by
2002/95/EC (RoHS),
83/264/EEC, and
76/769/EEC)
PBBEs(PBDEs)(Polybrominat % With reference to 0.0005 N.D.
ed biphenyl ethers) USEPA3540 or USEPA3550.
Analysis was performed by
HPLC/DAD, LC/MS or
GC/MS. (prohibited by
2002/95/EC (RoHS),
83/264/EEC, and
76/769/EEC)
Result
Test Item (s): Unit Method MDL
No.1
Chromium VI (Cr+6) ppm As per US EPA 7196A and 2 N.D.
US EPA 3060A.
Cadmium (Cd) ppm ICP-AES after as per EN 2 N.D.
1122, method B:2001 or
other acid digestion.
Mercury (Hg) ppm ICP-AES after as per US 2 N.D.
EPA 3052 or other acid
digestion.
Lead (Pb) ppm ICP-AES after as per US 2 N.D.
EPA 3050B or other acid
digestion.
The content of this PDF file is in accordance with the original issued reports for reference only. This Test Report cannot be reproduced, except in full,
without prior written permission of the Company
SGS TAIWAN LIMITED NO. 136-1, Wu Kung Road, WuKu Industrial Zone, Taipei county, Taiwan.
t(886-2) 22993939 f(886-2) 2299-3237 www.sgs.com.tw
Federal Communication Commission Interference
Statement
This equipment has been tested and found to comply with the limits for a Class B
digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to
provide reasonable protection against harmful interference in a residential installation.
This equipment generates, uses and can radiate radio frequency energy and, if not
installed and used in accordance with the instructions, may cause harmful interference
to radio communications. However, there is no guarantee that interference will not
occur in a particular installation. If this equipment does cause harmful interference
to radio or television reception, which can be determined by turning the equipment off
and on, the user is encouraged to try to correct the interference by one of the
following measures:
FCC Caution: Any changes or modifications not expressly approved by the party
responsible for compliance could void the user's authority to operate this equipment.
This device complies with Part 15 of the FCC Rules. Operation is subject to the
following two conditions: (1) This device may not cause harmful interference, and (2)
this device must accept any interference received, including interference that may
cause undesired operation.
This device and its antenna(s) must not be co-located or operating in conjunction with
any other antenna or transmitter.
IMPORTANT NOTE:
This module is intended for OEM integrator. The OEM integrator is still responsible
for the FCC compliance requirement of the end prouduct which integrates this
module.
20cm minimum distance has to be able to be maintained between the antenna and
the users for the host this module is integrated into. Under such configuration, the
FCC radiation exposure limits set forth for an population/uncontrolled environment
can be satisfied.
Without Co-located
The antenna (s) used for this transmitter must not be co-located or operating in conjunction with any other
antenna or transmitter.
For product available in the USA/Canada market, only channel 1~11 can be operated.
Selection of other channels is not possible.