Possible costant BANDWIDTH error in inetmanet

9 views
Skip to first unread message

Claudio Rossi

unread,
Feb 24, 2012, 5:04:43 AM2/24/12
to omn...@googlegroups.com
Dear all,
I found that const double BANDWIDTH = 2E+6; in Ieee80211Consts.h,
Ieee80211aConsts.h and Consts80211.h
should not it be BANDWIDTH = 20E+6
As far as I know the BANDWIDTH of one channel is 20MHz in 802.11(abg)
Is this an error or am I missing something?

I found another strange thing in Ieee80211gRadioModel::~Ieee80211gRadioModel()
it is used the struct r6m for every rxm (with x={1,2,5,11) vector
Is that correct??

Best

Claudio

I report the code below

Ieee80211gRadioModel::~Ieee80211gRadioModel()
{
// B
while (r1m.size()>0)
{
LongBer *p = r6m.back();
r6m.pop_back();
p->snrlist.clear();
delete p;

}
while (r2m.size()>0)
{
LongBer *p = r6m.back();
r6m.pop_back();
p->snrlist.clear();
delete p;

}
while (r5m.size()>0)
{
LongBer *p = r6m.back();
r6m.pop_back();
p->snrlist.clear();
delete p;

}

while (r11m.size()>0)
{
LongBer *p = r6m.back();
r6m.pop_back();
p->snrlist.clear();
delete p;

}

--
Claudio Rossi
-------------------
Office @ PoliTO: +39 011 5644194

Alfonso Ariza Quintana

unread,
Feb 24, 2012, 5:11:20 AM2/24/12
to omn...@googlegroups.com
Ieee80211gRadioModel is deprecated,
You should use Ieee80211NewRadioModel

-----Mensaje original-----
From: Claudio Rossi
Sent: Friday, February 24, 2012 11:04 AM
To: omn...@googlegroups.com
Subject: [Omnetpp-l] Possible costant BANDWIDTH error in inetmanet

Best

Claudio

}

}

--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp

Reply all
Reply to author
Forward
0 new messages