Changes between Version 11 and Version 12 of 802.11/MAC/Upper/MACHighFramework/Scheduler
- Timestamp:
- Dec 17, 2015, 11:53:18 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/MAC/Upper/MACHighFramework/Scheduler
v11 v12 7 7 = Scheduler = 8 8 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 ± 102.4ms and fine, for events requiring timing accuracy of ±64µs. Events should be added to the fine schedule only when absolutely necessary to avoid unnecessary overhead.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 ±200.0ms and fine, for events requiring timing accuracy of ±64µs. Events should be added to the fine schedule only when absolutely necessary to avoid unnecessary overhead. 10 10 11 11 == Reference Design Scheduler Use == … … 22 22 23 23 {{{u32 wlan_mac_schedule_event_repeated(u8 scheduler_sel, u32 delay, u32 num_calls, void(*callback)())}}}: 24 * {{{scheduler_sel}}}: select the coarse (± 102.4ms accuracy) or fine (±64µs accuracy) scheduler; must be {{{SCHEDULE_COARSE}}} or {{{SCHEDULE_FINE}}}24 * {{{scheduler_sel}}}: select the coarse (±200.0ms accuracy) or fine (±64µs accuracy) scheduler; must be {{{SCHEDULE_COARSE}}} or {{{SCHEDULE_FINE}}} 25 25 * {{{delay}}}: time in microseconds before {{{callback}}} is called 26 26 * {{{num_calls}}}: number of times the framework should execute the callback or {{{CALL_FOREVER}}} if it should continue executing it until explicitly stopped … … 30 30 31 31 {{{void wlan_mac_remove_schedule(u8 scheduler_sel, u32 id)}}} 32 * {{{scheduler_sel}}}: select the coarse (± 102.4ms accuracy) or fine (±64µs accuracy) scheduler; must be {{{SCHEDULE_COARSE}}} or {{{SCHEDULE_FINE}}}32 * {{{scheduler_sel}}}: select the coarse (±200.0ms accuracy) or fine (±64µs accuracy) scheduler; must be {{{SCHEDULE_COARSE}}} or {{{SCHEDULE_FINE}}} 33 33 * {{{id}}}: event ID previously returned by {{{wlan_mac_schedule_event}}} 34 34