LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   WiMAX QoS in NS2 (https://www.linuxquestions.org/questions/linux-newbie-8/wimax-qos-in-ns2-4175629743/)

albayaa 05-15-2018 05:36 AM

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

Many Thanks,

rtmistler 05-15-2018 06:45 AM

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.

albayaa 05-15-2018 06:57 AM

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

knudfl 05-15-2018 12:10 PM

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

-


All times are GMT -5. The time now is 04:34 AM.