Commit 27727cb3 authored by aligungr's avatar aligungr

RRC developments

parent 098e110d
......@@ -146,7 +146,18 @@ void UeRrcTask::receiveRrcMessage(int cellId, ASN_RRC_BCCH_BCH_Message *msg)
void UeRrcTask::receiveRrcMessage(int cellId, ASN_RRC_BCCH_DL_SCH_Message *msg)
{
// TODO
if (msg->message.present != ASN_RRC_BCCH_DL_SCH_MessageType_PR_c1)
return;
auto &c1 = msg->message.choice.c1;
switch (c1->present)
{
case ASN_RRC_BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1:
receiveSib1(cellId, *c1->choice.systemInformationBlockType1);
break;
default:
break;
}
}
void UeRrcTask::receiveRrcMessage(int cellId, ASN_RRC_DL_CCCH_Message *msg)
......
......@@ -27,4 +27,9 @@ void UeRrcTask::receiveMib(int cellId, const ASN_RRC_MIB &msg)
desc.isIntraFreqReselectAllowed = msg.intraFreqReselection == ASN_RRC_MIB__intraFreqReselection_allowed;
}
void UeRrcTask::receiveSib1(int cellId, const ASN_RRC_SIB1 &msg)
{
// TODO
}
} // namespace nr::ue
\ No newline at end of file
......@@ -39,6 +39,7 @@ extern "C"
struct ASN_RRC_RRCRelease;
struct ASN_RRC_Paging;
struct ASN_RRC_MIB;
struct ASN_RRC_SIB1;
}
namespace nr::ue
......@@ -105,6 +106,7 @@ class UeRrcTask : public NtsTask
/* System Information */
void receiveMib(int cellId, const ASN_RRC_MIB &msg);
void receiveSib1(int cellId, const ASN_RRC_SIB1 &msg);
};
} // namespace nr::ue
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