Commit 8a76f69c authored by Vaibhav Shrivastava's avatar Vaibhav Shrivastava

Uplifted 105 SIDL

parent 2a7dade1
/*
* Copyright 2022 Sequans Communications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include "SIDL_NASEMU_NR_SYSTEM_PORT.h"
#include "acp.h"
SIDL_BEGIN_C_INTERFACE
int acpNrSysSrbProcessToSSEncSrv(acpCtx_t _ctx, unsigned char* _buffer, size_t* _size, const struct NR_RRC_PDU_IND* ToSS);
int acpNrSysSrbProcessToSSDecClt(acpCtx_t _ctx, const unsigned char* _buffer, size_t _size, struct NR_RRC_PDU_IND** ToSS);
void acpNrSysSrbProcessToSSFreeClt(struct NR_RRC_PDU_IND* ToSS);
int acpNrSysSrbProcessFromSSEncClt(acpCtx_t _ctx, unsigned char* _buffer, size_t* _size, const struct NR_RRC_PDU_REQ* FromSS);
int acpNrSysSrbProcessFromSSDecSrv(acpCtx_t _ctx, const unsigned char* _buffer, size_t _size, struct NR_RRC_PDU_REQ** FromSS);
void acpNrSysSrbProcessFromSSFreeSrv(struct NR_RRC_PDU_REQ* FromSS);
SIDL_END_C_INTERFACE
......@@ -16,5 +16,5 @@
#pragma once
#define ACP_VERSION "1.1.17"
#define ACP_VERSION_CKSM "6f927c915e07dd2246824a7868a8a4a3"
#define ACP_VERSION "1.1.19"
#define ACP_VERSION_CKSM "7e49fb44a76ef00489a052a3bd0e7dfb"
/*
* Copyright 2022 Sequans Communications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "acpNrSysSrb.h"
#include "acpCtx.h"
#include "acpProto.h"
#include "acpMsgIds.h"
#include "serNrSysSrb.h"
int acpNrSysSrbProcessToSSEncSrv(acpCtx_t _ctx, unsigned char* _buffer, size_t* _size, const struct NR_RRC_PDU_IND* ToSS)
{
if (!acpCtxIsValid(_ctx)) {
return -ACP_ERR_INVALID_CTX;
}
size_t _lidx = ACP_HEADER_SIZE;
int _ret = serNrSysSrbProcessToSSEncSrv(_buffer, *_size, &_lidx, ToSS);
if (_ret == SIDL_STATUS_OK) {
acpBuildHeader(_ctx, ACP_LID_NrSysSrbProcessToSS, _lidx, _buffer);
}
*_size = _lidx;
return _ret;
}
int acpNrSysSrbProcessToSSDecClt(acpCtx_t _ctx, const unsigned char* _buffer, size_t _size, struct NR_RRC_PDU_IND** ToSS)
{
if (!acpCtxIsValid(_ctx)) {
return -ACP_ERR_INVALID_CTX;
}
return serNrSysSrbProcessToSSDecClt(_buffer + ACP_HEADER_SIZE, _size - ACP_HEADER_SIZE, ACP_CTX_CAST(_ctx)->arena, ACP_CTX_CAST(_ctx)->aSize, ToSS);
}
void acpNrSysSrbProcessToSSFreeClt(struct NR_RRC_PDU_IND* ToSS)
{
serNrSysSrbProcessToSSFreeClt(ToSS);
}
int acpNrSysSrbProcessFromSSEncClt(acpCtx_t _ctx, unsigned char* _buffer, size_t* _size, const struct NR_RRC_PDU_REQ* FromSS)
{
if (!acpCtxIsValid(_ctx)) {
return -ACP_ERR_INVALID_CTX;
}
size_t _lidx = ACP_HEADER_SIZE;
int _ret = serNrSysSrbProcessFromSSEncClt(_buffer, *_size, &_lidx, FromSS);
if (_ret == SIDL_STATUS_OK) {
acpBuildHeader(_ctx, ACP_LID_NrSysSrbProcessFromSS, _lidx, _buffer);
}
*_size = _lidx;
return _ret;
}
int acpNrSysSrbProcessFromSSDecSrv(acpCtx_t _ctx, const unsigned char* _buffer, size_t _size, struct NR_RRC_PDU_REQ** FromSS)
{
if (!acpCtxIsValid(_ctx)) {
return -ACP_ERR_INVALID_CTX;
}
return serNrSysSrbProcessFromSSDecSrv(_buffer + ACP_HEADER_SIZE, _size - ACP_HEADER_SIZE, ACP_CTX_CAST(_ctx)->arena, ACP_CTX_CAST(_ctx)->aSize, FromSS);
}
void acpNrSysSrbProcessFromSSFreeSrv(struct NR_RRC_PDU_REQ* FromSS)
{
serNrSysSrbProcessFromSSFreeSrv(FromSS);
}
/*
* Copyright 2022 Sequans Communications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include "SIDL_NASEMU_NR_SYSTEM_PORT.h"
#include "adbg.h"
SIDL_BEGIN_C_INTERFACE
void adbgNrSysSrbProcessToSSLogOut(acpCtx_t _ctx, const struct NR_RRC_PDU_IND* ToSS);
void adbgNrSysSrbProcessFromSSLogIn(acpCtx_t _ctx, const struct NR_RRC_PDU_REQ* FromSS);
SIDL_END_C_INTERFACE
This diff is collapsed.
......@@ -29513,6 +29513,126 @@ static void _adbgSys__PagingTrigger_Type(acpCtx_t _ctx, const struct PagingTrigg
if (p->SubframeOffsetList.d) { adbgPrintLog(_ctx, " }"); };
}
static const char* adbgSys__IndicationAndControlMode_Type__ToString(IndicationAndControlMode_Type v)
{
switch(v) {
case IndicationAndControlMode_enable: return "IndicationAndControlMode_enable";
case IndicationAndControlMode_disable: return "IndicationAndControlMode_disable";
default: return "Unknown";
}
}
static void _adbgSys__IndicationAndControlMode_Type_RachPreamble_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_RachPreamble_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_SchedReq_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_SchedReq_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_BSR_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_BSR_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_UL_HARQ_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_UL_HARQ_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_C_RNTI_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_C_RNTI_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_PHR_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_PHR_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_HarqError_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_HarqError_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_PeriodicRI_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_PeriodicRI_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_EPHR_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_EPHR_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_PeriodicCQI_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_PeriodicCQI_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_SRS_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_SRS_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__IndicationAndControlMode_Type_DC_PHR_Optional(acpCtx_t _ctx, const struct IndicationAndControlMode_Type_DC_PHR_Optional* p)
{
if (!p->d) { adbgPrintLog(_ctx, "omit"); return; }
adbgPrintLog(_ctx, "%s (%d)", adbgSys__IndicationAndControlMode_Type__ToString(p->v), (int)p->v);
}
static void _adbgSys__L1Mac_IndicationControl_Type(acpCtx_t _ctx, const struct L1Mac_IndicationControl_Type* p)
{
adbgPrintLog(_ctx, "RachPreamble := ");
_adbgSys__IndicationAndControlMode_Type_RachPreamble_Optional(_ctx, &p->RachPreamble);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "SchedReq := ");
_adbgSys__IndicationAndControlMode_Type_SchedReq_Optional(_ctx, &p->SchedReq);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "BSR := ");
_adbgSys__IndicationAndControlMode_Type_BSR_Optional(_ctx, &p->BSR);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "UL_HARQ := ");
_adbgSys__IndicationAndControlMode_Type_UL_HARQ_Optional(_ctx, &p->UL_HARQ);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "C_RNTI := ");
_adbgSys__IndicationAndControlMode_Type_C_RNTI_Optional(_ctx, &p->C_RNTI);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "PHR := ");
_adbgSys__IndicationAndControlMode_Type_PHR_Optional(_ctx, &p->PHR);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "HarqError := ");
_adbgSys__IndicationAndControlMode_Type_HarqError_Optional(_ctx, &p->HarqError);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "PeriodicRI := ");
_adbgSys__IndicationAndControlMode_Type_PeriodicRI_Optional(_ctx, &p->PeriodicRI);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "EPHR := ");
_adbgSys__IndicationAndControlMode_Type_EPHR_Optional(_ctx, &p->EPHR);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "PeriodicCQI := ");
_adbgSys__IndicationAndControlMode_Type_PeriodicCQI_Optional(_ctx, &p->PeriodicCQI);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "SRS := ");
_adbgSys__IndicationAndControlMode_Type_SRS_Optional(_ctx, &p->SRS);
adbgPrintLog(_ctx, ", ");
adbgPrintLog(_ctx, "DC_PHR := ");
_adbgSys__IndicationAndControlMode_Type_DC_PHR_Optional(_ctx, &p->DC_PHR);
}
static void _adbgSys__PdcpCountGetReq_Type_Value(acpCtx_t _ctx, const union PdcpCountGetReq_Type_Value* p, enum PdcpCountGetReq_Type_Sel d)
{
if (d == PdcpCountGetReq_Type_AllRBs) {
......@@ -29758,6 +29878,12 @@ static void _adbgSys__SystemRequest_Type_Value(acpCtx_t _ctx, const union System
adbgPrintLog(_ctx, " }");
return;
}
if (d == SystemRequest_Type_L1MacIndCtrl) {
adbgPrintLog(_ctx, "L1MacIndCtrl := { ");
_adbgSys__L1Mac_IndicationControl_Type(_ctx, &p->L1MacIndCtrl);
adbgPrintLog(_ctx, " }");
return;
}
if (d == SystemRequest_Type_PdcpCount) {
adbgPrintLog(_ctx, "PdcpCount := { ");
_adbgSys__Pdcp_CountReq_Type(_ctx, &p->PdcpCount);
/*
* Copyright 2022 Sequans Communications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include "SIDL_NASEMU_NR_SYSTEM_PORT.h"
#include "SidlCompiler.h"
SIDL_BEGIN_C_INTERFACE
int serNrSysSrbProcessToSSEncSrv(unsigned char* _buffer, size_t _size, size_t* _lidx, const struct NR_RRC_PDU_IND* ToSS);
int serNrSysSrbProcessToSSDecClt(const unsigned char* _buffer, size_t _size, unsigned char* _arena, size_t _aSize, struct NR_RRC_PDU_IND** ToSS);
void serNrSysSrbProcessToSSFreeClt(struct NR_RRC_PDU_IND* ToSS);
int serNrSysSrbProcessFromSSEncClt(unsigned char* _buffer, size_t _size, size_t* _lidx, const struct NR_RRC_PDU_REQ* FromSS);
int serNrSysSrbProcessFromSSDecSrv(const unsigned char* _buffer, size_t _size, unsigned char* _arena, size_t _aSize, struct NR_RRC_PDU_REQ** FromSS);
void serNrSysSrbProcessFromSSFreeSrv(struct NR_RRC_PDU_REQ* FromSS);
SIDL_END_C_INTERFACE
This diff is collapsed.
This diff is collapsed.
......@@ -690,6 +690,88 @@ struct PagingTrigger_Type {
struct SubframeOffsetList_Type_SubframeOffsetList_Optional SubframeOffsetList;
};
enum IndicationAndControlMode_Type {
IndicationAndControlMode_enable = 0,
IndicationAndControlMode_disable = 1,
};
typedef enum IndicationAndControlMode_Type IndicationAndControlMode_Type;
struct IndicationAndControlMode_Type_RachPreamble_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_SchedReq_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_BSR_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_UL_HARQ_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_C_RNTI_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_PHR_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_HarqError_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_PeriodicRI_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_EPHR_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_PeriodicCQI_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_SRS_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct IndicationAndControlMode_Type_DC_PHR_Optional {
bool d;
IndicationAndControlMode_Type v;
};
struct L1Mac_IndicationControl_Type {
struct IndicationAndControlMode_Type_RachPreamble_Optional RachPreamble;
struct IndicationAndControlMode_Type_SchedReq_Optional SchedReq;
struct IndicationAndControlMode_Type_BSR_Optional BSR;
struct IndicationAndControlMode_Type_UL_HARQ_Optional UL_HARQ;
struct IndicationAndControlMode_Type_C_RNTI_Optional C_RNTI;
struct IndicationAndControlMode_Type_PHR_Optional PHR;
struct IndicationAndControlMode_Type_HarqError_Optional HarqError;
struct IndicationAndControlMode_Type_PeriodicRI_Optional PeriodicRI;
struct IndicationAndControlMode_Type_EPHR_Optional EPHR;
struct IndicationAndControlMode_Type_PeriodicCQI_Optional PeriodicCQI;
struct IndicationAndControlMode_Type_SRS_Optional SRS;
struct IndicationAndControlMode_Type_DC_PHR_Optional DC_PHR;
};
enum SystemRequest_Type_Sel {
SystemRequest_Type_UNBOUND_VALUE = 0,
SystemRequest_Type_Cell = 1,
......@@ -698,6 +780,7 @@ enum SystemRequest_Type_Sel {
SystemRequest_Type_EnquireTiming = 4,
SystemRequest_Type_AS_Security = 5,
SystemRequest_Type_Paging = 7,
SystemRequest_Type_L1MacIndCtrl = 8,
SystemRequest_Type_PdcpCount = 10,
SystemRequest_Type_UE_Cat_Info = 18,
};
......@@ -719,6 +802,7 @@ union SystemRequest_Type_Value {
Null_Type EnquireTiming;
struct AS_Security_Type AS_Security;
struct PagingTrigger_Type Paging;
struct L1Mac_IndicationControl_Type L1MacIndCtrl;
struct Pdcp_CountReq_Type PdcpCount;
struct UE_CategoryInfo_Type UE_Cat_Info;
};
......
/*
* Copyright 2022 Sequans Communications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include "SidlCompiler.h"
#include "SidlASN1.h"
#include "SidlASN1Base.h"
#include "SidlBase.h"
#include "SidlCommon.h"
#include "SidlCommonBase.h"
#include "SidlNrCommon.h"
#include "SidlParts.h"
#include "SidlVals.h"
#include "TtcnCommon.h"
#include "SidlCommon_BcchConfig.h"
#include "SidlCommon_Bcch_BRConfig.h"
#include "SidlCommon_CcchDcchDtchConfig.h"
#include "SidlCommon_InitialCellPower.h"
#include "SidlCommon_PhysicalLayerConfigDL.h"
#include "SidlCommon_PhysicalLayerConfigUL.h"
#include "SidlCommon_RachProcedureConfig.h"
#include "SidlCommon_SciSchedulingConfig.h"
#include "SidlCommon_ServingCellConfig.h"
#include "SidlCommon_StaticCellInfo.h"
#include "SidlCommon_CellConfigRequest.h"
SIDL_BEGIN_C_INTERFACE
enum NR_RRC_MSG_Request_Type_Sel {
NR_RRC_MSG_Request_Type_UNBOUND_VALUE = 0,
NR_RRC_MSG_Request_Type_Ccch = 1,
NR_RRC_MSG_Request_Type_Dcch = 2,
};
struct uint8_t_NR_RRC_MSG_Request_Type_Ccch_Dynamic {
size_t d;
uint8_t* v;
};
struct uint8_t_NR_RRC_MSG_Request_Type_Dcch_Dynamic {
size_t d;
uint8_t* v;
};
union NR_RRC_MSG_Request_Type_Value {
struct uint8_t_NR_RRC_MSG_Request_Type_Ccch_Dynamic Ccch;
struct uint8_t_NR_RRC_MSG_Request_Type_Dcch_Dynamic Dcch;
};
struct NR_RRC_MSG_Request_Type {
enum NR_RRC_MSG_Request_Type_Sel d;
union NR_RRC_MSG_Request_Type_Value v;
};
enum NR_RRC_MSG_Indication_Type_Sel {
NR_RRC_MSG_Indication_Type_UNBOUND_VALUE = 0,
NR_RRC_MSG_Indication_Type_Ccch = 1,
NR_RRC_MSG_Indication_Type_Ccch1 = 2,
NR_RRC_MSG_Indication_Type_Dcch = 3,
};
struct uint8_t_NR_RRC_MSG_Indication_Type_Ccch_Dynamic {
size_t d;
uint8_t* v;
};
struct uint8_t_NR_RRC_MSG_Indication_Type_Ccch1_Dynamic {
size_t d;
uint8_t* v;
};
struct uint8_t_NR_RRC_MSG_Indication_Type_Dcch_Dynamic {
size_t d;
uint8_t* v;
};
union NR_RRC_MSG_Indication_Type_Value {
struct uint8_t_NR_RRC_MSG_Indication_Type_Ccch_Dynamic Ccch;
struct uint8_t_NR_RRC_MSG_Indication_Type_Ccch1_Dynamic Ccch1;
struct uint8_t_NR_RRC_MSG_Indication_Type_Dcch_Dynamic Dcch;
};
struct NR_RRC_MSG_Indication_Type {
enum NR_RRC_MSG_Indication_Type_Sel d;
union NR_RRC_MSG_Indication_Type_Value v;
};
struct NR_RRC_PDU_REQ {
struct NR_ReqAspCommonPart_Type Common;
struct NR_RRC_MSG_Request_Type RrcPdu;
};
struct NR_RRC_PDU_IND {
struct NR_IndAspCommonPart_Type Common;
struct NR_RRC_MSG_Indication_Type RrcPdu;
};
SIDL_END_C_INTERFACE
......@@ -412,6 +412,28 @@ struct PagingTrigger_Type {
SIDL_OPTIONAL(SubframeOffsetList_Type, SubframeOffsetList);
};
typedef enum {
IndicationAndControlMode_enable,
IndicationAndControlMode_disable
} IndicationAndControlMode_Type;
struct L1Mac_IndicationControl_Type {
SIDL_OPTIONAL(IndicationAndControlMode_Type, RachPreamble);
SIDL_OPTIONAL(IndicationAndControlMode_Type, SchedReq);
SIDL_OPTIONAL(IndicationAndControlMode_Type, BSR);
SIDL_OPTIONAL(IndicationAndControlMode_Type, UL_HARQ);
SIDL_OPTIONAL(IndicationAndControlMode_Type, C_RNTI);
SIDL_OPTIONAL(IndicationAndControlMode_Type, PHR);
SIDL_OPTIONAL(IndicationAndControlMode_Type, HarqError);
SIDL_OPTIONAL(IndicationAndControlMode_Type, PeriodicRI);
SIDL_OPTIONAL(IndicationAndControlMode_Type, EPHR);
SIDL_OPTIONAL(IndicationAndControlMode_Type, PeriodicCQI);
SIDL_OPTIONAL(IndicationAndControlMode_Type, SRS);
SIDL_OPTIONAL(IndicationAndControlMode_Type, DC_PHR);
};
SIDL_UNION_ENUM(SystemRequest_Type) {
SystemRequest_Type_UNBOUND_VALUE,
SystemRequest_Type_Cell,
......@@ -421,7 +443,7 @@ SIDL_UNION_ENUM(SystemRequest_Type) {
SystemRequest_Type_AS_Security,
// SystemRequest_Type_Sps,
SystemRequest_Type_Paging = 7,
// SystemRequest_Type_L1MacIndCtrl,
SystemRequest_Type_L1MacIndCtrl,
// SystemRequest_Type_RlcIndCtrl,
SystemRequest_Type_PdcpCount = 10,
// SystemRequest_Type_PdcpHandoverControl,
......@@ -438,6 +460,7 @@ SIDL_UNION_ENUM(SystemRequest_Type) {
// SystemRequest_Type_LAA__SubframeConfiguration,
// SystemRequest_Type_MultipleUlSps
};
SIDL_UNION_BEGIN(SystemRequest_Type) {
SIDL_UNION_CASE(SystemRequest_Type_Cell)
struct CellConfigRequest_Type Cell;
......@@ -452,7 +475,8 @@ SIDL_UNION_BEGIN(SystemRequest_Type) {
// SIDL_UNION_CASE(SystemRequest_Type_Sps)
SIDL_UNION_CASE(SystemRequest_Type_Paging)
struct PagingTrigger_Type Paging;
// SIDL_UNION_CASE(SystemRequest_Type_L1MacIndCtrl)
SIDL_UNION_CASE(SystemRequest_Type_L1MacIndCtrl)
struct L1Mac_IndicationControl_Type L1MacIndCtrl;
// SIDL_UNION_CASE(SystemRequest_Type_RlcIndCtrl)
SIDL_UNION_CASE(SystemRequest_Type_PdcpCount)
struct Pdcp_CountReq_Type PdcpCount;
......
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