Commit Graph

356 Commits

Author SHA1 Message Date
Eduardo Almeida
20f2d50097 Fix typos 2023-06-13 17:51:42 +00:00
Biljana Bojovic
c51af10e4e spectrum: (fixes #919) Use "sin" instead of "cos" for calculation of sinRayAoa/sinRayAod 2023-06-12 16:43:48 +02:00
Tom Henderson
29f27e6fde Add WifiBandwidthFilter automatically with SpectrumWifiPhyHelper 2023-06-06 17:05:41 -07:00
Tom Henderson
c3c35548ae spectrum: Add base class SpectrumTransmitFilter 2023-06-06 17:05:40 -07:00
Eduardo Almeida
6923de623c Remove redundant break after return 2023-06-01 17:26:54 +00:00
Eduardo Almeida
42d6eea6de Remove emacs lines from Python and C++ files 2023-05-23 16:20:52 +00:00
Eduardo Almeida
60b159b817 mpi, spectrum: Add missing header guards to example files 2023-05-15 22:37:25 +01:00
Eduardo Almeida
a93c357141 Fix clang-tidy readability-simplify-boolean-expr warnings 2023-05-07 19:06:35 +01:00
Eduardo Almeida
c62823effa core, internet, lte, spectrum: Add missing map header 2023-04-28 09:50:38 +01:00
Sébastien Deronne
55cfced88c wifi, spectrum: Define FrequencyRange 2023-04-24 11:01:54 +00:00
Biljana Bojovic
44a7ee9b2c spectrum: Fix clang-tidy issue in three-gpp-channel-model 2023-04-11 03:54:54 +02:00
Biljana Bojovic
eed35c2131 spectrum: Use uint32_t instead of uint8_t for m_rbNum and m_timeGranularity in TraceFadingLossModel
With NR we can have a larger number of RBs than we could have
in past with LTE. In LTE the maximum was 100RBs for 20MHz BW,
while in NR it could go e.g. up to 275.
Hence, uint8_t is not sufficient any more.

Similarly, m_timeGranularity needs to support higher values.
2023-03-29 09:59:10 +00:00
Gabriel Ferreira
540f48c55a Fix additional typos 2023-03-20 02:14:44 +00:00
Tom Henderson
df20f5f5e8 doc: Fix errors found by codespell and aspell 2023-03-09 11:45:15 -08:00
Biljana Bojovic
7495938a2d spectrum, antenna: Change definitions of 1D, 2D, 3D complex vectors
spectrum, antenna: Remove unnecessary Eigen includes

fix clang-tidy issues in three-gpp-spectrum-propagation-loss-model
2023-03-03 21:15:50 +01:00
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03:00
Gabriel Ferreira
74035411bd spectrum: fix three-gpp-gain-reference-gain-vs-fc.png file name 2023-02-10 03:04:01 +00:00
Matteo Pagin
97e2fdaa57 spectrum: (fixes #854) Add missing spectrum module documentation plots 2023-02-09 22:11:54 +00:00
Tommaso Pecorella
6a355e6901 spectrum: fix missing include in two-ray-splm-test-suite 2023-02-09 19:07:15 +00:00
Matteo Pagin
1c0fecc69c antenna, spectrum: GSoC-22 Add support for Eigen library 2023-02-08 14:25:30 +00:00
Matteo Pagin
3f6f19e701 spectrum: GSoC-22 A simplified channel and beamforming model for ns-3 2023-02-08 14:25:30 +00:00
Matteo Pagin
7356c4f818 spectrum: Improve Doxygen formatting 2023-02-08 14:23:15 +00:00
Matteo Pagin
612a90b6df spectrum: Declare new types with "using" instead of "typedef" 2023-02-08 14:23:15 +00:00
Matteo Pagin
b8ec299e60 spectrum: Add .0 to numbers, so that they are treated as double 2023-02-08 14:23:15 +00:00
Matteo Pagin
60534ad1a1 spectrum: Remove unneeded includes in three-gpp-channel-model.h 2023-02-08 14:23:15 +00:00
Matteo Pagin
49413e33d1 spectrum: Sort CMake libraries alphabetically 2023-02-08 14:23:15 +00:00
Matteo Pagin
9a27820c9e spectrum: Fix typos 2023-02-08 14:23:15 +00:00
Eduardo Almeida
971e5c15fa Fix clang-tidy readability-container-size-empty warnings 2023-02-02 17:41:31 +00:00
Stefano Avallone
c9c6b8c70a spectrum: Simplify code in MultiModelSpectrumChannel::AddRx() 2022-12-23 08:35:56 +01:00
Stefano Avallone
fe1861699b spectrum: Align {Single,Multi}ModelSpectrumChannel::AddRx() behavior 2022-12-23 08:31:39 +01:00
Eduardo Almeida
4930479af4 Remove enum / struct specifiers when declaring the variable's type 2022-12-05 19:05:45 +00:00
Eduardo Almeida
18225243f2 examples: Add missing return 0 2022-11-29 21:33:09 +00:00
Eduardo Almeida
b9562ba520 Fix formatting of braced-init-lists by adding trailing comma 2022-11-24 16:13:09 +00:00
Eduardo Almeida
7c182618ed Fix clang-tidy readability-redundant-string-cstr warnings 2022-10-28 16:05:20 +00:00
Eduardo Almeida
85ade4e18d Fix Doxygen comment formatting and typos 2022-10-16 14:49:21 +01: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
ebb596910c Fix remaining clang-tidy warnings 2022-10-07 11:48:11 +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
b2af8bbe48 wifi, lte, dsr, examples: Optimize vector initialization 2022-10-06 11:20:57 +00:00
Peter D. Barnes, Jr
d635a72cbc Use variadic argument lists in various Helpers.
QosWaveMacHelper::SetType() and NqosWaveMacHelper::SetType() were
virtual, but then they can't be templated to handle variadic
argument lists.  The base class is not virtual, and nothing derives from
these classes, so virtual doesn't seem to be required.
2022-09-04 12:01:11 -07:00
Stefano Avallone
3e20515664 core: Use std::function to implement callbacks 2022-09-02 19:04:38 +00:00
Sebastien Deronne
6723c9d997 spectrum: Apply puncturing mask to HE transmit PSD 2022-08-31 18:38:29 +00:00
Sebastien Deronne
83db8b2c36 spectrum: Do not allocate power to subcarriers that belongs to an inactive 20 MHz subchannel 2022-08-31 18:38:29 +00:00
Sébastien Deronne
33807b6e46 spectrum: Fix allocated power per subcarrier in 802.11n PSD 2022-08-31 18:38:29 +00:00