当前位置:网站首页>[openairinterface5g] RRC NR resolution (I)
[openairinterface5g] RRC NR resolution (I)
2022-06-22 06:23:00 【No.7 Huazai】
1. RRC Source location
RRC(Radio Resource Control) It is called radio resource control , yes 5G The core module of the system , Its main function is to give the lower layer (PHY,MAC,RLC,PDCP) Control or configure all wireless resources , To ensure that UE Communicate with the base station .
OAI RRC Module in openair2\RRC Next , There is NR,LTE,NR UE Wait for a few source directories , We only analyze NR.
2. File function
RRC The main documents of the module are as follows :
| file name | function |
|---|---|
| rrc_gNB.c | RRC Core program , Include RRC Message receiving and processing |
| rrc_gNB_NGAP.c | NGAP Message generation and sending |
| rrc_gNB_UE_context.c | UE Context generation , Acquisition and deletion, etc |
| rrc_gNB_reconfig.c | Coreset0, search space ,BWP,rb And so on |
| rrc_gNB_GTPV1U.c | GTPV1U relevant |
| nr_rrc_config.c | Rlc,mac cellgroup Wait for some parameters to be initialized to 0 |
| nr_rrc_common.c | Some global parameters are initialized |
3. The functionality
rrc_gNB.c yes RRC The core source code file of the module , all RRC Messages are received here , All processes are initiated from here ,rrc_gnb_task() amount to RRC Modular Main The main function .
| function | describe |
|---|---|
| rrc_gnb_task | Receive other modules and send them to RRC Modular msg, by the advices ID Enter different processing branches |
| rrc_gNB_decode_dcch | dcch decode |
| nr_rrc_gNB_decode_ccch | ccch decode |
| rrc_gNB_generate_RRCSetup | Generate RRC Setup |
| rrc_gNB_generate_RRCSetup_for_RRCReestablishmentRequest | Generate for RRC Reconstructed RRC SETUP |
| rrc_gNB_generate_RRCReject | Generate RRC Reject |
| rrc_gNB_process_RRCSetupComplete | Handle RRC setupComplete |
| rrc_gNB_generate_defaultRRCReconfiguration | Generate RRC Reconfiguration command |
| rrc_gNB_process_RRCReconfigurationComplete | Handle RRC Reconfiguration completion command |
| rrc_gNB_generate_RRCReestablishment | Generate RRC Rebuild command |
| rrc_gNB_process_RRCConnectionReestablishmentComplete | Handle RRC Rebuild complete command |
| rrc_gNB_generate_SecurityModeCommand | Generate encryption mode command |
| rrc_gNB_generate_UECapabilityEnquiry | Generate UE Capability query |
| rrc_gNB_generate_RRCRelease | Generate RRCRelease |
| init_NR_SI | MIB,SIB1 code |
4. Main function flow

itti_receive_msg() Main receiver function , As mentioned in the previous article . adopt ITTI_MSG_ID(msg_p) Get message ID, from switch Transfer to each processing branch process , Decode the data .
nr_rrc_gNB_decode_ccch(): be responsible for CCCH decode , Incoming data calls uper_decode() Conduct per decode , Get the news ID, The main messages include rrcSetupRequest and rrcReestablishmentRequest Two article .
rrc_gNB_decode_dcch(): be responsible for DCCH decode , Incoming data calls uper_decode() Conduct per decode , Get the news ID, Include rrcSetupComplete,rrcReconfigurationComplete,ulInformationTransfer,securityModeComplete,securityModeFailure,ueCapabilityInformation,rrcReestablishmentComplete.
The other branches are mainly NGAP Related messages , Including down NAS,PDU Session establishment and release ,UE Context Creation and release .
边栏推荐
- Surfer格网文件裁剪
- Armadillo installation
- h = key.hashCode()) ^ (h >>> 16) 详细解读以及为什么要将hashCode值右移16位并且与原来的hashCode值进行异或操作
- Current harmonic suppression strategy of grid connected inverter with PIR controller regulator
- 东郊到家开发技术服务
- Detailed explanation of eight locks
- [PHP] composer 安装
- Pytest数据参数化&数据驱动
- ReadWriteLock
- 【OpenAirInterface5g】ITTI消息收发机制
猜你喜欢

Huiding technology gr551x series development board supports openharmony

Vulnérabilité à l'injection SQL (XIII) injection base64

用蒙特卡洛法求圆周率pi

ForkJoinPool

Oracle之trim,ltrim,rtrim三个函数的用法

Chrome 安装 driver

You are using PIP version 19.0.3, however version 22.1.2 is available

W800 chip platform enters openharmony backbone

SQL 注入漏洞(十)二次注入

e.hash & oldCap == 0 详细解读
随机推荐
[PHP] composer 安装
Configuration files required for SSM integration and error reports caused by common configuration errors
ForkJoinPool
Single cell paper record (Part11) -- clustermap for multi-scale clustering analysis of spatial gene expression
Empirical mode decomposition (EMD) and Hilbert Huang transform (HHT)
Dynamically create object execution methods
Swagger common annotation summary
【OpenAirInterface5g】高层模块接口及itti实体线程创建
tab[i = (n - 1) & hash] 的详细解读
import keras时遇到的错误 TypeError: Descriptors cannot not be created directly. If this call came from a _
clickhouse对比两台机器数据
laravel Excel 3.1 列宽设置不起作用
ERROR: cannot verify nih.at’s certificate, issued by “/C=US/O=Let‘s Encrypt/CN=R3”,wget报错
Pytest数据参数化&数据驱动
ReadWriteLock
PyG教程(7):剖析邻域聚合
入门级测试Kotlin实现PopWindow弹窗代码
tp6链接sqlserver,php链接sqlserver,linux离线安装与部署超详细
Inserting a classdiagram into markdown
CMake 入门级别语法