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
feat(mme): NGAP Reset ALL #12451
Conversation
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
Oops! Looks like you failed the Howto
♻️ Updated: ✅ The check is passing the Semantic PR after the last commit. |
713f5dc
to
3f156fb
Compare
da6eba9
to
4f4f133
Compare
4f4f133
to
7f8c87b
Compare
@@ -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 |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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]
7f8c87b
to
59fd8cd
Compare
59fd8cd
to
6a1410b
Compare
6a1410b
to
1ee4517
Compare
1ee4517
to
97d2af4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
685979c
to
690b033
Compare
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>
690b033
to
46c1ec9
Compare
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>
Signed-off-by: aniket021997 aniket.sonawane@wavelabs.ai
Summary
Test Plan
Validated with UT.
Basic Sanity with UERANSIM
PCAP snap:
NG Reset-All Pcap from TeraVM with acknowledgement
mme log:
mme.log
Additional Information