Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Achou.Wang
4Gsim
提交
3c6a6a7e
4
4Gsim
项目概览
Achou.Wang
/
4Gsim
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
4
4Gsim
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3c6a6a7e
编写于
8月 31, 2013
作者:
C
calin cerchez
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
working on resource elements group
上级
a7c76bac
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
36 addition
and
17 deletion
+36
-17
.nedfolders
.nedfolders
+21
-14
src/linklayer/lte/phy/PHY.cc
src/linklayer/lte/phy/PHY.cc
+6
-2
src/linklayer/lte/phy/PHY.h
src/linklayer/lte/phy/PHY.h
+9
-1
未找到文件。
.nedfolders
浏览文件 @
3c6a6a7e
...
...
@@ -3,43 +3,50 @@ src
-inet.examples.mpls
-inet.applications.voiptool
-inet.world.httptools
-inet.nodes.xmipv6
-inet.applications.dhcp
-inet.applications.httptools
-inet.networklayer.rsvp_te
-inet.transport.tcp_lwip
-inet.networklayer.autorouting.ipv6
-inet.transport.tcp_nsc
-inet.examples.inet
-inet.examples.httptools.direct
-inet.examples.diffserv
-inet.networklayer.xmipv6
-inet.examples.traci_launchd
-inet.examples.sctp
-inet.examples.httptools.socket
-inet.examples.manetrouting
-inet.examples.emulation
-inet.networklayer.ted
-inet.nodes.ipv6
-inet.networklayer.manetrouting
-inet.networklayer.icmpv6
-inet.examples.adhoc
-inet.nodes.xmipv6
-inet.networklayer.rsvp_te
-inet.networklayer.diffserv
-inet.transport.rtp
-inet.examples.dhcp
-inet.examples.mobileipv6
-inet.examples.dhcp
-inet.nodes.mpls
-inet.world.traci
-inet.examples.httptools.direct
-inet.examples.traci
-inet.examples.ethernet
-inet.examples.ipv6
-inet.examples.diffserv
-inet.nodes.bgp
-inet.examples.ospfv2
-inet.networklayer.xmipv6
-inet.examples.traci_launchd
-inet.nodes.bgp
-inet.examples.rtp
-inet.networklayer.ospfv2
-inet.examples.manetrouting
-inet.examples.httptools.socket
-inet.examples.mobility
-inet.networklayer.bgpv4
-inet.applications.traci
-inet.examples.voiptool
-inet.networklayer.ipv6tunneling
-inet.networklayer.ted
-inet.networklayer.ipv6
-inet.networklayer.ldp
-inet.nodes.httptools
-inet.networklayer.mpls
-inet.examples.bgpv4
-inet.nodes.ipv6
-inet.networklayer.manetrouting
-inet.applications.rtpapp
-inet.networklayer.icmpv6
-inet.nodes.ospfv2
-inet.examples.wireless
src/linklayer/lte/phy/PHY.cc
浏览文件 @
3c6a6a7e
...
...
@@ -106,6 +106,10 @@ const char *PHY::eventName(int event) {
#undef CASE
}
bool
PHY
::
operator
<
(
const
reg
&
l
,
const
reg
&
r
)
{
}
void
PHY
::
stateEntered
(
int
category
,
const
cPolymorphic
*
details
)
{
switch
(
fsm
.
getState
())
{
case
IDLE
:
{
...
...
@@ -149,11 +153,11 @@ void PHY::stateEntered(int category, const cPolymorphic *details) {
dlSubframe
[
i
]
=
NULL
;
dlBuffer
=
new
PHYFramePtr
*
[
nDLsymb
*
2
];
for
(
unsigned
char
l
=
0
;
l
<
nDLsymb
*
2
;
l
++
)
for
(
unsigned
char
l
=
0
;
l
<
nDLsymb
*
2
;
l
++
)
{
dlBuffer
[
l
]
=
new
PHYFramePtr
[
nRBsc
*
nDLrb
];
for
(
unsigned
char
l
=
0
;
l
<
nDLsymb
*
2
;
l
++
)
for
(
unsigned
short
k
=
0
;
k
<
nRBsc
*
nDLrb
;
k
++
)
dlBuffer
[
l
][
k
]
=
NULL
;
}
this
->
cancelEvent
(
symbolTimer
);
this
->
scheduleAt
(
simTime
(),
symbolTimer
);
...
...
src/linklayer/lte/phy/PHY.h
浏览文件 @
3c6a6a7e
...
...
@@ -63,7 +63,15 @@ protected:
typedef
PHYFrame
*
PHYFramePtr
;
PHYFramePtr
**
dlBuffer
;
// frame[nDLsymb * 2][nRBsc * nDLrb]
typedef
unsigned
char
reg
[
k
][
l
];
struct
reg
{
unsigned
short
k
;
unsigned
char
l
;
};
bool
operator
<
(
const
reg
&
l
,
const
reg
&
r
);
typedef
std
::
map
<
reg
,
unsigned
char
>
REGroups
;
REGroups
regs
;
cFSM
fsm
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录