Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-15-2018, 06:36 AM   #1
LQ Newbie
Registered: Mar 2018
Posts: 2

Rep: Reputation: Disabled
Smile WiMAX QoS in NS2

I am looking to use WiMAX QoS in NS2, I appreciate if anyone can help.

Many Thanks,
Old 05-15-2018, 07:45 AM   #2
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,430
Blog Entries: 13

Rep: Reputation: 3742Reputation: 3742Reputation: 3742Reputation: 3742Reputation: 3742Reputation: 3742Reputation: 3742Reputation: 3742Reputation: 3742Reputation: 3742Reputation: 3742

Myself I have no NS2 experience. However for our other users who do have experience with it, perhaps you can share in advance what you've tried, post your scripts or programs here and let them know where you are with your attempt. It will help to let them know more clearly where you are with this. Hopefully you have already searched for some information to simulate WiMAX in NS2 and at least have that part of this operating. Please let your fellow members know this additional information.
Old 05-15-2018, 07:57 AM   #3
LQ Newbie
Registered: Mar 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
rtmistler Thank you for replay,

actually, I would like to have WiMAX QoS package or the (Code) to use it in NS2 that's all,

WiMAX Standard 802.16 mentions following 5 QoS classes:
• Unsolicited Grant Service(UGS)
• Extended Real Time Polling Service(ertPS)
• Real Time Polling Service(rtPS)
• Non Real Time Polling Service(nrtPS)
• Best Effort Service(BE)

in the tcl script we use:

set rtPS_scheduler_ [lindex $argv 2]
$bs_sched set-rtPSscheduling $rtPS_scheduler_

so, first of all, I need to configure rtPS in NS2, otherwise, I get errors.

Old 05-15-2018, 01:10 PM   #4
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,322

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581

@albayaa : Welcome to LQ.


New patches: Wimax-QoS_ns229.patch, Wimax-QoS_ns235.patch

ns-2.29 + WiMAX-QoS
tar xvf ns-allinone-2.29.3.tar.gz
cd ns-allinone-2.29/
patch -p0 < Wimax-QoS_ns229.patch
export CC=gcc34 CXX=g++34 && ./install
cd ns-2.29/
cp ns ns229-wimaxQoS
# cp ns229-wimaxQoS /usr/local/bin/
ns-2.35 + WiMAX-QoS:
Is a bit more tricky as the old wimax code requires g++34 (g++ v. 3.4.6)
tar xvf ns-allinone-2.35_gcc5.tar.gz     // 2014 - 2017 update: g++-4.4.. 5.4
cd ns-allinone-2.35/
patch -p0 < Wimax-QoS_ns235.patch
export CC=gcc53 CXX=g++53       // Or what's available, -4.4 .. -5.4
              // stops with a wimax error
cd ns-2.35/    // Edit Makefile line 37 to: CPP = g++34
                // stops with an error: Edit Makefile to CPP = g++53
cp ns ns235-wimaxQoS
# cp ns235-wimaxQoS /usr/local/bin/
cd ../nam-1.15/
# make install

---------------- Simulation, examples -------
ns235-wimaxQoS 8MN_datarate.tcl OFDM_QPSK_1_2 0.25 TRS_mSIR
ns235-wimaxQoS QoS_example1.tcl OFDM_QPSK_1_2 0.25 TRS_mSIR
       // options, see 8MN_datarate.tcl and QoS_example1.tcl
Links to gcc, g++ version 3.4.6 : Please specify your OS, like "64bits Ubuntu 16.04" etc.

Other Wimax patches, see


Last edited by knudfl; 05-15-2018 at 01:27 PM.


ns2, wimax, wimax-qos

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wimax patch for ns2.35 tiwana07763 Linux - Newbie 2 05-03-2016 10:58 AM
Extensions Wimax et LTE sous ns2.33 ou ns2.31 nassou19891 Linux - General 58 10-21-2014 11:07 AM
Ns2 + wimax ballexaa Linux - Software 1 09-14-2013 04:27 PM
WiMax QoS example problem in ns2 Narges Linux - Newbie 0 09-04-2012 11:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration