LTE学习笔记 ——RRC连接建立

RRC:Radio Resource Control,无线资源控制。
S-TMSI:临时移动用户标识,由MMEC和M-TMSI组成,在一个MME内唯一标识一个UE。由核心网配置。
MMEGI:MME Group ID
RRC连接建立涉及的定时器:T300、T302、T303、T305
1. RRC连接建立的目的

(1)建立SRB1
(2)发送NAS消息

 

2. RRC连接建立信令
  • RRC Connection Request(Msg3,SRB0, CCCH)
  • RRC Connection Setup(Msg4,SRB0,CCCH)
  • RRC Connection Setup Complete(Msg5,SRB1,DCCH)
  • RRC Connection Reject(SRB0,CCCH)
     
3. RRC连接建立过程

(1)RRC连接建立成功过程
LTE学习笔记 ——RRC连接建立_第1张图片
(2)RRC连接建立失败过程
LTE学习笔记 ——RRC连接建立_第2张图片

4. RRC Connection Request

(1)触发条件:

  • UE高层CM层发起寻呼或响应寻呼;
  • MM层发起注册、位置更新、TA更新

(2)准备工作:判断UE是否可以接入小区。

  • 判断元素:触发条件、定时器T302、T303、T305、小区禁止接入信息(sib2)

(3)发送内容:

  • Initial UE-Identity:上层提供的S-TMSI或一个随机值(40比特)
  • establishment Cause:emergency、highPriorityAccess(11~15)、mt-access、mo-data、mo-signalling

(4)eNodeB处理:
eNodeB根据接纳控制来决定是否允许UE接入E-UTRAN。
若允许,发送RRC Connection Setup;否则,发送RRC Connection Reject。

(5)IE:

RRCConnectionRequest ::=			SEQUENCE {
	criticalExtensions					CHOICE {
		rrcConnectionRequest-r8				RRCConnectionRequest-r8-IEs,
		rrcConnectionRequest-r15			RRCConnectionRequest-5GC-r15-IEs
	}
}

RRCConnectionRequest-r8-IEs ::=		SEQUENCE {
	ue-Identity							InitialUE-Identity,
	establishmentCause					EstablishmentCause,
	spare								BIT STRING (SIZE (1))
}

RRCConnectionRequest-5GC-r15-IEs ::=	SEQUENCE {
	ue-Identity								InitialUE-Identity-5GC,
	establishmentCause		 				EstablishmentCause-5GC,
	spare									BIT STRING (SIZE (1))
}

InitialUE-Identity ::=				CHOICE {
	s-TMSI								S-TMSI,
	randomValue							BIT STRING (SIZE (40))
}

InitialUE-Identity-5GC ::=			CHOICE {
	ng-5G-S-TMSI-Part1					BIT STRING (SIZE (40)),
	randomValue							BIT STRING (SIZE (40))
}


EstablishmentCause ::=				ENUMERATED {
										emergency, highPriorityAccess, mt-Access, mo-Signalling,
										mo-Data, delayTolerantAccess-v1020, mo-VoiceCall-v1280, spare1}

EstablishmentCause-5GC ::=			ENUMERATED {
										emergency, highPriorityAccess, mt-Access, mo-Signalling,
										mo-Data, mo-VoiceCall, spare2, spare1}

 

5. RRC Connection Setup

(1)触发条件:eNodeB收到来自UE的RRC Connection Request。

(2)发送内容:

  • SRB:SRB标识、RLC配置、逻辑信道配置。
  • DRB:(addmod:HO) eps-BearerIdentity、DRB标识、PDCP配置、RLC配置、MAC层针对指定逻辑信道的配置。
  • mac-MainConfig
  • sps
  • physicalConfigurationDedicated

(3)UE处理:

  • 利用Msg2分配的C-RNTI接收来自基站的RRC Connection Setup消息
  • 建立SRB1
  • 停止定时器T300、T302、T303、T305、T320(若这些定时器在运行)
  • 停止小区重选流程
  • UE进入RRC连接态
  • 设置RRC Connection Setup Complete内容

(4)IE:

RRCConnectionSetup ::=				SEQUENCE {
	rrc-TransactionIdentifier			RRC-TransactionIdentifier,
	criticalExtensions					CHOICE {
		c1									CHOICE {
			rrcConnectionSetup-r8				RRCConnectionSetup-r8-IEs,
			spare7 NULL,
			spare6 NULL, spare5 NULL, spare4 NULL,
			spare3 NULL, spare2 NULL, spare1 NULL
		},
		criticalExtensionsFuture			SEQUENCE {}
	}
}

RRCConnectionSetup-r8-IEs ::=		SEQUENCE {
	radioResourceConfigDedicated		RadioResourceConfigDedicated,
	nonCriticalExtension				RRCConnectionSetup-v8a0-IEs			OPTIONAL
}

RRCConnectionSetup-v8a0-IEs ::=	SEQUENCE {
	lateNonCriticalExtension			OCTET STRING						OPTIONAL,
	nonCriticalExtension				SEQUENCE {}							OPTIONAL
}

 

6. RRC Connection Setup Complete

(1)触发条件:UE完成SRB1配置后,向eNodeB发送RRC Connection Setup Complete。

(2)发送内容:

  • Selected PLMN-Identity:UE从Sib1的PLMN列表中选择的PLMN索引号。
  • Registered MME:UE从高层得到的,包含UE注册MME的GUMMEI(mmegi,mmec)
  • Dedicated Info NAS:UE从高层得到的,包含了第一条NAS消息的内容:UE网络能力、TAI、GUTI等。(附着请求、PDN连接请求)

(3)IE:

RRCConnectionSetupComplete ::=		SEQUENCE {
	rrc-TransactionIdentifier			RRC-TransactionIdentifier,
	criticalExtensions					CHOICE {
		c1									CHOICE{
			rrcConnectionSetupComplete-r8		RRCConnectionSetupComplete-r8-IEs,
			spare3 NULL, spare2 NULL, spare1 NULL
		},
		criticalExtensionsFuture			SEQUENCE {}
	}
}

RRCConnectionSetupComplete-r8-IEs ::= SEQUENCE {
	selectedPLMN-Identity				INTEGER (1..maxPLMN-r11),
	registeredMME						RegisteredMME						OPTIONAL,
	dedicatedInfoNAS					DedicatedInfoNAS,
	nonCriticalExtension				RRCConnectionSetupComplete-v8a0-IEs	OPTIONAL
}
RegisteredMME ::=					SEQUENCE {
	plmn-Identity						PLMN-Identity						OPTIONAL,
	mmegi								BIT STRING (SIZE (16)),
	mmec								MMEC
}

 

7. RRC Connection Reject

(1)触发条件:eNodeB收到来自UE的RRC Connection Request,根据接纳控制算法,不允许UE接入。

(2)发送内容:wait time,定时器T302的时长。

(3)UE处理:

  • 停止T300,启动T302。
  • 复位MAC,释放MAC配置。

(4)IE:

RRCConnectionReject ::=				SEQUENCE {
	criticalExtensions					CHOICE {
		c1									CHOICE {
			rrcConnectionReject-r8				RRCConnectionReject-r8-IEs,
			spare3 NULL, spare2 NULL, spare1 NULL
		},
		criticalExtensionsFuture			SEQUENCE {}
	}
}

RRCConnectionReject-r8-IEs ::=		SEQUENCE {
	waitTime							INTEGER (1..16),
	nonCriticalExtension				RRCConnectionReject-v8a0-IEs		OPTIONAL
}

你可能感兴趣的:(LTE)