XMAC: Header length

25 views
Skip to first unread message

S Tanin

unread,
May 13, 2020, 6:36:23 AM5/13/20
to INET Framework Contributors


Hello Everyone,

I am trying to understand showcases>>wireless>>sensornetwork>>omnetpp.ini file attached herewith.

Can anyone please help me to understand the following command?

In omnetpp.ini, for XMAC, the header length is given in line 69 as follows

**.wlan[*].mac.headerLength = 24B

Can anyone please tell me what does B stand for here?

In line 30, it is given

**.mac.headerLength = 8b

Can anyone tell me what is the function of the above command?


Looking forward to hearing from you.

Kind Regards,
Screenshot from 2020-05-13 20-31-41.png

Levente Mészáros

unread,
May 13, 2020, 7:41:11 AM5/13/20
to inetframew...@googlegroups.com
B means bytes, b means bits

Regards,
levy

--
You received this message because you are subscribed to the Google Groups "INET Framework Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inetframework-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inetframework-contrib/c247b11d-9b12-4a87-800a-4bde8541ec51%40googlegroups.com.

S Tanin

unread,
May 13, 2020, 11:34:03 PM5/13/20
to INET Framework Contributors
Hello Ievy,

Thank you. So, for X-MAC, what is the header length- 8 bits or 24 bytes? I meant, if I want to set MAC header length, I need to change line 30 or line 69?

Please let me know.

Regards,
Tanin

On Wednesday, May 13, 2020 at 9:41:11 PM UTC+10, levy wrote:
B means bytes, b means bits

Regards,
levy

On Wed, May 13, 2020 at 12:36 PM S Tanin <stan...@gmail.com> wrote:


Hello Everyone,

I am trying to understand showcases>>wireless>>sensornetwork>>omnetpp.ini file attached herewith.

Can anyone please help me to understand the following command?

In omnetpp.ini, for XMAC, the header length is given in line 69 as follows

**.wlan[*].mac.headerLength = 24B

Can anyone please tell me what does B stand for here?

In line 30, it is given

**.mac.headerLength = 8b

Can anyone tell me what is the function of the above command?


Looking forward to hearing from you.

Kind Regards,

--
You received this message because you are subscribed to the Google Groups "INET Framework Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inetframework-contrib+unsub...@googlegroups.com.

S Tanin

unread,
May 16, 2020, 1:29:27 AM5/16/20
to INET Framework Contributors

Can anyone suggest me about my above post please?

Thank you.
Reply all
Reply to author
Forward
0 new messages