Pedro Alvarez
|
f33fcf65bf
|
Fixing up S1AP context management procedures to use the new class.
|
7 years ago |
Pedro Alvarez
|
081721751b
|
Starting to clean up the NAS in the EPC.
|
7 years ago |
Pedro Alvarez
|
39c5c49189
|
Fixing coding style of some if statements.
|
7 years ago |
Pedro Alvarez
|
55a6c3d808
|
Changed the epc.conf to have some instructions how to configure wireshark to decode the S1AP packets from the epc.pcap file.
|
7 years ago |
Pedro Alvarez
|
151efc61d5
|
Added s1ap_tx_pdu function. This function will record to pcap if PCAP is enabled.
|
7 years ago |
Pedro Alvarez
|
b89ad628e2
|
Added config option to enable pcap.
|
7 years ago |
Pedro Alvarez
|
ba5708dc60
|
Starting to add S1AP pcap to EPC.
|
7 years ago |
Pedro Alvarez
|
ec0d7b0c7b
|
Making sure that MME updates the eNB SCTP info when it receives GUTI attach from attached user.
|
7 years ago |
Pedro Alvarez
|
c07de1d9e1
|
Remove debug print.
|
7 years ago |
Pedro Alvarez
|
0a6540d8bf
|
Saving QCI into ESM context. Different QCIs should be working now.
|
7 years ago |
Pedro Alvarez
|
66db3deeb4
|
Starting to add Bearer QoS parameter to create session request.
|
7 years ago |
Pedro Alvarez
|
fecdbcff4f
|
Starting to add support to different QCI in EPC.
|
7 years ago |
Pedro Alvarez
|
f301bb6373
|
Merging next into op_vs_opc and resolving conflicts.
|
7 years ago |
Pedro Alvarez
|
80f7f955ce
|
Making sure that the Security Mode command uses the correct eKSI.
|
7 years ago |
Pedro Alvarez
|
d44a3c44ca
|
Making sure eKSI is changed on re-synch. Re-synch on SYSMOCOM USIMs seem to work.
|
7 years ago |
Pedro Alvarez
|
d3469e51c1
|
Starting to play with key set identifier.
|
7 years ago |
Pedro Alvarez
|
11b51e7cb4
|
Merge branch 'next' into epc_sigpipe
|
7 years ago |
Pedro Alvarez
|
8df7a1b1af
|
Change some debug prints.
|
7 years ago |
Andre Puschmann
|
2001bb1c49
|
remove unneeded debug
|
7 years ago |
Andre Puschmann
|
5ac08b62e9
|
remove usage of std::string for APN
|
7 years ago |
Andre Puschmann
|
ab2c1cd10f
|
fix typos in s1ap in EPC
|
7 years ago |
Andre Puschmann
|
258785e7de
|
add log to s1ap
|
7 years ago |
Andre Puschmann
|
b4a23d325a
|
cosmetic changes
|
7 years ago |
Andre Puschmann
|
5ecc145f14
|
Merge branch 'master' into next
|
7 years ago |
David Rupprecht
|
751f7f6919
|
Reset NAS UL counter when sending security mode command for right k_enb
|
7 years ago |
David Rupprecht
|
caa59e5141
|
Clean up key derivation and more logs
|
7 years ago |
Ismael Gomez
|
208871b251
|
Changed liblte structs to simple structs and initialized nas/rrc uses.
|
7 years ago |
Andre Puschmann
|
2309f63002
|
Merge pull request #163 from pily112/handle_plain_nas_message
Added auth failure and detach to plain nas message
|
7 years ago |
Pedro Alvarez
|
3c44bc3b2c
|
Fixed double erease mistake. The SIGPIPE seems to be gone.
|
7 years ago |
Pedro Alvarez
|
5bd8509ce0
|
Making sure UE is erased from UE set.
|
7 years ago |
Pedro Alvarez
|
362c856e53
|
Changed UE set to be accessible from SCTP association.
|
7 years ago |
Pedro Alvarez
|
300b9e7757
|
Starting to add UEs to the eNB context again.
|
7 years ago |
Pedro Alvarez
|
a6fbdb62cd
|
Adding function to mark the UE as present to in the eNB
|
7 years ago |
Andre Puschmann
|
3b5dd5176a
|
More debug prints.
|
7 years ago |
Pedro Alvarez
|
609881855d
|
Adding a debug print
|
7 years ago |
Pedro Alvarez
|
d5ec07185d
|
Making sure that the UE is EMM-DEREGISTERED if the eNB is terminated.
|
7 years ago |
Andre Puschmann
|
319f473363
|
fix remaining printf warnings
|
7 years ago |
David Rupprecht
|
4932ea9dfb
|
Added auth failure and detach to plain nas message
|
7 years ago |
David Rupprecht
|
06d4559294
|
Change include path absolut to project dir
|
7 years ago |
Andre Puschmann
|
ff85e8b77f
|
fixing remaining printf formating issues
|
7 years ago |
Joseph Giovatto
|
49da57c8a1
|
Changed log methods to take string literal vs string object
to allow for format checking and save on object copy.
Fixed log format specifier warnings.
|
7 years ago |
Pedro Alvarez
|
308efd4fdc
|
Avoid overflow on M-TMSI allocation.
|
7 years ago |
Pedro Alvarez
|
5f9e0adbb6
|
Making sure cmath is included for std::pow
|
7 years ago |
Pedro Alvarez
|
6184a8b6aa
|
Fixed bug in GUTI allocation for multiple UEs.
|
7 years ago |
Pedro Alvarez
|
49a830e548
|
Making sure TAU requests are counted.
|
7 years ago |
Pedro Alvarez
|
b1f4ee47d1
|
Temporally removed unhandled UE cap info.
|
7 years ago |
Pedro Alvarez
|
cb0f7fc8c2
|
Changed print when service request integrity fails.
|
7 years ago |
Pedro Alvarez
|
ea8e7c9301
|
Fixed bug in GUTI attach when UE is already attached.
|
7 years ago |
Pedro Alvarez
|
fb1e87cf53
|
Fixing bug for IMSI attach of already attached user.
|
7 years ago |
Pedro Alvarez
|
45a1e8425b
|
Fix bug in dettach request from UL Nas transport
|
7 years ago |
Pedro Alvarez
|
3bc2cb859c
|
Sending ESM information request when GUTI attach passes integrity checks.
|
7 years ago |
Pedro Alvarez
|
d82c0b7f6b
|
Adding handling of detach request.
|
7 years ago |
Pedro Alvarez
|
b73a4da8f9
|
Starting to add support to NAS detach request.
|
7 years ago |
Pedro Alvarez
|
ba3a579a92
|
Regenerating k_eNB on guti attach request.
|
7 years ago |
Pedro Alvarez
|
79517310d0
|
small fixes on identation
|
7 years ago |
Pedro Alvarez
|
3d3027f0b7
|
Fixed GUTI attach when authentication fails.
|
7 years ago |
Pedro Alvarez
|
62dc65556a
|
Fixed GUTI attach procedure when authentication is successful. Ping works again.
|
7 years ago |
Pedro Alvarez
|
acc4f925bc
|
getting rid of boost::mutex on MME GTPc entity
|
7 years ago |
Pedro Alvarez
|
f4f8f746da
|
Merging changes from epc branch into guti_attach branch.
|
7 years ago |
Pedro Alvarez
|
50aeda2009
|
Fixed bug in SPGW when replacing an existing eNB S1-U TEID. Service request seems to be working for the cases of ECM idle and ECM connected.
|
7 years ago |
Pedro Alvarez
|
0f45369d44
|
Trying to fix service request when ECM content is present.
|
7 years ago |
Pedro Alvarez
|
04d5676db0
|
Fixed bug to save UE ctx on the mme_ue_s1ap_id_map upon reception of the service request. Service request is now working again for the case where the UE is ECM-IDLE.
|
7 years ago |
Pedro Alvarez
|
d932a2ad85
|
Starting to add the ability to handle UE context release complete.
|
7 years ago |
Pedro Alvarez
|
0da56b6a5a
|
Fixed bug with in GUTI attach with unkown M-TMSI.
|
7 years ago |
Pedro Alvarez
|
a8bfa497ef
|
Remove some commented out code.
|
7 years ago |
Pedro Alvarez
|
1f3ccb9bda
|
Fixed bug in integrity check, UE is IMSI attaching again.
|
7 years ago |
Pedro Alvarez
|
9617a63d27
|
continuing to change the way context is stored. Compiling now.
|
7 years ago |
Pedro Alvarez
|
7d37c6b9c3
|
Continuing to fix compilation issues. Starting to change S1AP to use the new functions to store ctx.
|
7 years ago |
Pedro Alvarez
|
be84ee854a
|
Changing the way that ECM context is stored to keep uplink teids active when the context is release.
|
7 years ago |
Pedro Alvarez
|
be09457ccb
|
Starting to make sure that UL S1-U fteid and S11 SGW ctr fteid are kept, even when UE context release is called.
|
7 years ago |
Pedro Alvarez
|
ff8818590a
|
Changing SPGW's handle_create_session_request to check weather GTP context already exists.
|
7 years ago |
Pedro Alvarez
|
d5478ff7a2
|
Starting to use EMM state to know whether attach request or service request are initiating the NAS.
|
7 years ago |
Pedro Alvarez
|
9b28527423
|
Fixed bug in release access bearers request
|
7 years ago |
Pedro Alvarez
|
de936b30d1
|
Fixed small bug in send create session request.
|
7 years ago |
Pedro Alvarez
|
6583d6b2e5
|
Changing handle UE context release to send release access bearer request instead od delte session request.
|
7 years ago |
Pedro Alvarez
|
2b84e78389
|
Adding release access bearer request to SPGW. Compiling now.
|
7 years ago |
Pedro Alvarez
|
2cc4959667
|
Adding release access bearers request.
|
7 years ago |
Pedro Alvarez
|
3b338067c9
|
Changing Delete session request to delete GTP-C context.
|
7 years ago |
Pedro Alvarez
|
ef4ad0aa20
|
Starting to change delete session request.
|
7 years ago |
Pedro Alvarez
|
a3b31966b8
|
Changing Activate EPS bearer function to work with IMSI.
|
7 years ago |
Pedro Alvarez
|
98345ed6a2
|
Adapting send modify bearer request to new GTP-C context
|
7 years ago |
Pedro Alvarez
|
0c50ccef1c
|
Changed create session request to keep GTPC context.
|
7 years ago |
Pedro Alvarez
|
e499fffe01
|
Starting to save GTP-C context in a map, to keep the GTP-C connection even when the NAS connection is released.
|
7 years ago |
Pedro Alvarez
|
e9213f807d
|
Starting to change SPGW to handle release access bearers request. Changing MME GTPC entity to contain an IMSI to sgw_ctr_fteid and ctr_teid to IMSI maps.
|
7 years ago |
Pedro Alvarez
|
5488609096
|
Resolving conflicts from merging next. Adding the functionality of echoing the attach type.
|
7 years ago |
Pedro Alvarez
|
01cf00700a
|
Adding DNS config options
|
7 years ago |
Pedro Alvarez
|
3efc197f3a
|
Actually changing the attach type.
|
7 years ago |
Pedro Alvarez
|
0cb1127f93
|
Sending Service reject to UE as a temporary handling of service requests (Thanks to Merlin Chlosta).
|
7 years ago |
Pedro Alvarez
|
01e5642882
|
Replying same attach type to the UE as in the attach request.
|
7 years ago |
Pedro Alvarez
|
c9b459bf8a
|
Fixing Activate default bearer context uninitialized value.
|
7 years ago |
Pedro Alvarez
|
fc280e082f
|
Continuing to add UE capabilities info indication.
|
7 years ago |
Andre Puschmann
|
252174865c
|
fix coverity issue
|
7 years ago |
Pedro Alvarez
|
ecb846717c
|
Starting to handle UE capability info indication
|
7 years ago |
Pedro Alvarez
|
f7348e8ddf
|
Added print to show unhandled S1AP messages.
|
7 years ago |
Pedro Alvarez
|
ea0585a772
|
Quick hack to keep the IP in service request.
|
7 years ago |
Pedro Alvarez
|
d301d7599f
|
Quick and dirty hack to not send activate default eps bearer when a service request is received.
|
7 years ago |
Pedro Alvarez
|
669ef9816f
|
Added packing of TMSI to mobile station identity IE.
|
7 years ago |
Pedro Alvarez
|
d913fdd499
|
Adding EMM information message.
|
7 years ago |
Pedro Alvarez
|
7dd734510b
|
added EMM cause 'CS not avilable' and ESM cause 'PDN type only IPv4 allowed.'
|
7 years ago |
Pedro Alvarez
|
b233e9e1ae
|
Fixing bug with k_enb generation. Fixing issue with enb_ue_s1ap_id for service requests without ECM context.
|
7 years ago |
Pedro Alvarez
|
17c4fa24c0
|
Merge branch 'next' into guti_attach
|
7 years ago |
Pedro Alvarez
|
06180a38ef
|
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
|
7 years ago |
Pedro Alvarez
|
543cdf8566
|
Adding handling of service request when no ECM context is present.
|
7 years ago |
Pedro Alvarez
|
a7b540c18e
|
Fixing bug in S1 Setup response.
|
7 years ago |
Pedro Alvarez
|
0389338fe3
|
whitespace change
|
7 years ago |
Pedro Alvarez
|
5f4613bffd
|
Fixing conflicts from merge.
|
7 years ago |
Pedro Alvarez
|
c6e2f144d7
|
Merging next into guti_attach branch
|
7 years ago |
Pedro Alvarez
|
c02b67b709
|
Sending initial context setup request on receiving service request
|
7 years ago |
Pedro Alvarez
|
fc0f1e4c23
|
Sendind intial context setup in response to service request.
|
7 years ago |
Pedro Alvarez
|
4ee08fdeca
|
Changing send initial context setup request to not need the create session response struct.
|
7 years ago |
Pedro Alvarez
|
82b3e5e380
|
Integrity protection of GUTI attach OK. Attach complete not yet sent.
|
7 years ago |
Pedro Alvarez
|
2cb1f27ddb
|
Adding UE context release command. Fixing issue when identity response is integrity protected.
|
7 years ago |
Pedro Alvarez
|
24d394d8ca
|
Fixed some compilation issues.
|
7 years ago |
Pedro Alvarez
|
2e90ce370b
|
Starting to prepare MME UE context release request.
|
7 years ago |
FabianEckermann
|
148c0a97bd
|
Read MME APN from epc config
|
7 years ago |
Pedro Alvarez
|
094a7d272f
|
Fixed bug in short integrity check. Service request integrity check works now.
|
7 years ago |
Pedro Alvarez
|
f4fba4e2f5
|
Fixed ntohl bug in getting the service request m-tmsi.
|
7 years ago |
Pedro Alvarez
|
7ae2975de4
|
Starting to get M-TMSI from service request.
|
7 years ago |
Pedro Alvarez
|
1c4dce8066
|
Generating k_enb in the securty mode command. Fixed wrong k_enb generation. Integrity is being checked corretly in upstream NAS messages.
|
7 years ago |
Pedro Alvarez
|
012f026543
|
Added print of UL NAS count and DL NAS count in nas_transport.
|
7 years ago |
Pedro Alvarez
|
aedcfbb686
|
Added print of UL NAS Count
|
7 years ago |
Pedro Alvarez
|
fa86862e8a
|
Incrementing DL NAS COUNT and UL NAS COUNT. k_eNB is being generated incorrectly.
|
7 years ago |
Pedro Alvarez
|
28d5130320
|
Incrementing DL NAS count
|
7 years ago |
Pedro Alvarez
|
26f782d8a4
|
Starting to integrity check all Uplink NAS Transport messages.
|
7 years ago |
Pedro Alvarez
|
3f7bea1af6
|
Starting to integrity check GUTI attach. Integrity failing for now.
|
7 years ago |
Ismael Gomez
|
ad703d5758
|
Add missing include
|
7 years ago |
Pedro Alvarez
|
fdc7a0d334
|
Removed misleading print.
|
7 years ago |
Pedro Alvarez
|
cc9845ef07
|
Merging HSS resynch functionality from David Rupprecht. Resolving conflict in user_db.csv.
|
7 years ago |
Pedro Alvarez
|
1bef5cebf6
|
small commit
|
7 years ago |
Pedro Alvarez
|
3b90c71c66
|
changing a comment
|
7 years ago |
Pedro Alvarez
|
2cc717b506
|
Starting to check NAS intgrity of GUTI attach.
|
7 years ago |
Pedro Alvarez
|
386e56ef40
|
Fixed bug when GUTI is unknown but EMM context was previously present. Added function to delete EMM context.
|
7 years ago |
Pedro Alvarez
|
fc1629a06e
|
Fixed bug with getting EMM context in handle identity request. Attach with unknown GUTI starting to work again.
|
7 years ago |
Pedro Alvarez
|
95bc4f8b08
|
adding tmp emm storage for when the UE uses an unknown guti and id request has to be sent.
|
7 years ago |
Pedro Alvarez
|
47b574a3ba
|
Removed unused value in ECM ctx
|
7 years ago |
Pedro Alvarez
|
af927eb1d8
|
Changing handling of ue context release request. Compiling now, needs testing.
|
7 years ago |
Pedro Alvarez
|
0c013c19ca
|
changed handle intial context setup response.
|
7 years ago |
Pedro Alvarez
|
86adc29ce8
|
Changing send initial context setup.
|
7 years ago |
Pedro Alvarez
|
7c21b4cc11
|
changing handle of guti attach request.
|
7 years ago |
Pedro Alvarez
|
7306d00ea5
|
Changed attach request handling for separate EMM and ECM context.
|
7 years ago |
Pedro Alvarez
|
97f60ae6ff
|
starting to change handle_attach_request to support separate EMM and ECM context.
|
7 years ago |
Pedro Alvarez
|
1df3f04192
|
Changing handle nas security mode complete.
|
7 years ago |
Pedro Alvarez
|
085830d910
|
Changing delete functions to delete both EMM and ECM context.
|
7 years ago |
Pedro Alvarez
|
d9da1f84f0
|
Continuing to separate EMM and ECM context
|
7 years ago |
Pedro Alvarez
|
a0d727166f
|
Starting to split EMM and ECM context.
|
7 years ago |
Pedro Alvarez
|
336af1ed93
|
Adding functions to get context from IMSI or MME UE S1AP Id.
|
7 years ago |
Pedro Alvarez
|
cc9e1294c6
|
re-organized some functions.
|
7 years ago |
Pedro Alvarez
|
0beb54e696
|
Re-organized some functions.
|
7 years ago |
Pedro Alvarez
|
955be59a59
|
starting to add EMM states to keep EMM state, security context, etc., even when UE context release request is received.
|
7 years ago |
Pedro Alvarez
|
c4b2dd5e65
|
Starting to add the response to the service request.
|
7 years ago |
Pedro Alvarez
|
094e4a6f8e
|
Merge branch 'next' into epc
|
7 years ago |
Pedro Alvarez
|
2e777244aa
|
Fixed un-initialezed values in pack_attach_accept.
|
7 years ago |
Pedro Alvarez
|
04280a1cd7
|
Fixed possible out-of-bounds read in nas_attach_complete.
|
7 years ago |
Pedro Alvarez
|
f4c1a7a379
|
Fixed error in un-initialized print in handle_nas_authentication_response.
|
7 years ago |
Pedro Alvarez
|
fd7ba9852b
|
Close sockect on error in S1AP.
|
7 years ago |
Pedro Alvarez
|
7013865c0d
|
fixed un-initialized values in attach accept.
|
7 years ago |
David Rupprecht
|
244b68e76b
|
Added authentication failure in s1ap
|
7 years ago |
David Rupprecht
|
8ea2e73b63
|
Making hss an interface for testing
|
7 years ago |
Ismael Gomez
|
e8985dbdbc
|
Merge pull request #137 from pily112/Configurable_mcc_mnc_in_HSS
Configurable mcc mnc in hss, debug prints and fix MAC failure error
|
7 years ago |
Pedro Alvarez
|
628ccec07f
|
Removed boost::mutex from EPC
|
7 years ago |
Pedro Alvarez
|
aa437806d8
|
rm boost::mutex from s1ap_ctx_mngmt
|
7 years ago |
Pedro Alvarez
|
360bb5e2d6
|
rm boost::mutex from s1ap_mngmnt_proc
|
7 years ago |
Pedro Alvarez
|
d87023bb37
|
rm boost::mutex from s1ap_nas_transport
|
7 years ago |
Pedro Alvarez
|
99e1a9f038
|
rm boost::mutex from MME
|
7 years ago |
Pedro Alvarez
|
724bc6cbb5
|
rm boost::mutex from S1AP.
|
7 years ago |
David Rupprecht
|
9f4e8c0632
|
Fixed MAC failure due to wrong size and xor debug prints
|
7 years ago |
Pedro Alvarez
|
5bbfc17fc0
|
Fixed bzero of std::string bug in setting APN in attach accept msg.
|
7 years ago |
Pedro Alvarez
|
bb4a06e736
|
Fixed some hard-coded values.
|
7 years ago |
Pedro Alvarez
|
75f14e57f4
|
Merge branch 'epc_fixes' into epc
|
7 years ago |
Pedro Alvarez
|
a71edcb8c2
|
Continuing to cleanup the prints.
|
7 years ago |
Andre Puschmann
|
8eeaafba56
|
fix compiler warning
|
7 years ago |
Pedro Alvarez
|
982fca00fb
|
Continuing to cleanup prints.
|
7 years ago |
Pedro Alvarez
|
5ea945d3c5
|
Fixed bug of incrementing UE-MME S1AP twice in GUTI attach.
|
7 years ago |
Pedro Alvarez
|
3227bc8e66
|
Deleting commented out and unused code.
|
7 years ago |
Pedro Alvarez
|
074cf4526f
|
Cleaned up the handling of the Initial UE message.
|
7 years ago |
Pedro Alvarez
|
cbc1e24e7e
|
Cleaning up logging and printing.
|
7 years ago |
Pedro Alvarez
|
0e1058c8d2
|
Fixing small bug at filling out GUTI.
|
7 years ago |
Pedro Alvarez
|
82bc1f7ff3
|
Starting to add the ability of GUTI attach without requesting the ID, if the UE is already known.
|
7 years ago |
Pedro Alvarez
|
3984e1d9db
|
Added NAS identity request/response.
|
7 years ago |
Pedro Alvarez
|
4634d13a3b
|
Reverted changes in UE ctxt release request to avoid segfault.
|
7 years ago |
Pedro Alvarez
|
b09ae059c1
|
Small commit to avoid duplication of UE ctxt in GUTI attach.
|
7 years ago |
Pedro Alvarez
|
6d4f773fba
|
Added debug print
|
7 years ago |
Pedro Alvarez
|
45effcca08
|
Starting to add GUTI attach support.
|
7 years ago |
Pedro Alvarez
|
84e0723c3d
|
Starting to add the mechanisms to perform GUTI attach.
|
7 years ago |
Pedro Alvarez
|
b14c6e85f4
|
Small commit
|
7 years ago |
Pedro Alvarez
|
3beb708806
|
Moved context mangement functions to s1ap_ctx_mngmnt_proc class.
|
7 years ago |
Pedro Alvarez
|
9e72fbce43
|
Continuing to change functions to ctx_mngmnt_proc
|
7 years ago |
Pedro Alvarez
|
c5b1b7edc3
|
Continuing to cleanup. moving procedures to ctx_mngmt_proc.
|
7 years ago |
Pedro Alvarez
|
8c9704ef3c
|
Adding delete session request.
|
7 years ago |
Pedro Alvarez
|
c08b89f3e5
|
Continuing cleaning up. Moved a lot of functionality to nas_transport
|
7 years ago |
Pedro Alvarez
|
1f55db09dc
|
Deleted unused functions
|
7 years ago |
Pedro Alvarez
|
d3e1e7d853
|
Continuing to cleanup. Moved initial ue message to nas_transport
|
7 years ago |
Pedro Alvarez
|
18f864d21d
|
Fixed small bug
|
7 years ago |
Pedro Alvarez
|
1fb304ddd3
|
Continuing to clean up. Moved S1 setup request to s1ap_mngmnt_proc
|
7 years ago |
Pedro Alvarez
|
a5633bf143
|
Continuing to clean S1AP
|
7 years ago |
Pedro Alvarez
|
da7c105a29
|
Starting to cleanup S1AP
|
7 years ago |
Pedro Alvarez
|
9f79b4167f
|
Small changes
|
7 years ago |
Pedro Alvarez
|
bc80cc3fff
|
Starting to add DNS server configuration.
|
7 years ago |
Pedro Alvarez
|
e839d09b52
|
Fixed bug in generating keNB.
|
7 years ago |
Pedro Alvarez
|
cb5e329c22
|
Starting to release GTP-U tunnels when UE disconnects.
|
7 years ago |