Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use s1ap_state get enb/ue funcs and remove s1ap_mme versions
Summary: As part of our goal to make MME stateless (can crash/update and come back up without losing enb/ue context), we are making the S1AP task stateless as a POC. To make a C program "stateless", we are going off the idea that only the database state needs to be good at all times -- therefore we let the message/state processing happen as normal except that the state is moved from separate globals into one global state that is committed to the db at the end of processing each message. In this diff, we change s1ap task to use the s1ap_state getter methods introduced in the previous diff. We also remove the old methods provided by s1ap_mme.c that did the same thing. Reviewed By: ssanadhya Differential Revision: D14685282 fbshipit-source-id: a34ee5da7bb9a4fd35c904a6081afcac48452534
- Loading branch information
1 parent
d68fac6
commit b56fd50
Showing
4 changed files
with
62 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.