Is ARQ(Automatic Repeat Request) possible in NS3

130 views
Skip to first unread message

myeoi zieo

unread,
Apr 2, 2021, 7:25:20 AM4/2/21
to ns-3-users
Hi, all
I have a one wondering.
I want to execute ARQ or Selective ARQ in ns3.
There are possible in NS3?? 
Or Is there an example of using ARQ(or Selective ARQ) in NS3?


Tom Henderson

unread,
Apr 2, 2021, 12:30:52 PM4/2/21
to ns-3-...@googlegroups.com, myeoi zieo
I'm not aware of an independent (textbook-like) ARQ example, but several
protocols implemented in ns-3 include ARQ mechanisms, including the TCP
retransmission mechanism, the link layer retransmissions in WiFi, and
hybrid ARQ in the LTE models.

- Tom
Message has been deleted

myeoi zieo

unread,
Apr 5, 2021, 1:27:02 AM4/5/21
to ns-3-users
Thank you for reply, Tom
Can you tell me the name of the file using ARQ?
If I can edit the file, can I use ARQ in CSMA as well as LTE?

2021년 4월 3일 토요일 오전 1시 30분 52초 UTC+9에 Tom Henderson님이 작성:

Tom Henderson

unread,
Apr 5, 2021, 12:07:49 PM4/5/21
to ns-3-...@googlegroups.com, myeoi zieo
On 4/4/21 10:27 PM, myeoi zieo wrote:
> Thank you for reply, Tom
> Can you tell me the name of the file using ARQ?

The ARQ implementations are spread across multiple files. For instance,
TCP's selective acknowledgements are implemented across several files
(tcp-socket-base.{cc,h}, tcp-option-sack.{cc,h}, tcp-tx-buffer.{cc,h},
tcp-rx-buffer.{cc,h})

LTE's HARQ is spread across more files than the above.

> If I can edit the file, can I use ARQ in CSMA as well as LTE?

The ARQ that is used in LTE won't very easily translate to CSMA, in my
opinion.

If you are looking for a simple ARQ model for basic link types, I am not
sure whether a model in ns-3 is readily available (perhaps others on the
list can recommend one?)

- Tom

myeoi zieo

unread,
Apr 5, 2021, 10:17:20 PM4/5/21
to ns-3-users
Thanks for letting me know, Tom
I plan to use MyApp and TcpSocketFactory.
So if I use tcp application, can I use ARQ, retransmission?



2021년 4월 6일 화요일 오전 1시 7분 49초 UTC+9에 Tom Henderson님이 작성:
Reply all
Reply to author
Forward
0 new messages