Changes between Version 7 and Version 8 of 802.11/MAC/Upper/MACHighFramework/Scheduler


Ignore:
Timestamp:
Apr 4, 2014, 5:27:26 PM (10 years ago)
Author:
chunter
Comment:

--

Legend:

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

    v7 v8  
    2121User code interacts with the scheduler via the following functions:
    2222
    23 {{{u32 wlan_mac_schedule_event(u8 scheduler_sel, u32 delay, void(*callback)())}}}:
     23{{{u32 wlan_mac_schedule_event_repeated(u8 scheduler_sel, u32 delay, u32 num_calls, void(*callback)())}}}:
    2424 * {{{scheduler_sel}}}: select the coarse (±100ms accuracy) or fine (±100µs accuracy) scheduler; must be {{{SCHEDULE_COARSE}}} or {{{SCHEDULE_FINE}}}
    2525 * {{{delay}}}: time in microseconds before {{{callback}}} is called
     26 * {{{num_calls}}}: number of times the framework should execute the callback or {{{CALL_FOREVER}}} if it should continue executing it until explicitly stopped
    2627 * {{{callback}}}: function pointer to callback to execute after {{{delay}}} µs
    2728 * Returns u32 {{{id}}} for new scheduler entry or {{{SCHEDULE_FAILURE}}} on failure