Commit Graph

434 Commits

Author SHA1 Message Date
Gabriel Ferreira
b3c6b34fc0 spectrum: (fixes #1147) Scale the CDS to nanoseconds in 3GPP V2V channel models 2025-01-18 17:54:33 +01:00
Eduardo Almeida
f6e1ee4282 Convert ns-3 #include headers to quotes 2025-01-17 19:02:17 +00:00
Gabriel Ferreira
944c2affa8 spectrum: Keep precoding matrix on the heap 2025-01-17 15:46:33 +01:00
Gabriel Ferreira
1a5957d9d0 spectrum: Reduce PSD complexity by computing only the main matrix diagonal 2025-01-17 15:46:14 +01:00
Gabriel Ferreira
e299ddba3a spectrum: Calculate PSD by combining received power, even when no precoding matrix is set 2025-01-17 15:46:14 +01:00
Gabriel Ferreira
cd67ed9814 spectrum: Change order of disposal for ThreeGppPropagationLossModel 2025-01-13 22:01:29 +00:00
Sébastien Deronne
a7d0758dbd spectrum: Calculate propagation loss and receiver antenna gain at RX 2024-11-11 14:49:18 +01:00
Sébastien Deronne
608d8b2df0 spectrum: Reduce further amount of spectrum conversions at RX by passing a map of existing conversion of the TX PSD 2024-11-11 14:48:52 +01:00
Sébastien Deronne
a3bccf9616 spectrum: Perform spectrum conversions only once at TX, evaluate at RX if another conversion is needed 2024-11-11 14:48:28 +01:00
Gabriel Ferreira
0e41a5555f check-style: Replace NBSP with empty space 2024-11-10 20:11:29 +01:00
Eduardo Almeida
6ef966c4cf Replace Doxygen tags using \ with @ 2024-11-08 18:05:46 +00:00
Eduardo Almeida
5afa1fd7ef Use Time() constructor with integer values 2024-11-08 18:01:13 +00:00
Eduardo Almeida
f77250cc92 Use default Time() constructor when initializing 0 time 2024-11-08 18:01:06 +00:00
Eduardo Almeida
463e1e4371 Replace formatted apostrophe (’) by simple one (') in docs 2024-10-18 11:42:19 +00:00
Peter D. Barnes, Jr
efff75fe4f Label deprecations with uncertain version tags, for later removal 2024-10-07 09:04:18 -10:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
Gabriel Ferreira
74fd01a17e spectrum: Assume no pathloss when transmitter and receiver are co-located
Prevents infs/nans
2024-07-26 19:22:21 +00:00
Eduardo Almeida
709c9b767f spectrum: Keep results file open and do not append to previous content 2024-07-15 13:42:30 +00:00
André Apitzsch
235588143c spectrum: Switch license of two-ray-to-three-gpp-ch-calibration.py to GPLv2
Matteo Pagin accepted the switch, see [1].

[1] https://gitlab.com/nsnam/ns-3-dev/-/merge_requests/2030#note_1959169561
2024-07-04 16:27:01 +00:00
Eduardo Almeida
5196b962be spectrum: Use std::array instead of std::vector for array constants 2024-06-20 18:42:31 +01:00
Eduardo Almeida
d696de6086 spectrum: Remove "m_" prefix from array constants 2024-05-29 15:17:12 +01:00
Eduardo Almeida
3336901ecd spectrum: (fixes #1093) Move arrays to implementation file 2024-05-29 15:03:56 +01:00
Eduardo Almeida
a21c218a15 spectrum: Improve formatting of three-gpp-channel-mode.cc 2024-05-29 13:07:08 +01:00
pagmatt
9a725b5463 propagation, spectrum: Add 3GPP 38.811 NTN channel model 2024-05-24 17:23:26 -07:00
Gabriel Ferreira
8a2d461acf spectrum: Remove default virtual destructor from SimpleRefCount children 2024-05-23 17:38:42 -03:00
Sébastien Deronne
cc976b8624 spectrum: Perform spectrum conversions at RX time 2024-05-15 08:33:15 +02:00
Sébastien Deronne
0f6cb9657f spectrum: Fix assert hit when PHYs attached to a single model spectrum channel have switched to another channel 2024-05-15 08:33:15 +02:00
Sébastien Deronne
5e10b47d18 spectrum, wifi: Move wifi spectrum value helper class to wifi module 2024-05-15 08:33:15 +02:00
Gabriel Ferreira
01138ef2d7 (fixes #161) Deprecate EventId::IsRunning() and replace it with EventId::IsPending() 2024-05-14 12:40:54 -03:00
Eduardo Almeida
79186a8b8b Fix clang-tidy bugprone-branch-clone warnings 2024-05-11 02:56:07 +01:00
Gabriel Ferreira
10f882eeba antenna, spectrum: Enable superposed nodes in 3GPP assuming minimum separation 2024-05-08 15:34:05 +02:00
Gabriel Ferreira
b7d097657c spectrum: Allow for a change in the number of antenna elements in 3GPP channel model 2024-05-03 19:57:24 +00:00
Gabriel Ferreira
d147dc3627 spectrum: Avoid GetHElemsPerPort calls to save up on divisions 2024-05-03 18:21:11 +00:00
Tom Henderson
f0fda976f8 spectrum: Avoid newline in SpectrumValue ostream operator 2024-05-01 13:59:10 +00:00
Gabriel Ferreira
b6892d1364 spectrum: Save up pow()'s and memory allocations in GenerateChannelParameters 2024-04-25 10:08:05 +02:00
André Apitzsch
a5c42bc879 core: Use enum class for TestSuite::Type 2024-03-15 09:27:53 +01:00
André Apitzsch
e46d2a8024 core: Use enum class for TestCase::TestDuration and rename it to TestCase:Duration 2024-03-15 09:27:52 +01:00
Gabriel Ferreira
6ae8b54e52 spectrum: Precompute sincos of cluster angles 2024-03-09 13:13:01 +01:00
Gabriel Ferreira
6c0fbb74df spectrum: Precompute delay*doppler product outside the loop with number of ports 2024-03-09 10:49:55 +00:00
Gabriel Ferreira
2e30779f28 spectrum: Compute one square root per psd value 2024-03-09 10:49:55 +00:00
Gabriel Ferreira
8baa49a2bc spectrum: cache sincos in ThreeGppSpectrumPropagationLossModel 2024-03-01 12:34:22 +00:00
Eduardo Almeida
8e28f1559c doc, energy, spectrum: Fix typos 2024-02-23 12:30:43 +00:00
Eduardo Almeida
0b5803a762 antenna, doc, energy, lte, spectrum: (fixes #1034) Fix and remove non-cited references in documentation 2024-02-23 12:30:43 +00:00
Gabriel Ferreira
e1d55570bc Use static Mac48Address broadcast address 2024-02-13 13:55:21 +01:00
Tom Henderson
538ecd1f74 spectrum: Add AssignStreams() to SpectrumChannel 2024-02-01 05:09:44 +00:00
André Apitzsch
647149e39a Add enum class support to EnumValue 2024-01-31 15:32:16 +01:00
Tom Henderson
862c74b055 spectrum, wifi: Make AssignStreams behavior consistent 2024-01-30 16:42:12 -08:00
André
85d03d2353 Fix Python Black formatting (detected by Black 24.1.0) 2024-01-26 12:10:44 +00:00
Tom Henderson
339dcce59d spectrum: (fixes #356) Remove assert when positions overlap 2024-01-24 19:38:08 +00:00
Gabriel Ferreira
2b6aa1f312 spectrum: Add missing cstddef header 2024-01-23 08:26:06 +00:00