MT7620 PROGRAMMING GUIDE
Integrated 802.11n MAC/BBP and 2.4 GHz RF/FEM Router-on-a-Chip
2.20.5 Virtual LAN
2.20.5.1 VLAN Table
Filtering Database
3’h0: Default FID for all MAC addresses
…
3’h7
(1) Service Tag Identification
12-bit Service Tag ID for VLAN translation or Stack VLAN
(2) Service Tag Index
bit[6:4]: Port 0 STAG index
bit[9:7]: Port 1 STAG index
bit[12:10]: Port 2 STAG index
bit[15:13]: Port 3 STAG index
VLAN Member Control
Port 0 -
Bit 0: VID Port Member
…
Port 7 -
Bit 7: VID Port Member
NOTE: Frame dropped through PORT=6’b0.
Service Tag User Priority Value from VLAN Table
Copy User Priority Value from Customer Priority Tag for Service Tag
Per VLAN Egress Tag Control
Enable per-VLAN egress tag attribute by EG_CON and EG_TAG
Egress Tag Consistent
Keep the original ingress tag attribute.
NOTE: When the EG_CON is set, EG_TAG will be invalid for the outgoing frames.
MAC Address Learned by Individual CVID
1'b0: MAC address will be learned by MAC and FID
1'b1: MAC address will be learned by MAC and CVID
Port-based STAG
1'b0: S_TAG1 shows 12-bit VID
1'b1: S_TAG1 and S_TAG2 show 3-bit STAG index on per port.
VLAN Egress Tag Control
Bit.41 to Bit.40 (Port 0) –
2’b00: Untagged
2’b01: Swap
2’b10: Tagged
2’b11: Stack
…
Bit.55 to Bit.54 (Port 7)