summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
AgeCommit message (Collapse)Author
2008-08-24Fix typo in variable name (Firas Abbas)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9397 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-24Fix compiler warnings across the tree. Adds --enable-warnings-as-errors ↵jcorgan
configure option. Currently compiles with no warnings with GCC 4.2.3 on Ubuntu 8.04. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9396 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-19Merged features/mp-sched -r8915:9335 into the trunk. The trunk noweb
contains the SMP aware scheduler. This changeset introduces a dependency on boost 1.35 or later. See source:gnuradio/trunk/README.building-boost for additional info. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9336 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-18New taps computation based on requested transition bandwidth and stopband ↵n4hy
attenuation. qa code testing each added git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9316 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-15Trial fix for ticket:258 / integer overflow undefined / phaseeb
accumulator. Thanks to Stefan Bruens and Philip Ballister for working on this. According to the fine print in the C and C++ standards, if a signed integer type overflows, the result is undefined. As of gcc 4.3, gcc was proving that our code was overflowing, and took advantage of the "undefined" result to short circuit the evaluation. Moral of the story: if you're using a fixed point phase accumulator, or anything else where you're counting on overflow happening, be sure that your variable is unsigned. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067 and http://www.airs.com/blog/archives/120 git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9296 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-31wrong signeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9079 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-24first cut at iq imbalance compensationmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8993 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-22Add gr_costas_loop_cc setters and gettersjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8966 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-09Merged jcorgan/ptrfix -r8827:8843 into the trunk.eb
Fix that allows C++ classes derived from gr_hier_block2 to use the new self() method to get a magic object that can be passed to connect or disconnect to refer to their own inputs and outputs. Note that the constructor wrapper of all classes derived from gr_hier_block2 (and thus gr_top_block too) MUST USE the new gnuradio::get_initial_sptr function to get the initial shared pointer. gnuradio::get_initial_sptr works on all block types, and should be used in all new code. See qa_gr_hier_block2_derived.{h,cc} for an example. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8844 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-10Applied patch from Dean Armstrong to fix gr_repeat (ticket:246). eb
The QA code was not updated to detect the bug and should still be sorted out. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8568 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-30Potentially invalid read deferred until it's valid (Dan Halperin)eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8296 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-30Tweaks for gcc 4.3 based on patch from Marek Mahut <mmahut@fedoraproject.org>.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8292 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-22Merged eb/gcell -r8215:8243 into trunk. This adds gr-gcell, the GNUeb
Radio interface to the Cell Broadband Engine. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8244 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-15Merged r8195:8205 from jcorgan/ecc into trunk. Adds convolutional encoderjcorgan
and decoder corresponding to the R=1/2, K=7 CCSDS standard ("Voyager"). This code is a GNU Radio wrapper around a 1995-era KA9Q portable-C implementation, and is designed for continuous streaming data, not packets. The encoder takes MSB packed bytes and outputs channel symbols 0 or 1. The decoder uses soft-decision Viterbi decoding on a floating point stream of (possibly noise corrupted) [1.0, 1.0] symbols, and outputs MSB packed decoded bytes. Benchmarking on a 2.16 GHz Intel Core 2 Duo shows 4.7 Mbps decoding rate at 100% CPU usage (single core). (There is a newer KA9Q library that implements SIMD speed ups with correspondingly faster performance.) The KA9Q library is placed into src/lib/viterbi. It could use some cleanup, file/function renaming, and refactoring, or even replacement with the newer libfec code that is available. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8206 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-12Fix typo in previous check-injcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8194 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-12Addes gr.cpfsk_bc(), a continuous phase frequency shift keying modulator block.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8193 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-11Adds gr.repeat(), an interpolating block to repeat a sample N times on the ↵jcorgan
output. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8186 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-31merging branch trondeau/ofdm r7971:8143. Fixing subcarriers and other issues ↵trondeau
to improve OFDM system operation. Not much more we can do with this than add channel coding and cleaning up. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8144 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-17Don't define RANDOM_MAX on systems that have already defined it. (Atgdt
present, only NetBSD-current is known to do this.) Improve the comment explaining the situation. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8034 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-26merged -r7836:7846 from trondeau/ofdmtiming to trunk. This fixes the big ↵trondeau
issues in transmitting OFDM over the air with 1 preamble symbol. Still some smaller issues left. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7848 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-26removed bug in gr_test which could result in segfault when ↵nldudok1
d_sizeof_output_item!=d_sizeof_input_item git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7847 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-21Merged build_config branch into trunk:michaelld
1) Modified top-level run_tests.sh script: a) to execute code for setting or changing the library search path in Darwin (DYLD_LIBRARY_PATH) or Windows (PATH) on those host OSs only, not on other host OSs. b) Added local (to the component making check) library paths to those same search paths, since libtool doesn't do it (unlike in Linux). 2) In all AM Makefiles -except those dealing with USRP firmware-, changes INCLUDES to AM_CPPFLAGS since the former is deprecated. 3) Changed AM_CPPFLAGS to FW_INCLUDES for commands .c.rel in USRP firmware. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7769 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-08Merged r7478:7608 from michaelld/t186 into trunk. Adds ability to compile ↵jcorgan
GNU Radio modules individually, using already installed dependent libraries and include files. New functionality is enabled using --with-* on configure command line; existing build options should remain unchanged. Nice work by Michael Dickens, still needs documentation update on wiki. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7617 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-06Merging trondeau/ofdmfix into branch at -r7582:7586. This allows for ↵trondeau
over-the-air OFDM. Works with all modulations and tested both send and receive on different computers/USRPs. Misses a few packets, so it's not perfect. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7587 221aa14e-8319-0410-a670-987f0aec2ac5
2008-01-24Doc fixes from Firas.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7504 221aa14e-8319-0410-a670-987f0aec2ac5
2008-01-10woops. Actually assigning return value.trondeau
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7391 221aa14e-8319-0410-a670-987f0aec2ac5
2008-01-09merging receiver branch -r6837:7375 into trunk. Improves speed of MPSK ↵trondeau
receiver; adds branching and branchless versions of clipping and slicing routines to gr_math. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7389 221aa14e-8319-0410-a670-987f0aec2ac5
2008-01-02Merging ofdm2 branch -r7047:7321 into trunk. This updates the OFDM code to ↵trondeau
hier_block2 in blks2impl and removed from blksimpl. The new code implements a decision feedback sync loop to lock the phase/freq, removes two unnecessary premables and performs frame sync and equalization off single preamble symbol. Also adds/updates Python plotting tools and a branchless clip algorithm in gr_math.h. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7324 221aa14e-8319-0410-a670-987f0aec2ac5
2007-11-10Reverted changesets r6841 and r6840 on the trunk. Passes make check.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6851 221aa14e-8319-0410-a670-987f0aec2ac5
2007-11-08oops, meant to do that in our branchn4hy
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6841 221aa14e-8319-0410-a670-987f0aec2ac5
2007-11-08attempting to use branchless clipping to prevent pipeline dumping, fabs ↵n4hy
needs to be intrinsic for speed git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6840 221aa14e-8319-0410-a670-987f0aec2ac5
2007-10-02Trial fix for ticket:189, gr_mpsk_receiver_cc problem.eb
Added checking for SIMD alignment requirement on gr_complex (must be 8-byte aligned) so that future violations will throw an exception. Modified gr_mpsk_receiver_cc.h so that delay line being passed to gri_mmse_fir_interpolator_cc is 8-byte aligned. Added QA code for gri_mmse_fir_interpolator_cc. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6575 221aa14e-8319-0410-a670-987f0aec2ac5
2007-09-05Applied patch from Richard Alimieb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6316 221aa14e-8319-0410-a670-987f0aec2ac5
2007-08-31Attempt to simplify conditions for ticket:181. Didn't fix problem, buteb
didn't harm anything either. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6236 221aa14e-8319-0410-a670-987f0aec2ac5
2007-08-21fix for ticket:153, missing throw decl in .i fileeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6161 221aa14e-8319-0410-a670-987f0aec2ac5
2007-08-04merged -r5966:6112 on trondeau/ofdm_mod. Allows for generic constellations ↵trondeau
(supports bpsk, qpsk, 8psk, qam16, qam64, and qam256 currently), fixes some bugs in the correlation and altered default parameters for over-the-air operation. This merge fixes ticket:156 and ticket:157. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6113 221aa14e-8319-0410-a670-987f0aec2ac5
2007-07-21fix .h to match .cceb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6049 221aa14e-8319-0410-a670-987f0aec2ac5
2007-07-21Updated license from GPL version 2 or later to GPL version 3 or later.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6044 221aa14e-8319-0410-a670-987f0aec2ac5
2007-07-15merged -r5947:5965 on trondeau/regen into trunk. Fixes ticket:154 on ↵trondeau
gr_regenerate_bb block. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5966 221aa14e-8319-0410-a670-987f0aec2ac5
2007-06-25bugfix: itemsize was not respected, sizeof(float) was allways usednldudok1
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5831 221aa14e-8319-0410-a670-987f0aec2ac5
2007-06-10Merging OFDM features branch r5661:5759 into trunk. OFDM works over the air ↵trondeau
with BPSK and QPSK modulations on subcarriers. Passes make distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5761 221aa14e-8319-0410-a670-987f0aec2ac5
2007-06-04merge ordm/receiver branch -r5574:5659. Reworks OFDM receiver with ↵trondeau
refactored OFDM blocks. A few bug fixes for other blocks have also been slipped in. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5661 221aa14e-8319-0410-a670-987f0aec2ac5
2007-05-28Trial fix for ticket:153jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5552 221aa14e-8319-0410-a670-987f0aec2ac5
2007-05-12Added ability to log receive path power to file in digital examples.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5461 221aa14e-8319-0410-a670-987f0aec2ac5
2007-04-26Merged r4518:5130 from developer branch n4hy/ofdm into trunk, passes distcheck.jcorgan
Adds incomplete OFDM implementation, further work to be completed in the features/ofdm branch. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5131 221aa14e-8319-0410-a670-987f0aec2ac5
2007-04-24update to Doxygen info to fix warning and a bit more explicit info on ↵trondeau
frequency ranges git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5095 221aa14e-8319-0410-a670-987f0aec2ac5
2007-04-04updating documentation for Costas looptrondeau
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4874 221aa14e-8319-0410-a670-987f0aec2ac5
2007-04-03Merged r4767:4859 from developer branch jcorgan/channel, passes distcheck.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4860 221aa14e-8319-0410-a670-987f0aec2ac5
2007-03-12New fix for gr_framer_sink_1 hang on zero length payload.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4739 221aa14e-8319-0410-a670-987f0aec2ac5
2007-03-11Fixed state machine hangup with invalid payload_len field.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4737 221aa14e-8319-0410-a670-987f0aec2ac5