Commit Graph

181 Commits

Author SHA1 Message Date
Eduardo Almeida
5c8b820b7b Remove unneeded typedef in struct and enum 2022-12-22 17:36:30 +00:00
Eduardo Almeida
4930479af4 Remove enum / struct specifiers when declaring the variable's type 2022-12-05 19:05:45 +00:00
Eduardo Almeida
bfb737a0d9 Remove unnecessary [[maybe_unused]] specifiers 2022-10-24 11:58:49 +00:00
Eduardo Almeida
b048f70912 Fix the [[maybe_unused]] specifier placement to always come after the variable name 2022-10-24 11:58:49 +00:00
Eduardo Almeida
dfc6fb9d2d Remove emacs comment from C++ files 2022-10-14 14:13:12 +00:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Eduardo Almeida
c1e7757315 Fix clang-tidy readability-isolate-declaration warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
1b78ecc117 Fix clang-tidy readability-braces-around-statements warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f87b53bbc5 Fix clang-tidy modernize-use-emplace warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
4af0fe4b85 Fix clang-tidy modernize-use-nullptr warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
be07b6487a Fix clang-tidy modernize-use-override warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562 Fix clang-tidy modernize-redundant-void-arg warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
bdf80a8f85 Fix clang-tidy bugprone-too-small-loop-variable warnings (fixes #758) 2022-10-06 10:56:47 +00:00
Katerina Koutlia
d2294f4522 propagation: Address review comments 2022-10-05 21:11:26 -07:00
Biljana Bojovic
fdbc601115 propagation: Add possibility to determine the O2I condition based on the UE height
propagation: Clean NS_UNUSED, whitespaces and fix doxygen
2022-10-05 21:11:13 -07:00
Katerina Koutlia
a9daf34daa channel-condition-model: Calculate new 02I losses only when channel condition changes 2022-10-05 21:11:07 -07:00
Katerina Koutlia
7846b267c6 channel-condition-model: Add high penetration losses and threshold attribute to 3gpp propagation loss models 2022-10-05 21:10:20 -07:00
Katerina Koutlia
4b7e13c3d5 propagation: Fix breakpoint distance calculation and set O2iThreshold to 0 2022-10-05 21:09:43 -07:00
Biljana Bojovic
29aa3d1a36 propagation: Add 02i losses and attribute for o2i conditions 2022-10-05 21:07:23 -07:00
Tom Henderson
97e39bee89 propagation: (fixes #725) Add attribute to enforce TR 38.901 ranges 2022-10-02 11:47:21 -07:00
Tom Henderson
52025304b9 propagation: Do not assign same stream to two variables 2022-08-31 07:46:56 -07:00
Tom Henderson
89a32564f7 propagation: Add AssignStreams to ThreeGppV2vUrbanPropagationLossModel 2022-08-31 07:46:56 -07:00
Peter D. Barnes, Jr
c9b72c7a35 doc: remove trailing white space in attributes and trace source strings 2022-08-30 20:30:42 +00:00
Tommaso Pecorella
606eb84448 doc: fix doxygen in various examples 2022-08-30 20:30:42 +00:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00:00
Tommaso Pecorella
ab0bef5e24 propagation: Fix valgrind error in JakesPropagationLossModel 2022-06-17 22:53:45 -05:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Eduardo Almeida
e9c98de72c Mark more deleted copy constructors and operator= with delete keyword (fixes #279) 2022-06-04 20:40:44 +01:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -03:00
Tom Henderson
5367f1fed7 bindings: Rescan APIs of most modules 2022-02-16 15:59:27 -08:00
Tommaso Pecorella
0a0222c299 propagation: doxygen fixes 2022-01-30 12:06:53 -06:00
Gabriel Ferreira
41aacec626 build: CMake refactoring
Includes:
- refactor build_lib and build_lib_example macros
    - unify src and contrib macros
    - replace macro with function not to leak definitions
    - parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Biljana Bojovic
167aaada6e antenna, buildings, lr-wpan, lte, netanim, propagation, spectrum, wifi, wimax: Update Python bindings 2022-01-22 11:43:31 +01:00
bbojovic
f53c28229d spectrum, propagation: Fix the way channel condition is saved and checked if equal
It seems that is not the best way to save in the structure the pointer
to the channel condition model because the underlying condition,
and later when we compare the new condition with the old one, we
are basically comparing the underlying object with itself, because
we saved the pointer to it in the structure.

Instead we should save the concrete values of LOS and O2I condition
in the 3gpp structure, and then once the ChannelCondition state changes,
we can compare these saved values against the new once.
This could not be done when the pointer was being changed because pointer
was pointing to the same object.

This fixes basically the condition in 3gpp whether th channel needs to be
updated when condition changes.
2022-01-22 11:42:20 +01:00
Tommaso Pecorella
a8fc1b6235 doxygen: fix warnings in various modules 2022-01-05 00:22:31 -06:00
Eduardo Almeida
0001916d89 propagation: Fix a6a97ab5 and redeclare DoCalcRxPower() as private 2021-12-28 08:51:10 -08:00
Peter Barnes
0e685cbdbb Use [[maybe_unused]] attribute directly, instead of NS_UNUSED 2021-12-21 10:32:43 +00:00
Tom Henderson
aad79536bf bindings: Rescan all APIs 2021-12-18 16:41:52 -08:00
Eduardo Almeida
4ebdc0c6c6 Mark deleted ctors and operator= with delete keyword 2021-12-18 15:22:44 -08:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Tommaso Pecorella
8e82859754 propagation: fix doxygen warnings 2021-12-01 03:26:31 +01:00
Eduardo Almeida
a6a97ab571 propagation: Mark inherited functions with override keyword 2021-11-18 11:30:00 -08:00
Tom Henderson
4e9afa965d bindings: Rescan all APIs 2021-09-27 11:18:37 -07:00
Christophe Delahaye
a6766323cc propagation: Fix typos in three-gpp-propagation-loss-model 2021-06-19 07:57:07 -07:00
Rediet (Orange)
32cd83f526 propagation: use sublist in docs for 3GPP models
Lists were merged in 7ac8b0e767
2021-04-12 09:51:07 +00:00
Tommaso Pecorella
7ac8b0e767 propagation: fix documentation warnings 2021-04-12 08:20:27 +00:00
Tommaso Zugno
ef7ea11aec propagation: m_percType3Vehicles is a percentage 2021-01-31 17:06:32 -08:00