Associating
- Set the Channel to the desired channel
Write the MAC address to associate with to MacAddressFilter offset 3
Write the MAC address to associate with to TemplateRam offsets 0x26, 0x7E and 0x47E
Be careful not to clobber the word aligned addresses before these --- Some additional stuff here ---
Disassociating
Set the MAC at MacAddressFilter offset 3 to 0
0 out the BSSID MAC addresses at TemplateRam offsets 0x26, 0x7E and 0x47E
Be careful not to clobber the word aligned addresses before these
If the core revision is < 3
- Otherwise
Write 0x80000000 to MMIO offset 0x188
- If the PHY Type is 1, set the minimum contention window to 0x1F, otherwise, set it to 0xF
- Set the maximum contention window to 0x3FF
- If the current 802.11g mode isn't set to B compatibility mode (G PHYs Only)
- Enable short slot timing