{{{#!comment [[Include(wiki:802.11/beta-note)]] }}} [[TracNav(802.11/TOC)]] = Scheduler = The MAC High Framework provides a scheduler which enables future or periodic execution of arbitrary functions. The scheduler implements two sub-schedules: coarse, for occasional execution with timing accuracy of ±100ms and fine, for events requiring timing accuracy of ±100µs. Events should be added to the fine schedule only when absolutely necessary to avoid unnecessary overhead. == Example uses of scheduler == '''Beacons''': the AP implementation uses the scheduler to periodically transmit beacon frames. This scheduler callback creates a new beacon frame and adds it the broadcast transmit queue. '''Active Scan Timeout''': the STA implementation uses the coarse scheduler to set a timeout when waiting for probe responses. This scheduler callback changes the node's center frequency to continue the search for the desired AP. '''Local Traffic Generation''': the [wiki:../LTG LTG framework] uses the scheduler to create arbitrary traffic according to the programmed inter-packet intervals