Commit 5c4f6b05 authored by aligungr's avatar aligungr

Bit field refactor

parent 8699678b
...@@ -25,9 +25,9 @@ enum class EPagingDrx ...@@ -25,9 +25,9 @@ enum class EPagingDrx
struct Plmn struct Plmn
{ {
int mcc; int mcc{};
int mnc; int mnc{};
bool isLongMnc; bool isLongMnc{};
}; };
struct SliceSupport struct SliceSupport
...@@ -47,16 +47,16 @@ enum class PduSessionType ...@@ -47,16 +47,16 @@ enum class PduSessionType
struct PlmnSupport struct PlmnSupport
{ {
Plmn plmn; Plmn plmn{};
std::vector<std::unique_ptr<SliceSupport>> sliceSupportList; std::vector<std::unique_ptr<SliceSupport>> sliceSupportList{};
}; };
struct GutiMobileIdentity struct GutiMobileIdentity
{ {
Plmn plmn; // Not used in TMSI Plmn plmn; // Not used in TMSI
octet amfRegionId; // Not used in TMSI octet amfRegionId; // Not used in TMSI
int amfSetId : 10; // 10-bit int amfSetId; // 10-bit
int amfPointer : 6; // 6-bit int amfPointer; // 6-bit
octet4 tmsi; octet4 tmsi;
GutiMobileIdentity() : plmn{}, amfRegionId{}, amfSetId{}, amfPointer{}, tmsi{} GutiMobileIdentity() : plmn{}, amfRegionId{}, amfSetId{}, amfPointer{}, tmsi{}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment