Commit Graph

422 Commits

Author SHA1 Message Date
bbojovic
a4b43d0132 spectrum: Move doppler term D and alpha and improve (Thanks to Sandra Lagen)
Co-authored-by: Sandra Lagen <sandra.lagen@cttc.es>

This commit also fixes an issue that was discovered during this implementation,
and that is that the stream was never assigned for the uniform random variable used for
the term D and alpha generation.

-Store term D and alpha into the channel params structure.
-Make sure to use correct angles and zenit of departure and arrival:
Save the direction of the generation of the channel params and channel matrix,
in order to know when regenerating channel matrix if the saved angles aoa, aod,
zoa and zod are of of s-to-u or u-to-s, so to properly use them.
- Simplify the type of the key of channel matrix map
- Remove unecessary if statements and abort replace by assert
- Add a more detailed description of the ThreeGppSpectrumPropagationLossModel changes
2022-01-22 11:43:28 +01:00
bbojovic
4ca8b12ea0 spectrum: Support passing the TX and RX PhasedArrayModel objects to spectrum model
This possibility is needed for the types of spectrum propagation models that need to have a pointer
to the TX and RX antenna arrays to perform calculations, such as e.g.,
ThreeGppSpectrumPropagationLossModel, which currently has hard limitation of having a maximum of 1
antenna array instance per device. ThreeGppSpectrumPropagationLossModel now inherits a new class
PhasedArraySpectrumPropagationLossModel. Its DoCalcRxPowerSpectralDensity function has now two
additional parameters: TX and RX antenna arrays. Also, AddDevice function is removed from
ThreeGppSpectrumPropagationLossModel, because it is not anymore needed to specify for each
device its TX/RX antenna, since these are now passed as parameters. Hence, to use
ThreeGppSpectrumPropagationLossModel, when implementing Spectrum PHY features,
modules should implement the function of SpectrumPhy GetAntenna to return the instance of
PhasedArrayModel of that SpectrumPhy. These instances will be passed by MultiModelSpectrumChannel
(one of the core classes in the spectrum module) to propagation classes, children of
PhasedArraySpectrumPropagationLossModel, when it is necessary to DoCalcRxPowerSpectralDensity to
callculate the propagation loss.

Additionally: Fixed pair key generation for 3gpp channel model: Previous implementation was
using a cantor function of two integer of 32 bits and as a results was giving a unique
representatio of 32 bits. This is wrong, because such function needed even more than 64
bits to represent that value. Even if in ns-3 simulation we are not going to have such large
node numbers, we should fix this. Instead of just changing 64 bits from cantor function, I propose to
replace the cantor function with just simple concatenation of two 32 bits.

I also propose moving min and max inside of the function, to prevent some eventual future errors
in using GetKey, because with the previous implementation there was assumption that who calls GetKey
will previously sort its parameters, and first provide the min value, and then the max value,
and this was not even documented.
2022-01-22 03:42:49 +01:00
Tom Henderson
12dee93f70 fd-net-device: (merges !811) Remove PlanetLab helper 2022-01-02 11:46:59 -08:00
Tom Henderson
f5bd038b86 build: Update minimum compiler versions to g++-8, clang++-6, Apple Clang 11 2021-12-17 17:18:58 -08:00
Stefano Avallone
3bbdd7bb59 traffic-control: Trace packets dropped by the traffic control layer 2021-12-17 17:47:22 +01:00
Stefano Avallone
7fd2d476ba traffic-control: Allow to disable flow control for devices supporting it 2021-12-17 17:47:07 +01:00
Tom Henderson
2c19b5b453 internet: Remove Network Simulation Cradle (NSC) 2021-12-10 09:07:03 -08:00
Stefano Avallone
88078de14e wifi: Update documentation 2021-12-07 09:45:04 +01:00
Eduardo Almeida
c19489485c Fix RELEASE_NOTES.md Markdown style (header levels, lists, indentation) 2021-11-27 09:04:59 -08:00
Stefano Avallone
fea3bf208c Update CHANGES.html 2021-10-19 18:53:34 +02:00
Tom Henderson
d64ef57466 Update release files to start next release 2021-10-01 13:01:32 -07:00
Tom Henderson
d56a3db06a Update AUTHORS, CHANGES.html, and RELEASE_NOTES 2021-09-27 19:26:12 -07:00
Stefano Avallone
c0b2eb808f Update RELEASE_NOTES and CHANGES.html 2021-09-26 17:06:27 +00:00
Tom Henderson
2301cdfc09 buildings: Update documentation for group mobility changes 2021-09-18 11:19:51 -07:00
Tom Henderson
ccb37f7717 mobility: Update documentation for group mobility changes 2021-09-18 11:18:48 -07:00
Peter D. Barnes, Jr
7c48447ffa core: Add hashing functor for creating hash of a Ptr 2021-09-15 22:01:48 +02:00
Stefano Avallone
289e5aa4ed Switch to C++17 standard by default 2021-09-14 16:43:01 +02:00
Tommaso Pecorella
dbb8b67ad8 core (fixes #452) Add TracedCallback::IsEmpty 2021-09-01 04:13:57 +02:00
cbowers1020
b529897c6c Fix Duplicate detection for ipv4 l3 multicast 2021-08-30 19:52:04 +00:00
Tommaso Pecorella
4aef3a52c1 config-store: (fixes #443) do not save obsolete attributes 2021-08-27 12:54:58 +00:00
Ameya Deshpande
7be87100a9 nix-vector-routing: Handle Multiple Wifi connections with same channel object
Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-08-26 21:09:11 +00:00
Ameya Deshpande
3563510a82 nix-vector-routing: Update CHANGES.html and RELEASE_NOTES
Add the change to the existing APIs instead of new

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-08-20 14:31:00 -07:00
Ameya Deshpande
3294de1479 internet: Make similar functions in IPv4 and IPv6 consistent with naming 2021-08-09 16:42:23 +00:00
Tom Henderson
4b27025236 Update release files to start next release 2021-07-14 08:44:59 -07:00
Tom Henderson
9319cdd791 Update CHANGES.html and RELEASE_NOTES 2021-07-12 17:44:39 -07:00
Tom Henderson
a352f08572 lte: Add back ability for unlimited MaxTxBufferSize in RLC AM 2021-06-08 06:45:11 -07:00
Sébastien Deronne
13734fc237 Update CHANGES.html 2021-06-01 21:18:42 +02:00
Stefano Avallone
6d6837f645 wifi: Update documentation 2021-05-29 18:50:12 +02:00
Mattia Lecci
c7573e6006 Update RELEASE_NOTES and CHANGES.html 2021-04-13 20:56:16 -07:00
Alexander Krotov
1d1c98ab6e wifi: add ThompsonSamplingWifiManager 2021-04-06 16:12:12 +03:00
Stefano Avallone
bc9ddaa453 wifi: Improve tracing of ACKed/NACKed MPDUs 2021-03-31 14:53:20 +00:00
Stefano Avallone
ced0a2e349 doc: Update wifi documentation 2021-03-31 14:53:20 +00:00
Sébastien Deronne
65285ebc97 Update CHANGES.html 2021-03-18 20:46:32 +00:00
Bhaskar Kataria
85e3a7a917 traffic-control: (merges !377) Add FqPIE and an L4S mode for PIE queue disc 2021-03-14 09:24:19 -07:00
Bhaskar Kataria
3d7a42d42e traffic-control: (merges !362) Add FqCobalt queue disc
FqCobalt includes COBALT enhancements to CoDel (Blue enhancement) and
set-associative hash, as used in the Linux cake queue disc.  An L4S mode is
also included.
2021-03-12 14:29:10 -08:00
Rediet
0a0d305330 wifi: Add documentation on PhyEntity and WifiPpdu 2021-02-16 09:38:48 +01:00
Rediet
ea5d4c8c81 wifi: Remove HT Greenfield support 2021-02-16 09:38:47 +01:00
Rediet
2aba58e77e wifi: Remove Holland (solves #278) 2021-02-16 09:38:47 +01:00
Tom Henderson
b85a8bd782 tcp: Make CUBIC the default congestion control algorithm 2021-01-31 19:50:22 -08:00
Tom Henderson
4bad98fa07 Update release files to start next release 2021-01-09 10:39:57 -08:00
Tom Henderson
e12c34e610 Update CHANGES.html and RELEASE_NOTES 2021-01-04 10:36:01 -08:00
Tom Henderson
805abdcf17 Update CHANGES.html and RELEASE_NOTES 2020-12-23 18:15:01 -08:00
Tom Henderson
b2c3f5151c Update CHANGES.html 2020-12-22 16:40:11 -08:00
Tom Henderson
15c15a47bd Update CHANGES.html and RELEASE_NOTES 2020-12-02 20:53:26 -08:00
Tommaso Zugno
0891fa9118 propagation: (merges !435) Channel condition model for vehicular scenarios
This work was done in collaboration with Zoraze Ali and Sandra Lagen.
2020-11-28 20:17:05 -08:00
Peter D. Barnes, Jr
29e691d342 applications: (merges !444) Report Tx bytes from UdpClient.
This is the send side counterpart to PacketSink::GetTotalRx
2020-11-28 12:08:31 -08:00
Tom Henderson
53fd77b0e8 Update CHANGES.html and RELEASE_NOTES 2020-11-27 21:22:20 -08:00
Rediet
6a7bc41022 wifi: Set BER threshold for Ideal remote manager to 1e-6
Otherwise the selected MCS (especially high order ones) would result in high PER
2020-11-22 14:01:13 +00:00
Sébastien Deronne
bdb3bfc22f wifi: Add option to configure the OFDM transmit spectrum mask 2020-11-13 10:17:43 +01:00
Sébastien Deronne
644e5ee55c Update CHANGES.html 2020-11-13 09:28:41 +01:00