PhyLayer80211p in veins

22 views
Skip to first unread message

Si Chen

unread,
Feb 23, 2012, 11:57:32 AM2/23/12
to omn...@googlegroups.com
Veins is nice, but...

PhyLayer80211p is mostly the same as PhyLayer. What were the implementation concerns for creating a separate class PhyLayer80211p derived from basephylayer rather than from PhyLayer? 

Other than some default constant values (carrierfrequency and alpha), which are replaced by parameters in connectionmanager or xml anyway, why not simply overload function getDeciderFromName and add a function initializeDecider80211p?


David Eckhoff

unread,
Feb 23, 2012, 12:22:38 PM2/23/12
to omn...@googlegroups.com
Hello Si Chen,

Leaving the default values for unset parameters as they were would allow
to use a _wrong_ configured 802.11p-PhyLayer -- by using the default
values. Also, we need a function to change the current frequency the
PhyLayer is tuned to. We also needed to add the ObstacleModelShadowing
and change the initializeDecider80211 function. The amount of changes
led to the decision to use a seperate file.

Most importantly, by just deriving from PhyLayer, the 802.11p will
probably just stop working correctly, when the MiXiM people decide to
change it. I don't really see why this is a problem for you, do you mind
to elaborate?

Greetings, David Eckhoff

--
Dipl.-Inf. Univ. David Eckhoff
Computer Networks and Communication Systems
University of Erlangen, Germany
Phone: +49 9131 85-27627 / Fax: +49 9131 85-27409
mailto:eck...@informatik.uni-erlangen.de
http://www7.informatik.uni-erlangen.de/~eckhoff/

Si Chen

unread,
Feb 23, 2012, 1:12:02 PM2/23/12
to omn...@googlegroups.com
Thanks for your instant reply. 

The weird scenario that I'm trying to create is 802.11 WLANs and 802.11p sharing a same band, and I run into some compatibility issues that I'm trying to overcome. It is still uncertain to me whether omnetpp+mixim can model it. 

David Eckhoff

unread,
Feb 23, 2012, 1:30:58 PM2/23/12
to omn...@googlegroups.com
Hello Si Chen,

> The weird scenario that I'm trying to create is 802.11 WLANs and
> 802.11p sharing a same band, and I run into some compatibility issues
> that I'm trying to overcome. It is still uncertain to me whether
> omnetpp+mixim can model it.
>
Have you tried equipping nodes with two radios (or even two protocol
stacks)? Sharing one phyLayer seems complicated to me.

greetings, david

Reply all
Reply to author
Forward
0 new messages