summaryrefslogtreecommitdiff
path: root/cp2/sta/action/action.h
blob: 6182b6596454194937127fb444599ff8d197bfdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef cp_sta_action_action_h
#define cp_sta_action_action_h
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cp/sta/action/action.h
 * \brief   STA action.
 * \ingroup cp_sta
 *
 * This module implements actions defined in the FSM and actions corresponding
 * to MME reception.
 */
#include "cp/sta/action/assoc.h"
#include "cp/sta/action/key.h"
#include "cp/sta/action/misc.h"

BEGIN_DECLS

/**
 * Process a CM_UNASSOCIATED_STA.IND, 11.5.1.
 * \param  ctx  control plane context
 * \param  mme  received MME handle
 * \param  nid  NID the STA try to associate with
 * \param  cco_cap  CCo capabilities of the sending STA
 *
 * Update the STA list and if should become CCo, post an event to do so.
 *
 * Need:
 *  - our NID
 *
 * Update:
 *  - STA mgr.
 */
void
cp_sta_action_process_cm_unassociated_sta_ind (cp_t *ctx, cp_mme_t *mme,
                                               cp_nid_t nid,
                                               cp_cco_cap_t cco_cap);

END_DECLS

#endif /* cp_sta_action_action_h */