Changes between Version 11 and Version 12 of 802.11/MAC/Upper/MACHighFramework/Scheduler


Ignore:
Timestamp:
Dec 17, 2015, 11:53:18 AM (8 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/MAC/Upper/MACHighFramework/Scheduler

    v11 v12  
    77= Scheduler =
    88
    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.
     9The 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.
    1010
    1111== Reference Design Scheduler Use ==
     
    2222
    2323{{{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}}}
    2525 * {{{delay}}}: time in microseconds before {{{callback}}} is called
    2626 * {{{num_calls}}}: number of times the framework should execute the callback or {{{CALL_FOREVER}}} if it should continue executing it until explicitly stopped
     
    3030
    3131{{{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}}}
    3333 * {{{id}}}: event ID previously returned by {{{wlan_mac_schedule_event}}}
    3434