Ieee8011Nic mode 'p':2e+06 bps not valid.

78 views
Skip to first unread message

rport...@gmail.com

unread,
May 15, 2013, 2:55:43 AM5/15/13
to omn...@googlegroups.com
Hi

I'm using inet 2.1.0 and I'm using Ieee8011Nic.ned module, I'm trying to use opmode = p by setting the default value of opmode from the ned file to 'p' instead of 'g' and I have removed the bitrate values from my .ini file so that it there won' t be conflict.

But I'm getting the error:
mode 'p':2e+06 bps not valid

What is the error exactly? and how can I fix it please, so that I can work with opmode = p, please?

Does anyone know?

I've searched other previously posted questions and I tried using the vaules suggested for the bitrate and basicbitrate but it doesn't make a difference, the error is the same.

Alfonso Ariza Quintana

unread,
May 15, 2013, 4:05:45 AM5/15/13
to omn...@googlegroups.com

I suspect that is the basic bit rate. 2Mb/s is not a valid bit rate for 11p

Valid bit rates for 11p

 

    {'p',  3000000, WifiModulationType::GetOfdmRate3MbpsBW10MHz()},

    {'p',  4500000, WifiModulationType::GetOfdmRate4_5MbpsBW10MHz()},

    {'p',  6000000, WifiModulationType::GetOfdmRate6MbpsBW10MHz()},

    {'p',  9000000, WifiModulationType::GetOfdmRate9MbpsBW10MHz()},

    {'p', 12000000, WifiModulationType::GetOfdmRate12MbpsBW10MHz()},

    {'p', 18000000, WifiModulationType::GetOfdmRate18MbpsBW10MHz()},

    {'p', 24000000, WifiModulationType::GetOfdmRate24MbpsBW10MHz()},

    {'p', 27000000, WifiModulationType::GetOfdmRate27MbpsBW10MHz()},

--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rebecca Portelli

unread,
May 15, 2013, 7:17:43 AM5/15/13
to omn...@googlegroups.com
But the I didn't set the bitrates because the .ned file sets them itself.
The below is the ned file.

http://inet.omnetpp.org/doc/INET/neddoc/index.html?p=inet.linklayer.ieee80211.Ieee80211Nic.html

If the opMode is p, then by default the bitrates are set to 27Mbps.

Even if I set them myself in the .ini file.

The error still remains: mode 'p':2e+06 bps not valid


You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/TyJYkxDxm_M/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.

Alfonso Ariza Quintana

unread,
May 15, 2013, 7:20:59 AM5/15/13
to omn...@googlegroups.com

In Ieee80211Mac.ned

double basicBitrate @unit("bps") = default(2e6bps);

Rebecca Portelli

unread,
May 15, 2013, 8:19:38 AM5/15/13
to omn...@googlegroups.com
So what should I change, in order to be able to use opmode = p? And what code should I use to do this, please?

Alfonso Ariza Quintana

unread,
May 15, 2013, 9:22:08 AM5/15/13
to omn...@googlegroups.com

In the ini file set the basicBitrate with a valid bit rate, for example 3e6bps

Rebecca Portelli

unread,
May 15, 2013, 10:05:08 AM5/15/13
to omn...@googlegroups.com
Thanks it works now!
Reply all
Reply to author
Forward
0 new messages