diff --git a/src/wifi/examples/wifi-bianchi.cc b/src/wifi/examples/wifi-bianchi.cc index 091de0151..5729c17b8 100644 --- a/src/wifi/examples/wifi-bianchi.cc +++ b/src/wifi/examples/wifi-bianchi.cc @@ -691,6 +691,21 @@ class Experiment { public: Experiment (); + + /** + * Configure and run the experiment. + * + * \param wifi the pre-configured WifiHelper + * \param wifiPhy the pre-configured YansWifiPhyHelper + * \param wifiMac the pre-configured WifiMacHelper + * \param wifiChannel the pre-configured YansWifiChannelHelper + * \param trialNumber the trial index + * \param networkSize the number of stations + * \param duration the duration (in seconds) of each simulation run + * \param pcap flag to enable/disable PCAP files generation + * \param infra flag to enable infrastructure model, ring adhoc network if not set + * \return 0 if all went well + */ int Run (const WifiHelper &wifi, const YansWifiPhyHelper &wifiPhy, const WifiMacHelper &wifiMac, const YansWifiChannelHelper &wifiChannel, uint32_t trialNumber, uint32_t networkSize, double duration, bool pcap, bool infra); }; diff --git a/src/wifi/examples/wifi-test-interference-helper.cc b/src/wifi/examples/wifi-test-interference-helper.cc index 66cdb8338..08ac26175 100644 --- a/src/wifi/examples/wifi-test-interference-helper.cc +++ b/src/wifi/examples/wifi-test-interference-helper.cc @@ -126,8 +126,8 @@ private: struct Input m_input; ///< input bool m_droppedA; ///< flag to indicate whether packet A has been dropped bool m_droppedB; ///< flag to indicate whether packet B has been dropped - mutable uint64_t m_uidA; - mutable uint64_t m_uidB; + mutable uint64_t m_uidA; ///< UID to use for packet A + mutable uint64_t m_uidB; ///< UID to use for packet B }; void