wifi
一、WifiHelper
http://www.nsnam.org/doxygen/classns3_1_1_wifi_helper.html
最高层次
主要方法:
WifiHelper () //实例化
void SetRemoteStationManager() //设置远程基站
NetDeviceContainer Install (const WifiPhyHelper &phy, const WifiMacHelper &mac, NodeContainer c) const
//设置 phy,mac,NodeContainer 物理层,MAC层,节点
二、WifiNetDevice 分别设置phy,mac
http://www.nsnam.org/doxygen/classns3_1_1_wifi_net_device.html#ab9399fa501d71c702cf0ad9c0b034460
Hold together all Wifi-related objects.This class holds together ns3::WifiChannel, ns3::WifiPhy, ns3::WifiMac, and, ns3::WifiRemoteStationManager
1. WifiChannel 继承Channel
http://www.nsnam.org/doxygen/classns3_1_1_wifi_channel.html
1.1 YansWifiChannel 继承上面的
http://www.nsnam.org/doxygen/classns3_1_1_yans_wifi_channel.html
主要方法:
Add (Ptr< YansWifiPhy > phy) //添加物理层协议
SetPropagationLossModel (Ptr< PropagationLossModel > loss) //设置传输丢包模型
SetPropagationDelayModel (Ptr< PropagationDelayModel > delay) //设置传输延迟模型
2.WifiPhy
http://www.nsnam.org/doxygen/classns3_1_1_wifi_phy.html
802.11 PHY layer model
2.1 YansWifiPhy 继承WifiPhy
http://www.nsnam.org/doxygen/classns3_1_1_yans_wifi_phy.html
802.11 PHY layer modelThis PHY implements a model of 802.11a. The model implemented here is based on the model described in "Yet Anothe
一、WifiHelper
http://www.nsnam.org/doxygen/classns3_1_1_wifi_helper.html
最高层次
主要方法:
WifiHelper () //实例化
void SetRemoteStationManager() //设置远程基站
NetDeviceContainer Install (const WifiPhyHelper &phy, const WifiMacHelper &mac, NodeContainer c) const
//设置 phy,mac,NodeContainer 物理层,MAC层,节点
二、WifiNetDevice 分别设置phy,mac
http://www.nsnam.org/doxygen/classns3_1_1_wifi_net_device.html#ab9399fa501d71c702cf0ad9c0b034460
Hold together all Wifi-related objects.This class holds together ns3::WifiChannel, ns3::WifiPhy, ns3::WifiMac, and, ns3::WifiRemoteStationManager
1. WifiChannel 继承Channel
http://www.nsnam.org/doxygen/classns3_1_1_wifi_channel.html
1.1 YansWifiChannel 继承上面的
http://www.nsnam.org/doxygen/classns3_1_1_yans_wifi_channel.html
主要方法:
Add (Ptr< YansWifiPhy > phy) //添加物理层协议
SetPropagationLossModel (Ptr< PropagationLossModel > loss) //设置传输丢包模型
SetPropagationDelayModel (Ptr< PropagationDelayModel > delay) //设置传输延迟模型
2.WifiPhy
http://www.nsnam.org/doxygen/classns3_1_1_wifi_phy.html
802.11 PHY layer model
2.1 YansWifiPhy 继承WifiPhy
http://www.nsnam.org/doxygen/classns3_1_1_yans_wifi_phy.html
802.11 PHY layer modelThis PHY implements a model of 802.11a. The model implemented here is based on the model described in "Yet Anothe