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 m
一、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 m

本文详细介绍了NS-3中WiFi模块的主要组成部分,包括WifiHelper、WifiNetDevice、WifiPhy、WifiMac以及各种远程站管理器。通过这些类的使用,可以模拟802.11标准的各种物理层、MAC层行为,如设置物理层模型、传输丢包模型和传输延迟模型等。此外,还涵盖了不同类型的MAC层实现,如ApWifiMac、StaWifiMac和AdhocWifiMac,以及多种率控制算法,如AarfcdWifiManager、AmrrWifiManager和MinstrelWifiManager等。
最低0.47元/天 解锁文章
1125

被折叠的 条评论
为什么被折叠?



