EmmServiceRequestInitiated.c 4.16 KB
Newer Older
Lionel Gauthier's avatar
GPLv3  
Lionel Gauthier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/*******************************************************************************
    OpenAirInterface
    Copyright(c) 1999 - 2014 Eurecom

    OpenAirInterface is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.


    OpenAirInterface is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
Cedric Roux's avatar
 
Cedric Roux committed
15

Lionel Gauthier's avatar
GPLv3  
Lionel Gauthier committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29
    You should have received a copy of the GNU General Public License
    along with OpenAirInterface.The full GNU General Public License is
   included in this distribution in the file called "COPYING". If not,
   see <http://www.gnu.org/licenses/>.

  Contact Information
  OpenAirInterface Admin: openair_admin@eurecom.fr
  OpenAirInterface Tech : openair_tech@eurecom.fr
  OpenAirInterface Dev  : openair4g-devel@eurecom.fr

  Address      : Eurecom, Compus SophiaTech 450, route des chappes, 06451 Biot, France.

 *******************************************************************************/
/*****************************************************************************
30
Source      EmmServiceRequestInitiated.c
Cedric Roux's avatar
 
Cedric Roux committed
31

32
Version     0.1
Cedric Roux's avatar
 
Cedric Roux committed
33

34
Date        2012/10/03
Cedric Roux's avatar
 
Cedric Roux committed
35

36
Product     NAS stack
Cedric Roux's avatar
 
Cedric Roux committed
37

38
Subsystem   EPS Mobility Management
Cedric Roux's avatar
 
Cedric Roux committed
39

40
Author      Frederic Maurel
Cedric Roux's avatar
 
Cedric Roux committed
41

42 43 44
Description Implements the EPS Mobility Management procedures executed
        when the EMM-SAP is in EMM-SERVICE-REQUEST-INITIATED
        state.
Cedric Roux's avatar
 
Cedric Roux committed
45

46 47 48
        In EMM-SERVICE-REQUEST-INITIATED state, the UE has started
        the service request procedure and is waiting for a response
        from the MME.
Cedric Roux's avatar
 
Cedric Roux committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73

*****************************************************************************/

#ifdef NAS_UE

#include "emm_fsm.h"
#include "commonDef.h"
#include "nas_log.h"

#include <assert.h>

/****************************************************************************/
/****************  E X T E R N A L    D E F I N I T I O N S  ****************/
/****************************************************************************/

/****************************************************************************/
/*******************  L O C A L    D E F I N I T I O N S  *******************/
/****************************************************************************/

/****************************************************************************/
/******************  E X P O R T E D    F U N C T I O N S  ******************/
/****************************************************************************/

/****************************************************************************
 **                                                                        **
74
 ** Name:    EmmServiceRequestInitiated()                              **
Cedric Roux's avatar
 
Cedric Roux committed
75 76
 **                                                                        **
 ** Description: Handles the behaviour of the UE while the EMM-SAP is in   **
77
 **       EMM-SERVICE-REQUEST-INITIATED state.                     **
Cedric Roux's avatar
 
Cedric Roux committed
78
 **                                                                        **
79 80
 ** Inputs:  evt:       The received EMM-SAP event                 **
 **      Others:    emm_fsm_status                             **
Cedric Roux's avatar
 
Cedric Roux committed
81
 **                                                                        **
82 83 84
 ** Outputs:     None                                                      **
 **      Return:    RETURNok, RETURNerror                      **
 **      Others:    emm_fsm_status                             **
Cedric Roux's avatar
 
Cedric Roux committed
85 86
 **                                                                        **
 ***************************************************************************/
87
int EmmServiceRequestInitiated(const emm_reg_t *evt)
Cedric Roux's avatar
 
Cedric Roux committed
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
{
    LOG_FUNC_IN;

    assert(emm_fsm_get_status() == EMM_SERVICE_REQUEST_INITIATED);

    /* TODO */

    LOG_FUNC_RETURN (RETURNok);
}

/****************************************************************************/
/*********************  L O C A L    F U N C T I O N S  *********************/
/****************************************************************************/

#endif