# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/umac/src/sm/sm_task.h File Reference

Copyright (C) RivieraWaves 2011-2019. More...

`#include "sm.h"`
`#include "scan.h"`
`#include "ke_task.h"`

Go to the source code of this file.

## Data Structures
struct | sm_connect_req
| Structure containing the parameters of SM_CONNECT_REQ message. More...
struct | sm_connect_cfm
| Structure containing the parameters of the SM_CONNECT_CFM message. More...
struct | sm_connect_ind
| Structure containing the parameters of the SM_CONNECT_IND message. More...
struct | sm_disconnect_req
| Structure containing the parameters of the SM_DISCONNECT_REQ message. More...
struct | sm_disconnect_ind
| Structure containing the parameters of the SM_DISCONNECT_IND message. More...
struct | sm_external_auth_required_ind
| Structure containing the parameters of the SM_EXTERNAL_AUTH_REQUIRED_IND. More...
struct | sm_external_auth_required_rsp
| Structure containing the parameters of the SM_EXTERNAL_AUTH_REQUIRED_RSP. More...
## Defines
#define | SM_IDX_MAX 1
| Task max index number.
#define | SM_ASSOC_IE_LEN 800
| Maximum length of the ASSOC_REQ + ASSOC_RSP information elements forwarded to the host after association.
## Enumerations
enum | sm_state_tag { SM_IDLE, SM_SCANNING, SM_JOINING, SM_STA_ADDING, SM_BSS_PARAM_SETTING, SM_AUTHENTICATING, SM_EXTERNAL_AUTHENTICATING, SM_ASSOCIATING, SM_ACTIVATING, SM_DISCONNECTING, SM_STATE_MAX }
| SM task possible states. More...
enum | sm_msg_tag { SM_CONNECT_REQ = KE_FIRST_MSG(TASK_SM), SM_CONNECT_CFM, SM_CONNECT_IND, SM_DISCONNECT_REQ, SM_DISCONNECT_CFM, SM_DISCONNECT_IND, SM_EXTERNAL_AUTH_REQUIRED_IND, SM_EXTERNAL_AUTH_REQUIRED_RSP, SM_RSP_TIMEOUT_IND }
| Message API of the SM task. More...
## Variables
struct ke_state_handler | sm_default_handler
| Default state handler of the SM task.
ke_state_t | sm_state [SM_IDX_MAX]
| Table including the state of each instance of the SM task.

## Detailed Description

Copyright (C) RivieraWaves 2011-2019.

Declaration of the SM state machine.

Definition in file sm_task.h.