Upload the BSInitialValues
Write 0 to MMIO offset 0x3E6
Turn on the radio (see RadioControl)
Perform a PHYInit
InterferenceCalculation (Default is WLAN Auto)
Set AntennaDiversity
Write the Minimum Contention Window value (default 0x1F for BPHYs, 0xF otherwise) to SHM routing value 0x0002, offset 0x0003
Write the Maximum Contention Window value (default 0x3FF) to SHM routing value 0x0002, offset 0x0004
Set the slot time as required (see SlotTiming)
Initialise the RateMemory
Write the PHY Type to SHM offset 0x52
Write the PHY Revision to SHM offset 0x50
RADAR FIXME
Enable bit 0x100000 in the MicrocodeFlagsBitfield unless we're monitoring in B Compatibility mode
- If we're an AP in Promiscuous mode
Set bit 0x1000000 in the MicrocodeFlagsBitfield
- If we're in monitor mode
Set bits 0x1400000 in the MicrocodeFlagsBitfield
RADAR FIXME
- If this is an A PHY with Wireless core revision 4 or less
Write 0x1D to SHM offset 0x3C
- Otherwise
Write 0x1E to SHM offset 0x3C
- If we're not in Ad-hoc mode and this is an AP
- Otherwise if this is an APHY
- Otherwise
Write FIXME to SHM offset 0x414
Enable FrequencyTracking if desired