Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code get imsi64 from timer handlers #2113

Conversation

rsarwad
Copy link
Contributor

@rsarwad rsarwad commented Jul 29, 2020

Description:

Issue #1 : While testing the Implicit detach timer with MME restart observed that UE contexts were not updated to redis DB. Because on timer expiry, imsi64 was neither received from timer module nor got from the handler function. So imsi64 was set to "INVALID_IMSI64". Only for valid imsi64 values, UE contexts are updated to DB.

Approach followed to address above issue:

Modified code to get imsi64 for all timers on expiry.
Issue #2: The prototype of timer start function is int timer_setup(
uint32_t interval_sec, uint32_t interval_us, task_id_t task_id,
int32_t instance, timer_type_t type, void* timer_arg, size_t arg_size,
long* timer_id)
Which expects seconds and micro-seconds to be of datatype uint32_t, but for most timers while calling timer_setup, seconds and micro-seconds were defined as long

Modified the datatype of duration of all timers to to match prototype of timer start function.

Test Plan:

Executed s1ap tester sanity test suite

Fixed the memory leaks for mme_app timers
…enb_s1ap_id_same_ue.py

2. With this fix basic attach-detach test case is passing on enabling stateles MME
…fferent_enb_s1ap_id_same_ue.py"

This reverts commit f6658a0.
Signed-off-by: rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: rashmi <rashmi.sarwad@radisys.com>
@rsarwad rsarwad requested a review from ssanadhya as a code owner July 29, 2020 14:12
@rsarwad rsarwad requested a review from ulaskozat as a code owner July 29, 2020 14:12
@rsarwad rsarwad closed this Jul 29, 2020
@rsarwad rsarwad deleted the rsarwad_new_branch_get_imsi64_from_timer_handlers branch July 29, 2020 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant