Commit db5d8caa authored by aligungr's avatar aligungr

Bit field refactor

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