找回密码
 注册
搜索
查看: 1324|回复: 6

关于RRC协议中的完整性保护。

[复制链接]
发表于 2006-4-17 14:33:00 | 显示全部楼层 |阅读模式
兄弟们有做过RRC协议中完整性保护吗?
有些问题想请教一下:
1,MAC的信息是存放在RRC消息流的什么位置?
2,做使用F9算法前,是否要对接收到的RRC消息进行处理?
发表于 2006-4-19 21:34:00 | 显示全部楼层
<P>MAC层的头是在接受到RLC的PDU后填充不同的头内容,而不是放在RRC消息的什么位置</P><P> d:\1.bmp</P>
点评回复

使用道具 举报

 楼主| 发表于 2006-4-20 18:23:00 | 显示全部楼层
<P>您说的MAC是指:Medium Access Control吧?</P><P>我说的是MAC是完整性保护中的Message Authentication Code。</P>
点评回复

使用道具 举报

发表于 2006-6-15 22:36:00 | 显示全部楼层
<P>你可以去查asn。1,re99 TS25  331  asn。1 的结构,每个消息的开始都有IP检查的IE,这里面就有一个IE是MAC,对于MAC的使用和计算在25 331 中也有详细说明
10.3.3.16       Integrity check info
The Integrity check info contains the RRC message sequence number needed in the calculation of XMAC-I [40] and the calculated MAC-I.
Information Element/Group nameNeedMultiType and referenceSemantics description
Message authentication codeMP bit string(32)MAC-I [40].  The first/leftmost bit of the bit string contains the most significant bit of the MAC-I. The 27 MSB of the IE shall be set to zero and the 5 LSB of the IE shall be set to the value of the IE "RB identity" for the used signalling radio bearer when the encoded RRC message is used as the MESSAGE parameter in the integrity protection algorithm.
RRC Message sequence numberMP Integer (0..15)The local RRC hyper frame number (RRC HFN) is concatenated with the RRC message sequence number to form the input parameter COUNT-I for the integrity protection algorithm.
The IE value shall be set to zero when the encoded RRC message is used as the MESSAGE parameter in the integrity protection algorithm.
点评回复

使用道具 举报

 楼主| 发表于 2006-6-18 02:12:00 | 显示全部楼层
<P>谢谢楼上的,协议终于看懂了,很幸运和别人的RNC一起测试成功了。</P>
点评回复

使用道具 举报

发表于 2006-8-4 15:45:00 | 显示全部楼层
RRC在完成asn.1的编码以后,会将MAC值放到消息流的头几个字节里面。
点评回复

使用道具 举报

发表于 2006-9-1 16:13:00 | 显示全部楼层
呵呵其实很简单的
在开始的时候,将该OP设置为present,按照协议要求算出mac值即可
在F9计算以前,需要对该消息进行处理,因为SMC消息以及涉及SRNS消息,是需要使用消息中自带的fresh进行完整性检查。
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-4-20 05:38 , Processed in 0.046243 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表