Changes between Version 4 and Version 5 of 802.11/MAC/Upper/MACHighFramework/Scheduler
- Timestamp:
- Dec 2, 2013, 8:02:13 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/MAC/Upper/MACHighFramework/Scheduler
v4 v5 7 7 = Scheduler = 8 8 9 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.9 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. 10 10 11 11 == Example uses of scheduler == 12 12 13 === Periodic Beacon Transmissions in the Access Point Upper-level MAC === 13 '''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. 14 14 15 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.15 '''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. 16 16 17 === Timeout during Active Scan process in the Station Upper-level MAC === 17 '''Local Traffic Generation''': the [wiki:../LTG LTG framework] uses the scheduler to create arbitrary traffic according to the programmed inter-packet intervals 18 18 19 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.20 19 21 === Local Traffic Generation in the MAC High Framework ===22 23 Internally, the [wiki:../LTG Local Traffic Generator] uses the same scheduler to generate different traffic patterns.