LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
Smile WiMAX QoS in NS2


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

Many Thanks,
 
Old 05-15-2018, 06:45 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Hi,

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, 06:57 AM   #3
albayaa
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.

Thanks
 
Old 05-15-2018, 12:10 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
WiMAX-QoS

@albayaa : Welcome to LQ.

WiMAX-QoS http://perso.telecom-bretagne.eu/aymenbelghith/tools/

New patches: Wimax-QoS_ns229.patch, Wimax-QoS_ns235.patch
https://drive.google.com/drive/folde...Z2?usp=sharing

ns-2.29 + WiMAX-QoS
Code:
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)
Code:
tar xvf ns-allinone-2.35_gcc5.tar.gz     // 2014 - 2017 update: g++-4.4.. 5.4
https://drive.google.com/file/d/0B7S...ew?usp=sharing
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
./install
              // stops with a wimax error
cd ns-2.35/    // Edit Makefile line 37 to: CPP = g++34
make
                // stops with an error: Edit Makefile to CPP = g++53
make
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 https://drive.google.com/drive/folde...00?usp=sharing

-

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


Reply

Tags
ns2, wimax, wimax-qos



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 09:58 AM
Extensions Wimax et LTE sous ns2.33 ou ns2.31 nassou19891 Linux - General 58 10-21-2014 10:07 AM
Ns2 + wimax ballexaa Linux - Software 1 09-14-2013 03:27 PM
WiMax QoS example problem in ns2 Narges Linux - Newbie 0 09-04-2012 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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