一、什么是RLC? RLC(Radio Link Control)是無(wú)線鏈路控制,它是3GPP在TS 38.322中定義的終端(UE)和5G(NR)無(wú)線網(wǎng)絡(luò)接口協(xié)議棧層二(Layer2)協(xié)議之一。 圖1.RLC層在無(wú)線協(xié)議中位置
二、RLC工作模式 RLC三種工作模式都可以發(fā)送和接收數(shù)據(jù),根據(jù)服務(wù)類型與不同邏輯信道的組合三種模式特點(diǎn)見下表:
圖2.RLC三種傳輸模式及應(yīng)用 三、RLC層功能 做為無(wú)線協(xié)議棧層二的無(wú)線鏈路控制層,RLC層其功能如下: · 上層PDU傳輸; · 獨(dú)立于PDCP中的序列編號(hào)(UM和AM); · 通過(guò)ARQ糾錯(cuò)(僅限AM); · RLC SDU分段(AM和UM)和重新分段(僅限AM); ·SDU(AM和UM)重組; · 重檢(僅限AM); · RLC中的SDU丟棄(AM和UM); · RLC重建; · 協(xié)議錯(cuò)誤檢測(cè)(僅限AM); 四、RLC消息解析 在無(wú)線網(wǎng)絡(luò)中RLC層分別通過(guò)"RRC Setup"和"RRC Reconfgiguration"消息為終端(UE)傳遞。 UuMsg message t = c1 rrc_TransactionIdentifier = 0 criticalExtensions t = rrcSetup tOptFlags lateNonCriticalExtensionPresent = 0 nonCriticalExtensionPresent = 0 radioBearerConfig tOptFlags srb_ToAddModListPresent = 1 ....... masterCellGroup tOptFlags rlc_BearerToAddModListPresent = 1(RLC承載新增修改列表) rlc_BearerToReleaseListPresent = 0 mac_CellGroupConfigPresent = 1 physicalCellGroupConfigPresent = 0 spCellConfigPresent = 1 sCellToAddModListPresent = 0 sCellToReleaseListPresent = 0 verExt2Present = 0 cellGroupId = 0 rlc_BearerToAddModList(RLC承載新增修改列表) n = 1(no=1) elem[0] tOptFlags servedRadioBearerPresent = 1(服務(wù)承載顯示=是) reestablishRLCPresent = 0 rlc_ConfigPresent = 1(RLC配置=是) mac_LogicalChannelConfigPresent = 1(MAC層邏輯信道顯示=是) logicalChannelIdentity = 1(邏輯信道ID=1) servedRadioBearer t = srb_Identity u srb_Identity = 1 rlc_Config(RLC配置) t = am(傳輸模式=AM) u am ul_AM_RLC(上行RLC AM模式) tOptFlags sn_FieldLengthPresent = 1(SN長(zhǎng)度指示=是) sn_FieldLength = 0 : SN_FieldLengthAM_Root_size12 (SN長(zhǎng)度=0,SN AM Root大小12) t_PollRetransmit = 8 : T_PollRetransmit_Root_ms45 (令牌桶重傳=8,重傳周期45ms) pollPDU = 4 : PollPDU_Root_p64(令牌桶PDU=4,64p) pollByte = 8 : PollByte_Root_kB75(令牌桶Byte=8,75kB) maxRetxThreshold = 6 : UL_AM_RLC_maxRetxThreshold_Root_t16(最大重傳門限=6,16t) dl_AM_RLC(下行RLC AM模式) tOptFlags sn_FieldLengthPresent = 1(SN長(zhǎng)度指示=是) sn_FieldLength = 0 : SN_FieldLengthAM_Root_size12 (SN長(zhǎng)度=0,SN AM Root大小12 t_Reassembly = 8 : T_Reassembly_Root_ms40(重組=8,40ms t_StatusProhibit = 2 : T_StatusProhibit_Root_ms10(停傳=2,10ms) mac_LogicalChannelConfig tOptFlags ...... |
|
來(lái)自: 和老康一起學(xué)5G > 《待分類》