BCM5722 Programmer’s Guide
10/15/07
Broadcom Corporation
Page 163 Wake on LAN Mode/Low-Power Document 5722-PG101-R
Pattern Data Structure
The maximum number of entries in either 10/100 or 1000 mode is 128. The BCM5722 Ethernet controller cannot process a
pattern that requires more than 128 entries. The size of an entry will vary based on 10/100 or 1000 Mbps mode. Additionally,
all unused rows must be initialized with zeros. The WOL hardware cannot process an entry unless unused rows and rules
have been zeroed out (see Figure 63).
Figure 63: Unused Rows and Rules Must Be Initialized with Zeros
Frame patterns are stored as data structures in memory. A control word is always present in a 64 bit entry/row. The control
word describes proceeding data fields in the entry.
In 10/100 Mbps mode, one WOL entry requires three 64-bit wide rows (see Table 76). The total length of an entry is 192
bits. Each 64-bit row contains a 16-bit control word, which identifies byte enables (see Table 77). The remaining 48-bits
contains 2-byte rules. The 2-byte rules are distributed across three streams: S, S+1, and S+2. The next row’s 2-byte rules
will correspond to three more streams: S+3, S+4, and S+5. Both Table 76 and Table 77 use Sx notation to denote separate
comparison streams. The D0 notation indicates the first 2 bytes in the packet stream are compared.
Table 76: 10/100 Mbps Mode Frame Patterns Memory
63 48 47 32 31 16 15 0
CTRL012 S0D0 S1D0 S2D0
CTRL345 S3D0 S4D0 S5D0
CTRL678 S6D0 S7D0 S8D0
USED
00,00 00,00 00,00
00,00 00,00 00,00
Control Stream 1 Stream 2 Stream 3
00,00
00,00
Unused rules are
initialized with 0