MAC address filter
This is an indirect access at MMIO offsets 0x420 and 0x422.
Write an address to the MAC Address Filter
Write the desired offset bitwise OR'd with 0x20 to MMIO offset 0x420
Write the MAC address in into MMIO offset 0x422 in 3 16 bit chunks as shown below (the number corresponds with the octet):
1 |
0 |
3 |
2 |
5 |
4 |
Removing an address from the MAC Address Filter
Just clear the address to all zeroes.
Known Offsets and Their Usage
Offset |
Usage |
0 |
Device MAC |
3 |
BSSID (Associated MAC) |
16 |
MAC for key 4 |
19 |
MAC for key 5 |
22 |
MAC for key 6 |
25 |
MAC for key 7 (cf. Security) |
On cores with revision < 5, other indizes seem to be used for WEP mac addresses which seems to include some implicit offsetting scheme so the hardware knows what key is to be used for which station.