- Unset bit 1 (Beacon Interrupt) of the saved interrupt mask
If the BFL_BCN1 and BFL_BCN2 flags are set in the Reg124BitField, acknowledge any existing Beacon interrupts by writing 2 to MMIO offset 0x128 (the Generic Interrupt Reason register), then prevent additional Beacon Interrups by setting the Beacon interrupt flag in the saved interupt mask, then return
Generate the Beacon Frame Template (For more information on the Beacon Frame Format, see IEEE-802.11b-1999, section 7.2.3.1)
If the BFL_BCN1 flag is off in the Reg124BitField
Write the beacon frame template to TemplateRam offset 0x68
Write the size of the packet to SHM offset 0x18
Set the BFL_BCN1 flag in the Reg124BitField
If the BFL_BCN2 flag is off in the Reg124BitField
Write the beacon frame template to TemplateRam offset 0x468
Write the size of the packet to SHM offset 0x1A
Set the BFL_BCN2 flag in the Reg124BitField