Commit Graph

14691 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr
c73b321b42 mob: fix RandomDisc docs for SetRho and SetTheta 2020-05-15 09:49:28 -07:00
Sebastien Deronne
82389c413a wifi: Fix wrong logic to select short PLCP preamble 2020-05-15 06:28:37 +00:00
Tom Henderson
147b484a15 core: Update bindings 2020-05-14 16:31:23 -07:00
Tommaso Pecorella
7d2109b97d wimax: fix memory leak due to struct alignment 2020-05-13 19:08:05 +00:00
hax0kartik (GCI 2019)
1f3735f6f0 Replace calls to Scheduler::Remove(EventId) with EventId::Cancel 2020-05-13 00:08:08 +00:00
Peter D. Barnes, Jr
fa7d6a894e core: (fixes #143): EmpiricalRandomVariable should ensure that the CDF ends with 1.0
After discussion it was decided that this is not an error,
but should be better documented.
2020-05-12 21:25:08 +00:00
Peter D. Barnes, Jr
b7deb42a65 core: refactor EmpricialRandomVariable and provide example 2020-05-12 21:25:08 +00:00
InquisitivePenguin (GCI 2019)
6ec2093986 core: (fixes 2725) EmpiricalRandomVariable must not interpolate CDF 2020-05-12 21:25:07 +00:00
Peter D. Barnes, Jr
c9769dc400 core: refactor reverse ordering in calendar scheduler
Refactor to clarify the core algorithms and isolate the
forward/reverse differences to one section.

This also lets the insertion order to be set by Attribute.

Benchmarking this appears to be marginally faster than
Alexander Krotov's original version.  It's not clear why;
should be marginally slower.
2020-05-12 12:05:01 -07:00
kr0n0s (GCI 2019)
f42687c4f7 core: make insertion order of CalendarScheduler configurable 2020-05-12 12:05:01 -07:00
Alexander Krotov
1f6a710dbd core: Port calendar scheduler improvement from NS-2.
It reverses the order of insertion sort in buckets.
2020-05-12 12:05:01 -07:00
Tom Henderson
cd52312eec internet: Improve logging in Ipv6Extension classes 2020-05-12 07:43:46 -07:00
Tom Henderson
b48232436b internet: (fixes #167) Check fragmented packet pointer before using 2020-05-12 07:43:43 -07:00
Jared Dulmage
d2a4d02953 (internet): Example showing multicast routing setup for flooding mesh topology 2020-05-12 11:46:34 +02:00
Jared Dulmage
1a4caf72b9 (internet): Refactor Ipv4L3Protocol::Send to fragment broadcast packets 2020-05-12 11:43:51 +02:00
Tom Henderson
e99ae43138 bindings: rescan all APIs 2020-05-11 22:07:00 -07:00
Peter D. Barnes, Jr
32d820e8c7 (minor) various bits of fix-ups 2020-05-11 18:19:19 -07:00
Tommaso Pecorella
2370746ad2 (mpi): fix dependencies and avoid partial compilation if MPI is disabled 2020-05-12 01:11:51 +00:00
Tommaso Pecorella
c85e6bf1d8 (network): Remove deprecated Ipv6Address::IsAllHostMulticast () 2020-05-11 20:32:54 +00:00
Peter Barnes
1d47a14c14 Tag uses of NS_DEPRECATED by release 2020-05-11 20:12:51 +00:00
Tommaso Pecorella
07baf5b48f (lte): remove tests artifacts. 2020-05-11 16:42:04 +00:00
Tommaso Pecorella
c01abcb0aa Merge branch 'master' of https://gitlab.com/nsnam/ns-3-dev.git into Ipv4MulticastClarifications 2020-05-10 19:39:05 +02:00
Tom Henderson
87966d99d2 bindings: Update pybindgen version 2020-05-09 13:18:50 -07:00
Tommaso Pecorella
6b0c74c219 Ipv4 multicast route documentation clarifications 2020-05-09 19:55:09 +02:00
Tom Henderson
d79f5f3ce6 core: (postfix commit 5b95df87) return to invoke locally scoped destructors 2020-05-07 14:43:39 -07:00
Tom Henderson
2eb0d831f5 wave: Rename test suite prefix from wifi to wave 2020-05-06 16:34:12 -07:00
Tom Henderson
209320aed2 wifi: Remove outdated wifi-interference-test-suite.cc 2020-05-06 16:19:35 -07:00
ZorazeAli
59276b0d96 lte: Fix tests after config update
see merge request !270
2020-05-06 19:21:16 +02:00
Tom Henderson
5b95df87d6 core: Extend object-names example (check for regressions, non-log output) 2020-05-06 07:57:30 -07:00
Tom Henderson
1c8671ef81 core: (fixes #190) Suppress checking aggregates for Object base class 2020-05-06 07:56:04 -07:00
Tommaso Pecorella
8c4b4976e8 (wimax): Fix Ascii traces for SubscriberStation 2020-05-06 08:23:36 +00:00
Natale Patriciello
b4f8739db8 Edit RELEASE_NOTES for the propagation o-h bug
Closes !269
2020-05-06 08:54:03 +02:00
Amiraslan Haghrah
26110d7700 Fix okumura-hata propagation loss model according to 4.4.2 in the COST 231 final report 2020-05-06 08:50:57 +02:00
Tom Henderson
aaa7074833 spectrum: Fix Config::Connect path for trace source in example 2020-05-05 21:26:05 -07:00
Tommaso Pecorella
9a186f9b0a (wave): fix missing include in test 2020-05-06 00:00:33 +00:00
Tommaso Pecorella
5d045dd84c (wave): fix crash due to missing trace in some Wifi MAC types 2020-05-05 23:57:05 +00:00
Peter Barnes
4df94a8377 core: (fixes 2916): Specialize CommandLine parsing of uint8_t 2020-05-05 15:57:26 +00:00
Peter Barnes
1e2c2ad12d Murmur3 2020-05-05 15:47:30 +00:00
Natale Patriciello
bc65cf4f50 doc: Fix greek letters within model documentation
In Europe, people are advanced and use an UTF-* compatible charset, that
permits them to use many more letters than countries that
rely on ASCII. Unfortunately, latex still doesn't recognize all
these new character, so we have to use special escape sequences.

Close #188
2020-05-05 10:31:34 +02:00
Natale Patriciello
9539cd04d5 ci/cd: Disable Fedora 30 due to missing ipython package
Error message:

$ dnf install gcc gcc-c++ python python-devel ccache gsl gsl-devel libgcrypt gtk3 gtk3-devel sqlite sqlite-devel libxml2 libxml2-devel openmpi openmpi-devel boost-devel pygobject3-devel python3-gobject gobject-introspection-devel goocanvas2-devel graphviz-devel graphviz ipython --assumeyes
Fedora Modular 30 - x86_64                      3.2 MB/s | 2.7 MB     00:00
Fedora Modular 30 - x86_64 - Updates            4.8 MB/s | 4.1 MB     00:00
Fedora 30 - x86_64 - Updates                    9.0 MB/s |  24 MB     00:02
Fedora 30 - x86_64                              9.9 MB/s |  70 MB     00:07
Package libgcrypt-1.8.5-1.fc30.x86_64 is already installed.
Package libxml2-2.9.9-2.fc30.x86_64 is already installed.
No match for argument: ipython
Error: Unable to find a match: ipython

From https://gitlab.com/nsnam/ns-3-dev/-/jobs/535839400

The funny thing is that the same line works for Fedora 29 and 31.
2020-05-05 10:03:15 +02:00
Natale Patriciello
60f5d05a95 ci/cd: Fix ubuntu TZDATA installation
Closes #184
2020-05-05 10:02:55 +02:00
Natale Patriciello
2b55f462b6 spectrum: Regenerated py bindings 2020-05-05 10:00:30 +02:00
Natale Patriciello
d4fad12abb Merge branch 'edalm/ns-3-dev-scratch-gitignore'
Closes !260

* edalm/ns-3-dev-scratch-gitignore:
  Add .gitignore to scratch directory
2020-05-05 08:30:25 +02:00
Eduardo Almeida
393d23732d Add .gitignore to scratch directory 2020-05-05 08:29:46 +02:00
Natale Patriciello
b982ace47e Merge branch 'add-get-prop-model'
Close !262

* add-get-prop-model:
  spectum: Fixes style of the last change on spectrum-channel.cc
  spectrum: Retrieve a pointer to the propagation model
2020-05-05 08:12:31 +02:00
Natale Patriciello
70a2c88418 spectum: Fixes style of the last change on spectrum-channel.cc 2020-05-05 08:09:03 +02:00
Natale Patriciello
f250e8e6ec spectrum: Retrieve a pointer to the propagation model
With the recent addition of the 3GPP propagation models,
it is often needed to obtain the pointer to be able to set
properties on it.
2020-05-05 08:09:02 +02:00
Tommaso Pecorella
2918a0d9b3 (core): Fix compilation error. 2020-05-02 11:25:51 +00:00
Peter Barnes
5879700a90 core: (fixes 2815) Config::Connect should throw warnings
This patch logs unconditionally when a trace path doesn't exist.

We also provide FailSafe versions of Config::Connect and
Config::ConnectWithoutContext. These should be used
when you can't be sure that a trace path exists in the current model.

This resolves the warnings from AnimationInterface::ConnectCallbacks()

Credit to "InquisitivePenguin (GCI 2019) <>" for diagnosing this issue,
opening the way to a solution.
2020-05-01 23:54:30 +00:00
Peter D. Barnes, Jr
2d1a05b405 core: fix ordering in PriorityQueueScheduler 2020-05-01 23:50:34 +00:00