NED File src/inet/node/xmipv6/WirelessHost6.ned

Name Type Description
WirelessHost6 compound module

IPv6 compatible node with MIPv6 support. Models a host with one wireless (802.11b) card in infrastructure mode, supports handovers and MIPv6 protocol. This module is basically a StandardHost with an Ieee80211NicSTA and MobileIPLayer6 added. It should be used in conjunction with WirelessAPSimplified, or any other AP model which contains Ieee80211NicAPSimplified.

Source code:

//
// Copyright (C) 2007 Faqir Zarrar Yousaf
// Communication Networks Institute, University of Dortmund
// [email protected]
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//


package inet.node.xmipv6;

import inet.node.ipv6.StandardHost6;


//
// IPv6 compatible node with MIPv6 support.
// Models a host with one wireless (802.11b) card in infrastructure mode, supports handovers and MIPv6 protocol.
// This module is basically a StandardHost with an Ieee80211NicSTA and MobileIPLayer6
// added. It should be used in conjunction with WirelessAPSimplified,
// or any other AP model which contains Ieee80211NicAPSimplified.
//
// @see AccessPoint
// @see WirelessHost
// @see AdhocHost
//
module WirelessHost6 extends StandardHost6
{
    numRadios = 1;
    networkLayer.xMIPv6Support = true;
    networkLayer.mipv6support.isMobileNode = true; //is Mobile Node
    networkLayer.mipv6support.isHomeAgent = false; //is Home Agent
    @display("i=device/wifilaptop");
}