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

fix(agw): c++ migration of nas/emm/msg files #13754

Merged
merged 7 commits into from
Sep 1, 2022

Conversation

pruthvihebbani
Copy link
Contributor

fix(agw): c++ migration of nas/emm/msg files

Summary

Migrated all the files under nas/emm/msg to cpp/hpp and fixed all the compilation errors and warnings

Test Plan

Executed s1ap integ_tests and unit test

Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
@pruthvihebbani pruthvihebbani requested review from a team, electronjoe and rsarwad August 26, 2022 12:11
@pull-request-size pull-request-size bot added the size/XXL Denotes a Pull Request that changes 1000+ lines. label Aug 26, 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

@LKreutzer LKreutzer requested review from LKreutzer and removed request for electronjoe August 26, 2022 12:11
@github-actions github-actions bot added the component: agw Access gateway-related issue label Aug 26, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 26, 2022

feg-workflow

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

Results for commit 7445040.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 26, 2022

agw-workflow

615 tests   611 ✔️  3m 50s ⏱️
    2 suites      4 💤
    2 files        0

Results for commit 7445040.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 26, 2022

dp-workflow

14 tests   14 ✔️  2m 27s ⏱️
  1 suites    0 💤
  1 files      0

Results for commit 7445040.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@LKreutzer LKreutzer left a comment

Choose a reason for hiding this comment

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

Please rebase on master - there was a revert to fix the bazel workflow.

Copy link
Contributor

@LKreutzer LKreutzer left a comment

Choose a reason for hiding this comment

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

Bazel changes ltgm

Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
@@ -50,12 +50,17 @@ typedef struct authentication_response_msg_tag {
authentication_response_parameter_t authenticationresponseparameter;
} authentication_response_msg;

#ifdef __cplusplus
extern "C" {
#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

Here also we don't need extern for same reason

@@ -78,12 +78,18 @@ typedef struct cs_service_notification_msg_tag {
LcsClientIdentity lcsclientidentity;
} cs_service_notification_msg;

#ifdef __cplusplus
extern "C" {
#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@@ -74,10 +74,16 @@ typedef struct emm_information_msg_tag {
daylight_saving_time_t networkdaylightsavingtime;
} emm_information_msg;

#ifdef __cplusplus
extern "C" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@@ -65,12 +65,17 @@ typedef struct extended_service_request_msg_tag {
csfb_response_t csfbresponse;
} extended_service_request_msg;

#ifdef __cplusplus
extern "C" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@@ -83,10 +83,15 @@ typedef struct security_mode_command_msg_tag {
nonce_t noncemme;
} security_mode_command_msg;

#ifdef __cplusplus
extern "C" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@@ -56,12 +56,18 @@ typedef struct security_mode_complete_msg_tag {
mobile_identity_t imeisv;
} security_mode_complete_msg;

#ifdef __cplusplus
extern "C" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@@ -47,12 +47,18 @@ typedef struct tracking_area_update_reject_msg_tag {
emm_cause_t emmcause;
} tracking_area_update_reject_msg;

#ifdef __cplusplus
extern "C" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@@ -175,12 +175,17 @@ typedef struct tracking_area_update_request_msg_tag {
ue_additional_security_capability_t ueadditionalsecuritycapability;
} tracking_area_update_request_msg;

#ifdef __cplusplus
extern "C" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@@ -49,10 +49,15 @@ typedef struct uplink_nas_transport_msg_tag {
NasMessageContainer nasmessagecontainer;
} uplink_nas_transport_msg;

#ifdef __cplusplus
extern "C" {
#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Copy link
Collaborator

@ssanadhya ssanadhya left a comment

Choose a reason for hiding this comment

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

Lgtm

@ssanadhya ssanadhya merged commit 1888978 into magma:master Sep 1, 2022
rsarwad pushed a commit to rsarwad/magma that referenced this pull request Sep 4, 2022
* Renamed files
* Resolved compilation errors

Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
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 size/XXL Denotes a Pull Request that changes 1000+ lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants