The MIH framework

138 views
Skip to first unread message

Asmae ait mansour

unread,
Jul 9, 2015, 7:55:07 AM7/9/15
to ns-3-...@googlegroups.com

Hi all,

I'm about to use NS3 and i want to know if the MIH framework is implemented because i didn't found the folder MIH in NS3/src.

Thank you.

Konstantinos

unread,
Jul 9, 2015, 8:25:11 AM7/9/15
to ns-3-...@googlegroups.com, asma...@gmail.com
Hi, Asmae,

MIH has not been merged with the main NS-3, that's why you can't find something in the source.
However, there was an initial attempt described here https://www.nsnam.org/wiki/MIH_implementation but it is quite old.
Porting it to the latest NS-3 will be quite a task, but that's the only publicly available integration of MIH to NS-3

Regards,
K.

piyush ingole

unread,
Jan 16, 2016, 2:13:02 AM1/16/16
to ns-3-users, asma...@gmail.com
Hello Sir,
I am working on Vertical handover, I have installed Ns-3.19 on ubuntu 14.04.
my work is on Media Independent Handover, for that I found one patch as ns-3-mih-28fa9f559bf5.

but while installing it is giving error
sudo ./waf

../src/core/log.cc: In member function ‘bool ns3::LogComponent::IsNoneEnabled() const’:
../src/core/log.cc:231:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Build failed
 -> task failed (err #1):
    {task: cxx log.cc -> log_1.o}
How this can be solved ?

Thank you !!!

pdbarnes

unread,
Jan 16, 2016, 12:17:22 PM1/16/16
to ns-3-users
That trivial function has had a return as far back as 2011. Have you checked what your MIH patch actually touches?

You could also back up and start with a clean ns-3 build, in which case I would move to the latest release ns-3.24, which has a lot of fixes since ns-2.19.
Peter

Tom Henderson

unread,
Jan 16, 2016, 12:46:14 PM1/16/16
to ns-3-...@googlegroups.com, asma...@gmail.com
On 01/15/2016 11:13 PM, piyush ingole wrote:
> Hello Sir,
> I am working on Vertical handover, I have installed Ns-3.19 on ubuntu 14.04.
> my work is on Media Independent Handover, for that I found one patch as
> ns-3-mih-28fa9f559bf5.
>
> but while installing it is giving error
> sudo ./waf
>
> *../src/core/log.cc: In member function ‘bool
> ns3::LogComponent::IsNoneEnabled() const’:
> ../src/core/log.cc:231:1: warning: control reaches end of non-void
> function [-Wreturn-type]
> }
> ^
> Build failed
> -> task failed (err #1):
> {task: cxx log.cc -> log_1.o}
> How this can be solved ?

The MIH code you are referring to is based on ns-3.3; see:
http://code.nsnam.org/salumu/ns-3-mih/tags

As Konstantinos said in a previous reply to this thread, it will require
a lot of porting to get the code to compile with ns-3.19 or ns-3.24.
Many of the APIs have changed since ns-3.3.

- Tom

Reply all
Reply to author
Forward
0 new messages