Commit Graph

173 Commits

Author SHA1 Message Date
Stefano Avallone
6fef34be47 network: Convert Queue into a template class 2017-03-08 18:01:29 +01:00
Alexander Krotov
0cd127965a spectrum: remove unused variable 2016-12-22 23:20:55 +03:00
Alexander Krotov
16a4d770ef spectrum: (fixes #2467) Do not schedule StartRx for receivers with orthogonal SpectrumModels
This change greatly reduces number of StartRx calls, propagation delay
computations and SpectrumValue conversions for scenarios with large number
of transmitters and receivers operating in different non-overlapping channels,
i.e., Wi-Fi scenarios with multiple BSS operating in different channels.
2016-08-07 20:38:18 +03:00
Alexander Krotov
d8509c1a58 spectrum: (fixes #2464) Store spectrum conversion matrix in CSR format
Spectrum conversion matrix are usually sparse, so this change speeds up
calculations for large number of bands.
2016-08-07 02:00:09 +03:00
Nicola Baldo
9d9dfa8301 fixed Bug 1886 - Description of Values::iterator methods is incorrect 2016-10-16 22:44:06 +02:00
Tom Henderson
df4dd9df4d bindings: Rescan all bindings 2016-09-27 22:18:47 -07:00
Tom Henderson
b9e5595665 bindings: Rescan all bindings 2016-09-26 05:33:13 -07:00
Peter D. Barnes, Jr.
38632b0e18 Add CommandLine to all examples 2016-05-27 01:24:32 -04:00
Alexander Krotov
cedee9ea0e documentation: (fixes #2481) Missing or incorrect group names 2016-08-28 08:00:43 -07:00
Tom Henderson
5c2df9acbf spectrum: GetPointer not needed for dereferencing
Dereferencing the smart pointer is needed to pass it as an argument to
the Integral method, but by calling GetPointer to first obtain a raw
pointer, the automatic reference counting is disrupted, and the memory
will not be freed as expected.  Instead, dereference the smart pointer
directly.
2016-08-25 09:56:50 -07:00
Tom Henderson
5574e8af5f spectrum: Remove debugging statements 2016-08-25 09:31:39 -07:00
Tom Henderson
3989c359ce bindings: rescan all module bindings 2016-08-20 22:00:50 -07:00
Tom Henderson
651d30b9ce bindings: rescan wifi-related bindings 2016-07-22 21:51:06 -07:00
Tom Henderson
4f349d7f47 wifi: (closes #2400) Add SpectrumWifiPhy model 2016-07-22 18:13:42 -07:00
Tom Henderson
f23dc6a347 bindings: rescan all module bindings 2016-07-22 17:45:51 -07:00
Tom Henderson
7f88b04c33 bindings: rescan all module bindings 2016-07-20 16:33:57 -07:00
Tommaso Pecorella
971ace1bfd Rescan Python bindings 2016-07-16 23:29:23 +02:00
Tommaso Pecorella
afa5de4a78 internet: (fixes #231) Remove SocketAddressTag
SocketAddressTag was a long-standing API glitch. It was used to replicate the RecvFrom effect (i.e., to know the source address of packet) without calling RecvFrom.
This option is more harmful than useful, because in case of tunnels the new tag needs to replace the old one. Moreover, there is no real need to create a new API when there is a perfectly working one (i.e., RecvFrom).
2016-06-02 01:16:39 +02:00
Tom Henderson
3550057f1a rescan all Python bindings 2016-03-21 22:02:32 -07:00
Tom Henderson
822ddcb157 bindings: rescan bindings 2016-03-08 22:01:30 -08:00
Stefano Avallone
df2fa95970 network: Make Queue store QueueItem objects
A QueueItem base class is introduced to represent the items stored
in a Queue. The base class only contains a Ptr<Packet>. Derived classes
can store additional information. DropTailQueue, RedQueue and CodelQueue,
along with their examples and testsuits, have been adapted. Objects using
such queues have been adapted too.
2016-03-08 10:44:03 -08:00
Vedran Miletić
c5cb7eb896 spectrum: actually remove the define 2016-02-28 22:50:25 +01:00
Vedran Miletić
26ed7563e1 spectrum: replace #define private public with friend class
ns-3 declares test classes as friend classes elsewhere, and this is the
only use of #define private public. Removing this #define also fixes
building with GCC 6.
2016-02-28 22:47:50 +01:00
Tom Henderson
332ea29d8e rescan all bindings 2016-02-25 11:58:10 -08:00
Tommaso Pecorella
d3a2524942 [Doxygen] spectrum module fixes 2015-11-11 21:46:04 -08:00
Tom Henderson
9c5e9b5cf5 rescan bindings 2015-10-11 11:15:57 -07:00
Tom Henderson
55b0e0147e rescan bindings 2015-09-07 11:04:33 -07:00
Peter D. Barnes, Jr.
b1976b6366 Merge 2015-08-18 16:59:27 -07:00
Peter D. Barnes, Jr.
61f2fbd415 [doxygen] Revise TracedCallback function signatures for const. 2015-08-18 16:46:10 -07:00
Tom Henderson
95ffc4d89b rescan bindings 2015-08-14 08:00:38 -07:00
Peter D. Barnes, Jr.
de61c2f689 GetDevice() should be const. 2015-08-13 12:10:01 -07:00
Peter D. Barnes, Jr.
6c8fcc72b9 GetDevice() should be const. 2015-08-13 12:10:01 -07:00
Peter D. Barnes, Jr.
d67ced0392 Fix parents, group names, and missing constructors in GetTypeId definitions. 2015-06-09 12:59:59 -07:00
Peter D. Barnes, Jr.
5545a7f224 Remove extraneous ' ' around :: 2015-02-04 13:40:57 -08:00
Tom Henderson
e10195a6ec SetGroupName for TvSpectrumTransmitter 2015-04-16 21:10:21 -07:00
Benjamin Cizdziel
a4b5738b44 remove ChannelNumber attribute from TvSpectrumTransmitter 2015-04-13 14:21:27 -07:00
Benjamin Cizdziel
5b023387a4 add missing figures 2015-04-13 13:19:33 -07:00
Tom Henderson
089ae3ba9e bug 2094: adjust floating point comparison epsilon based on inputs 2015-04-12 21:44:41 -07:00
Tommaso Pecorella
36f51b8607 Bug 2093 - MultiModelSpectrumChannel::GetDevice only works for 0-th index 2015-04-09 22:01:13 +02:00
Tom Henderson
0596d0d97b fix an enum declaration 2015-04-09 08:16:05 -07:00
Tom Henderson
c1b59f5fbc silence unused variable warning 2015-04-09 07:25:24 -07:00
Tom Henderson
c9f32caa50 update bindings 2015-04-08 20:16:57 -07:00
Benjamin Cizdziel
7e795e2891 TvSpectrumTransmitter classes to create television transmitter(s) that transmit PSD spectrums customized by attributes such as modulation type, power, antenna type, channel frequency, etc. 2015-04-08 19:45:39 -07:00
Tom Henderson
9cb3e2b28c rescan bindings 2015-04-03 12:28:40 -07:00
Tommaso Pecorella
b2b25df074 SetGroupName for spectrum module 2015-03-29 16:22:52 +02:00
Tommaso Pecorella
0630f6dee9 Bug 1974 - CalculateTxTime should return a Time, not a double 2015-02-28 18:20:46 +01:00
Luis Pacheco
32827de86a Bug 2038 - Stop method does not stop next wave in WaveformGenerator 2015-01-17 09:01:26 +01:00
Tom Henderson
e1108928f1 rescan bindings 2014-12-19 16:22:49 -08:00
Peter D. Barnes, Jr.
692bf472e6 TracedCallback function signatures, the rest. 2014-12-04 10:02:01 -08:00
Peter D. Barnes, Jr.
4cb9c7b916 TracedCallback function signatures, the simple ones.
These are TracedCallback function signatures for traces sources
using a single argument.
2014-10-03 02:24:42 -07:00