-
Notifications
You must be signed in to change notification settings - Fork 592
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
Conversation
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>
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
|
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.
Please rebase on master - there was a revert to fix the bazel workflow.
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.
Bazel changes ltgm
lte/gateway/c/core/oai/test/mme_app_task/test_mme_app_emm_encode_decode.cpp
Show resolved
Hide resolved
lte/gateway/c/core/oai/test/mme_app_task/test_mme_app_nas_encode_decode.cpp
Outdated
Show resolved
Hide resolved
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 |
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.
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 |
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.
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" { |
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.
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" { |
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.
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" { |
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.
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" { |
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.
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" { |
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.
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" { |
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.
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 |
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.
Same as above
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
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
* Renamed files * Resolved compilation errors Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
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