nyuwireless-unipd / ns3-mmwave

ns-3 module for simulating mmWave-based cellular systems. See https://ieeexplore.ieee.org/document/8344116/ (open access) as a reference.
GNU General Public License v2.0
297 stars 193 forks source link

Questions about RLC mode settings #128

Closed fish-debug closed 4 years ago

fish-debug commented 4 years ago

Hi, How to set the RLC mode of millimeter wave to TM mode?

mychele commented 4 years ago

Hi, TM mode is not supposed to be used for data transmission, just for the service bearers for the initial setup of the connection. If you try to force it (for example by modifying the LteEnbRrc::GetRlcType), you may find some bugs due to the lack of features in TM (see for example here: http://www.sharetechnote.com/html/5G/5G_RLC.html#TM_Mode_Procedure). Best, Michele

Il giorno lun 25 nov 2019 alle ore 15:54 fish-debug < notifications@github.com> ha scritto:

Hi, How to set the RLC mode of millimeter wave to TM mode?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nyuwireless-unipd/ns3-mmwave/issues/128?email_source=notifications&email_token=ABWVXZISULVLH5UIMSP2AR3QVPRK3A5CNFSM4JRKED52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H32YSSQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWVXZO3LYVP6BP7IBQYH7TQVPRK3ANCNFSM4JRKED5Q .

-- Michele Polese

Postdoctoral Researcher Dept. of Information Engineering (DEI) - SIGNET Research Group University of Padova Via Gradenigo 6/B, 35131 Padova (Italy)

email: michele@polese.io web: polese.io - mmwave.dei.unipd.it

fish-debug commented 4 years ago

Hi, TM mode is not supposed to be used for data transmission, just for the service bearers for the initial setup of the connection. If you try to force it (for example by modifying the LteEnbRrc::GetRlcType), you may find some bugs due to the lack of features in TM (see for example here: http://www.sharetechnote.com/html/5G/5G_RLC.html#TM_Mode_Procedure). Best, Michele Il giorno lun 25 nov 2019 alle ore 15:54 fish-debug < notifications@github.com> ha scritto: Hi, How to set the RLC mode of millimeter wave to TM mode? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#128?email_source=notifications&email_token=ABWVXZISULVLH5UIMSP2AR3QVPRK3A5CNFSM4JRKED52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H32YSSQ>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWVXZO3LYVP6BP7IBQYH7TQVPRK3ANCNFSM4JRKED5Q . -- Michele Polese Postdoctoral Researcher Dept. of Information Engineering (DEI) - SIGNET Research Group University of Padova Via Gradenigo 6/B, 35131 Padova (Italy) email: michele@polese.io web: polese.io - mmwave.dei.unipd.it

Hi, Currently I am doing some development on RLC UM mode.I don't want to segment RLC SDUs,and I just want concatenate the RLC SDUs.But when I modify the code there are some errors

aborted. msg="MmWaveNetDevice::Receive - Unknown IP type...", file=../src/mmwave/model/mmwave-net-device.cc, line=233

void MmWaveNetDevice::Receive (Ptr p) { NS_LOG_FUNCTION (this << p); Ipv4Header ipv4Header; Ipv6Header ipv6Header;

if (p->PeekHeader (ipv4Header) != 0) { NS_LOG_LOGIC ("IPv4 stack..."); m_rxCallback (this, p, Ipv4L3Protocol::PROT_NUMBER, Address ()); } else if (p->PeekHeader (ipv6Header) != 0) { NS_LOG_LOGIC ("IPv6 stack..."); m_rxCallback (this, p, Ipv6L3Protocol::PROT_NUMBER, Address ()); } else { NS_ABORT_MSG ("MmWaveNetDevice::Receive - Unknown IP type..."); } } Can you give me some suggestions?Thank you very much.

mychele commented 4 years ago

Hi, this suggests that the packet that you are receiving at that point of the stack has not a well-formed IP header (it may have some other headers on top of it). Michele

Il giorno gio 28 nov 2019 alle ore 17:36 fish-debug < notifications@github.com> ha scritto:

Hi, TM mode is not supposed to be used for data transmission, just for the service bearers for the initial setup of the connection. If you try to force it (for example by modifying the LteEnbRrc::GetRlcType), you may find some bugs due to the lack of features in TM (see for example here: http://www.sharetechnote.com/html/5G/5G_RLC.html#TM_Mode_Procedure). Best, Michele Il giorno lun 25 nov 2019 alle ore 15:54 fish-debug < notifications@github.com> ha scritto: … <#m-8523676079895868477> Hi, How to set the RLC mode of millimeter wave to TM mode? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#128 https://github.com/nyuwireless-unipd/ns3-mmwave/issues/128?email_source=notifications&email_token=ABWVXZISULVLH5UIMSP2AR3QVPRK3A5CNFSM4JRKED52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H32YSSQ>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWVXZO3LYVP6BP7IBQYH7TQVPRK3ANCNFSM4JRKED5Q . -- Michele Polese Postdoctoral Researcher Dept. of Information Engineering (DEI) - SIGNET Research Group University of Padova Via Gradenigo 6/B, 35131 Padova (Italy) email: michele@polese.io web: polese.io - mmwave.dei.unipd.it

Hi, Currently I am doing some development on RLC UM mode.I don't want to segment RLC SDUs,and I just want concatenate the RLC SDUs.But when I modify the code there are some errors

aborted. msg="MmWaveNetDevice::Receive - Unknown IP type...", file=../src/mmwave/model/mmwave-net-device.cc, line=233

void MmWaveNetDevice::Receive (Ptr p) { NS_LOG_FUNCTION (this << p); Ipv4Header ipv4Header; Ipv6Header ipv6Header;

if (p->PeekHeader (ipv4Header) != 0) { NS_LOG_LOGIC ("IPv4 stack..."); m_rxCallback (this, p, Ipv4L3Protocol::PROT_NUMBER, Address ()); } else if (p->PeekHeader (ipv6Header) != 0) { NS_LOG_LOGIC ("IPv6 stack..."); m_rxCallback (this, p, Ipv6L3Protocol::PROT_NUMBER, Address ()); } else { NS_ABORT_MSG ("MmWaveNetDevice::Receive - Unknown IP type..."); } } Can you give me some suggestions?Thank you very much.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nyuwireless-unipd/ns3-mmwave/issues/128?email_source=notifications&email_token=ABWVXZM6ZQVUS4R6XBOCQ73QV7XRJA5CNFSM4JRKED52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNCGDQ#issuecomment-559555342, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWVXZIJ3ULJQBBVN4PGX63QV7XRJANCNFSM4JRKED5Q .

-- Michele Polese

Postdoctoral Researcher Dept. of Information Engineering (DEI) - SIGNET Research Group University of Padova Via Gradenigo 6/B, 35131 Padova (Italy)

email: michele@polese.io web: polese.io - mmwave.dei.unipd.it

mychele commented 4 years ago

Hi, did you solve this? Can I close it?

fish-debug commented 4 years ago

Hi, did you solve this? Can I close it?

Yes,I have solved it.You can close it .Thank you again.