Bringing the Network Device "up"
PowerControl - Set Crystal On
Set the PowerControl Clock to Fast
Setup this core to recieve Interrupts (See BackPlane "Making an I/O Core Usable")
- If the Radio is either hardware disabled or software disabled
PowerControl - Set Crystal Off and abort
- If the 802.11 core isn't active, switch to the 802.11 core
- Loop over all of the 802.11 cores (Max 2, counted as 0 and 1)
If the core is not enabled (see BackPlane), do a 80211CoreReset, requesting the PHY to be connected on and only on the first loop iteration (corresponding to the first core) if there are two cores, and request the PHY to be connected if PHYConnected is true if there's only one core to use.
If this isn't the current 802.11 core, make it inactive (80211CoreInactive)
Perform an 80211Init
- If there are 2 or more 802.11 cores
- Turn Interrupts off
- Turn off the radio
- Otherwise, break from the loop
If we have 2 or more 802.11 cores, pick the one we'd like to use and EnableMAC
- Turn the interrupts on
Set the PowerControl Clock to Dynamic