Commit db5d8caa authored by aligungr's avatar aligungr

Bit field refactor

parent 5c4f6b05
...@@ -65,7 +65,7 @@ struct IEEpsNasSecurityAlgorithms : InformationElement3 ...@@ -65,7 +65,7 @@ struct IEEpsNasSecurityAlgorithms : InformationElement3
struct IEGprsTimer : InformationElement3 struct IEGprsTimer : InformationElement3
{ {
int timerValue : 5; int timerValue; // 5-bit
EGprsTimerValueUnit timerValueUnit; EGprsTimerValueUnit timerValueUnit;
IEGprsTimer(); IEGprsTimer();
...@@ -91,7 +91,7 @@ struct IEIntegrityProtectionMaximumDataRate : InformationElement3 ...@@ -91,7 +91,7 @@ struct IEIntegrityProtectionMaximumDataRate : InformationElement3
struct IEMaximumNumberOfSupportedPacketFilters : InformationElement3 struct IEMaximumNumberOfSupportedPacketFilters : InformationElement3
{ {
int value : 11; int value; // 11-bit
IEMaximumNumberOfSupportedPacketFilters(); IEMaximumNumberOfSupportedPacketFilters();
explicit IEMaximumNumberOfSupportedPacketFilters(int value); explicit IEMaximumNumberOfSupportedPacketFilters(int value);
......
...@@ -152,7 +152,7 @@ struct IES1UeNetworkCapability : InformationElement4 ...@@ -152,7 +152,7 @@ struct IES1UeNetworkCapability : InformationElement4
struct IEGprsTimer3 : InformationElement4 struct IEGprsTimer3 : InformationElement4
{ {
int timerValue : 5; int timerValue; // 5-bit
EGprsTimerValueUnit3 unit; EGprsTimerValueUnit3 unit;
IEGprsTimer3(); IEGprsTimer3();
......
...@@ -20,7 +20,7 @@ namespace nas ...@@ -20,7 +20,7 @@ namespace nas
struct VAmfSetId struct VAmfSetId
{ {
int value : 10; int value; // 10-bit
explicit VAmfSetId(int value); explicit VAmfSetId(int value);
...@@ -53,9 +53,9 @@ struct VQoSFlowParameter ...@@ -53,9 +53,9 @@ struct VQoSFlowParameter
struct VQoSFlowDescription struct VQoSFlowDescription
{ {
int qfi : 6; int qfi; // 6-bit
EQoSOperationCode opCode; EQoSOperationCode opCode;
int numOfParameters : 6; int numOfParameters; // 6-bit
bool eBit; bool eBit;
std::vector<std::unique_ptr<VQoSFlowParameter>> parameterList; std::vector<std::unique_ptr<VQoSFlowParameter>> parameterList;
...@@ -216,7 +216,7 @@ struct VPartialTrackingAreaIdentityList ...@@ -216,7 +216,7 @@ struct VPartialTrackingAreaIdentityList
struct VPduSessionReactivationResultErrorCause struct VPduSessionReactivationResultErrorCause
{ {
int pduSessionId : 4; int pduSessionId;
EMmCause causeValue; EMmCause causeValue;
VPduSessionReactivationResultErrorCause(int pduSessionId, EMmCause causeValue); VPduSessionReactivationResultErrorCause(int pduSessionId, EMmCause causeValue);
......
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