LTE RACH Check Point

若要获取更多的RACH信息打印,还需要额外选上LOG_CAT_LTE_EPHY_RACH_PROC
 

名称

LOG打印及其解释

RACH发起的原因/类型

Log实例:

18877 13:33:55.507929140 347067 T&V CPU_B 0x1d02438NS_eAS_LTE_L2_MAC Debug LAS_MAC_UL: START RA PROCEDURE type=2cause=1 Backoff: is_active=0 val=0 ms

 

解释:

  • type:  0= NO_RA;1 = CBRA(C-RNTI based); 2 = CBRA(CCCH based); 3 = NonCBRA
  • cause: 0 = none;1 = intial;   2 = NoPUCCH; 3 = DSRTransMax; 4 = PDCCHorder; 5 = HO;  6 = Re-establ;7 = TATexpiry;

RACH需要的参数

(配置物理层时)

Log实例:

PRACH_CfgIndex = 3 = 0x0003,

PRACH_FrequencyCfg = 4 = 0x0004,

rootSequenceIdx = 0 = 0x0000,

zeroCorZoneCfg = 4 = 0x0004,

highSpeedFlag = ' ' = 0 = 0x00,

 

解释:

  • PRACH_CfgIndex指示一个无线帧中PRACH资源(详见TP36.2115.7.1,PRACHConfiguration Index),同时它决定了preambleformat
  • PRACH_FrequencyCfg指示物理资源块偏移

RACH需要的参数

(请求发送时)

Log实例:

activationSystemTTI = 2321 = 0x0911,

responseWindowSize = ' ' = 7 = 0x07,

cfgSet = ' ' = 1 = 0x01,

E_NodeB_TargetPower = ' ' = -104 = 0x98,

preambleNumber = ' ' = 21 = 0x15,

PRACH_Mask = ' ' = 0 = 0x00,

 

解释:

  • ResponseWindowSize指示RAR的接收窗大小,7:10子帧;6:9子帧,以此类推
  • preambleNumber指示preamble索引(详见:TP36.2115.7.2),在RAR中对应RARPID;需要与PRACHConfiguration Index区别,一个是信道资源,相当于车;一个是前导码,相当于货

Preamble的发送

Log实例:

NS_ePHY_LTE_PSS Debug  TP111:0x200 0 2333(PRACH_START)

NS_ePHY_LTE_PSS Debug  TP2:1544 2 -88 0 327670 0 2353 (PL: 96.5 dB PRACH: -5.5 dBm  no TPC! : -- MPR: 0.0dB A-MPR: 0.0 dB)

NS_ePHY_LTE_PSS Debug  TP111:0x400 02334(PRACH_END)

 

解释:

  • TP111:0x2000 2333指示preamble发送的时机,子帧3
  • TP2:15442 -88指示preamble发送的路损、功率,2表示PRACH
  • TP111:0x4000 2334指示preamble发送结束后的第一个子帧,子帧4

RAR的接收

Log实例:

NS_ePHY_LTE_PSS Debug  [0]:TP265:0x06d200020x738d4100 0x00000000 A:2 CBS:31 PL:1422 PS:0 AS:11852 ES:0 DST:0TTI:2674   ###   DCI_1C   RA-RNTI   2

NS_ePHY_LTE_PSS Debug  [0]:TP58:0 255 2 0 1255 0 1 0 2674 (NDI_CW0: 1, NDI_CW1: 255, HARQ#: 0, Total BLER:0.00 %)

NS_eAS_LTE_L2 Debug LOG_SIG_RECEIVE_RRT: LHAM_MAC_Ctrl_port --EPHY_LTE__PHY_CONNECTED_SHORT_DELAY_DATA_IND -->MAC_UL_cap, CurrentState::RACH HandlingState::RACH,Content:data

NS_eAS_LTE_L2_MAC Info LAS_MAC_UL: Received RAR::4E 00 60 01 4C 1001

NS_eAS_LTE_L2_MAC Info LAS_MAC_UL: RAR success! RAR content: TA 6UL grant=0x0000014c Temp C-RNTI=0x1001 UL delay=0RA_Short_DL_systemTTI=2674

 

解释:

  • TP265指示由RA-RNTI加扰的PDCCH收到
  • TP58:1指示PDSCH解码正常
  • SHORT_DELAY指示PHY传给MAC
  • ReceivedRAR指示MAC层解码正常

 

失败log:

NS_eAS_LTE_L2_MAC Info LAS_MAC_UL: RA Response window expired!RAR_pending=0

 表示UE没有检测到RAR

  • 网络是否收到preamble,是否发出RAR,什么时机发的,是否超窗了
  • 没有RA-RNTI加扰的PDCCH打印,也就是说没有TP265,检查一下TP37指示的CFI值,关于CFI值的含义,见TP36.211 Table6.7-1,与网络侧比对是否一致
  • Log的打印顺序为TP0,TP37,TP265

 

 



一个成功RACH的关键点

粗体:表示TTI,即子帧号

颜色:表示当前子帧

颜色:表示RACH配置参数

颜色:表示RRC信令

颜色:表示RACH的类型及原因

颜色:表示发送参数

颜色:表示上行

颜色:表示上行功控

颜色:表示下行

颜色:表示上行HARQ

--------------------------------------------------------------------------【Log片段】------------------------------------------------------------------------------

ePHY_LTE_PSS Debug  TP0:3407

ePHY_LTE_IF Debug        ePHY_LTE_PHY_Connected_PRACH_Parameters_t:struct: PRACH_Parameters = {

ePHY_LTE_IF Debug         ePHY_LTE_PHY_Connected_PRACH_CfgIndex_t: uint16: PRACH_CfgIndex = 53 =0x0035,

ePHY_LTE_IF Debug          ePHY_LTE_PHY_Connected_PRACH_FrequencyCfg_t:uint16: PRACH_FrequencyCfg = 0 = 0x0000,

ePHY_LTE_IF Debug         ePHY_LTE_PHY_Connected_RootSequenceIdx_t: uint16: rootSequenceIdx = 0 =0x0000,

ePHY_LTE_IF Debug          ePHY_LTE_PHY_Connected_ZeroCorZoneCfg_t:uint16: zeroCorZoneCfg = 4 = 0x0004,

ePHY_LTE_IF Debug         ePHY_LTE_PHY_Connected_HighSpeedFlag_e: uint8: highSpeedFlag = ' ' = 0 =0x00,

ePHY_LTE_IF Debug        },

ePHY_LTE_PSS Debug  TP0:3407

eAS_LTE_RRC_MsgMgr InfoSEND <RRC CONNECTION REQUEST> SRB0

ePHY_LTE_PSS Debug  TP0:3431

eAS_LTE_L2_MAC DebugLAS_MAC_UL: START RA PROCEDURE type=2 cause=1 Backoff: is_active=0 val=0 ms

ePHY_LTE_IFDebug    structePHY_LTE_PHY_Connected_PRACH_Cfg_Req_t: configuration = {

ePHY_LTE_IFDebug      ePHY_LTE_SystemTTI_t: uint16:activationSystemTTI = 3429 = 0x0d65,

ePHY_LTE_IFDebug     ePHY_LTE_PHY_Connected_ResponseWindowSize_e: uint8: responseWindowSize =' ' = 7 = 0x07,

ePHY_LTE_IFDebug     ePHY_LTE_PHY_Connected_SelectedCfgSet_e: uint8: cfgSet = ' ' = 1 = 0x01,

ePHY_LTE_IFDebug      sint8: E_NodeB_TargetPower = '' = -120 = 0x88,

ePHY_LTE_IFDebug      ePHY_LTE_PHY_Connected_PreambleIndex_t:uint8: preambleNumber = ' ' = 27 = 0x1b,

ePHY_LTE_IFDebug     ePHY_LTE_PHY_Connected_PRACH_Mask_t: uint8: PRACH_Mask = ' ' = 0 = 0x00,

ePHY_LTE_IFDebug    },

ePHY_LTE_PSS Debug  TP0:3434

ePHY_LTE_PSSDebug  TP111:0x200 03436 (PRACH_START)

ePHY_LTE_PSSDebug  TP2:1386 2-406 0 32767 0 03436 (PL:86.6 dB PRACH:-25.4dBm  no TPC! : -- MPR: 0.0 dB A-MPR: 0.0dB)

ePHY_LTE_PSS Debug  TP0:3435

ePHY_LTE_PSSDebug  TP111:0x400 03437 (PRACH_END)

ePHY_LTE_PSS Debug  TP0:3444

ePHY_LTE_PSSDebug  [0]:TP265:0x02b20007 0x64029a250x00001195 A:3 CBS:45 PL:2052 PS:0 AS:17106 ES:0 DST:0 TTI:3444    ###    DCI_1A   RA-RNTI    7

ePHY_LTE_PSS Debug  TP0:3446

eAS_LTE_L2_MAC InfoLAS_MAC_UL: Received RAR::82 5B 00 02 C1 3C FF F2 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00

ePHY_LTE_PSS Debug  TP0:3450

ePHY_LTE_PSSDebug  TP111:0x10001 03452 (PUSCH_DATA + SRS_RESERVED)

ePHY_LTE_PSSDebug  TP2:1386 0 -134 1 128 0 0 3452(PL: 86.6 dB PUSCH: -8.4 dBm  f(i): 8.0dB MPR: 0.0 dB A-MPR: 0.0 dB)

ePHY_LTE_PSS Debug  TP0:3459

ePHY_LTE_PSSDebug  TP96:13458

ePHY_LTE_PSS Debug  TP0:3464

ePHY_LTE_PSSDebug  [0]:TP265:0x03b1fff2 0xa4229a250x0000065b A:3 CBS:45 PL:2047 PS:0 AS:17061 ES:0 DST:0 TTI:3464    ###    DCI_1A   Temp C-RNTI    65522

ePHY_LTE_PSS Debug  TP0:3466

eAS_LTE_L2_MAC DebugLAS_MAC_UL: Received Msg4::3C 20 12 1F 40 10 00 00 00 14 60 12 9B 3E 86 03 B579 72 CB 36 18 32 4C E0 A4 6C 00 

ePHY_LTE_IF Debug LOG_SIG: Sending EPHY_MAILBOX_MSG:ePHY_LTE_PHY_Connected_Service_DL_HARQ_Cfg_Req_t: struct: DL_HARQ_Cfg_Req_p = { // 配置Msg4的ACK

ePHY_LTE_PSSDebug  TP111:0x10010 03468 (PUCCH_1A + SRS_RESERVED)        <-------------表示ACK+SR

ePHY_LTE_PSSDebug  TP2:1386 1 -358 2 128 0 0 3468(PL: 86.6 dB PUCCH: -22.4 dBm  g(i): 8.0dB MPR: 0.0 dB A-MPR: 0.0 dB)

ePHY_LTE_PSS Debug  TP0:3467

eAS_LTE_RRC_MsgMgr InfoRECV <RRC CONNECTION SETUP (CCCH)>

ePHY_LTE_PSSDebug  TP59:0x0000000d (PUCCH)8<-------表示ACK/NACK

ePHY_LTE_PSS Debug  TP0:3474

eAS_LTE_RRC_MsgMgr InfoSEND <RRC CONNECTION SETUP COMPLETE> SRB1

ePHY_LTE_PSS Debug  TP0:3479

ePHY_LTE_PSSDebug  [0]:TP265:0x03b0fff2 0x030681100x00001d2b A:3 CBS:45 PL:2034 PS:0 AS:16953 ES:0 DST:4 TTI:3479    ###    DCI_0   C-RNTI    65522

ePHY_LTE_PSS Debug  TP0:3481

ePHY_LTE_PSSDebug  TP111:0x10001 03483 (PUSCH_DATA + SRS_RESERVED)

ePHY_LTE_PSS Debug  TP2:1386 0 -269 1 112 0 0 3483 (PL: 86.6 dBPUSCH: -16.8 dBm  f(i): 7.0 dB MPR: 0.0dB A-MPR: 0.0 dB)
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值