Files
openairinterface5g/openair3/NAS/UE/EMM/SAP/emm_as.c
T
Cedric Roux db3c2b4d71 add licensing info at top of source files
only .c, .h and .cpp processed.

 Changes to be committed:
	modified:   common/utils/asn1_conversions.h
	modified:   common/utils/assertions.h
	modified:   common/utils/itti/assertions.h
	modified:   common/utils/itti/backtrace.c
	modified:   common/utils/itti/backtrace.h
	modified:   common/utils/itti/intertask_interface.c
	modified:   common/utils/itti/intertask_interface.h
	modified:   common/utils/itti/intertask_interface_dump.c
	modified:   common/utils/itti/intertask_interface_dump.h
	modified:   common/utils/itti/intertask_interface_init.h
	modified:   common/utils/itti/intertask_interface_types.h
	modified:   common/utils/itti/intertask_messages_def.h
	modified:   common/utils/itti/intertask_messages_types.h
	modified:   common/utils/itti/itti_types.h
	modified:   common/utils/itti/memory_pools.c
	modified:   common/utils/itti/memory_pools.h
	modified:   common/utils/itti/messages_def.h
	modified:   common/utils/itti/messages_types.h
	modified:   common/utils/itti/signals.c
	modified:   common/utils/itti/signals.h
	modified:   common/utils/itti/tasks_def.h
	modified:   common/utils/itti/timer.c
	modified:   common/utils/itti/timer.h
	modified:   common/utils/itti/timer_messages_def.h
	modified:   common/utils/itti/timer_messages_types.h
	modified:   common/utils/itti_analyzer/common/itti_types.h
	modified:   common/utils/itti_analyzer/common/logs.h
	modified:   common/utils/itti_analyzer/common/rc.h
	modified:   common/utils/itti_analyzer/itti_analyzer.c
	modified:   common/utils/itti_analyzer/libbuffers/buffers.c
	modified:   common/utils/itti_analyzer/libbuffers/buffers.h
	modified:   common/utils/itti_analyzer/libbuffers/file.c
	modified:   common/utils/itti_analyzer/libbuffers/file.h
	modified:   common/utils/itti_analyzer/libbuffers/socket.c
	modified:   common/utils/itti_analyzer/libbuffers/socket.h
	modified:   common/utils/itti_analyzer/libparser/array_type.c
	modified:   common/utils/itti_analyzer/libparser/array_type.h
	modified:   common/utils/itti_analyzer/libparser/enum_type.c
	modified:   common/utils/itti_analyzer/libparser/enum_type.h
	modified:   common/utils/itti_analyzer/libparser/enum_value_type.c
	modified:   common/utils/itti_analyzer/libparser/enum_value_type.h
	modified:   common/utils/itti_analyzer/libparser/field_type.c
	modified:   common/utils/itti_analyzer/libparser/field_type.h
	modified:   common/utils/itti_analyzer/libparser/file_type.c
	modified:   common/utils/itti_analyzer/libparser/file_type.h
	modified:   common/utils/itti_analyzer/libparser/fundamental_type.c
	modified:   common/utils/itti_analyzer/libparser/fundamental_type.h
	modified:   common/utils/itti_analyzer/libparser/intertask_contexts.h
	modified:   common/utils/itti_analyzer/libparser/pointer_type.c
	modified:   common/utils/itti_analyzer/libparser/pointer_type.h
	modified:   common/utils/itti_analyzer/libparser/reference_type.c
	modified:   common/utils/itti_analyzer/libparser/reference_type.h
	modified:   common/utils/itti_analyzer/libparser/struct_type.c
	modified:   common/utils/itti_analyzer/libparser/struct_type.h
	modified:   common/utils/itti_analyzer/libparser/typedef_type.c
	modified:   common/utils/itti_analyzer/libparser/typedef_type.h
	modified:   common/utils/itti_analyzer/libparser/types.c
	modified:   common/utils/itti_analyzer/libparser/types.h
	modified:   common/utils/itti_analyzer/libparser/union_type.c
	modified:   common/utils/itti_analyzer/libparser/union_type.h
	modified:   common/utils/itti_analyzer/libparser/xml_parse.c
	modified:   common/utils/itti_analyzer/libparser/xml_parse.h
	modified:   common/utils/itti_analyzer/libresolver/locate_root.c
	modified:   common/utils/itti_analyzer/libresolver/locate_root.h
	modified:   common/utils/itti_analyzer/libresolver/resolvers.c
	modified:   common/utils/itti_analyzer/libresolver/resolvers.h
	modified:   common/utils/itti_analyzer/libui/ui_callbacks.c
	modified:   common/utils/itti_analyzer/libui/ui_callbacks.h
	modified:   common/utils/itti_analyzer/libui/ui_filters.c
	modified:   common/utils/itti_analyzer/libui/ui_filters.h
	modified:   common/utils/itti_analyzer/libui/ui_interface.c
	modified:   common/utils/itti_analyzer/libui/ui_interface.h
	modified:   common/utils/itti_analyzer/libui/ui_main_screen.c
	modified:   common/utils/itti_analyzer/libui/ui_main_screen.h
	modified:   common/utils/itti_analyzer/libui/ui_menu_bar.c
	modified:   common/utils/itti_analyzer/libui/ui_menu_bar.h
	modified:   common/utils/itti_analyzer/libui/ui_notebook.c
	modified:   common/utils/itti_analyzer/libui/ui_notebook.h
	modified:   common/utils/itti_analyzer/libui/ui_notif_dlg.c
	modified:   common/utils/itti_analyzer/libui/ui_notif_dlg.h
	modified:   common/utils/itti_analyzer/libui/ui_notifications.c
	modified:   common/utils/itti_analyzer/libui/ui_notifications.h
	modified:   common/utils/itti_analyzer/libui/ui_signal_dissect_view.c
	modified:   common/utils/itti_analyzer/libui/ui_signal_dissect_view.h
	modified:   common/utils/itti_analyzer/libui/ui_tree_view.c
	modified:   common/utils/itti_analyzer/libui/ui_tree_view.h
	modified:   common/utils/msc/msc.c
	modified:   common/utils/msc/msc.h
	modified:   openair1/PHY/CODING/3gpplte.c
	modified:   openair1/PHY/CODING/3gpplte_sse.c
	modified:   openair1/PHY/CODING/3gpplte_turbo_decoder.c
	modified:   openair1/PHY/CODING/3gpplte_turbo_decoder_avx2_16bit.c
	modified:   openair1/PHY/CODING/3gpplte_turbo_decoder_sse.c
	modified:   openair1/PHY/CODING/3gpplte_turbo_decoder_sse_16bit.c
	modified:   openair1/PHY/CODING/3gpplte_turbo_decoder_sse_8bit.c
	modified:   openair1/PHY/CODING/TESTBENCH/ltetest.c
	modified:   openair1/PHY/CODING/TESTBENCH/pdcch_test.c
	modified:   openair1/PHY/CODING/TESTBENCH/viterbi_test.c
	modified:   openair1/PHY/CODING/ccoding_byte.c
	modified:   openair1/PHY/CODING/ccoding_byte_lte.c
	modified:   openair1/PHY/CODING/crc_byte.c
	modified:   openair1/PHY/CODING/defs.h
	modified:   openair1/PHY/CODING/extern.h
	modified:   openair1/PHY/CODING/extern_3GPPinterleaver.h
	modified:   openair1/PHY/CODING/lte_interleaver.h
	modified:   openair1/PHY/CODING/lte_interleaver2.h
	modified:   openair1/PHY/CODING/lte_interleaver_inline.h
	modified:   openair1/PHY/CODING/lte_rate_matching.c
	modified:   openair1/PHY/CODING/lte_segmentation.c
	modified:   openair1/PHY/CODING/rate_matching.c
	modified:   openair1/PHY/CODING/scrambler.h
	modified:   openair1/PHY/CODING/vars.h
	modified:   openair1/PHY/CODING/viterbi.c
	modified:   openair1/PHY/CODING/viterbi_lte.c
	modified:   openair1/PHY/INIT/defs.h
	modified:   openair1/PHY/INIT/extern.h
	modified:   openair1/PHY/INIT/init_top.c
	modified:   openair1/PHY/INIT/lte_init.c
	modified:   openair1/PHY/INIT/lte_param_init.c
	modified:   openair1/PHY/INIT/lte_parms.c
	modified:   openair1/PHY/INIT/vars.h
	modified:   openair1/PHY/LTE_ESTIMATION/adjust_gain.c
	modified:   openair1/PHY/LTE_ESTIMATION/defs.h
	modified:   openair1/PHY/LTE_ESTIMATION/extern.h
	modified:   openair1/PHY/LTE_ESTIMATION/filt96_32.h
	modified:   openair1/PHY/LTE_ESTIMATION/freq_equalization.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_adjust_sync.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation_emos.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_dl_mbsfn_channel_estimation.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_eNB_measurements.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_est_freq_offset.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_sync_time.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_sync_timefreq.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
	modified:   openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
	modified:   openair1/PHY/LTE_ESTIMATION/pss6144.h
	modified:   openair1/PHY/LTE_ESTIMATION/vars.h
	modified:   openair1/PHY/LTE_REFSIG/defs.h
	modified:   openair1/PHY/LTE_REFSIG/lte_dl_cell_spec.c
	modified:   openair1/PHY/LTE_REFSIG/lte_dl_mbsfn.c
	modified:   openair1/PHY/LTE_REFSIG/lte_dl_uespec.c
	modified:   openair1/PHY/LTE_REFSIG/lte_gold.c
	modified:   openair1/PHY/LTE_REFSIG/lte_gold_mbsfn.c
	modified:   openair1/PHY/LTE_REFSIG/lte_ul_ref.c
	modified:   openair1/PHY/LTE_REFSIG/mod_table.h
	modified:   openair1/PHY/LTE_REFSIG/primary_synch.h
	modified:   openair1/PHY/LTE_TRANSPORT/dci.c
	modified:   openair1/PHY/LTE_TRANSPORT/dci.h
	modified:   openair1/PHY/LTE_TRANSPORT/dci_tools.c
	modified:   openair1/PHY/LTE_TRANSPORT/defs.h
	modified:   openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
	modified:   openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
	modified:   openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
	modified:   openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
	modified:   openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
	modified:   openair1/PHY/LTE_TRANSPORT/dlsch_scrambling.c
	modified:   openair1/PHY/LTE_TRANSPORT/dlsch_tbs.h
	modified:   openair1/PHY/LTE_TRANSPORT/dlsch_tbs_full.h
	modified:   openair1/PHY/LTE_TRANSPORT/drs_modulation.c
	modified:   openair1/PHY/LTE_TRANSPORT/extern.h
	modified:   openair1/PHY/LTE_TRANSPORT/group_hopping.c
	modified:   openair1/PHY/LTE_TRANSPORT/if4_tools.c
	modified:   openair1/PHY/LTE_TRANSPORT/if4_tools.h
	modified:   openair1/PHY/LTE_TRANSPORT/if5_tools.c
	modified:   openair1/PHY/LTE_TRANSPORT/if5_tools.h
	modified:   openair1/PHY/LTE_TRANSPORT/initial_sync.c
	modified:   openair1/PHY/LTE_TRANSPORT/lte_mcs.c
	modified:   openair1/PHY/LTE_TRANSPORT/mcs_tbs_tools.h
	modified:   openair1/PHY/LTE_TRANSPORT/pbch.c
	modified:   openair1/PHY/LTE_TRANSPORT/pcfich.c
	modified:   openair1/PHY/LTE_TRANSPORT/pch.c
	modified:   openair1/PHY/LTE_TRANSPORT/phich.c
	modified:   openair1/PHY/LTE_TRANSPORT/pilots.c
	modified:   openair1/PHY/LTE_TRANSPORT/pilots_mbsfn.c
	modified:   openair1/PHY/LTE_TRANSPORT/pmch.c
	modified:   openair1/PHY/LTE_TRANSPORT/power_control.c
	modified:   openair1/PHY/LTE_TRANSPORT/prach.c
	modified:   openair1/PHY/LTE_TRANSPORT/prach.h
	modified:   openair1/PHY/LTE_TRANSPORT/print_stats.c
	modified:   openair1/PHY/LTE_TRANSPORT/proto.h
	modified:   openair1/PHY/LTE_TRANSPORT/pss.c
	modified:   openair1/PHY/LTE_TRANSPORT/pucch.c
	modified:   openair1/PHY/LTE_TRANSPORT/rar_tools.c
	modified:   openair1/PHY/LTE_TRANSPORT/srs_modulation.c
	modified:   openair1/PHY/LTE_TRANSPORT/sss.c
	modified:   openair1/PHY/LTE_TRANSPORT/sss.h
	modified:   openair1/PHY/LTE_TRANSPORT/uci.h
	modified:   openair1/PHY/LTE_TRANSPORT/uci_tools.c
	modified:   openair1/PHY/LTE_TRANSPORT/ulsch_coding.c
	modified:   openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
	modified:   openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c
	modified:   openair1/PHY/LTE_TRANSPORT/ulsch_modulation.c
	modified:   openair1/PHY/LTE_TRANSPORT/vars.h
	modified:   openair1/PHY/MODULATION/defs.h
	modified:   openair1/PHY/MODULATION/extern.h
	modified:   openair1/PHY/MODULATION/kHz_7_5.h
	modified:   openair1/PHY/MODULATION/ofdm_mod.c
	modified:   openair1/PHY/MODULATION/prach625Hz.h
	modified:   openair1/PHY/MODULATION/slot_fep.c
	modified:   openair1/PHY/MODULATION/slot_fep_mbsfn.c
	modified:   openair1/PHY/MODULATION/slot_fep_ul.c
	modified:   openair1/PHY/MODULATION/ul_7_5_kHz.c
	modified:   openair1/PHY/MODULATION/vars.h
	modified:   openair1/PHY/TOOLS/8bit_rxdemux.c
	modified:   openair1/PHY/TOOLS/8bit_txmux.c
	modified:   openair1/PHY/TOOLS/alaw_lut.h
	modified:   openair1/PHY/TOOLS/angle.c
	modified:   openair1/PHY/TOOLS/cadd_sv.c
	modified:   openair1/PHY/TOOLS/cadd_vv.c
	modified:   openair1/PHY/TOOLS/cdot_prod.c
	modified:   openair1/PHY/TOOLS/cmult_sv.c
	modified:   openair1/PHY/TOOLS/cmult_vv.c
	modified:   openair1/PHY/TOOLS/costable.h
	modified:   openair1/PHY/TOOLS/dB_routines.c
	modified:   openair1/PHY/TOOLS/dB_routines.h
	modified:   openair1/PHY/TOOLS/defs.h
	modified:   openair1/PHY/TOOLS/extern.h
	modified:   openair1/PHY/TOOLS/file_output.c
	modified:   openair1/PHY/TOOLS/invSqrt.c
	modified:   openair1/PHY/TOOLS/log2_approx.c
	modified:   openair1/PHY/TOOLS/lte_dfts.c
	modified:   openair1/PHY/TOOLS/lte_phy_scope.c
	modified:   openair1/PHY/TOOLS/lte_phy_scope.h
	modified:   openair1/PHY/TOOLS/lut.c
	modified:   openair1/PHY/TOOLS/memory_routines.c
	modified:   openair1/PHY/TOOLS/signal_energy.c
	modified:   openair1/PHY/TOOLS/smbv.c
	modified:   openair1/PHY/TOOLS/smbv.h
	modified:   openair1/PHY/TOOLS/sqrt.c
	modified:   openair1/PHY/TOOLS/time_meas.c
	modified:   openair1/PHY/TOOLS/time_meas.h
	modified:   openair1/PHY/TOOLS/twiddle12288.h
	modified:   openair1/PHY/TOOLS/twiddle1536.h
	modified:   openair1/PHY/TOOLS/twiddle24576.h
	modified:   openair1/PHY/TOOLS/twiddle6144.h
	modified:   openair1/PHY/TOOLS/twiddles4096.h
	modified:   openair1/PHY/TOOLS/twiddles8192.h
	modified:   openair1/PHY/TOOLS/vars.h
	modified:   openair1/PHY/defs.h
	modified:   openair1/PHY/extern.h
	modified:   openair1/PHY/impl_defs_lte.h
	modified:   openair1/PHY/impl_defs_top.h
	modified:   openair1/PHY/sse_intrin.h
	modified:   openair1/PHY/types.h
	modified:   openair1/PHY/vars.h
	modified:   openair1/SCHED/defs.h
	modified:   openair1/SCHED/extern.h
	modified:   openair1/SCHED/phy_mac_stub.c
	modified:   openair1/SCHED/phy_procedures_emos.h
	modified:   openair1/SCHED/phy_procedures_lte_common.c
	modified:   openair1/SCHED/phy_procedures_lte_eNb.c
	modified:   openair1/SCHED/phy_procedures_lte_ue.c
	modified:   openair1/SCHED/pucch_pc.c
	modified:   openair1/SCHED/pusch_pc.c
	modified:   openair1/SCHED/rt_compat.h
	modified:   openair1/SCHED/vars.h
	modified:   openair1/SIMULATION/ETH_TRANSPORT/bypass_session_layer.c
	modified:   openair1/SIMULATION/ETH_TRANSPORT/defs.h
	modified:   openair1/SIMULATION/ETH_TRANSPORT/emu_transport.c
	modified:   openair1/SIMULATION/ETH_TRANSPORT/extern.h
	modified:   openair1/SIMULATION/ETH_TRANSPORT/multicast_link.c
	modified:   openair1/SIMULATION/ETH_TRANSPORT/multicast_link.h
	modified:   openair1/SIMULATION/ETH_TRANSPORT/netlink_init.c
	modified:   openair1/SIMULATION/ETH_TRANSPORT/pgm_link.c
	modified:   openair1/SIMULATION/ETH_TRANSPORT/pgm_link.h
	modified:   openair1/SIMULATION/ETH_TRANSPORT/proto.h
	modified:   openair1/SIMULATION/ETH_TRANSPORT/socket.c
	modified:   openair1/SIMULATION/ETH_TRANSPORT/socket.h
	modified:   openair1/SIMULATION/ETH_TRANSPORT/vars.h
	modified:   openair1/SIMULATION/LTE_PHY/LTE_Configuration.c
	modified:   openair1/SIMULATION/LTE_PHY/LTE_Configuration.h
	modified:   openair1/SIMULATION/LTE_PHY/dlsim.c
	modified:   openair1/SIMULATION/LTE_PHY/framegen.c
	modified:   openair1/SIMULATION/LTE_PHY/gpib_send.c
	modified:   openair1/SIMULATION/LTE_PHY/gpib_send.h
	modified:   openair1/SIMULATION/LTE_PHY/mbmssim.c
	modified:   openair1/SIMULATION/LTE_PHY/pbchsim.c
	modified:   openair1/SIMULATION/LTE_PHY/pdcchsim.c
	modified:   openair1/SIMULATION/LTE_PHY/prachsim.c
	modified:   openair1/SIMULATION/LTE_PHY/pucchsignalgegerator.h
	modified:   openair1/SIMULATION/LTE_PHY/pucchsignalgenerator.c
	modified:   openair1/SIMULATION/LTE_PHY/pucchsim.c
	modified:   openair1/SIMULATION/LTE_PHY/scansim.c
	modified:   openair1/SIMULATION/LTE_PHY/signalanalyzer.c
	modified:   openair1/SIMULATION/LTE_PHY/signalanalyzer.h
	modified:   openair1/SIMULATION/LTE_PHY/syncsim.c
	modified:   openair1/SIMULATION/LTE_PHY/test.c
	modified:   openair1/SIMULATION/LTE_PHY/ulsignalgenerator.c
	modified:   openair1/SIMULATION/LTE_PHY/ulsignalgenerator.h
	modified:   openair1/SIMULATION/LTE_PHY/ulsim.c
	modified:   openair1/SIMULATION/LTE_PHY/ulsim2.c
	modified:   openair1/SIMULATION/LTE_PHY/unitary_defs.h
	modified:   openair1/SIMULATION/RF/adc.c
	modified:   openair1/SIMULATION/RF/dac.c
	modified:   openair1/SIMULATION/RF/defs.h
	modified:   openair1/SIMULATION/RF/rf.c
	modified:   openair1/SIMULATION/TOOLS/abstraction.c
	modified:   openair1/SIMULATION/TOOLS/ch_desc_proto.c
	modified:   openair1/SIMULATION/TOOLS/defs.h
	modified:   openair1/SIMULATION/TOOLS/gauss.c
	modified:   openair1/SIMULATION/TOOLS/llr_quantization.c
	modified:   openair1/SIMULATION/TOOLS/multipath_channel.c
	modified:   openair1/SIMULATION/TOOLS/multipath_tv_channel.c
	modified:   openair1/SIMULATION/TOOLS/random_channel.c
	modified:   openair1/SIMULATION/TOOLS/rangen_double.c
	modified:   openair1/SIMULATION/TOOLS/scm_corrmat.h
	modified:   openair1/SIMULATION/TOOLS/taus.c
	modified:   openair2/COMMON/as_message.h
	modified:   openair2/COMMON/commonDef.h
	modified:   openair2/COMMON/gtpv1_u_messages_def.h
	modified:   openair2/COMMON/gtpv1_u_messages_types.h
	modified:   openair2/COMMON/intertask_interface_conf.h
	modified:   openair2/COMMON/mac_messages_def.h
	modified:   openair2/COMMON/mac_messages_types.h
	modified:   openair2/COMMON/mac_primitives.h
	modified:   openair2/COMMON/mac_rlc_primitives.h
	modified:   openair2/COMMON/mac_rrc_primitives.h
	modified:   openair2/COMMON/messages_def.h
	modified:   openair2/COMMON/messages_types.h
	modified:   openair2/COMMON/nas_messages_def.h
	modified:   openair2/COMMON/nas_messages_types.h
	modified:   openair2/COMMON/networkDef.h
	modified:   openair2/COMMON/openair_defs.h
	modified:   openair2/COMMON/openair_types.h
	modified:   openair2/COMMON/pdcp_messages_def.h
	modified:   openair2/COMMON/pdcp_messages_types.h
	modified:   openair2/COMMON/phy_messages_def.h
	modified:   openair2/COMMON/phy_messages_types.h
	modified:   openair2/COMMON/platform_constants.h
	modified:   openair2/COMMON/platform_types.h
	modified:   openair2/COMMON/ral_messages_def.h
	modified:   openair2/COMMON/ral_messages_types.h
	modified:   openair2/COMMON/rlc_messages_def.h
	modified:   openair2/COMMON/rlc_messages_types.h
	modified:   openair2/COMMON/rrc_messages_def.h
	modified:   openair2/COMMON/rrc_messages_types.h
	modified:   openair2/COMMON/rrm_config_structs.h
	modified:   openair2/COMMON/rrm_constants.h
	modified:   openair2/COMMON/rtos_header.h
	modified:   openair2/COMMON/s1ap_messages_def.h
	modified:   openair2/COMMON/s1ap_messages_types.h
	modified:   openair2/COMMON/sctp_messages_def.h
	modified:   openair2/COMMON/sctp_messages_types.h
	modified:   openair2/COMMON/tasks_def.h
	modified:   openair2/COMMON/udp_messages_def.h
	modified:   openair2/COMMON/udp_messages_types.h
	modified:   openair2/COMMON/x2ap_messages_def.h
	modified:   openair2/COMMON/x2ap_messages_types.h
	modified:   openair2/DOCS/TEMPLATES/CODE/example_doxy.h
	modified:   openair2/ENB_APP/enb_app.c
	modified:   openair2/ENB_APP/enb_app.h
	modified:   openair2/ENB_APP/enb_config.c
	modified:   openair2/ENB_APP/enb_config.h
	modified:   openair2/LAYER2/MAC/config.c
	modified:   openair2/LAYER2/MAC/defs.h
	modified:   openair2/LAYER2/MAC/eNB_scheduler.c
	modified:   openair2/LAYER2/MAC/eNB_scheduler_RA.c
	modified:   openair2/LAYER2/MAC/eNB_scheduler_bch.c
	modified:   openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
	modified:   openair2/LAYER2/MAC/eNB_scheduler_mch.c
	modified:   openair2/LAYER2/MAC/eNB_scheduler_primitives.c
	modified:   openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
	modified:   openair2/LAYER2/MAC/extern.h
	modified:   openair2/LAYER2/MAC/l1_helpers.c
	modified:   openair2/LAYER2/MAC/lte_transport_init.c
	modified:   openair2/LAYER2/MAC/main.c
	modified:   openair2/LAYER2/MAC/openair2_proc.c
	modified:   openair2/LAYER2/MAC/pre_processor.c
	modified:   openair2/LAYER2/MAC/proto.h
	modified:   openair2/LAYER2/MAC/ra_procedures.c
	modified:   openair2/LAYER2/MAC/rar_tools.c
	modified:   openair2/LAYER2/MAC/ue_procedures.c
	modified:   openair2/LAYER2/MAC/vars.h
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp.h
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_control_primitive.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_control_primitives_proto_extern.h
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_netlink.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_primitives.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_primitives.h
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_proto_extern.h
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_security.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_sequence_manager.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_sequence_manager.h
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_thread.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_util.c
	modified:   openair2/LAYER2/PDCP_v10.1.0/pdcp_util.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_constants.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_entity.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_in_sdu.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_in_sdu.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_init.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_init.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_proto_extern.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_reassembly.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_reassembly.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_receiver.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_receiver.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_retransmit.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_retransmit.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_rx_list.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_rx_list.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segment.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segment.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segments_holes.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segments_holes.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_status_report.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_status_report.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_structs.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_test.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_test.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_timer_poll_retransmit.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_timer_poll_retransmit.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_timer_reordering.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_timer_reordering.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_timer_status_prohibit.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_timer_status_prohibit.h
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_windows.c
	modified:   openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_windows.h
	modified:   openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm.c
	modified:   openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm.h
	modified:   openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm_entity.h
	modified:   openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm_init.c
	modified:   openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm_init.h
	modified:   openair2/LAYER2/RLC/TM_v9.3.0/rlc_tm_structs.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_constants.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_control_primitives.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_control_primitives.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_entity.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_fsm.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_fsm.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_reassembly.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_reassembly.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_receiver.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_receiver.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_segment.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_segment.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_structs.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_test.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_test.h
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_very_simple_test.c
	modified:   openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_very_simple_test.h
	modified:   openair2/LAYER2/RLC/mac_primitives.h
	modified:   openair2/LAYER2/RLC/rlc.c
	modified:   openair2/LAYER2/RLC/rlc.h
	modified:   openair2/LAYER2/RLC/rlc_def.h
	modified:   openair2/LAYER2/RLC/rlc_def_lte.h
	modified:   openair2/LAYER2/RLC/rlc_mac.c
	modified:   openair2/LAYER2/RLC/rlc_mpls.c
	modified:   openair2/LAYER2/RLC/rlc_primitives.h
	modified:   openair2/LAYER2/RLC/rlc_rrc.c
	modified:   openair2/LAYER2/layer2_top.c
	modified:   openair2/LAYER2/openair2_proc.c
	modified:   openair2/LAYER2/register.c
	modified:   openair2/LAYER2/register.h
	modified:   openair2/NAS/DRIVER/CELLULAR/CTL_TOOL/nascell_ioctl.c
	modified:   openair2/NAS/DRIVER/CELLULAR/CTL_TOOL/nascell_ioctl.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_ascontrol.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_classifier.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_common.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_constant.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_device.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_iocontrol.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_iocontrol.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_netlink.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_proto.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_sap.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_tool.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASMT/nasmt_variables.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_ascontrol.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_classifier.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_common.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_constant.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_device.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_iocontrol.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_iocontrol.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_netlink.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_proto.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_sap.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_tool.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NASRG/nasrg_variables.h
	modified:   openair2/NAS/DRIVER/CELLULAR/NETLTEST/netltest.c
	modified:   openair2/NAS/DRIVER/CELLULAR/NETLTEST/nettestPDCP.c
	modified:   openair2/NAS/SIMU_CELLULAR/nas_simu_proto.h
	modified:   openair2/NAS/SIMU_CELLULAR/nasrg_simu_meas.c
	modified:   openair2/NAS/SIMU_CELLULAR/rrm_fifo_standalone.c
	modified:   openair2/NAS/nas_ue_task.h
	modified:   openair2/NETWORK_DRIVER/LITE/RB_TOOL/rb_tool.c
	modified:   openair2/NETWORK_DRIVER/LITE/classifier.c
	modified:   openair2/NETWORK_DRIVER/LITE/common.c
	modified:   openair2/NETWORK_DRIVER/LITE/constant.h
	modified:   openair2/NETWORK_DRIVER/LITE/device.c
	modified:   openair2/NETWORK_DRIVER/LITE/ioctl.c
	modified:   openair2/NETWORK_DRIVER/LITE/ioctl.h
	modified:   openair2/NETWORK_DRIVER/LITE/local.h
	modified:   openair2/NETWORK_DRIVER/LITE/netlink.c
	modified:   openair2/NETWORK_DRIVER/LITE/proto_extern.h
	modified:   openair2/NETWORK_DRIVER/LITE/sap.h
	modified:   openair2/NETWORK_DRIVER/LITE/tool.c
	modified:   openair2/NETWORK_DRIVER/MESH/RB_TOOL/rb_tool.c
	modified:   openair2/NETWORK_DRIVER/MESH/TESTBENCH/testbench.c
	modified:   openair2/NETWORK_DRIVER/MESH/classifier.c
	modified:   openair2/NETWORK_DRIVER/MESH/common.c
	modified:   openair2/NETWORK_DRIVER/MESH/constant.h
	modified:   openair2/NETWORK_DRIVER/MESH/device.c
	modified:   openair2/NETWORK_DRIVER/MESH/ioctl.c
	modified:   openair2/NETWORK_DRIVER/MESH/ioctl.h
	modified:   openair2/NETWORK_DRIVER/MESH/local.h
	modified:   openair2/NETWORK_DRIVER/MESH/mesh.c
	modified:   openair2/NETWORK_DRIVER/MESH/netlink.c
	modified:   openair2/NETWORK_DRIVER/MESH/proto_extern.h
	modified:   openair2/NETWORK_DRIVER/MESH/rrc_nas_primitives.h
	modified:   openair2/NETWORK_DRIVER/MESH/sap.h
	modified:   openair2/NETWORK_DRIVER/MESH/tool.c
	modified:   openair2/NETWORK_DRIVER/UE_IP/common.c
	modified:   openair2/NETWORK_DRIVER/UE_IP/constant.h
	modified:   openair2/NETWORK_DRIVER/UE_IP/device.c
	modified:   openair2/NETWORK_DRIVER/UE_IP/local.h
	modified:   openair2/NETWORK_DRIVER/UE_IP/netlink.c
	modified:   openair2/NETWORK_DRIVER/UE_IP/proto_extern.h
	modified:   openair2/NETWORK_DRIVER/UE_IP/sap.h
	modified:   openair2/PHY_INTERFACE/defs.h
	modified:   openair2/PHY_INTERFACE/extern.h
	modified:   openair2/PHY_INTERFACE/mac_phy_primitives.c
	modified:   openair2/PHY_INTERFACE/mac_phy_primitives.h
	modified:   openair2/PHY_INTERFACE/vars.h
	modified:   openair2/RRC/L2_INTERFACE/openair_rrc_L2_interface.c
	modified:   openair2/RRC/L2_INTERFACE/openair_rrc_L2_interface.h
	modified:   openair2/RRC/LITE/L2_interface.c
	modified:   openair2/RRC/LITE/MESSAGES/asn1_msg.c
	modified:   openair2/RRC/LITE/MESSAGES/asn1_msg.h
	modified:   openair2/RRC/LITE/MESSAGES/rtai_mem.c
	modified:   openair2/RRC/LITE/MESSAGES/rtai_mem.h
	modified:   openair2/RRC/LITE/defs.h
	modified:   openair2/RRC/LITE/extern.h
	modified:   openair2/RRC/LITE/mesh_top.c
	modified:   openair2/RRC/LITE/plmn_data.h
	modified:   openair2/RRC/LITE/proto.h
	modified:   openair2/RRC/LITE/rrc_2_rrm_msg.c
	modified:   openair2/RRC/LITE/rrc_UE.c
	modified:   openair2/RRC/LITE/rrc_UE_ral.c
	modified:   openair2/RRC/LITE/rrc_UE_ral.h
	modified:   openair2/RRC/LITE/rrc_common.c
	modified:   openair2/RRC/LITE/rrc_config.c
	modified:   openair2/RRC/LITE/rrc_eNB.c
	modified:   openair2/RRC/LITE/rrc_eNB_GTPV1U.c
	modified:   openair2/RRC/LITE/rrc_eNB_GTPV1U.h
	modified:   openair2/RRC/LITE/rrc_eNB_S1AP.c
	modified:   openair2/RRC/LITE/rrc_eNB_S1AP.h
	modified:   openair2/RRC/LITE/rrc_eNB_UE_context.c
	modified:   openair2/RRC/LITE/rrc_eNB_UE_context.h
	modified:   openair2/RRC/LITE/rrc_eNB_ral.c
	modified:   openair2/RRC/LITE/rrc_eNB_ral.h
	modified:   openair2/RRC/LITE/rrc_rrm_interface.c
	modified:   openair2/RRC/LITE/rrc_rrm_interface.h
	modified:   openair2/RRC/LITE/rrc_types.h
	modified:   openair2/RRC/LITE/rrm_2_rrc_msg.c
	modified:   openair2/RRC/LITE/utils.c
	modified:   openair2/RRC/LITE/vars.h
	modified:   openair2/RRC/NAS/nas_config.c
	modified:   openair2/RRC/NAS/nas_config.h
	modified:   openair2/RRC/NAS/rb_config.c
	modified:   openair2/RRC/NAS/rb_config.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/Message.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/Message.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageAddRadioAccessBearerConfirm.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageAddRadioAccessBearerConfirm.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageAddRadioAccessBearerRequest.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageAddRadioAccessBearerRequest.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageAddUserConfirm.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageAddUserConfirm.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageAddUserRequest.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageAddUserRequest.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageConnectionRequest.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageConnectionRequest.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageRemoveRadioAccessBearerRequest.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageRemoveRadioAccessBearerRequest.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageRemoveUserRequest.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageRemoveUserRequest.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageUserReconfigurationComplete.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRC2RRMMessageUserReconfigurationComplete.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRCMessageHandler.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRCMessageHandler.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRCUdpSocket.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRCUdpSocket.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageAddRadioAccessBearerResponse.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageAddRadioAccessBearerResponse.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageAddUserResponse.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageAddUserResponse.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageConnectionResponse.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageConnectionResponse.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageRemoveRadioAccessBearerResponse.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageRemoveRadioAccessBearerResponse.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageRemoveUserResponse.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageRemoveUserResponse.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageUserReconfiguration.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrc/RRM2RRCMessageUserReconfiguration.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrm/RRMMessageHandler.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrm/RRMMessageHandler.h
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrm/RRMUdpSocket.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/com/rrm/RRMUdpSocket.h
	modified:   openair2/RRM_4_RRC_LITE/src/platform.h
	modified:   openair2/RRM_4_RRC_LITE/src/platform_constants.h
	modified:   openair2/RRM_4_RRC_LITE/src/platform_defines.h
	modified:   openair2/RRM_4_RRC_LITE/src/platform_dim.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Asn1Utils.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Asn1Utils.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Command.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Command.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/DataRadioBearer.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/DataRadioBearer.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/ENodeB.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/ENodeB.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Exceptions.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/LogicalChannel.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/LogicalChannel.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Mobile.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Mobile.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/RadioBearer.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/RadioBearer.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/RadioResources.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/RadioResources.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/SignallingRadioBearer.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/SignallingRadioBearer.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Transaction.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Transaction.h
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Transactions.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/radio_resources/Transactions.h
	modified:   openair2/RRM_4_RRC_LITE/src/rrm.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/test/TestScenario.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/test/TestScenario.h
	modified:   openair2/RRM_4_RRC_LITE/src/test/test.cpp
	modified:   openair2/RRM_4_RRC_LITE/src/version.h
	modified:   openair2/UTIL/BIGPHYS/bigphys.c
	modified:   openair2/UTIL/BIGPHYS/defs.h
	modified:   openair2/UTIL/CLI/cli.c
	modified:   openair2/UTIL/CLI/cli.h
	modified:   openair2/UTIL/CLI/cli_cmd.c
	modified:   openair2/UTIL/CLI/cli_if.h
	modified:   openair2/UTIL/CLI/cli_server.c
	modified:   openair2/UTIL/FIFO/pad_list.c
	modified:   openair2/UTIL/FIFO/pad_list.h
	modified:   openair2/UTIL/FIFO/types.h
	modified:   openair2/UTIL/LISTS/list.c
	modified:   openair2/UTIL/LISTS/list.h
	modified:   openair2/UTIL/LISTS/list2.c
	modified:   openair2/UTIL/LOG/log.c
	modified:   openair2/UTIL/LOG/log.h
	modified:   openair2/UTIL/LOG/log_extern.h
	modified:   openair2/UTIL/LOG/log_if.h
	modified:   openair2/UTIL/LOG/vcd_signal_dumper.c
	modified:   openair2/UTIL/LOG/vcd_signal_dumper.h
	modified:   openair2/UTIL/MATH/crc_byte.c
	modified:   openair2/UTIL/MATH/oml.c
	modified:   openair2/UTIL/MATH/oml.h
	modified:   openair2/UTIL/MATH/random.c
	modified:   openair2/UTIL/MATH/random_proto_extern.h
	modified:   openair2/UTIL/MATH/taus.c
	modified:   openair2/UTIL/MEM/mem_block.c
	modified:   openair2/UTIL/MEM/mem_block.h
	modified:   openair2/UTIL/MEM/mem_mngt.c
	modified:   openair2/UTIL/MEM/mem_mngt_proto_extern.h
	modified:   openair2/UTIL/MEM/mem_pool.h
	modified:   openair2/UTIL/OCG/OCG.c
	modified:   openair2/UTIL/OCG/OCG.h
	modified:   openair2/UTIL/OCG/OCG_call_emu.c
	modified:   openair2/UTIL/OCG/OCG_call_emu.h
	modified:   openair2/UTIL/OCG/OCG_config_mobi.c
	modified:   openair2/UTIL/OCG/OCG_config_mobi.h
	modified:   openair2/UTIL/OCG/OCG_create_dir.c
	modified:   openair2/UTIL/OCG/OCG_create_dir.h
	modified:   openair2/UTIL/OCG/OCG_detect_file.c
	modified:   openair2/UTIL/OCG/OCG_detect_file.h
	modified:   openair2/UTIL/OCG/OCG_extern.h
	modified:   openair2/UTIL/OCG/OCG_generate_report.c
	modified:   openair2/UTIL/OCG/OCG_generate_report.h
	modified:   openair2/UTIL/OCG/OCG_get_opt.c
	modified:   openair2/UTIL/OCG/OCG_get_opt.h
	modified:   openair2/UTIL/OCG/OCG_if.h
	modified:   openair2/UTIL/OCG/OCG_parse_XML.c
	modified:   openair2/UTIL/OCG/OCG_parse_XML.h
	modified:   openair2/UTIL/OCG/OCG_parse_filename.c
	modified:   openair2/UTIL/OCG/OCG_parse_filename.h
	modified:   openair2/UTIL/OCG/OCG_save_XML.c
	modified:   openair2/UTIL/OCG/OCG_save_XML.h
	modified:   openair2/UTIL/OCG/OCG_vars.h
	modified:   openair2/UTIL/OMG/client_traci_OMG.c
	modified:   openair2/UTIL/OMG/client_traci_OMG.h
	modified:   openair2/UTIL/OMG/common.c
	modified:   openair2/UTIL/OMG/defs.h
	modified:   openair2/UTIL/OMG/grid.c
	modified:   openair2/UTIL/OMG/grid.h
	modified:   openair2/UTIL/OMG/id_manager.c
	modified:   openair2/UTIL/OMG/id_manager.h
	modified:   openair2/UTIL/OMG/job.c
	modified:   openair2/UTIL/OMG/mobility_parser.c
	modified:   openair2/UTIL/OMG/mobility_parser.h
	modified:   openair2/UTIL/OMG/omg.c
	modified:   openair2/UTIL/OMG/omg.h
	modified:   openair2/UTIL/OMG/omg_constants.h
	modified:   openair2/UTIL/OMG/omg_hashtable.c
	modified:   openair2/UTIL/OMG/omg_hashtable.h
	modified:   openair2/UTIL/OMG/omg_vars.h
	modified:   openair2/UTIL/OMG/rwalk.c
	modified:   openair2/UTIL/OMG/rwalk.h
	modified:   openair2/UTIL/OMG/rwp.c
	modified:   openair2/UTIL/OMG/rwp.h
	modified:   openair2/UTIL/OMG/socket_traci_OMG.c
	modified:   openair2/UTIL/OMG/socket_traci_OMG.h
	modified:   openair2/UTIL/OMG/static.c
	modified:   openair2/UTIL/OMG/static.h
	modified:   openair2/UTIL/OMG/steadystaterwp.c
	modified:   openair2/UTIL/OMG/steadystaterwp.h
	modified:   openair2/UTIL/OMG/storage_traci_OMG.c
	modified:   openair2/UTIL/OMG/storage_traci_OMG.h
	modified:   openair2/UTIL/OMG/sumo.c
	modified:   openair2/UTIL/OMG/sumo.h
	modified:   openair2/UTIL/OMG/trace.c
	modified:   openair2/UTIL/OMG/trace.h
	modified:   openair2/UTIL/OMG/trace_hashtable.c
	modified:   openair2/UTIL/OMG/trace_hashtable.h
	modified:   openair2/UTIL/OMV/communicationthread.cpp
	modified:   openair2/UTIL/OMV/communicationthread.h
	modified:   openair2/UTIL/OMV/mywindow.cpp
	modified:   openair2/UTIL/OMV/mywindow.h
	modified:   openair2/UTIL/OMV/omv.cpp
	modified:   openair2/UTIL/OMV/openglwidget.cpp
	modified:   openair2/UTIL/OMV/openglwidget.h
	modified:   openair2/UTIL/OMV/structures.h
	modified:   openair2/UTIL/OPT/opt.h
	modified:   openair2/UTIL/OPT/socket_sender.c
	modified:   openair2/UTIL/OPT/vars.h
	modified:   openair2/UTIL/OSA/osa_defs.h
	modified:   openair2/UTIL/OSA/osa_internal.h
	modified:   openair2/UTIL/OSA/osa_key_deriver.c
	modified:   openair2/UTIL/OSA/osa_rijndael.c
	modified:   openair2/UTIL/OSA/osa_rijndael.h
	modified:   openair2/UTIL/OSA/osa_snow3g.c
	modified:   openair2/UTIL/OSA/osa_snow3g.h
	modified:   openair2/UTIL/OSA/osa_stream_eea.c
	modified:   openair2/UTIL/OSA/osa_stream_eia.c
	modified:   openair2/UTIL/OTG/main.c
	modified:   openair2/UTIL/OTG/otg.c
	modified:   openair2/UTIL/OTG/otg.h
	modified:   openair2/UTIL/OTG/otg_config.h
	modified:   openair2/UTIL/OTG/otg_defs.h
	modified:   openair2/UTIL/OTG/otg_externs.h
	modified:   openair2/UTIL/OTG/otg_form.c
	modified:   openair2/UTIL/OTG/otg_form.h
	modified:   openair2/UTIL/OTG/otg_kpi.c
	modified:   openair2/UTIL/OTG/otg_kpi.h
	modified:   openair2/UTIL/OTG/otg_models.c
	modified:   openair2/UTIL/OTG/otg_models.h
	modified:   openair2/UTIL/OTG/otg_rx.c
	modified:   openair2/UTIL/OTG/otg_rx.h
	modified:   openair2/UTIL/OTG/otg_rx_socket.c
	modified:   openair2/UTIL/OTG/otg_rx_socket.h
	modified:   openair2/UTIL/OTG/otg_tx.c
	modified:   openair2/UTIL/OTG/otg_tx.h
	modified:   openair2/UTIL/OTG/otg_tx_socket.c
	modified:   openair2/UTIL/OTG/otg_tx_socket.h
	modified:   openair2/UTIL/OTG/otg_vars.h
	modified:   openair2/UTIL/OTG/traffic_config.h
	modified:   openair2/UTIL/TIMER/umts_timer.c
	modified:   openair2/UTIL/TIMER/umts_timer.h
	modified:   openair2/UTIL/TIMER/umts_timer_proto_extern.h
	modified:   openair2/UTIL/TIMER/umts_timer_struct.h
	modified:   openair2/UTIL/TRACE/fifo_printf.c
	modified:   openair2/UTIL/TRACE/fifo_printf.h
	modified:   openair2/UTIL/TRACE/fifo_printf_proto_extern.h
	modified:   openair2/UTIL/TRACE/print.h
	modified:   openair2/X2AP/x2ap.c
	modified:   openair2/X2AP/x2ap.h
	modified:   openair2/X2AP/x2ap_common.c
	modified:   openair2/X2AP/x2ap_common.h
	modified:   openair3/COMMON/common_types.h
	modified:   openair3/COMMON/gtpv1_u_messages_def.h
	modified:   openair3/COMMON/gtpv1_u_messages_types.h
	modified:   openair3/COMMON/intertask_interface_conf.h
	modified:   openair3/COMMON/messages_def.h
	modified:   openair3/COMMON/messages_types.h
	modified:   openair3/COMMON/nas_messages_def.h
	modified:   openair3/COMMON/nas_messages_types.h
	modified:   openair3/COMMON/s1ap_messages_def.h
	modified:   openair3/COMMON/s1ap_messages_types.h
	modified:   openair3/COMMON/sctp_messages_def.h
	modified:   openair3/COMMON/sctp_messages_types.h
	modified:   openair3/COMMON/security_types.h
	modified:   openair3/COMMON/tasks_def.h
	modified:   openair3/COMMON/udp_messages_def.h
	modified:   openair3/COMMON/udp_messages_types.h
	modified:   openair3/GTPV1-U/gtpv1u.h
	modified:   openair3/GTPV1-U/gtpv1u_eNB.c
	modified:   openair3/GTPV1-U/gtpv1u_eNB_defs.h
	modified:   openair3/GTPV1-U/gtpv1u_eNB_task.h
	modified:   openair3/GTPV1-U/gtpv1u_sgw_defs.h
	modified:   openair3/GTPV1-U/gtpv1u_task.c
	modified:   openair3/GTPV1-U/gtpv1u_teid_pool.c
	modified:   openair3/NAS/COMMON/API/NETWORK/as_message.c
	modified:   openair3/NAS/COMMON/API/NETWORK/l2_message.h
	modified:   openair3/NAS/COMMON/API/NETWORK/nas_message.c
	modified:   openair3/NAS/COMMON/API/NETWORK/nas_message.h
	modified:   openair3/NAS/COMMON/API/NETWORK/network_api.c
	modified:   openair3/NAS/COMMON/API/NETWORK/network_api.h
	modified:   openair3/NAS/COMMON/EMM/MSG/AttachAccept.c
	modified:   openair3/NAS/COMMON/EMM/MSG/AttachAccept.h
	modified:   openair3/NAS/COMMON/EMM/MSG/AttachComplete.c
	modified:   openair3/NAS/COMMON/EMM/MSG/AttachComplete.h
	modified:   openair3/NAS/COMMON/EMM/MSG/AttachReject.c
	modified:   openair3/NAS/COMMON/EMM/MSG/AttachReject.h
	modified:   openair3/NAS/COMMON/EMM/MSG/AttachRequest.c
	modified:   openair3/NAS/COMMON/EMM/MSG/AttachRequest.h
	modified:   openair3/NAS/COMMON/EMM/MSG/AuthenticationFailure.c
	modified:   openair3/NAS/COMMON/EMM/MSG/AuthenticationFailure.h
	modified:   openair3/NAS/COMMON/EMM/MSG/AuthenticationReject.c
	modified:   openair3/NAS/COMMON/EMM/MSG/AuthenticationReject.h
	modified:   openair3/NAS/COMMON/EMM/MSG/AuthenticationRequest.c
	modified:   openair3/NAS/COMMON/EMM/MSG/AuthenticationRequest.h
	modified:   openair3/NAS/COMMON/EMM/MSG/AuthenticationResponse.c
	modified:   openair3/NAS/COMMON/EMM/MSG/AuthenticationResponse.h
	modified:   openair3/NAS/COMMON/EMM/MSG/CsServiceNotification.c
	modified:   openair3/NAS/COMMON/EMM/MSG/CsServiceNotification.h
	modified:   openair3/NAS/COMMON/EMM/MSG/DetachAccept.c
	modified:   openair3/NAS/COMMON/EMM/MSG/DetachAccept.h
	modified:   openair3/NAS/COMMON/EMM/MSG/DetachRequest.c
	modified:   openair3/NAS/COMMON/EMM/MSG/DetachRequest.h
	modified:   openair3/NAS/COMMON/EMM/MSG/DownlinkNasTransport.c
	modified:   openair3/NAS/COMMON/EMM/MSG/DownlinkNasTransport.h
	modified:   openair3/NAS/COMMON/EMM/MSG/EmmInformation.c
	modified:   openair3/NAS/COMMON/EMM/MSG/EmmInformation.h
	modified:   openair3/NAS/COMMON/EMM/MSG/EmmStatus.c
	modified:   openair3/NAS/COMMON/EMM/MSG/EmmStatus.h
	modified:   openair3/NAS/COMMON/EMM/MSG/ExtendedServiceRequest.c
	modified:   openair3/NAS/COMMON/EMM/MSG/ExtendedServiceRequest.h
	modified:   openair3/NAS/COMMON/EMM/MSG/GutiReallocationCommand.c
	modified:   openair3/NAS/COMMON/EMM/MSG/GutiReallocationCommand.h
	modified:   openair3/NAS/COMMON/EMM/MSG/GutiReallocationComplete.c
	modified:   openair3/NAS/COMMON/EMM/MSG/GutiReallocationComplete.h
	modified:   openair3/NAS/COMMON/EMM/MSG/IdentityRequest.c
	modified:   openair3/NAS/COMMON/EMM/MSG/IdentityRequest.h
	modified:   openair3/NAS/COMMON/EMM/MSG/IdentityResponse.c
	modified:   openair3/NAS/COMMON/EMM/MSG/IdentityResponse.h
	modified:   openair3/NAS/COMMON/EMM/MSG/NASSecurityModeCommand.h
	modified:   openair3/NAS/COMMON/EMM/MSG/NASSecurityModeComplete.h
	modified:   openair3/NAS/COMMON/EMM/MSG/SecurityModeCommand.c
	modified:   openair3/NAS/COMMON/EMM/MSG/SecurityModeComplete.c
	modified:   openair3/NAS/COMMON/EMM/MSG/SecurityModeReject.c
	modified:   openair3/NAS/COMMON/EMM/MSG/SecurityModeReject.h
	modified:   openair3/NAS/COMMON/EMM/MSG/ServiceReject.c
	modified:   openair3/NAS/COMMON/EMM/MSG/ServiceReject.h
	modified:   openair3/NAS/COMMON/EMM/MSG/ServiceRequest.c
	modified:   openair3/NAS/COMMON/EMM/MSG/ServiceRequest.h
	modified:   openair3/NAS/COMMON/EMM/MSG/TrackingAreaUpdateAccept.c
	modified:   openair3/NAS/COMMON/EMM/MSG/TrackingAreaUpdateAccept.h
	modified:   openair3/NAS/COMMON/EMM/MSG/TrackingAreaUpdateComplete.c
	modified:   openair3/NAS/COMMON/EMM/MSG/TrackingAreaUpdateComplete.h
	modified:   openair3/NAS/COMMON/EMM/MSG/TrackingAreaUpdateReject.c
	modified:   openair3/NAS/COMMON/EMM/MSG/TrackingAreaUpdateReject.h
	modified:   openair3/NAS/COMMON/EMM/MSG/TrackingAreaUpdateRequest.c
	modified:   openair3/NAS/COMMON/EMM/MSG/TrackingAreaUpdateRequest.h
	modified:   openair3/NAS/COMMON/EMM/MSG/UplinkNasTransport.c
	modified:   openair3/NAS/COMMON/EMM/MSG/UplinkNasTransport.h
	modified:   openair3/NAS/COMMON/EMM/MSG/emm_cause.h
	modified:   openair3/NAS/COMMON/EMM/MSG/emm_msg.c
	modified:   openair3/NAS/COMMON/EMM/MSG/emm_msg.h
	modified:   openair3/NAS/COMMON/EMM/MSG/emm_msgDef.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDedicatedEpsBearerContextAccept.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDedicatedEpsBearerContextAccept.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDedicatedEpsBearerContextReject.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDedicatedEpsBearerContextReject.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDedicatedEpsBearerContextRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDedicatedEpsBearerContextRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDefaultEpsBearerContextAccept.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDefaultEpsBearerContextAccept.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDefaultEpsBearerContextReject.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDefaultEpsBearerContextReject.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDefaultEpsBearerContextRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ActivateDefaultEpsBearerContextRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/BearerResourceAllocationReject.c
	modified:   openair3/NAS/COMMON/ESM/MSG/BearerResourceAllocationReject.h
	modified:   openair3/NAS/COMMON/ESM/MSG/BearerResourceAllocationRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/BearerResourceAllocationRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/BearerResourceModificationReject.c
	modified:   openair3/NAS/COMMON/ESM/MSG/BearerResourceModificationReject.h
	modified:   openair3/NAS/COMMON/ESM/MSG/BearerResourceModificationRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/BearerResourceModificationRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/DeactivateEpsBearerContextAccept.c
	modified:   openair3/NAS/COMMON/ESM/MSG/DeactivateEpsBearerContextAccept.h
	modified:   openair3/NAS/COMMON/ESM/MSG/DeactivateEpsBearerContextRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/DeactivateEpsBearerContextRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/EsmInformationRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/EsmInformationRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/EsmInformationResponse.c
	modified:   openair3/NAS/COMMON/ESM/MSG/EsmInformationResponse.h
	modified:   openair3/NAS/COMMON/ESM/MSG/EsmStatus.c
	modified:   openair3/NAS/COMMON/ESM/MSG/EsmStatus.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ModifyEpsBearerContextAccept.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ModifyEpsBearerContextAccept.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ModifyEpsBearerContextReject.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ModifyEpsBearerContextReject.h
	modified:   openair3/NAS/COMMON/ESM/MSG/ModifyEpsBearerContextRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/ModifyEpsBearerContextRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/PdnConnectivityReject.c
	modified:   openair3/NAS/COMMON/ESM/MSG/PdnConnectivityReject.h
	modified:   openair3/NAS/COMMON/ESM/MSG/PdnConnectivityRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/PdnConnectivityRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/PdnDisconnectReject.c
	modified:   openair3/NAS/COMMON/ESM/MSG/PdnDisconnectReject.h
	modified:   openair3/NAS/COMMON/ESM/MSG/PdnDisconnectRequest.c
	modified:   openair3/NAS/COMMON/ESM/MSG/PdnDisconnectRequest.h
	modified:   openair3/NAS/COMMON/ESM/MSG/esm_cause.h
	modified:   openair3/NAS/COMMON/ESM/MSG/esm_msg.c
	modified:   openair3/NAS/COMMON/ESM/MSG/esm_msg.h
	modified:   openair3/NAS/COMMON/ESM/MSG/esm_msgDef.h
	modified:   openair3/NAS/COMMON/IES/AccessPointName.c
	modified:   openair3/NAS/COMMON/IES/AccessPointName.h
	modified:   openair3/NAS/COMMON/IES/AdditionalUpdateResult.c
	modified:   openair3/NAS/COMMON/IES/AdditionalUpdateResult.h
	modified:   openair3/NAS/COMMON/IES/AdditionalUpdateType.c
	modified:   openair3/NAS/COMMON/IES/AdditionalUpdateType.h
	modified:   openair3/NAS/COMMON/IES/ApnAggregateMaximumBitRate.c
	modified:   openair3/NAS/COMMON/IES/ApnAggregateMaximumBitRate.h
	modified:   openair3/NAS/COMMON/IES/AuthenticationFailureParameter.c
	modified:   openair3/NAS/COMMON/IES/AuthenticationFailureParameter.h
	modified:   openair3/NAS/COMMON/IES/AuthenticationParameterAutn.c
	modified:   openair3/NAS/COMMON/IES/AuthenticationParameterAutn.h
	modified:   openair3/NAS/COMMON/IES/AuthenticationParameterRand.c
	modified:   openair3/NAS/COMMON/IES/AuthenticationParameterRand.h
	modified:   openair3/NAS/COMMON/IES/AuthenticationResponseParameter.c
	modified:   openair3/NAS/COMMON/IES/AuthenticationResponseParameter.h
	modified:   openair3/NAS/COMMON/IES/CipheringKeySequenceNumber.c
	modified:   openair3/NAS/COMMON/IES/CipheringKeySequenceNumber.h
	modified:   openair3/NAS/COMMON/IES/Cli.c
	modified:   openair3/NAS/COMMON/IES/Cli.h
	modified:   openair3/NAS/COMMON/IES/CsfbResponse.c
	modified:   openair3/NAS/COMMON/IES/CsfbResponse.h
	modified:   openair3/NAS/COMMON/IES/DaylightSavingTime.c
	modified:   openair3/NAS/COMMON/IES/DaylightSavingTime.h
	modified:   openair3/NAS/COMMON/IES/DetachType.c
	modified:   openair3/NAS/COMMON/IES/DetachType.h
	modified:   openair3/NAS/COMMON/IES/DrxParameter.c
	modified:   openair3/NAS/COMMON/IES/DrxParameter.h
	modified:   openair3/NAS/COMMON/IES/EmergencyNumberList.c
	modified:   openair3/NAS/COMMON/IES/EmergencyNumberList.h
	modified:   openair3/NAS/COMMON/IES/EmmCause.c
	modified:   openair3/NAS/COMMON/IES/EmmCause.h
	modified:   openair3/NAS/COMMON/IES/EpsAttachResult.c
	modified:   openair3/NAS/COMMON/IES/EpsAttachResult.h
	modified:   openair3/NAS/COMMON/IES/EpsAttachType.c
	modified:   openair3/NAS/COMMON/IES/EpsAttachType.h
	modified:   openair3/NAS/COMMON/IES/EpsBearerContextStatus.c
	modified:   openair3/NAS/COMMON/IES/EpsBearerContextStatus.h
	modified:   openair3/NAS/COMMON/IES/EpsBearerIdentity.c
	modified:   openair3/NAS/COMMON/IES/EpsBearerIdentity.h
	modified:   openair3/NAS/COMMON/IES/EpsMobileIdentity.c
	modified:   openair3/NAS/COMMON/IES/EpsMobileIdentity.h
	modified:   openair3/NAS/COMMON/IES/EpsNetworkFeatureSupport.c
	modified:   openair3/NAS/COMMON/IES/EpsNetworkFeatureSupport.h
	modified:   openair3/NAS/COMMON/IES/EpsQualityOfService.c
	modified:   openair3/NAS/COMMON/IES/EpsQualityOfService.h
	modified:   openair3/NAS/COMMON/IES/EpsUpdateResult.c
	modified:   openair3/NAS/COMMON/IES/EpsUpdateResult.h
	modified:   openair3/NAS/COMMON/IES/EpsUpdateType.c
	modified:   openair3/NAS/COMMON/IES/EpsUpdateType.h
	modified:   openair3/NAS/COMMON/IES/EsmCause.c
	modified:   openair3/NAS/COMMON/IES/EsmCause.h
	modified:   openair3/NAS/COMMON/IES/EsmInformationTransferFlag.c
	modified:   openair3/NAS/COMMON/IES/EsmInformationTransferFlag.h
	modified:   openair3/NAS/COMMON/IES/EsmMessageContainer.c
	modified:   openair3/NAS/COMMON/IES/EsmMessageContainer.h
	modified:   openair3/NAS/COMMON/IES/GprsTimer.c
	modified:   openair3/NAS/COMMON/IES/GprsTimer.h
	modified:   openair3/NAS/COMMON/IES/GutiType.c
	modified:   openair3/NAS/COMMON/IES/GutiType.h
	modified:   openair3/NAS/COMMON/IES/IdentityType2.c
	modified:   openair3/NAS/COMMON/IES/IdentityType2.h
	modified:   openair3/NAS/COMMON/IES/ImeisvRequest.c
	modified:   openair3/NAS/COMMON/IES/ImeisvRequest.h
	modified:   openair3/NAS/COMMON/IES/KsiAndSequenceNumber.c
	modified:   openair3/NAS/COMMON/IES/KsiAndSequenceNumber.h
	modified:   openair3/NAS/COMMON/IES/LcsClientIdentity.c
	modified:   openair3/NAS/COMMON/IES/LcsClientIdentity.h
	modified:   openair3/NAS/COMMON/IES/LcsIndicator.c
	modified:   openair3/NAS/COMMON/IES/LcsIndicator.h
	modified:   openair3/NAS/COMMON/IES/LinkedEpsBearerIdentity.c
	modified:   openair3/NAS/COMMON/IES/LinkedEpsBearerIdentity.h
	modified:   openair3/NAS/COMMON/IES/LlcServiceAccessPointIdentifier.c
	modified:   openair3/NAS/COMMON/IES/LlcServiceAccessPointIdentifier.h
	modified:   openair3/NAS/COMMON/IES/LocationAreaIdentification.c
	modified:   openair3/NAS/COMMON/IES/LocationAreaIdentification.h
	modified:   openair3/NAS/COMMON/IES/MessageType.c
	modified:   openair3/NAS/COMMON/IES/MessageType.h
	modified:   openair3/NAS/COMMON/IES/MobileIdentity.c
	modified:   openair3/NAS/COMMON/IES/MobileIdentity.h
	modified:   openair3/NAS/COMMON/IES/MobileStationClassmark2.c
	modified:   openair3/NAS/COMMON/IES/MobileStationClassmark2.h
	modified:   openair3/NAS/COMMON/IES/MobileStationClassmark3.c
	modified:   openair3/NAS/COMMON/IES/MobileStationClassmark3.h
	modified:   openair3/NAS/COMMON/IES/MsNetworkCapability.c
	modified:   openair3/NAS/COMMON/IES/MsNetworkCapability.h
	modified:   openair3/NAS/COMMON/IES/MsNetworkFeatureSupport.c
	modified:   openair3/NAS/COMMON/IES/MsNetworkFeatureSupport.h
	modified:   openair3/NAS/COMMON/IES/NasKeySetIdentifier.c
	modified:   openair3/NAS/COMMON/IES/NasKeySetIdentifier.h
	modified:   openair3/NAS/COMMON/IES/NasMessageContainer.c
	modified:   openair3/NAS/COMMON/IES/NasMessageContainer.h
	modified:   openair3/NAS/COMMON/IES/NasRequestType.c
	modified:   openair3/NAS/COMMON/IES/NasRequestType.h
	modified:   openair3/NAS/COMMON/IES/NasSecurityAlgorithms.c
	modified:   openair3/NAS/COMMON/IES/NasSecurityAlgorithms.h
	modified:   openair3/NAS/COMMON/IES/NetworkName.c
	modified:   openair3/NAS/COMMON/IES/NetworkName.h
	modified:   openair3/NAS/COMMON/IES/Nonce.c
	modified:   openair3/NAS/COMMON/IES/Nonce.h
	modified:   openair3/NAS/COMMON/IES/PTmsiSignature.c
	modified:   openair3/NAS/COMMON/IES/PTmsiSignature.h
	modified:   openair3/NAS/COMMON/IES/PacketFlowIdentifier.c
	modified:   openair3/NAS/COMMON/IES/PacketFlowIdentifier.h
	modified:   openair3/NAS/COMMON/IES/PagingIdentity.c
	modified:   openair3/NAS/COMMON/IES/PagingIdentity.h
	modified:   openair3/NAS/COMMON/IES/PdnAddress.c
	modified:   openair3/NAS/COMMON/IES/PdnAddress.h
	modified:   openair3/NAS/COMMON/IES/PdnType.c
	modified:   openair3/NAS/COMMON/IES/PdnType.h
	modified:   openair3/NAS/COMMON/IES/PlmnList.c
	modified:   openair3/NAS/COMMON/IES/PlmnList.h
	modified:   openair3/NAS/COMMON/IES/ProcedureTransactionIdentity.c
	modified:   openair3/NAS/COMMON/IES/ProcedureTransactionIdentity.h
	modified:   openair3/NAS/COMMON/IES/ProtocolConfigurationOptions.c
	modified:   openair3/NAS/COMMON/IES/ProtocolConfigurationOptions.h
	modified:   openair3/NAS/COMMON/IES/ProtocolDiscriminator.c
	modified:   openair3/NAS/COMMON/IES/ProtocolDiscriminator.h
	modified:   openair3/NAS/COMMON/IES/QualityOfService.c
	modified:   openair3/NAS/COMMON/IES/QualityOfService.h
	modified:   openair3/NAS/COMMON/IES/RadioPriority.c
	modified:   openair3/NAS/COMMON/IES/RadioPriority.h
	modified:   openair3/NAS/COMMON/IES/SecurityHeaderType.c
	modified:   openair3/NAS/COMMON/IES/SecurityHeaderType.h
	modified:   openair3/NAS/COMMON/IES/ServiceType.c
	modified:   openair3/NAS/COMMON/IES/ServiceType.h
	modified:   openair3/NAS/COMMON/IES/ShortMac.c
	modified:   openair3/NAS/COMMON/IES/ShortMac.h
	modified:   openair3/NAS/COMMON/IES/SsCode.c
	modified:   openair3/NAS/COMMON/IES/SsCode.h
	modified:   openair3/NAS/COMMON/IES/SupportedCodecList.c
	modified:   openair3/NAS/COMMON/IES/SupportedCodecList.h
	modified:   openair3/NAS/COMMON/IES/TimeZone.c
	modified:   openair3/NAS/COMMON/IES/TimeZone.h
	modified:   openair3/NAS/COMMON/IES/TimeZoneAndTime.c
	modified:   openair3/NAS/COMMON/IES/TimeZoneAndTime.h
	modified:   openair3/NAS/COMMON/IES/TmsiStatus.c
	modified:   openair3/NAS/COMMON/IES/TmsiStatus.h
	modified:   openair3/NAS/COMMON/IES/TrackingAreaIdentity.c
	modified:   openair3/NAS/COMMON/IES/TrackingAreaIdentity.h
	modified:   openair3/NAS/COMMON/IES/TrackingAreaIdentityList.c
	modified:   openair3/NAS/COMMON/IES/TrackingAreaIdentityList.h
	modified:   openair3/NAS/COMMON/IES/TrafficFlowAggregateDescription.c
	modified:   openair3/NAS/COMMON/IES/TrafficFlowAggregateDescription.h
	modified:   openair3/NAS/COMMON/IES/TrafficFlowTemplate.c
	modified:   openair3/NAS/COMMON/IES/TrafficFlowTemplate.h
	modified:   openair3/NAS/COMMON/IES/TransactionIdentifier.c
	modified:   openair3/NAS/COMMON/IES/TransactionIdentifier.h
	modified:   openair3/NAS/COMMON/IES/UeNetworkCapability.c
	modified:   openair3/NAS/COMMON/IES/UeNetworkCapability.h
	modified:   openair3/NAS/COMMON/IES/UeRadioCapabilityInformationUpdateNeeded.c
	modified:   openair3/NAS/COMMON/IES/UeRadioCapabilityInformationUpdateNeeded.h
	modified:   openair3/NAS/COMMON/IES/UeSecurityCapability.c
	modified:   openair3/NAS/COMMON/IES/UeSecurityCapability.h
	modified:   openair3/NAS/COMMON/IES/VoiceDomainPreferenceAndUeUsageSetting.c
	modified:   openair3/NAS/COMMON/IES/VoiceDomainPreferenceAndUeUsageSetting.h
	modified:   openair3/NAS/COMMON/UTIL/OctetString.c
	modified:   openair3/NAS/COMMON/UTIL/OctetString.h
	modified:   openair3/NAS/COMMON/UTIL/TLVDecoder.c
	modified:   openair3/NAS/COMMON/UTIL/TLVDecoder.h
	modified:   openair3/NAS/COMMON/UTIL/TLVEncoder.c
	modified:   openair3/NAS/COMMON/UTIL/TLVEncoder.h
	modified:   openair3/NAS/COMMON/UTIL/device.c
	modified:   openair3/NAS/COMMON/UTIL/device.h
	modified:   openair3/NAS/COMMON/UTIL/memory.c
	modified:   openair3/NAS/COMMON/UTIL/memory.h
	modified:   openair3/NAS/COMMON/UTIL/nas_log.c
	modified:   openair3/NAS/COMMON/UTIL/nas_log.h
	modified:   openair3/NAS/COMMON/UTIL/nas_timer.c
	modified:   openair3/NAS/COMMON/UTIL/nas_timer.h
	modified:   openair3/NAS/COMMON/UTIL/parser.c
	modified:   openair3/NAS/COMMON/UTIL/parser.h
	modified:   openair3/NAS/COMMON/UTIL/socket.c
	modified:   openair3/NAS/COMMON/UTIL/socket.h
	modified:   openair3/NAS/COMMON/UTIL/stty.c
	modified:   openair3/NAS/COMMON/UTIL/tst/timer.c
	modified:   openair3/NAS/COMMON/securityDef.h
	modified:   openair3/NAS/COMMON/userDef.h
	modified:   openair3/NAS/TEST/AS_SIMULATOR/as_data.c
	modified:   openair3/NAS/TEST/AS_SIMULATOR/as_data.h
	modified:   openair3/NAS/TEST/AS_SIMULATOR/as_process.c
	modified:   openair3/NAS/TEST/AS_SIMULATOR/as_process.h
	modified:   openair3/NAS/TEST/AS_SIMULATOR/as_simulator.c
	modified:   openair3/NAS/TEST/AS_SIMULATOR/as_simulator_parser.c
	modified:   openair3/NAS/TEST/AS_SIMULATOR/as_simulator_parser.h
	modified:   openair3/NAS/TEST/AS_SIMULATOR/nas_data.c
	modified:   openair3/NAS/TEST/AS_SIMULATOR/nas_data.h
	modified:   openair3/NAS/TEST/AS_SIMULATOR/nas_process.c
	modified:   openair3/NAS/TEST/AS_SIMULATOR/nas_process.h
	modified:   openair3/NAS/TEST/NETWORK/network_parser.c
	modified:   openair3/NAS/TEST/NETWORK/network_parser.h
	modified:   openair3/NAS/TEST/NETWORK/network_simulator.c
	modified:   openair3/NAS/TEST/USER/user_parser.c
	modified:   openair3/NAS/TEST/USER/user_parser.h
	modified:   openair3/NAS/TEST/USER/user_simulator.c
	modified:   openair3/NAS/TOOLS/network.h
	modified:   openair3/NAS/TOOLS/ue_data.c
	modified:   openair3/NAS/TOOLS/usim_data.c
	modified:   openair3/NAS/UE/API/USER/at_command.c
	modified:   openair3/NAS/UE/API/USER/at_command.h
	modified:   openair3/NAS/UE/API/USER/at_error.c
	modified:   openair3/NAS/UE/API/USER/at_error.h
	modified:   openair3/NAS/UE/API/USER/at_response.c
	modified:   openair3/NAS/UE/API/USER/at_response.h
	modified:   openair3/NAS/UE/API/USER/tst/at_parser.c
	modified:   openair3/NAS/UE/API/USER/user_api.c
	modified:   openair3/NAS/UE/API/USER/user_api.h
	modified:   openair3/NAS/UE/API/USER/user_indication.c
	modified:   openair3/NAS/UE/API/USER/user_indication.h
	modified:   openair3/NAS/UE/API/USIM/aka_functions.c
	modified:   openair3/NAS/UE/API/USIM/aka_functions.h
	modified:   openair3/NAS/UE/API/USIM/usim_api.c
	modified:   openair3/NAS/UE/API/USIM/usim_api.h
	modified:   openair3/NAS/UE/EMM/Attach.c
	modified:   openair3/NAS/UE/EMM/Authentication.c
	modified:   openair3/NAS/UE/EMM/Detach.c
	modified:   openair3/NAS/UE/EMM/EmmStatusHdl.c
	modified:   openair3/NAS/UE/EMM/Identification.c
	modified:   openair3/NAS/UE/EMM/IdleMode.c
	modified:   openair3/NAS/UE/EMM/IdleMode.h
	modified:   openair3/NAS/UE/EMM/LowerLayer.c
	modified:   openair3/NAS/UE/EMM/LowerLayer.h
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregistered.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregisteredAttachNeeded.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregisteredAttemptingToAttach.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregisteredInitiated.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregisteredLimitedService.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregisteredNoCellAvailable.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregisteredNoImsi.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregisteredNormalService.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmDeregisteredPlmnSearch.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmNull.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegistered.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegisteredAttemptingToUpdate.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegisteredImsiDetachInitiated.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegisteredInitiated.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegisteredLimitedService.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegisteredNoCellAvailable.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegisteredNormalService.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegisteredPlmnSearch.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmRegisteredUpdateNeeded.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmServiceRequestInitiated.c
	modified:   openair3/NAS/UE/EMM/SAP/EmmTrackingAreaUpdatingInitiated.c
	modified:   openair3/NAS/UE/EMM/SAP/emm_as.c
	modified:   openair3/NAS/UE/EMM/SAP/emm_as.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_asDef.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_esm.c
	modified:   openair3/NAS/UE/EMM/SAP/emm_esm.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_esmDef.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_fsm.c
	modified:   openair3/NAS/UE/EMM/SAP/emm_fsm.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_recv.c
	modified:   openair3/NAS/UE/EMM/SAP/emm_recv.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_reg.c
	modified:   openair3/NAS/UE/EMM/SAP/emm_reg.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_regDef.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_sap.c
	modified:   openair3/NAS/UE/EMM/SAP/emm_sap.h
	modified:   openair3/NAS/UE/EMM/SAP/emm_send.c
	modified:   openair3/NAS/UE/EMM/SAP/emm_send.h
	modified:   openair3/NAS/UE/EMM/SecurityModeControl.c
	modified:   openair3/NAS/UE/EMM/ServiceRequestHdl.c
	modified:   openair3/NAS/UE/EMM/TrackingAreaUpdate.c
	modified:   openair3/NAS/UE/EMM/emmData.h
	modified:   openair3/NAS/UE/EMM/emm_main.c
	modified:   openair3/NAS/UE/EMM/emm_main.h
	modified:   openair3/NAS/UE/EMM/emm_proc.h
	modified:   openair3/NAS/UE/ESM/DedicatedEpsBearerContextActivation.c
	modified:   openair3/NAS/UE/ESM/DefaultEpsBearerContextActivation.c
	modified:   openair3/NAS/UE/ESM/EpsBearerContextDeactivation.c
	modified:   openair3/NAS/UE/ESM/EsmStatusHdl.c
	modified:   openair3/NAS/UE/ESM/PdnConnectivity.c
	modified:   openair3/NAS/UE/ESM/PdnDisconnect.c
	modified:   openair3/NAS/UE/ESM/SAP/esm_recv.c
	modified:   openair3/NAS/UE/ESM/SAP/esm_recv.h
	modified:   openair3/NAS/UE/ESM/SAP/esm_sap.c
	modified:   openair3/NAS/UE/ESM/SAP/esm_sap.h
	modified:   openair3/NAS/UE/ESM/SAP/esm_sapDef.h
	modified:   openair3/NAS/UE/ESM/SAP/esm_send.c
	modified:   openair3/NAS/UE/ESM/SAP/esm_send.h
	modified:   openair3/NAS/UE/ESM/esmData.h
	modified:   openair3/NAS/UE/ESM/esm_ebr.c
	modified:   openair3/NAS/UE/ESM/esm_ebr.h
	modified:   openair3/NAS/UE/ESM/esm_ebr_context.c
	modified:   openair3/NAS/UE/ESM/esm_ebr_context.h
	modified:   openair3/NAS/UE/ESM/esm_ip.c
	modified:   openair3/NAS/UE/ESM/esm_main.c
	modified:   openair3/NAS/UE/ESM/esm_main.h
	modified:   openair3/NAS/UE/ESM/esm_proc.h
	modified:   openair3/NAS/UE/ESM/esm_pt.c
	modified:   openair3/NAS/UE/ESM/esm_pt.h
	modified:   openair3/NAS/UE/UEprocess.c
	modified:   openair3/NAS/UE/nas_itti_messaging.c
	modified:   openair3/NAS/UE/nas_itti_messaging.h
	modified:   openair3/NAS/UE/nas_network.c
	modified:   openair3/NAS/UE/nas_network.h
	modified:   openair3/NAS/UE/nas_parser.c
	modified:   openair3/NAS/UE/nas_parser.h
	modified:   openair3/NAS/UE/nas_proc.c
	modified:   openair3/NAS/UE/nas_proc.h
	modified:   openair3/NAS/UE/nas_ue_task.c
	modified:   openair3/NAS/UE/nas_user.c
	modified:   openair3/NAS/UE/nas_user.h
	modified:   openair3/S1AP/s1ap_common.c
	modified:   openair3/S1AP/s1ap_common.h
	modified:   openair3/S1AP/s1ap_eNB.c
	modified:   openair3/S1AP/s1ap_eNB.h
	modified:   openair3/S1AP/s1ap_eNB_context_management_procedures.c
	modified:   openair3/S1AP/s1ap_eNB_context_management_procedures.h
	modified:   openair3/S1AP/s1ap_eNB_decoder.c
	modified:   openair3/S1AP/s1ap_eNB_decoder.h
	modified:   openair3/S1AP/s1ap_eNB_default_values.h
	modified:   openair3/S1AP/s1ap_eNB_defs.h
	modified:   openair3/S1AP/s1ap_eNB_encoder.c
	modified:   openair3/S1AP/s1ap_eNB_encoder.h
	modified:   openair3/S1AP/s1ap_eNB_handlers.c
	modified:   openair3/S1AP/s1ap_eNB_handlers.h
	modified:   openair3/S1AP/s1ap_eNB_itti_messaging.c
	modified:   openair3/S1AP/s1ap_eNB_itti_messaging.h
	modified:   openair3/S1AP/s1ap_eNB_management_procedures.c
	modified:   openair3/S1AP/s1ap_eNB_management_procedures.h
	modified:   openair3/S1AP/s1ap_eNB_nas_procedures.c
	modified:   openair3/S1AP/s1ap_eNB_nas_procedures.h
	modified:   openair3/S1AP/s1ap_eNB_nnsf.c
	modified:   openair3/S1AP/s1ap_eNB_nnsf.h
	modified:   openair3/S1AP/s1ap_eNB_overload.c
	modified:   openair3/S1AP/s1ap_eNB_overload.h
	modified:   openair3/S1AP/s1ap_eNB_trace.c
	modified:   openair3/S1AP/s1ap_eNB_trace.h
	modified:   openair3/S1AP/s1ap_eNB_ue_context.c
	modified:   openair3/S1AP/s1ap_eNB_ue_context.h
	modified:   openair3/SCTP/sctp_common.c
	modified:   openair3/SCTP/sctp_common.h
	modified:   openair3/SCTP/sctp_default_values.h
	modified:   openair3/SCTP/sctp_eNB_defs.h
	modified:   openair3/SCTP/sctp_eNB_itti_messaging.c
	modified:   openair3/SCTP/sctp_eNB_itti_messaging.h
	modified:   openair3/SCTP/sctp_eNB_task.c
	modified:   openair3/SCTP/sctp_eNB_task.h
	modified:   openair3/SCTP/sctp_primitives_client.c
	modified:   openair3/SCTP/sctp_primitives_client.h
	modified:   openair3/SECU/kdf.c
	modified:   openair3/SECU/key_nas_deriver.c
	modified:   openair3/SECU/key_nas_encryption.c
	modified:   openair3/SECU/nas_stream_eea1.c
	modified:   openair3/SECU/nas_stream_eea2.c
	modified:   openair3/SECU/nas_stream_eia1.c
	modified:   openair3/SECU/nas_stream_eia2.c
	modified:   openair3/SECU/rijndael.c
	modified:   openair3/SECU/rijndael.h
	modified:   openair3/SECU/secu_defs.h
	modified:   openair3/SECU/snow3g.c
	modified:   openair3/SECU/snow3g.h
	modified:   openair3/TEST/EPC_TEST/generate_scenario.c
	modified:   openair3/TEST/EPC_TEST/generate_scenario.h
	modified:   openair3/TEST/EPC_TEST/play_scenario.c
	modified:   openair3/TEST/EPC_TEST/play_scenario.h
	modified:   openair3/TEST/EPC_TEST/play_scenario_decode.c
	modified:   openair3/TEST/EPC_TEST/play_scenario_display.c
	modified:   openair3/TEST/EPC_TEST/play_scenario_fsm.c
	modified:   openair3/TEST/EPC_TEST/play_scenario_parse.c
	modified:   openair3/TEST/EPC_TEST/play_scenario_s1ap.c
	modified:   openair3/TEST/EPC_TEST/play_scenario_s1ap_compare_ie.c
	modified:   openair3/TEST/EPC_TEST/play_scenario_s1ap_eNB_defs.h
	modified:   openair3/TEST/EPC_TEST/play_scenario_sctp.c
	modified:   openair3/TEST/oaisim_mme_client_test.c
	modified:   openair3/TEST/oaisim_mme_itti_test.c
	modified:   openair3/TEST/oaisim_mme_list_benchmark.c
	modified:   openair3/TEST/oaisim_mme_s1ap_test.c
	modified:   openair3/TEST/oaisim_mme_sctp_test.c
	modified:   openair3/TEST/oaisim_mme_test_s1c.c
	modified:   openair3/TEST/oaisim_mme_test_s1c.h
	modified:   openair3/TEST/oaisim_mme_test_s1c_s1ap.c
	modified:   openair3/TEST/oaisim_mme_test_s1c_s1ap.h
	modified:   openair3/TEST/oaisim_mme_test_s1c_scenario.c
	modified:   openair3/TEST/oaisim_mme_test_s1c_scenario.h
	modified:   openair3/TEST/oaisim_mme_test_s1c_scenario1.c
	modified:   openair3/TEST/test_aes128_cmac_encrypt.c
	modified:   openair3/TEST/test_aes128_ctr_decrypt.c
	modified:   openair3/TEST/test_aes128_ctr_encrypt.c
	modified:   openair3/TEST/test_kdf.c
	modified:   openair3/TEST/test_s1ap.c
	modified:   openair3/TEST/test_secu.c
	modified:   openair3/TEST/test_secu_kenb.c
	modified:   openair3/TEST/test_secu_knas.c
	modified:   openair3/TEST/test_secu_knas_encrypt_eea1.c
	modified:   openair3/TEST/test_secu_knas_encrypt_eea2.c
	modified:   openair3/TEST/test_secu_knas_encrypt_eia1.c
	modified:   openair3/TEST/test_secu_knas_encrypt_eia2.c
	modified:   openair3/TEST/test_secu_knas_stream_int.c
	modified:   openair3/UDP/udp_eNB_task.c
	modified:   openair3/UDP/udp_eNB_task.h
	modified:   openair3/UTILS/conversions.c
	modified:   openair3/UTILS/conversions.h
	modified:   openair3/UTILS/enum_string.c
	modified:   openair3/UTILS/enum_string.h
	modified:   openair3/UTILS/log.c
	modified:   openair3/UTILS/log.h
	modified:   openair3/UTILS/mcc_mnc_itu.c
	modified:   openair3/UTILS/mcc_mnc_itu.h
	modified:   openair3/UTILS/mme_config.c
	modified:   openair3/UTILS/mme_config.h
	modified:   openair3/UTILS/mme_default_values.h
	modified:   targets/ARCH/BLADERF/USERSPACE/LIB/bladerf_lib.c
	modified:   targets/ARCH/BLADERF/USERSPACE/LIB/bladerf_lib.h
	modified:   targets/ARCH/COMMON/common_lib.c
	modified:   targets/ARCH/COMMON/common_lib.h
	modified:   targets/ARCH/ETHERNET/USERSPACE/LIB/eth_raw.c
	modified:   targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
	modified:   targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
	modified:   targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.h
	modified:   targets/ARCH/ETHERNET/USERSPACE/LIB/if_defs.h
	modified:   targets/ARCH/EXMIMO/DEFS/openair_device.h
	modified:   targets/ARCH/EXMIMO/DEFS/pcie_interface.h
	modified:   targets/ARCH/EXMIMO/DRIVER/eurecom/defs.h
	modified:   targets/ARCH/EXMIMO/DRIVER/eurecom/exmimo_fw.c
	modified:   targets/ARCH/EXMIMO/DRIVER/eurecom/extern.h
	modified:   targets/ARCH/EXMIMO/DRIVER/eurecom/fileops.c
	modified:   targets/ARCH/EXMIMO/DRIVER/eurecom/irq.c
	modified:   targets/ARCH/EXMIMO/DRIVER/eurecom/module_main.c
	modified:   targets/ARCH/EXMIMO/DRIVER/eurecom/vars.h
	modified:   targets/ARCH/EXMIMO/DRIVER/exmimo3/defs.h
	modified:   targets/ARCH/EXMIMO/DRIVER/exmimo3/exmimo_fw.c
	modified:   targets/ARCH/EXMIMO/DRIVER/exmimo3/extern.h
	modified:   targets/ARCH/EXMIMO/DRIVER/exmimo3/fileops.c
	modified:   targets/ARCH/EXMIMO/DRIVER/exmimo3/irq.c
	modified:   targets/ARCH/EXMIMO/DRIVER/exmimo3/module_main.c
	modified:   targets/ARCH/EXMIMO/DRIVER/exmimo3/vars.h
	modified:   targets/ARCH/EXMIMO/DRIVER/telecomparistech/em1_dev.c
	modified:   targets/ARCH/EXMIMO/DRIVER/telecomparistech/em1_drv.c
	modified:   targets/ARCH/EXMIMO/DRIVER/telecomparistech/em1_drv.h
	modified:   targets/ARCH/EXMIMO/DRIVER/telecomparistech/em1_fifos.c
	modified:   targets/ARCH/EXMIMO/DRIVER/telecomparistech/em1_ioctl.c
	modified:   targets/ARCH/EXMIMO/DRIVER/telecomparistech/em1_mmap.c
	modified:   targets/ARCH/EXMIMO/DRIVER/telecomparistech/em1_rw.c
	modified:   targets/ARCH/EXMIMO/USERSPACE/LIB/example.c
	modified:   targets/ARCH/EXMIMO/USERSPACE/LIB/gain_control.c
	modified:   targets/ARCH/EXMIMO/USERSPACE/LIB/gain_control.h
	modified:   targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
	modified:   targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.h
	modified:   targets/ARCH/EXMIMO/USERSPACE/OAI_FW_INIT/updatefw.c
	modified:   targets/ARCH/EXMIMO/USERSPACE/OAI_FW_INIT/updatefw.h
	modified:   targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf.h
	modified:   targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
	modified:   targets/ARCH/LMSSDR/USERSPACE/LIB/sodera_lib.cpp
	modified:   targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
	modified:   targets/COMMON/create_tasks.c
	modified:   targets/COMMON/create_tasks.h
	modified:   targets/RT/USER/TOOLS/thread_ipc.c
	modified:   targets/RT/USER/TOOLS/thread_ipc.h
	modified:   targets/RT/USER/UE_transport_IQ.c
	modified:   targets/RT/USER/condtest.c
	modified:   targets/RT/USER/eNB_transport_IQ.c
	modified:   targets/RT/USER/emos-raw.c
	modified:   targets/RT/USER/lte-enb.c
	modified:   targets/RT/USER/lte-softmodem.c
	modified:   targets/RT/USER/lte-ue.c
	modified:   targets/RT/USER/msg_helper.c
	modified:   targets/RT/USER/msg_many.c
	modified:   targets/RT/USER/msg_many.h
	modified:   targets/RT/USER/rrh.c
	modified:   targets/RT/USER/rrh_gw.c
	modified:   targets/RT/USER/rrh_gw.h
	modified:   targets/RT/USER/rrh_gw_externs.h
	modified:   targets/RT/USER/rt_wrapper.c
	modified:   targets/RT/USER/rt_wrapper.h
	modified:   targets/RT/USER/sleeptest.c
	modified:   targets/RT/USER/stats.c
	modified:   targets/RT/USER/stats.h
	modified:   targets/RT/USER/synctest.c
	modified:   targets/SIMU/PROC/Process.c
	modified:   targets/SIMU/PROC/Process.h
	modified:   targets/SIMU/PROC/Tsync.h
	modified:   targets/SIMU/PROC/channel_sim_proc.c
	modified:   targets/SIMU/PROC/channel_sim_proc.h
	modified:   targets/SIMU/PROC/interface.h
	modified:   targets/SIMU/USER/channel_sim.c
	modified:   targets/SIMU/USER/cor_SF_sim.c
	modified:   targets/SIMU/USER/cor_SF_sim.h
	modified:   targets/SIMU/USER/event_handler.c
	modified:   targets/SIMU/USER/event_handler.h
	modified:   targets/SIMU/USER/init_lte.c
	modified:   targets/SIMU/USER/init_lte.h
	modified:   targets/SIMU/USER/oaisim.c
	modified:   targets/SIMU/USER/oaisim.h
	modified:   targets/SIMU/USER/oaisim_config.c
	modified:   targets/SIMU/USER/oaisim_config.h
	modified:   targets/SIMU/USER/oaisim_functions.c
	modified:   targets/SIMU/USER/oaisim_functions.h
	modified:   targets/SIMU/USER/oaisim_pad.c
	modified:   targets/SIMU/USER/phy_procedures_sim_form.c
	modified:   targets/SIMU/USER/phy_procedures_sim_form.h
	modified:   targets/SIMU/USER/sinr_sim.c
	modified:   targets/TEST/AT_COMMANDS/oaisim.c
	modified:   targets/TEST/PACKET_TRACER/pt.c
	modified:   targets/TEST/PDCP/test_pdcp.c
	modified:   targets/TEST/PDCP/test_pdcp.h
	modified:   targets/TEST/PDCP/test_util.h
	modified:   targets/TEST/PDCP/with_rlc/test_pdcp_rlc.c
	modified:   targets/TEST/RLC_AM_V9.3.0/oaisim.c
	modified:   targets/TEST/RLC_UM_V9.3.0/oaisim.c
	modified:   targets/TEST/ROHDE_SCHWARZ/EthernetRawCommand.cpp
	modified:   targets/TEST/ROHDE_SCHWARZ/TcpClient.cpp
	modified:   targets/TEST/ROHDE_SCHWARZ/TcpClient.h
2016-09-27 16:54:39 +02:00

1480 lines
55 KiB
C

/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.0 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*****************************************************************************
Source emm_as.c
Version 0.1
Date 2012/10/16
Product NAS stack
Subsystem EPS Mobility Management
Author Frederic Maurel
Description Defines the EMMAS Service Access Point that provides
services to the EPS Mobility Management for NAS message
transfer to/from the Access Stratum sublayer.
*****************************************************************************/
#include "emm_as.h"
#include "emm_recv.h"
#include "emm_send.h"
#include "emmData.h"
#include "commonDef.h"
#include "nas_log.h"
#include "TLVDecoder.h"
#include "as_message.h"
#include "nas_message.h"
#include "emm_cause.h"
#include "LowerLayer.h"
#include <string.h> // memset
#include <stdlib.h> // malloc, free
#if defined(NAS_BUILT_IN_UE)
# include "nas_itti_messaging.h"
#endif
#include "msc.h"
/****************************************************************************/
/**************** E X T E R N A L D E F I N I T I O N S ****************/
/****************************************************************************/
extern int emm_proc_plmn_selection_end(int found, tac_t tac, ci_t ci, AcT_t rat);
extern int emm_proc_status(unsigned int ueid, int emm_cause);
/****************************************************************************/
/******************* L O C A L D E F I N I T I O N S *******************/
/****************************************************************************/
/*
* String representation of EMMAS-SAP primitives
*/
static const char *_emm_as_primitive_str[] = {
"EMMAS_SECURITY_REQ",
"EMMAS_SECURITY_IND",
"EMMAS_SECURITY_RES",
"EMMAS_SECURITY_REJ",
"EMMAS_ESTABLISH_REQ",
"EMMAS_ESTABLISH_CNF",
"EMMAS_ESTABLISH_REJ",
"EMMAS_RELEASE_REQ",
"EMMAS_RELEASE_IND",
"EMMAS_DATA_REQ",
"EMMAS_DATA_IND",
"EMMAS_PAGE_IND",
"EMMAS_STATUS_IND",
"EMMAS_CELL_INFO_REQ",
"EMMAS_CELL_INFO_RES",
"EMMAS_CELL_INFO_IND",
};
/*
* Functions executed to process EMM procedures upon receiving
* data from the network
*/
static int _emm_as_recv(unsigned int ueid, const char *msg, int len,
int *emm_cause);
static int _emm_as_establish_cnf(const emm_as_establish_t *msg, int *emm_cause);
static int _emm_as_establish_rej(void);
static int _emm_as_release_ind(const emm_as_release_t *msg);
static int _emm_as_page_ind(const emm_as_page_t *msg);
static int _emm_as_cell_info_res(const emm_as_cell_info_t *msg);
static int _emm_as_cell_info_ind(const emm_as_cell_info_t *msg);
static int _emm_as_data_ind(const emm_as_data_t *msg, int *emm_cause);
/*
* Functions executed to send data to the network when requested
* within EMM procedure processing
*/
static EMM_msg *_emm_as_set_header(nas_message_t *msg,
const emm_as_security_data_t *security);
static int
_emm_as_encode(
as_nas_info_t *info,
nas_message_t *msg,
int length,
emm_security_context_t *emm_security_context);
static int _emm_as_encrypt(
as_nas_info_t *info,
const nas_message_security_header_t *header,
const char *buffer,
int length,
emm_security_context_t *emm_security_context);
static int _emm_as_send(const emm_as_t *msg);
static int _emm_as_security_res(const emm_as_security_t *,
ul_info_transfer_req_t *);
static int _emm_as_establish_req(const emm_as_establish_t *,
nas_establish_req_t *);
static int _emm_as_cell_info_req(const emm_as_cell_info_t *, cell_info_req_t *);
static int _emm_as_data_req(const emm_as_data_t *, ul_info_transfer_req_t *);
static int _emm_as_status_ind(const emm_as_status_t *, ul_info_transfer_req_t *);
static int _emm_as_release_req(const emm_as_release_t *, nas_release_req_t *);
/****************************************************************************/
/****************** E X P O R T E D F U N C T I O N S ******************/
/****************************************************************************/
/****************************************************************************
** **
** Name: emm_as_initialize() **
** **
** Description: Initializes the EMMAS Service Access Point **
** **
** Inputs: None **
** Others: None **
** **
** Outputs: None **
** Return: None **
** Others: NONE **
** **
***************************************************************************/
void emm_as_initialize(void)
{
LOG_FUNC_IN;
/* TODO: Initialize the EMMAS-SAP */
LOG_FUNC_OUT;
}
/****************************************************************************
** **
** Name: emm_as_send() **
** **
** Description: Processes the EMMAS Service Access Point primitive. **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: None **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
int emm_as_send(const emm_as_t *msg)
{
LOG_FUNC_IN;
int rc;
int emm_cause = EMM_CAUSE_SUCCESS;
emm_as_primitive_t primitive = msg->primitive;
uint32_t ueid = 0;
LOG_TRACE(INFO, "EMMAS-SAP - Received primitive %s (%d)",
_emm_as_primitive_str[primitive - _EMMAS_START - 1], primitive);
switch (primitive) {
case _EMMAS_DATA_IND:
rc = _emm_as_data_ind(&msg->u.data, &emm_cause);
ueid = msg->u.data.ueid;
break;
case _EMMAS_ESTABLISH_CNF:
rc = _emm_as_establish_cnf(&msg->u.establish, &emm_cause);
break;
case _EMMAS_ESTABLISH_REJ:
rc = _emm_as_establish_rej();
break;
case _EMMAS_RELEASE_IND:
rc = _emm_as_release_ind(&msg->u.release);
break;
case _EMMAS_PAGE_IND:
rc = _emm_as_page_ind(&msg->u.page);
break;
case _EMMAS_CELL_INFO_RES:
rc = _emm_as_cell_info_res(&msg->u.cell_info);
break;
case _EMMAS_CELL_INFO_IND:
rc = _emm_as_cell_info_ind(&msg->u.cell_info);
break;
default:
/* Other primitives are forwarded to the Access Stratum */
rc = _emm_as_send(msg);
if (rc != RETURNok) {
LOG_TRACE(ERROR, "EMMAS-SAP - "
"Failed to process primitive %s (%d)",
_emm_as_primitive_str[primitive - _EMMAS_START - 1],
primitive);
LOG_FUNC_RETURN (RETURNerror);
}
break;
}
/* Handle decoding errors */
if (emm_cause != EMM_CAUSE_SUCCESS) {
/* Ignore received message that is too short to contain a complete
* message type information element */
if (rc == TLV_DECODE_BUFFER_TOO_SHORT) {
LOG_FUNC_RETURN (RETURNok);
}
/* Ignore received message that contains not supported protocol
* discriminator */
else if (rc == TLV_DECODE_PROTOCOL_NOT_SUPPORTED) {
LOG_FUNC_RETURN (RETURNok);
} else if (rc == TLV_DECODE_WRONG_MESSAGE_TYPE) {
emm_cause = EMM_CAUSE_MESSAGE_TYPE_NOT_IMPLEMENTED;
}
/* EMM message processing failed */
LOG_TRACE(WARNING, "EMMAS-SAP - Received EMM message is not valid "
"(cause=%d)", emm_cause);
/* Return an EMM status message */
rc = emm_proc_status(ueid, emm_cause);
}
if (rc != RETURNok) {
LOG_TRACE(ERROR, "EMMAS-SAP - Failed to process primitive %s (%d)",
_emm_as_primitive_str[primitive - _EMMAS_START - 1],
primitive);
}
LOG_FUNC_RETURN (rc);
}
/****************************************************************************/
/********************* L O C A L F U N C T I O N S *********************/
/****************************************************************************/
/*
* --------------------------------------------------------------------------
* Functions executed to process EMM procedures upon receiving data from the
* network
* --------------------------------------------------------------------------
*/
/****************************************************************************
** **
** Name: _emm_as_recv() **
** **
** Description: Decodes and processes the EPS Mobility Management message **
** received from the Access Stratum **
** **
** Inputs: ueid: UE lower layer identifier **
** msg: The EMM message to process **
** len: The length of the EMM message **
** Others: None **
** **
** Outputs: emm_cause: EMM cause code **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_recv(unsigned int ueid, const char *msg, int len,
int *emm_cause)
{
LOG_FUNC_IN;
int decoder_rc;
int rc = RETURNerror;
LOG_TRACE(INFO, "EMMAS-SAP - Received EMM message (length=%d)", len);
nas_message_t nas_msg;
memset(&nas_msg, 0 , sizeof(nas_message_t));
emm_security_context_t *security = NULL; /* Current EPS NAS security context */
security = _emm_data.security;
/* Decode the received message */
decoder_rc = nas_message_decode(msg, &nas_msg, len, security);
if (decoder_rc < 0) {
LOG_TRACE(WARNING, "EMMAS-SAP - Failed to decode NAS message "
"(err=%d)", decoder_rc);
*emm_cause = EMM_CAUSE_PROTOCOL_ERROR;
LOG_FUNC_RETURN (decoder_rc);
}
/* Process NAS message */
EMM_msg *emm_msg = &nas_msg.plain.emm;
switch (emm_msg->header.message_type) {
case EMM_STATUS:
rc = emm_recv_status(ueid, &emm_msg->emm_status, emm_cause);
break;
case IDENTITY_REQUEST:
rc = emm_recv_identity_request(&emm_msg->identity_request,
emm_cause);
break;
case AUTHENTICATION_REQUEST:
rc = emm_recv_authentication_request(
&emm_msg->authentication_request,
emm_cause);
break;
case AUTHENTICATION_REJECT:
rc = emm_recv_authentication_reject(
&emm_msg->authentication_reject,
emm_cause);
break;
case SECURITY_MODE_COMMAND:
rc = emm_recv_security_mode_command(
&emm_msg->security_mode_command,
emm_cause);
break;
case DETACH_ACCEPT:
rc = emm_recv_detach_accept(&emm_msg->detach_accept, emm_cause);
break;
case TRACKING_AREA_UPDATE_ACCEPT:
case TRACKING_AREA_UPDATE_REJECT:
case SERVICE_REJECT:
case GUTI_REALLOCATION_COMMAND:
case EMM_INFORMATION:
case DOWNLINK_NAS_TRANSPORT:
case CS_SERVICE_NOTIFICATION:
/* TODO */
break;
default:
LOG_TRACE(WARNING, "EMMAS-SAP - EMM message 0x%x is not valid",
emm_msg->header.message_type);
*emm_cause = EMM_CAUSE_MESSAGE_TYPE_NOT_COMPATIBLE;
break;
}
LOG_FUNC_RETURN (rc);
}
/****************************************************************************
** **
** Name: _emm_as_data_ind() **
** **
** Description: Processes the EMMAS-SAP data transfer indication **
** primitive **
** **
** EMMAS-SAP - AS->EMM: DATA_IND - Data transfer procedure **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: emm_cause: EMM cause code **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_data_ind(const emm_as_data_t *msg, int *emm_cause)
{
LOG_FUNC_IN;
int rc = RETURNerror;
LOG_TRACE(INFO, "EMMAS-SAP - Received AS data transfer indication "
"(ueid=%u, delivered=%s, length=%d)", msg->ueid,
(msg->delivered)? "TRUE" : "FALSE", msg->NASmsg.length);
if (msg->delivered) {
if (msg->NASmsg.length > 0) {
/* Process the received NAS message */
char *plain_msg = (char *)malloc(msg->NASmsg.length);
if (plain_msg) {
nas_message_security_header_t header;
emm_security_context_t *security = NULL; /* Current EPS NAS security context */
memset(&header, 0, sizeof(header));
/* Decrypt the received security protected message */
security = _emm_data.security;
int bytes = nas_message_decrypt((char *)(msg->NASmsg.value),
plain_msg,
&header,
msg->NASmsg.length,
security
);
if (bytes < 0) {
/* Failed to decrypt the message */
*emm_cause = EMM_CAUSE_PROTOCOL_ERROR;
LOG_FUNC_RETURN (bytes);
} else if (header.protocol_discriminator ==
EPS_MOBILITY_MANAGEMENT_MESSAGE) {
/* Process EMM data */
rc = _emm_as_recv(msg->ueid, plain_msg, bytes, emm_cause);
} else if (header.protocol_discriminator ==
EPS_SESSION_MANAGEMENT_MESSAGE) {
const OctetString data = {bytes, (uint8_t *)plain_msg};
/* Foward ESM data to EPS session management */
rc = lowerlayer_data_ind(msg->ueid, &data);
}
free(plain_msg);
}
} else {
/* Process successfull lower layer transfer indication */
rc = lowerlayer_success(msg->ueid);
}
} else {
/* Process lower layer transmission failure of NAS message */
rc = lowerlayer_failure(msg->ueid);
}
LOG_FUNC_RETURN (rc);
}
/****************************************************************************
** **
** Name: _emm_as_establish_cnf() **
** **
** Description: Processes the EMMAS-SAP connection establish confirmation **
** primitive **
** **
** EMMAS-SAP - AS->EMM: ESTABLISH_CNF - NAS signalling connection **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: emm_cause: EMM cause code **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_establish_cnf(const emm_as_establish_t *msg,
int *emm_cause)
{
LOG_FUNC_IN;
int decoder_rc;
int rc = RETURNerror;
LOG_TRACE(INFO, "EMMAS-SAP - Received AS connection establish confirm");
if (msg->NASmsg.length > 0) {
/* The NAS signalling connection is established */
(void) lowerlayer_establish();
} else {
/* The initial NAS message has been successfully delivered to
* lower layers */
rc = lowerlayer_success(0);
LOG_FUNC_RETURN (rc);
}
nas_message_t nas_msg;
memset(&nas_msg, 0 , sizeof(nas_message_t));
/* Decode initial NAS message */
decoder_rc = nas_message_decode((char *)(msg->NASmsg.value),
&nas_msg,
msg->NASmsg.length,
_emm_data.security);
if (decoder_rc < 0) {
LOG_TRACE(WARNING, "EMMAS-SAP - Failed to decode initial NAS message"
"(err=%d)", decoder_rc);
*emm_cause = EMM_CAUSE_PROTOCOL_ERROR;
LOG_FUNC_RETURN (decoder_rc);
}
/* Process initial NAS message */
EMM_msg *emm_msg = &nas_msg.plain.emm;
switch (emm_msg->header.message_type) {
case ATTACH_ACCEPT:
rc = emm_recv_attach_accept(&emm_msg->attach_accept, emm_cause);
break;
case ATTACH_REJECT:
rc = emm_recv_attach_reject(&emm_msg->attach_reject, emm_cause);
break;
case DETACH_ACCEPT:
break;
case TRACKING_AREA_UPDATE_ACCEPT:
break;
default:
LOG_TRACE(WARNING, "EMMAS-SAP - Initial NAS message 0x%x is "
"not valid", emm_msg->header.message_type);
*emm_cause = EMM_CAUSE_MESSAGE_TYPE_NOT_COMPATIBLE;
break;
}
LOG_FUNC_RETURN (rc);
}
/****************************************************************************
** **
** Name: _emm_as_establish_rej() **
** **
** Description: Processes the EMMAS-SAP connection establish reject **
** primitive **
** **
** EMMAS-SAP - AS->EMM: ESTABLISH_REJ - NAS signalling connection **
** **
** Inputs: None **
** Others: None **
** **
** Outputs: None **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_establish_rej(void)
{
LOG_FUNC_IN;
int rc;
LOG_TRACE(INFO, "EMMAS-SAP - Received AS initial NAS message transmission "
"failure");
/* Process lower layer transmission failure of initial NAS message */
rc = lowerlayer_failure(0);
LOG_FUNC_RETURN (rc);
}
/****************************************************************************
** **
** Name: _emm_as_release_ind() **
** **
** Description: Processes the EMMAS-SAP connection release indication **
** primitive **
** **
** EMMAS-SAP - AS->EMM: RELEASE_IND - NAS signalling release procedure **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: None **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_release_ind(const emm_as_release_t *msg)
{
LOG_FUNC_IN;
int rc = RETURNok;
LOG_TRACE(INFO, "EMMAS-SAP - Received AS connection release indication "
"(cause=%d)", msg->cause);
/* Process NAS signalling connection release indication */
rc = lowerlayer_release(msg->cause);
LOG_FUNC_RETURN (rc);
}
/****************************************************************************
** **
** Name: _emm_as_page_ind() **
** **
** Description: Processes the EMMAS-SAP paging data indication primitive **
** **
** EMMAS-SAP - AS->EMM: PAGE_IND - Paging data procedure **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: None **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_page_ind(const emm_as_page_t *msg)
{
LOG_FUNC_IN;
int rc = RETURNok;
LOG_TRACE(INFO, "EMMAS-SAP - Received AS paging data indication");
/* TODO */
LOG_FUNC_RETURN (rc);
}
/****************************************************************************
** **
** Name: _emm_as_cell_info_res() **
** **
** Description: Processes the EMMAS-SAP cell information response **
** primitive **
** **
** EMMAS-SAP - AS->EMM: CELL_INFO_RES - PLMN and cell selection procedure **
** The NAS received a response to cell selection request pre- **
** viously sent to the Access-Startum. If a suitable cell is **
** found to serve the selected PLMN with associated Radio Ac- **
** cess Technologies, this cell is selected to camp on. **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: None **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_cell_info_res(const emm_as_cell_info_t *msg)
{
LOG_FUNC_IN;
int rc = RETURNok;
LOG_TRACE(INFO, "EMMAS-SAP - Received AS cell information response");
int AcT = NET_ACCESS_EUTRAN;
if (msg->found == TRUE) {
/* Get the first supported access technology */
while (AcT != NET_ACCESS_UNAVAILABLE) {
if (msg->rat & (1 << AcT)) {
break;
}
AcT -= 1;
}
}
/* Notify EMM that a cell has been found */
rc = emm_proc_plmn_selection_end(msg->found, msg->tac, msg->cellID, AcT);
LOG_FUNC_RETURN (rc);
}
/****************************************************************************
** **
** Name: _emm_as_cell_info_ind() **
** **
** Description: Processes the EMMAS-SAP cell information indication **
** primitive **
** **
** EMMAS-SAP - AS->EMM: CELL_INFO_IND - PLMN and cell selection procedure **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: None **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_cell_info_ind(const emm_as_cell_info_t *msg)
{
LOG_FUNC_IN;
int rc = RETURNok;
LOG_TRACE(INFO, "EMMAS-SAP - Received AS cell information indication");
/* TODO */
LOG_FUNC_RETURN (rc);
}
/*
* --------------------------------------------------------------------------
* Functions executed to send data to the network when requested within EMM
* procedure processing
* --------------------------------------------------------------------------
*/
/****************************************************************************
** **
** Name: _emm_as_set_header() **
** **
** Description: Setup the security header of the given NAS message **
** **
** Inputs: security: The NAS security data to use **
** Others: None **
** **
** Outputs: msg: The NAS message **
** Return: Pointer to the plain NAS message to be se- **
** curity protected if setting of the securi- **
** ty header succeed; **
** NULL pointer otherwise **
** Others: None **
** **
***************************************************************************/
static EMM_msg *_emm_as_set_header(nas_message_t *msg,
const emm_as_security_data_t *security)
{
LOG_FUNC_IN;
msg->header.protocol_discriminator = EPS_MOBILITY_MANAGEMENT_MESSAGE;
if ( security && (security->ksi != EMM_AS_NO_KEY_AVAILABLE) ) {
/* A valid EPS security context exists */
if (security->is_new) {
/* New EPS security context is taken into use */
if (security->k_int) {
if (security->k_enc) {
/* NAS integrity and cyphering keys are available */
msg->header.security_header_type =
SECURITY_HEADER_TYPE_INTEGRITY_PROTECTED_CYPHERED_NEW;
} else {
/* NAS integrity key only is available */
msg->header.security_header_type =
SECURITY_HEADER_TYPE_INTEGRITY_PROTECTED_NEW;
}
LOG_FUNC_RETURN (&msg->security_protected.plain.emm);
}
} else if (security->k_int) {
if (security->k_enc) {
/* NAS integrity and cyphering keys are available */
msg->header.security_header_type =
SECURITY_HEADER_TYPE_INTEGRITY_PROTECTED_CYPHERED;
} else {
/* NAS integrity key only is available */
msg->header.security_header_type =
SECURITY_HEADER_TYPE_INTEGRITY_PROTECTED;
}
LOG_FUNC_RETURN (&msg->security_protected.plain.emm);
} else {
/* No valid EPS security context exists */
msg->header.security_header_type = SECURITY_HEADER_TYPE_NOT_PROTECTED;
LOG_FUNC_RETURN (&msg->plain.emm);
}
} else {
/* No valid EPS security context exists */
msg->header.security_header_type = SECURITY_HEADER_TYPE_NOT_PROTECTED;
LOG_FUNC_RETURN (&msg->plain.emm);
}
/* A valid EPS security context exists but NAS integrity key
* is not available */
LOG_FUNC_RETURN (NULL);
}
/****************************************************************************
** **
** Name: _emm_as_encode() **
** **
** Description: Encodes NAS message into NAS information container **
** **
** Inputs: msg: The NAS message to encode **
** length: The maximum length of the NAS message **
** Others: None **
** **
** Outputs: info: The NAS information container **
** msg: The NAS message to encode **
** Return: The number of bytes successfully encoded **
** Others: None **
** **
***************************************************************************/
static int
_emm_as_encode(
as_nas_info_t *info,
nas_message_t *msg,
int length,
emm_security_context_t *emm_security_context)
{
LOG_FUNC_IN;
int bytes = 0;
if (msg->header.security_header_type != SECURITY_HEADER_TYPE_NOT_PROTECTED) {
emm_msg_header_t *header = &msg->security_protected.plain.emm.header;
/* Expand size of protected NAS message */
length += NAS_MESSAGE_SECURITY_HEADER_SIZE;
/* Set header of plain NAS message */
header->protocol_discriminator = EPS_MOBILITY_MANAGEMENT_MESSAGE;
header->security_header_type = SECURITY_HEADER_TYPE_NOT_PROTECTED;
}
/* Allocate memory to the NAS information container */
info->data = (Byte_t *)malloc(length * sizeof(Byte_t));
if (info->data != NULL) {
/* Encode the NAS message */
bytes = nas_message_encode(
(char *)(info->data),
msg,
length,
emm_security_context);
if (bytes > 0) {
info->length = bytes;
} else {
free(info->data);
info->length = 0;
info->data = NULL;
}
}
LOG_FUNC_RETURN (bytes);
}
/****************************************************************************
** **
** Name: _emm_as_encrypt() **
** **
** Description: Encryts NAS message into NAS information container **
** **
** Inputs: header: The Security header in used **
** msg: The NAS message to encrypt **
** length: The maximum length of the NAS message **
** Others: None **
** **
** Outputs: info: The NAS information container **
** Return: The number of bytes successfully encrypted **
** Others: None **
** **
***************************************************************************/
static int
_emm_as_encrypt(
as_nas_info_t *info,
const nas_message_security_header_t *header,
const char *msg,
int length,
emm_security_context_t *emm_security_context)
{
LOG_FUNC_IN;
int bytes = 0;
if (header->security_header_type != SECURITY_HEADER_TYPE_NOT_PROTECTED) {
/* Expand size of protected NAS message */
length += NAS_MESSAGE_SECURITY_HEADER_SIZE;
}
/* Allocate memory to the NAS information container */
info->data = (Byte_t *)malloc(length * sizeof(Byte_t));
if (info->data != NULL) {
/* Encrypt the NAS information message */
bytes = nas_message_encrypt(
msg,
(char *)(info->data),
header,
length,
emm_security_context);
if (bytes > 0) {
info->length = bytes;
} else {
free(info->data);
info->length = 0;
info->data = NULL;
}
}
LOG_FUNC_RETURN (bytes);
}
/****************************************************************************
** **
** Name: _emm_as_send() **
** **
** Description: Builds NAS message according to the given EMMAS Service **
** Access Point primitive and sends it to the Access Stratum **
** sublayer **
** **
** Inputs: msg: The EMMAS-SAP primitive to be sent **
** Others: None **
** **
** Outputs: None **
** Return: RETURNok, RETURNerror **
** Others: None **
** **
***************************************************************************/
static int _emm_as_send(const emm_as_t *msg)
{
LOG_FUNC_IN;
as_message_t as_msg;
memset(&as_msg, 0 , sizeof(as_message_t));
switch (msg->primitive) {
case _EMMAS_DATA_REQ:
as_msg.msgID = _emm_as_data_req(
&msg->u.data,
&as_msg.msg.ul_info_transfer_req);
break;
case _EMMAS_STATUS_IND:
as_msg.msgID = _emm_as_status_ind(
&msg->u.status,
&as_msg.msg.ul_info_transfer_req);
break;
case _EMMAS_RELEASE_REQ:
as_msg.msgID = _emm_as_release_req(
&msg->u.release,
&as_msg.msg.nas_release_req);
break;
case _EMMAS_SECURITY_RES:
as_msg.msgID = _emm_as_security_res(
&msg->u.security,
&as_msg.msg.ul_info_transfer_req);
break;
case _EMMAS_ESTABLISH_REQ:
as_msg.msgID = _emm_as_establish_req(
&msg->u.establish,
&as_msg.msg.nas_establish_req);
break;
case _EMMAS_CELL_INFO_REQ:
as_msg.msgID = _emm_as_cell_info_req(&msg->u.cell_info,
&as_msg.msg.cell_info_req);
/*
* TODO: NAS may provide a list of equivalent PLMNs, if available,
* that AS shall use for cell selection and cell reselection.
*/
break;
default:
as_msg.msgID = 0;
break;
}
/* Send the message to the Access Stratum or S1AP in case of MME */
if (as_msg.msgID > 0) {
# if defined(NAS_BUILT_IN_UE)
LOG_TRACE(DEBUG, "EMMAS-SAP - "
"Sending msg with id 0x%x, primitive %s (%d) to RRC layer for transmission",
as_msg.msgID,
_emm_as_primitive_str[msg->primitive - _EMMAS_START - 1],
msg->primitive);
switch (as_msg.msgID) {
case AS_CELL_INFO_REQ: {
nas_itti_cell_info_req(
as_msg.msg.cell_info_req.plmnID,
as_msg.msg.cell_info_req.rat);
LOG_FUNC_RETURN (RETURNok);
}
break;
case AS_NAS_ESTABLISH_REQ: {
nas_itti_nas_establish_req(
as_msg.msg.nas_establish_req.cause,
as_msg.msg.nas_establish_req.type,
as_msg.msg.nas_establish_req.s_tmsi,
as_msg.msg.nas_establish_req.plmnID,
as_msg.msg.nas_establish_req.initialNasMsg.data,
as_msg.msg.nas_establish_req.initialNasMsg.length);
LOG_FUNC_RETURN (RETURNok);
}
break;
case AS_UL_INFO_TRANSFER_REQ: {
nas_itti_ul_data_req(
as_msg.msg.ul_info_transfer_req.UEid,
as_msg.msg.ul_info_transfer_req.nasMsg.data,
as_msg.msg.ul_info_transfer_req.nasMsg.length);
LOG_FUNC_RETURN (RETURNok);
}
break;
case AS_RAB_ESTABLISH_RSP: {
nas_itti_rab_establish_rsp(
as_msg.msg.rab_establish_rsp.s_tmsi,
as_msg.msg.rab_establish_rsp.rabID,
as_msg.msg.rab_establish_rsp.errCode);
LOG_FUNC_RETURN (RETURNok);
}
break;
default:
break;
}
# else
int bytes = as_message_send(&as_msg);
if (bytes > 0) {
LOG_FUNC_RETURN (RETURNok);
}
# endif
}
LOG_FUNC_RETURN (RETURNerror);
}
/****************************************************************************
** **
** Name: _emm_as_data_req() **
** **
** Description: Processes the EMMAS-SAP data transfer request **
** primitive **
** **
** EMMAS-SAP - EMM->AS: DATA_REQ - Data transfer procedure **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: as_msg: The message to send to the AS **
** Return: The identifier of the AS message **
** Others: None **
** **
***************************************************************************/
static int _emm_as_data_req(const emm_as_data_t *msg,
ul_info_transfer_req_t *as_msg)
{
LOG_FUNC_IN;
int size = 0;
int is_encoded = FALSE;
LOG_TRACE(INFO, "EMMAS-SAP - Send AS data transfer request");
nas_message_t nas_msg;
memset(&nas_msg, 0 , sizeof(nas_message_t));
/* Setup the AS message */
if (msg->guti) {
as_msg->s_tmsi.MMEcode = msg->guti->gummei.MMEcode;
as_msg->s_tmsi.m_tmsi = msg->guti->m_tmsi;
} else {
as_msg->UEid = msg->ueid;
}
/* Setup the NAS security header */
EMM_msg *emm_msg = _emm_as_set_header(&nas_msg, &msg->sctx);
/* Setup the NAS information message */
if (emm_msg != NULL) switch (msg->NASinfo) {
case EMM_AS_NAS_DATA_ATTACH:
size = emm_send_attach_complete(msg, &emm_msg->attach_complete);
break;
case EMM_AS_NAS_DATA_DETACH:
size = emm_send_detach_request(msg, &emm_msg->detach_request);
break;
default:
/* Send other NAS messages as already encoded ESM messages */
size = msg->NASmsg.length;
is_encoded = TRUE;
break;
}
if (size > 0) {
int bytes;
emm_security_context_t *emm_security_context = NULL;
emm_security_context = _emm_data.security;
if (emm_security_context) {
nas_msg.header.sequence_number = emm_security_context->ul_count.seq_num;
LOG_TRACE(DEBUG,
"Set nas_msg.header.sequence_number -> %u",
nas_msg.header.sequence_number);
}
if (!is_encoded) {
/* Encode the NAS information message */
bytes = _emm_as_encode(&as_msg->nasMsg,
&nas_msg,
size,
emm_security_context);
} else {
/* Encrypt the NAS information message */
bytes = _emm_as_encrypt(&as_msg->nasMsg,
&nas_msg.header,
(char *)(msg->NASmsg.value),
size,
emm_security_context);
}
if (bytes > 0) {
LOG_FUNC_RETURN (AS_UL_INFO_TRANSFER_REQ);
}
}
LOG_FUNC_RETURN (0);
}
/****************************************************************************
** **
** Name: _emm_as_status_ind() **
** **
** Description: Processes the EMMAS-SAP status indication primitive **
** **
** EMMAS-SAP - EMM->AS: STATUS_IND - EMM status report procedure **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: as_msg: The message to send to the AS **
** Return: The identifier of the AS message **
** Others: None **
** **
***************************************************************************/
static int _emm_as_status_ind(const emm_as_status_t *msg,
ul_info_transfer_req_t *as_msg)
{
LOG_FUNC_IN;
int size = 0;
LOG_TRACE(INFO, "EMMAS-SAP - Send AS status indication (cause=%d)",
msg->emm_cause);
nas_message_t nas_msg;
memset(&nas_msg, 0 , sizeof(nas_message_t));
/* Setup the AS message */
if (msg->guti) {
as_msg->s_tmsi.MMEcode = msg->guti->gummei.MMEcode;
as_msg->s_tmsi.m_tmsi = msg->guti->m_tmsi;
} else {
as_msg->UEid = msg->ueid;
}
/* Setup the NAS security header */
EMM_msg *emm_msg = _emm_as_set_header(&nas_msg, &msg->sctx);
/* Setup the NAS information message */
if (emm_msg != NULL) {
size = emm_send_status(msg, &emm_msg->emm_status);
}
if (size > 0) {
emm_security_context_t *emm_security_context = NULL;
emm_security_context = _emm_data.security;
if (emm_security_context) {
nas_msg.header.sequence_number = emm_security_context->ul_count.seq_num;
LOG_TRACE(DEBUG,
"Set nas_msg.header.sequence_number -> %u",
nas_msg.header.sequence_number);
}
/* Encode the NAS information message */
int bytes = _emm_as_encode(
&as_msg->nasMsg,
&nas_msg,
size,
emm_security_context);
if (bytes > 0) {
LOG_FUNC_RETURN (AS_UL_INFO_TRANSFER_REQ);
}
}
LOG_FUNC_RETURN (0);
}
/****************************************************************************
** **
** Name: _emm_as_release_req() **
** **
** Description: Processes the EMMAS-SAP connection release request **
** primitive **
** **
** EMMAS-SAP - EMM->AS: RELEASE_REQ - NAS signalling release procedure **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: as_msg: The message to send to the AS **
** Return: The identifier of the AS message **
** Others: None **
** **
***************************************************************************/
static int _emm_as_release_req(const emm_as_release_t *msg,
nas_release_req_t *as_msg)
{
LOG_FUNC_IN;
LOG_TRACE(INFO, "EMMAS-SAP - Send AS release request");
/* Setup the AS message */
if (msg->guti) {
as_msg->s_tmsi.MMEcode = msg->guti->gummei.MMEcode;
as_msg->s_tmsi.m_tmsi = msg->guti->m_tmsi;
} else {
as_msg->UEid = msg->ueid;
}
if (msg->cause == EMM_AS_CAUSE_AUTHENTICATION) {
as_msg->cause = AS_AUTHENTICATION_FAILURE;
} else if (msg->cause == EMM_AS_CAUSE_DETACH) {
as_msg->cause = AS_DETACH;
}
LOG_FUNC_RETURN (AS_NAS_RELEASE_REQ);
}
/****************************************************************************
** **
** Name: _emm_as_security_res() **
** **
** Description: Processes the EMMAS-SAP security response primitive **
** **
** EMMAS-SAP - EMM->AS: SECURITY_RES - Security mode control procedure **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: as_msg: The message to send to the AS **
** Return: The identifier of the AS message **
** Others: None **
** **
***************************************************************************/
static int _emm_as_security_res(const emm_as_security_t *msg,
ul_info_transfer_req_t *as_msg)
{
LOG_FUNC_IN;
int size = 0;
LOG_TRACE(INFO, "EMMAS-SAP - Send AS security response");
nas_message_t nas_msg;
memset(&nas_msg, 0 , sizeof(nas_message_t));
/* Setup the AS message */
if (msg->guti) {
as_msg->s_tmsi.MMEcode = msg->guti->gummei.MMEcode;
as_msg->s_tmsi.m_tmsi = msg->guti->m_tmsi;
}
/* Setup the NAS security header */
EMM_msg *emm_msg = _emm_as_set_header(&nas_msg, &msg->sctx);
/* Setup the NAS security message */
if (emm_msg != NULL) switch (msg->msgType) {
case EMM_AS_MSG_TYPE_IDENT:
size = emm_send_identity_response(
msg,
&emm_msg->identity_response);
break;
case EMM_AS_MSG_TYPE_AUTH:
if (msg->emm_cause != EMM_CAUSE_SUCCESS) {
size = emm_send_authentication_failure(
msg,
&emm_msg->authentication_failure);
} else {
size = emm_send_authentication_response(
msg,
&emm_msg->authentication_response);
}
break;
case EMM_AS_MSG_TYPE_SMC:
if (msg->emm_cause != EMM_CAUSE_SUCCESS) {
size = emm_send_security_mode_reject(
msg,
&emm_msg->security_mode_reject);
} else {
size = emm_send_security_mode_complete(
msg,
&emm_msg->security_mode_complete);
}
break;
default:
LOG_TRACE(WARNING, "EMMAS-SAP - Type of NAS security "
"message 0x%.2x is not valid", msg->msgType);
}
if (size > 0) {
/* Encode the NAS security message */
int bytes = _emm_as_encode(&as_msg->nasMsg,
&nas_msg,
size,
_emm_data.security);
if (bytes > 0) {
LOG_FUNC_RETURN (AS_UL_INFO_TRANSFER_REQ);
}
}
LOG_FUNC_RETURN (0);
}
/****************************************************************************
** **
** Name: _emm_as_establish_req() **
** **
** Description: Processes the EMMAS-SAP connection establish request **
** primitive **
** **
** EMMAS-SAP - EMM->AS: ESTABLISH_REQ - NAS signalling connection **
** The NAS requests the AS to establish signalling connection **
** to tranfer initial NAS message to the network. **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: as_msg: The message to send to the AS **
** Return: The identifier of the AS message **
** Others: None **
** **
***************************************************************************/
static int _emm_as_establish_req(const emm_as_establish_t *msg,
nas_establish_req_t *as_msg)
{
LOG_FUNC_IN;
int size = 0;
LOG_TRACE(INFO, "EMMAS-SAP - Send AS connection establish request");
nas_message_t nas_msg;
memset(&nas_msg, 0 , sizeof(nas_message_t));
/* Setup the AS message */
as_msg->cause = msg->RRCcause;
as_msg->type = msg->RRCtype;
as_msg->plmnID = *msg->plmnID;
/* Derive the S-TMSI from the GUTI, if valid */
if (msg->UEid.guti) {
as_msg->s_tmsi.MMEcode = msg->UEid.guti->gummei.MMEcode;
as_msg->s_tmsi.m_tmsi = msg->UEid.guti->m_tmsi;
}
/* Setup the NAS security header */
EMM_msg *emm_msg = _emm_as_set_header(&nas_msg, &msg->sctx);
/* Setup the initial NAS information message */
if (emm_msg != NULL) switch (msg->NASinfo) {
case EMM_AS_NAS_INFO_ATTACH:
size = emm_send_attach_request(msg, &emm_msg->attach_request);
break;
case EMM_AS_NAS_INFO_DETACH:
size = emm_send_initial_detach_request(msg,
&emm_msg->detach_request);
break;
case EMM_AS_NAS_INFO_TAU:
size = emm_send_initial_tau_request(msg,
&emm_msg->tracking_area_update_request);
break;
case EMM_AS_NAS_INFO_SR:
size = emm_send_initial_sr_request(msg,
&emm_msg->service_request);
break;
case EMM_AS_NAS_INFO_EXTSR:
size = emm_send_initial_extsr_request(msg,
&emm_msg->extended_service_request);
break;
default:
LOG_TRACE(WARNING, "EMMAS-SAP - Type of initial NAS "
"message 0x%.2x is not valid", msg->NASinfo);
break;
}
if (size > 0) {
/* Encode the initial NAS information message */
int bytes = _emm_as_encode(
&as_msg->initialNasMsg,
&nas_msg,
size,
_emm_data.security);
if (bytes > 0) {
LOG_FUNC_RETURN (AS_NAS_ESTABLISH_REQ);
}
}
LOG_FUNC_RETURN (0);
}
/****************************************************************************
** **
** Name: _emm_as_cell_info_req() **
** **
** Description: Processes the EMMAS-SAP cell information request **
** primitive **
** **
** EMMAS-SAP - EMM->AS: CELL_INFO_REQ - PLMN and cell selection procedure **
** The NAS requests the AS to select a cell belonging to the **
** selected PLMN with associated Radio Access Technologies. **
** **
** Inputs: msg: The EMMAS-SAP primitive to process **
** Others: None **
** **
** Outputs: as_msg: The message to send to the AS **
** Return: The identifier of the AS message **
** Others: None **
** **
***************************************************************************/
static int _emm_as_cell_info_req(const emm_as_cell_info_t *msg,
cell_info_req_t *as_msg)
{
LOG_FUNC_IN;
LOG_TRACE(INFO, "EMMAS-SAP - Send AS cell information request");
as_msg->plmnID = msg->plmnIDs.plmn[0];
as_msg->rat = msg->rat;
LOG_FUNC_RETURN (AS_CELL_INFO_REQ);
}