# /space/home/slher/rel/Beken/v6_4_5/macsw/modules/ke/src/ke_task.c File Reference

This file contains the implementation of the kernel task management. More...

`#include <stddef.h>`
`#include "co_int.h"`
`#include "co_bool.h"`
`#include "rwnx_config.h"`
`#include "dbg_assert.h"`
`#include "ke_config.h"`
`#include "ke_task.h"`
`#include "ke_env.h"`
`#include "ke_queue.h"`
`#include "ke_event.h"`
`#include "ke_mem.h"`
`#include "dbg.h"`
`#include "mm_task.h"`
`#include "dbg_task.h"`
`#include "scan_task.h"`
`#include "tdls_task.h"`
`#include "scanu_task.h"`
`#include "me_task.h"`
`#include "sm_task.h"`
`#include "bam_task.h"`
`#include "apm_task.h"`
`#include "mesh_task.h"`

Go to the source code of this file.

## Functions
static bool | cmp_dest_id (struct co_list_hdr const *msg, uint32_t dest_id)
| Compare destination task callback.
static void | ke_task_saved_update (ke_task_id_t const ke_task_id)
| Reactivation of saved messages.
void | ke_state_set (ke_task_id_t const id, ke_state_t const state_id)
| Set the state of the task identified by its Task Id.
ke_state_t | ke_state_get (ke_task_id_t const id)
| Retrieve the state of a task.
static ke_msg_func_t | ke_handler_search (ke_msg_id_t const msg_id, struct ke_state_handler const *state_handler)
| Search message handler function matching the msg id.
static ke_msg_func_t | ke_task_handler_get (ke_msg_id_t const msg_id, ke_task_id_t const task_id)
| Retrieve appropriate message handler function of a task.
void | ke_task_schedule (int dummy)
| Task scheduler entry point.
int | ke_msg_discard (ke_msg_id_t const msgid, void const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id)
| Generic message handler to consume message without handling it in the task.
int | ke_msg_save (ke_msg_id_t const msgid, void const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id)
| Generic message handler to consume message without handling it in the task.
## Variables
static struct ke_task_desc | TASK_DESC [TASK_MAX]
| Table grouping the task descriptors.

## Detailed Description

This file contains the implementation of the kernel task management.

Copyright (C) RivieraWaves 2011-2019

Definition in file ke_task.c.