从现网log看,NSA UE 在attach过程中,一般网络会查询两次ueCapability,则终端会上报两次ueCapabilityInformation。
第一次
第一次查询在安全消息之前,不包含nr相关。
ueCapabilityEnquiry :
{
rrc-TransactionIdentifier 2,
criticalExtensions c1 : ueCapabilityEnquiry-r8 :
{
ue-CapabilityRequest
{
eutra,
geran-cs,
geran-ps,
cdma2000-1XRTT
}
}
}
第二次
在第一个rrcConnectionReconfiguration之前。因为一般在第一个rrcConnectionReconfiguration中就带了nr相关的信息。所以必须要在第一个rrcConnectionReconfiguration之前获取终端NR能力。
在如下链接中在https://www.eventhelix.com/5G/non-standalone-access-en-dc/en-dc-secondary-node-addition.pdf,第一个rrcConnectionReconfiguration 包含消息如下图:
不过实际上,在联通现网第一个rrcConnectionReconfiguration包含了attach accept,active default bearer request,但 没有包含MeasObjectNR-r15。包含了另一个字段nr-RadioBearerConfig1-r15,在36.331 RRCConnectionReconfiguration field descriptions中定义如下。所以nr-RadioBearerConfig1-r15中包含的是38.331协议中定义的RadioBearerConfig IE。在上述链接中nr-RadioBearerConfig1和nr-RadioBearerConfig2是在同一个RRC reconfig中,但是在联通现网下,是分别从两个RRC reconfig中下发。
nr-Config Includes the NR related configurations. This field is used to configure (NG)EN-DC configuration, possibly in conjunction with fields sk-Counter and nr-RadioBearerConfig1/ 2. NOTE 1. |
nr-RadioBearerConfig1, nr-RadioBearerConfig2 Includes the NR RadioBearerConfig IE as specified in TS 38.331 [82]. The field includes the configuration of RBs configured with NR PDCP. |
nr-SecondaryCellGroupConfig Includes the NR RRCReconfiguration message as specified in TS 38.331 [82]. In this version of the specification, the NR RRC message only includes fields secondaryCellGroup and/ or measConfig. If nr-SecondaryCellGroupConfig is configured, the network always includes this field upon MN handover to initiate an NR SCG reconfiguration with sync and key change. |
扯远了,再回来说第二次cap update中网络查询的能力如下:
终端回复的UECapabilityInformation包含 UE-EUTRA-Capability,UE-NR-Capability和UE-MRDC-Capability。UE-NR-Capability和UE-MRDC-Capability均在38.331中定义。其中MRDC 是指(Multi Rat Dual Connectivity)。EN-DC 是MRDC中的一种。
在UE-EUTRA-Capability中,包含有irat-Parameters-NR,里面上报支持的nr band。
在UE-NR-Capability中:
在UE-MRDC-Capability中包含支持的4g和5g双链接band组合: