An essential problem on 802.11p

374 views
Skip to first unread message

Hyperion

unread,
Sep 21, 2012, 7:13:14 PM9/21/12
to ns-3-...@googlegroups.com
Hi there:
    I am a new programmer of NS3 and I am working on the performance of 802.11p. When I tried to modify "wifi-simple-adhoc" in NS3 examples, I found an essential problem:
    (1) From this ns-3-users group, I see that one member says that we should:
         1. Replace "wifi.setStandard(WIFI_PHY_STANDARD_80211b)" with "wifi.SetStandard (WIFI_PHY_STANDARD_80211p_SCH)"   
         2. And replace "NqosWifiMacHelper wifiMac = NqosWifiMacHelper::Default ();" with "QosWifiMacHelper wifiMac = QosWifiMacHelper::Default ();"
         I tried this method and it succeeded. But I think it is not really 802.11p, because it only modified the PHY.
    (2) Another member says that, besides the modification above, we should also:
         1. Replace "wifiMac.SetType ("ns3::AdhocWifiMac");" with "wifiMac.SetType ("ns3::QadhocWifiMac");", which means that we must modify the MAC layer.
         Although it seems better, I am wondering whether "QadhocWifiMac" equals "802.11p-Mac"? What's worse, I tried this method and it failed.
    (3) However, the most important thing is that I have found the function "void Configure80211p_CCH(SCH)" in "src/wifi/model/wifi-mac.h", which I believe really difines MAC layer of 802.11p.
        Then, instead of replacing "wifiMac.SetType ("ns3::AdhocWifiMac");" with "wifiMac.SetType ("ns3::QadhocWifiMac");"
         I replace "wifiMac.SetType ("ns3::AdhocWifiMac");" with "wifiMac.SetType ("ns3::WifiMac::Configure80211p_SCH()");"
         Unfortunately, it also didn't work and said "Assert in TypeId::LookupByName: ns3::WifiMac::Configure80211p_SCH not found".
     Did anybody ever successfully simulate the performance of 802.11p on NS3? Could you please help me solve this problem?
     Thanks
Hyperion

Konstantinos

unread,
Sep 22, 2012, 8:21:48 AM9/22/12
to ns-3-...@googlegroups.com
See this project description to incorporate 802.11p/WAVE in NS3

This means that WAVE is not fully implemented in NS3

Hyperion

unread,
Sep 22, 2012, 9:08:28 AM9/22/12
to ns-3-...@googlegroups.com
Ok, I see that it's being developed. Thanks a lot, Konstantinos. But I do believe that someone has successfully simulated the 802.11p on NS-3.
I am new to ns-3 and 802.11, so some help from you makes a lot sense. Did you ever and know someone who has successfully simulated the 802.11p on NS-3?
Could you please give me some guidelines? Thanks.

Nicholas Loulloudes

unread,
Oct 17, 2012, 6:32:19 AM10/17/12
to ns-3-...@googlegroups.com
Hi, 

As Konstantinos mentioned earlier above, 802.11p is currently in development. So, personally, I am quite sure that someone has 
simulated its "complete" and correct behavior in ns-3. Nevertheless, approximations can be made by configuring the WiFi module as
per your posting in the 1st thread of this topic. 

regards,
Nicholas.
Reply all
Reply to author
Forward
0 new messages