summaryrefslogtreecommitdiff
path: root/gr-channels/lib
Commit message (Collapse)AuthorAgeFilesLines
* channels: Fix bad initialization of RNG seedsMatt Ettus2021-09-271-5/+9
| | | | | | | | | | | | | * Fix bad initialization of RNG seeds. If this isn't done, multiple channels will be correlated with each other. Signed-off-by: Matt Ettus <matt@ettus.net> * formatting fix Signed-off-by: Matt Ettus <matt@ettus.net> * Fixed ordering of initialization Signed-off-by: Matt Ettus <matt@ettus.net>
* classic modules: use common precompiled headersMarcus Müller2021-07-191-0/+4
| | | | | | | This commit contains all the additions to gr-*/lib/CMakeLists.txt applicable to modules already present in 3.8. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* gr-channels & gr-wavelet: Free from boost! 🥳Marcus Müller2021-06-221-1/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* global: remove iostream from all files not use cout|cerr|cin|clogMarcus Müller2021-06-174-4/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* filter: remove deprecated mmse_interpolatorJosh Morman2021-04-211-1/+0
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-038-76/+76
|
* Add `override` for common virtual function overridesThomas Habets2020-11-035-6/+6
| | | | | | | | | | Mostly done with: ``` find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}' ``` Then I removed an incorrect `work` that this found.
* channels: Remove manual memory managementThomas Habets2020-08-146-57/+53
|
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-308-27/+27
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* Replace BOOST_FOREACH with C++11 range forThomas Habets2020-03-272-6/+6
|
* Update license header to SPDX formatdevnulling2020-01-2720-260/+20
|
* channels: models' random facilities use C++11 (minus boost)Marcus Müller2020-01-024-35/+16
|
* channels: selective_fading_model include cleanupMarcus Müller2020-01-022-10/+0
|
* channels: flat_fader random facilities use C++11 (minus boost)Marcus Müller2020-01-022-25/+17
|
* clang-format: Ordering all the includesMarcus Müller2019-08-0912-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* sincostable: Include what you use: <vector>Marcus Müller2019-08-091-0/+1
| | | | This was breaking the build after include reordering.
* Tree: clang-format without the include sortingMarcus Müller2019-08-0919-1264/+1424
|
* Issue #1974 Reduce the history from ntaps+1 to ntapsJosh Morman2019-05-232-2/+2
| | | | Also, add () around the default list parameters in the yml files
* cmake: Update to modern CMake usageAndrej Rode2019-03-041-67/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes using target based setting of includes and link libraries. This will transitively add the includes and linking flags to dependent targets. This is still a work in progress since only the dynamic libraries have been touched and not all of include_directories directives are gone yet. cmake: remove GR_INCLUDE_SUBDIRECTORY macro Previously this macro was used to inject subdirectories in the current CMake namespace. This is generally undesired and pollutes the current context. previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS to build both, shared libraries and static libraries. This seems to be a construction taken over from autotools and serves no purpuose in CMake and complicates the library building. cmake: remove GR_LIBTOOL and la generation support This looks like it was primarily used to support projects using autotools, but comments state that the generated .la files aren't compatible with autotools anyway. cmake: Bump required CMake version to 3.8 UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial to change
* includes: use quotes for local includesAndrej Rode2019-01-078-11/+11
|
* cmake: remove unused *_generated_swigs syntaxAndrej Rode2019-01-071-1/+0
| | | | | these variables are always empty and are leftovers from removing gengen templates
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-3116-104/+400
|\
| * cmake: remove unused generated_includes targetsAndrej Rode2018-08-261-2/+1
| |
| * blocks/analog: includes for C++ templatesAndrej Rode2018-08-255-16/+16
| | | | | | | | | | Previously public headers in the form $blockname_XX.h were generated. Now only $blockname.h needs to be included
| * blocks: replace gengen with C++ templatesAndrej Rode2018-08-253-3/+3
| |
| * math: replace M_PI and derivatives with GR_M_PI definesAndrej Rode2018-02-176-32/+37
| |
| * renamed fractional_{resampler|interpolator} to mmse_Marcus Müller2017-08-186-8/+8
| |
| * cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-2/+2
| | | | | | | | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
| * channels: clean up some of the fader normalization values and storage sizesTim O'Shea2016-06-061-6/+6
| |
| * channels: provide CSI via message ports optionallyTim O'Shea2016-06-041-0/+9
| |
| * channels: adding selective fading model 2 (PDP slowly changes without bounds ↵Tim O'Shea2016-06-044-1/+284
| | | | | | | | as well so fades move ...)
| * channels: generate fading taps in blocks for minor speedupTim O'Shea2016-06-044-21/+43
| |
| * channels: update LOS model to reflect NLOS changes to long term modelsTim O'Shea2016-06-041-7/+6
| |
| * channels: ensure flat fader behaves appropriately on long runsTim O'Shea2016-06-041-27/+17
| |
| * channels: use correct number of sinusoidsBastian Bloessl2016-02-101-8/+8
| |
| * channel: normalize to avg power 1Bastian Bloessl2016-02-101-1/+1
| |
| * channels: delete obsolete includes and definitionsBastian Bloessl2016-02-101-11/+0
| |
* | Convert set_relative_rate(double) to the new integer or receiprocal callAndy Walls2018-08-231-2/+2
| | | | | | | | | | | | | | | | This is a mass conversion of existing set_relative_rate(double) calls to either the set_relative_rate(uint64_t, uint64_t) or set_inverse_relative_rate(double) calls, where ever easily possible and appropriate, to improve tag propagation precision for fixed relative rates.
* | channels: interpolate `dist` with `M_PI`, not `2*M_PI`jan-safar2018-03-301-1/+1
|/ | | | | | | | The multiplication by 2 in the sinc() function argument appears to be a mistake. It, for example, results in signal paths with a delay of 0.5 sample time being completely ignored. https://en.wikipedia.org/wiki/Sinc_function
* cmake: reorder VOLK library to be after all other internal ones, and before ↵Michael Dickens2015-03-311-1/+1
| | | | boost.
* cmake: abs path for external volkSebastian Koslowski2015-03-301-1/+1
|
* cmake: follow-up to previous mergeTom Rondeau2014-08-081-1/+0
|
* Merge branch 'maint'Tom Rondeau2014-08-081-1/+0
|\ | | | | | | | | | | Conflicts: gnuradio-runtime/CMakeLists.txt gnuradio-runtime/lib/controlport/CMakeLists.txt
| * controlport: removing use of ice for a controlport rpc.Tom Rondeau2014-08-081-1/+0
| | | | | | | | This effectively disables the use of ControlPort for now until we build in a new middleware layer. The ControlPort API and interfaces exist but will function as nops for now.
* | build: better support for static libs.Tom Rondeau2014-07-181-0/+12
|/ | | | | | Now builds shared libraries with ControlPort (if ControlPort is enableed). Static libs still without ControlPort. Added proper Option and output message in cmake for Static Libs on/off.
* Merge branch 'maint'Tom Rondeau2014-07-0715-50/+50
|\
| * Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-0715-50/+50
| | | | | | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* | build: adds an ENABLE_STATIC_LIB option to cmake to build static (.a) ↵Tom Rondeau2014-06-281-0/+20
|/ | | | versions of the libraries.
* channels: fixing a minor bug in the flag_fader model.Tom Rondeau2014-04-241-1/+1
| | | | Bug fix from 'qin 1921' submitted to GR mailing list.