| 1 | [[Include(wiki:802.11/beta-note)]] |
| 2 | |
| 3 | [[TracNav(802.11/TOC)]] |
| 4 | |
| 5 | = Scheduler = |
| 6 | |
| 7 | The MAC High Framework has the ability to allow an upper-level MAC to schedule the execution of an arbitrary function at some point in the future. Schedules are broken up into two broad categories: coarse and fine. The coarse scheduler can be used to schedule events with an accuracy of + or - 100ms, while the fine scheduler can be used to schedule events with an accuracy of + or - 100µs. The use of the fine schedule does increase the workload of the processor as it has to poll the scheduled events more often. |
| 8 | |
| 9 | == Example uses of scheduler == |
| 10 | |
| 11 | === Periodic Beacon Transmissions in the Access Point Upper-level MAC === |
| 12 | |
| 13 | The AP implementation periodically transmits a beacon MPDU. It uses the scheduler to periodically call its own function that creates and submits a beacon MPDU to the transmit queue. |
| 14 | |
| 15 | === Timeout during Active Scan process in the Station Upper-level MAC === |
| 16 | |
| 17 | When performing an active scan to look for nearby access points, the station implementation transmits a probe request followed by waiting for probe responses. This wait is implemented via the scheduler. When the scheduler calls the registered callback, the station implementation jumps to a new channel to continue the process. |
| 18 | |
| 19 | === Local Traffic Generation in the MAC High Framework === |
| 20 | |