提交 ab0ee629 编写于 作者: C calincerchez

mac

上级 45a4121a
Session Transcript
February 21, 2006 16:45:20.5186
MAC-LTE.1/comment/1 r tm 0.0 $3e3e205241434820507265616d626c6520526571756573745b5545203d2020325d202020205b5241504944203d2020315d202020205b417474656d7074203d20315d
MAC-LTE.1/mac_r9_lte/1,0,2,1,1,0,22,2,7, s tm 0.0 $4100000000cd07
MAC-LTE.1/comment/1 r tm 0.0 $3e3e205241434820507265616d626c6520526571756573745b5545203d2020325d202020205b5241504944203d2020315d202020205b417474656d7074203d20315d
MAC-LTE.1/mac_r9_lte/1,0,2,1,1,0,52,2,7, s tm 0.0 $41000000007623
Session Transcript
February 21, 2006 16:45:20.5186
Session Transcript
February 21, 2006 16:45:20.5186
file 2213 1358770178
version 2
run General-0-20130121-14:08:56-5132
attr configname General
attr datetime 20130121-14:08:56
attr experiment General
attr inifile omnetpp.ini
attr iterationvars ""
attr iterationvars2 $repetition=0
attr measurement ""
attr network Test
attr processid 5132
attr repetition 0
attr replication #0
attr resultdir results
attr runnumber 0
attr seedset 0
vector 34 Test.enb.networkLayer.arp sentReq:vector ETV
attr title "ARP request sent, vector"
vector 36 Test.enb.networkLayer.arp initiatedResolution:vector ETV
attr title "ARP initiated resolutions, vector"
vector 19 Test.enb.eth[0].encap encapPk:vector(packetBytes) ETV
attr interpolationmode none
attr source encapPk
attr title "packets encapsulated, vector(packetBytes)"
vector 15 Test.enb.eth[0].mac rxPkFromHL:vector(packetBytes) ETV
attr interpolationmode none
attr source rxPkFromHL
attr title "packet bytes from higher layer, vector(packetBytes)"
vector 10 Test.enb.eth[0].mac txPk:vector(packetBytes) ETV
attr interpolationmode none
attr source txPk
attr title "packets transmitted, vector(packetBytes)"
vector 49 Test.mme.eth[0].mac rxPkOk:vector(packetBytes) ETV
attr interpolationmode none
attr source rxPkOk
attr title "packets received OK, vector(packetBytes)"
vector 50 Test.mme.eth[0].mac passedUpPk:vector(packetBytes) ETV
attr interpolationmode none
attr source packetSentToUpper
attr title "packets passed to higher layer, vector(packetBytes)"
vector 58 Test.mme.eth[0].encap decapPk:vector(packetBytes) ETV
attr interpolationmode none
attr source decapPk
attr title "packets decapsulated, vector(packetBytes)"
vector 57 Test.mme.eth[0].encap encapPk:vector(packetBytes) ETV
attr interpolationmode none
attr source encapPk
attr title "packets encapsulated, vector(packetBytes)"
vector 53 Test.mme.eth[0].mac rxPkFromHL:vector(packetBytes) ETV
attr interpolationmode none
attr source rxPkFromHL
attr title "packet bytes from higher layer, vector(packetBytes)"
10 2047 20 55 55 0.0000672 0.0000672 1 64 64 64 4096
15 2067 12 19 19 0 0 1 64 64 64 4096
19 2079 12 18 18 0 0 1 28 28 28 784
34 2091 11 16 16 0 0 1 1 1 1 1
36 2102 11 16 16 0 0 1 1 1 1 1
49 2113 20 56 56 0.0000673 0.0000673 1 64 64 64 4096
50 2133 20 56 56 0.0000673 0.0000673 1 64 64 64 4096
53 2153 20 63 63 0.0000673 0.0000673 1 64 64 64 4096
57 2173 20 62 62 0.0000673 0.0000673 1 28 28 28 784
58 2193 20 57 57 0.0000673 0.0000673 1 28 28 28 784
version 2
run General-0-20130121-14:08:56-5132
attr configname General
attr datetime 20130121-14:08:56
attr experiment General
attr inifile omnetpp.ini
attr iterationvars ""
attr iterationvars2 $repetition=0
attr measurement ""
attr network Test
attr processid 5132
attr repetition 0
attr replication #0
attr resultdir results
attr runnumber 0
attr seedset 0
vector 34 Test.enb.networkLayer.arp sentReq:vector ETV
attr title "ARP request sent, vector"
vector 36 Test.enb.networkLayer.arp initiatedResolution:vector ETV
attr title "ARP initiated resolutions, vector"
vector 19 Test.enb.eth[0].encap encapPk:vector(packetBytes) ETV
attr interpolationmode none
attr source encapPk
attr title "packets encapsulated, vector(packetBytes)"
vector 15 Test.enb.eth[0].mac rxPkFromHL:vector(packetBytes) ETV
attr interpolationmode none
attr source rxPkFromHL
attr title "packet bytes from higher layer, vector(packetBytes)"
vector 10 Test.enb.eth[0].mac txPk:vector(packetBytes) ETV
attr interpolationmode none
attr source txPk
attr title "packets transmitted, vector(packetBytes)"
vector 49 Test.mme.eth[0].mac rxPkOk:vector(packetBytes) ETV
attr interpolationmode none
attr source rxPkOk
attr title "packets received OK, vector(packetBytes)"
vector 50 Test.mme.eth[0].mac passedUpPk:vector(packetBytes) ETV
attr interpolationmode none
attr source packetSentToUpper
attr title "packets passed to higher layer, vector(packetBytes)"
vector 58 Test.mme.eth[0].encap decapPk:vector(packetBytes) ETV
attr interpolationmode none
attr source decapPk
attr title "packets decapsulated, vector(packetBytes)"
vector 57 Test.mme.eth[0].encap encapPk:vector(packetBytes) ETV
attr interpolationmode none
attr source encapPk
attr title "packets encapsulated, vector(packetBytes)"
vector 53 Test.mme.eth[0].mac rxPkFromHL:vector(packetBytes) ETV
attr interpolationmode none
attr source rxPkFromHL
attr title "packet bytes from higher layer, vector(packetBytes)"
10 55 0.0000672 64
15 19 0 64
19 18 0 28
34 16 0 1
36 16 0 1
49 56 0.0000673 64
50 56 0.0000673 64
53 63 0.0000673 64
57 62 0.0000673 28
58 57 0.0000673 28
Session Transcript
February 21, 2006 16:45:20.5186
Session Transcript
February 21, 2006 16:45:20.5186
MAC-LTE.1/comment/1 s tm 0.0 $3e3e205241434820507265616d626c6520526571756573745b5545203d2020365d202020205b5241504944203d2020315d202020205b417474656d7074203d20315d
MAC-LTE.1/mac_r9_lte/1,0,2,0,1,0,22,6,7, r tm 0.0 $4100000000cd07
MAC-LTE.1/mac_r9_lte/1,0,2,0,1,0,52,6,7, r tm 0.0 $41000000007623
Session Transcript
February 21, 2006 16:45:20.5186
MAC-LTE.1/comment/1 s tm 0.0 $3e3e205241434820507265616d626c6520526571756573745b5545203d2020335d202020205b5241504944203d2020315d202020205b417474656d7074203d20315d
MAC-LTE.1/mac_r9_lte/1,0,2,0,1,0,22,3,7, r tm 0.0 $4100000000cd07
MAC-LTE.1/mac_r9_lte/1,0,2,0,1,0,52,3,7, r tm 0.0 $41000000007623
......@@ -13,11 +13,16 @@
// along with this program. If not, see http://www.gnu.org/licenses/.
//
enum LTELogChannels
enum LTELogicalChannels
{
ULCCCH = 1;
}
enum LTETransportChannels
{
ULSCH = 20;
}
class LTEControlInfo
{
......
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//
#include "HARQEntity.h"
HARQEntity::HARQEntity() {
// TODO Auto-generated constructor stub
}
HARQEntity::~HARQEntity() {
// TODO Auto-generated destructor stub
}
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//
#ifndef HARQENTITY_H_
#define HARQENTITY_H_
#include "HARQProcess.h"
class HARQEntity {
private:
std::vector<HARQProcess*> procs;
public:
HARQEntity();
virtual ~HARQEntity();
};
#endif /* HARQENTITY_H_ */
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//
#include "HARQProcess.h"
HARQProcess::HARQProcess() {
// TODO Auto-generated constructor stub
}
HARQProcess::~HARQProcess() {
// TODO Auto-generated destructor stub
}
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//
#ifndef HARQPROCESS_H_
#define HARQPROCESS_H_
class HARQProcess {
public:
HARQProcess();
virtual ~HARQProcess();
};
#endif /* HARQPROCESS_H_ */
......@@ -46,6 +46,8 @@ void MAC::initialize(int stage) {
void MAC::handleMessage(cMessage *msg) {
if (msg->arrivedOn("lowerLayerIn")) {
handleLowerMessage(msg);
} else {
handleUpperMessage(msg);
}
}
......@@ -71,6 +73,10 @@ void MAC::handleLowerMessage(cMessage *msg) {
}
}
void MAC::handleUpperMessage(cMessage *msg) {
}
void MAC::sendDown(cMessage *msg, int channelNumber, int ctrlType, unsigned rntiType, unsigned rnti, unsigned rapid) {
LTEPhyControlInfo *ctrl = new LTEPhyControlInfo();
ctrl->setPhyChannel(channelNumber);
......
......@@ -43,6 +43,7 @@ public:
virtual void handleMessage(cMessage *msg);
void handleLowerMessage(cMessage *msg);
void handleUpperMessage(cMessage *msg);
void sendDown(cMessage *msg, int channelNumber, int ctrlType, unsigned rntiType, unsigned rnti, unsigned rapid = 0);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册