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

feat(mme): NGAP Reset ALL #12451

Merged
merged 1 commit into from Jul 19, 2022

Conversation

aniket021997
Copy link
Contributor

Signed-off-by: aniket021997 aniket.sonawane@wavelabs.ai

Summary

  • Added changes for gnb initiated NG Reset ALL

Test Plan

  • Validated with UT.
    test_oai

  • Basic Sanity with UERANSIM
    PCAP snap:
    pcap_ueransim

  • NG Reset-All Pcap from TeraVM with acknowledgement

pcap_NGResetALL_with_acknowledge

mme log:
mme.log

Additional Information

  • This change is backwards-breaking

@pull-request-size pull-request-size bot added the size/XL Denotes a Pull Request that changes 500-999 lines. label Apr 13, 2022
@github-actions
Copy link
Contributor

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added the component: agw Access gateway-related issue label Apr 13, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Apr 13, 2022

Oops! Looks like you failed the Semantic PR check.

Howto

♻️ Updated: ✅ The check is passing the Semantic PR after the last commit.

@aniket021997 aniket021997 changed the title feat(ngap): NGAP Reset ALL feat(mme): NGAP Reset ALL Apr 13, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Apr 13, 2022

feg-workflow

    2 files  203 suites   40s ⏱️
374 tests 374 ✔️ 0 💤 0
388 runs  388 ✔️ 0 💤 0

Results for commit 46c1ec9.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 13, 2022

agw-workflow

615 tests   611 ✔️  5m 8s ⏱️
    2 suites      4 💤
    2 files        0

Results for commit 46c1ec9.

♻️ This comment has been updated with latest results.

@aniket021997 aniket021997 marked this pull request as ready for review April 18, 2022 07:26
@aniket021997 aniket021997 requested review from a team and Kaleem-Wavelabs April 18, 2022 07:26
@aniket021997 aniket021997 force-pushed the topic/aniket/ngap_reset_all branch 3 times, most recently from da6eba9 to 4f4f133 Compare April 20, 2022 11:34
@@ -298,6 +298,10 @@ void itti_free_msg_content(MessageDef* const message_p) {
bdestroy_wrapper(&pdusession_resource_setup_req->nas_pdu);
break;
}
case NGAP_GNB_INITIATED_RESET_REQ:
free_wrapper((void**)&message_p->ittiMsg.ngap_gnb_initiated_reset_req
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]

const uint64_t dataP, void* argP,
void** resultP) {
arg_ngap_construct_gnb_reset_req_t* arg = argP;
m5g_ue_description_t* ue_ref = (m5g_ue_description_t*)dataP;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<m5g_ue_description_t*>(...) instead [readability/casting] [4]

m5g_ue_description_t* ue_ref = (m5g_ue_description_t*)dataP;

hash_table_ts_t* ng_ue_state = get_ngap_ue_state();
hashtable_ts_get(ng_ue_state, (const hash_key_t)dataP, (void**)&ue_ref);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]

increment_counter("NG_reset_from_gnb", 1, 1, "action", "reset_ack_sent");
if (buffer) {
bstring b = blk2bstr(buffer, length);
free_wrapper((void**)&buffer);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]

@github-actions
Copy link
Contributor

github-actions bot commented Jun 16, 2022

dp-workflow

14 tests   14 ✔️  3m 26s ⏱️
  1 suites    0 💤
  1 files      0

Results for commit 46c1ec9.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@ganeshg87 ganeshg87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@panyogesh panyogesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aniket021997 aniket021997 force-pushed the topic/aniket/ngap_reset_all branch 3 times, most recently from 685979c to 690b033 Compare July 18, 2022 05:41
feat(ngap): NGAP Reset ALL

Signed-off-by: aniket021997 <aniket.sonawane@wavelabs.ai>

rebased ngap reset all

Signed-off-by: aniket021997 <aniket.sonawane@wavelabs.ai>

ng reset all - rebased and imrpoved loggings

Signed-off-by: aniket021997 <aniket.sonawane@wavelabs.ai>
@panyogesh panyogesh added the type: feature New feature request label Jul 19, 2022
@panyogesh panyogesh merged commit 9a094ca into magma:master Jul 19, 2022
emakeev pushed a commit to emakeev/magma that referenced this pull request Aug 5, 2022
feat(ngap): NGAP Reset ALL

Signed-off-by: aniket021997 <aniket.sonawane@wavelabs.ai>

rebased ngap reset all

Signed-off-by: aniket021997 <aniket.sonawane@wavelabs.ai>

ng reset all - rebased and imrpoved loggings

Signed-off-by: aniket021997 <aniket.sonawane@wavelabs.ai>
@aniket021997 aniket021997 deleted the topic/aniket/ngap_reset_all branch November 9, 2022 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: agw Access gateway-related issue product: 5g sa size/XL Denotes a Pull Request that changes 500-999 lines. type: feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants