summaryrefslogtreecommitdiff
path: root/gnuradio-core
AgeCommit message (Collapse)Author
2010-05-06Flush pending errors in gr_udp_sink on disconnect()Don Ward
On some systems (e.g., Debian/lenny) UDP errors are reported on the following send() or recv() call. To avoid having errors (such as ECONNREFUSED) from an old connection showing up on the first write to a new connection, we do a recv() on disconnect() to flush them. This may not work for all errors on all systems, but it works in some simple cases of interest.
2010-05-04Merge branch 'master' into udpDon Ward
2010-05-04Rework UDP source and sink, with incompatible API changesDon Ward
Remove source address specifications for sink; add connect() and disconnect() to sink; add get_port() to source; add optional EOF signaling (using zero-length packets) to sink and source; modify dial_tone, vector, and audio examples to match new code; add qa test case.
2010-04-30Add missing buffer allocator hint to gr_ofdm_sampler.ccEric Blossom
This change was needed because gr_ofdm_sampler derives directly from gr_block, but functions (from the runtime's point of view) as a decimator. It takes many items in to produce a single output item. Without this change, values of fft_size > ~4096 would result in the scheduler complaining that it could never fullfil the block's request for samples. When deriving from gr_sync_interpolator or gr_sync_decimator, their constructors set the hint automatically.
2010-04-30Merge branch 'master' into udpDon Ward
2010-04-30Updates to udp source/sink (select(), wait, cleanup)Don Ward
Use select() to avoid blocking on recv() in gr_udp_source (only known way to avoid blocking on Cygwin). Add wait argument to gr_udp_source to allow waiting for connection or accepting lack of connection as EOF; add --no-wait option to dial_tone_sink.py. Remove system dependencies from .h files; remove unused data members and (useless?) public open and close functions.
2010-04-27Fixing ordering so that the input channels line up in the output signal ↵Tom Rondeau
properly.
2010-04-27Adding the synthesis filterbank (the opposite of the channelizer). It's ugly ↵Tom Rondeau
right now and uses a lot of memory to handle the buffers for each filter/input stream.
2010-04-26Remove omnithreads library.Johnathan Corgan
2010-04-26Convert gr-audio-portaudio to Boost via gruelJohnathan Corgan
Remove omnithread dependency in build for gr-audio-portaudio Remove unused debugging utility class in gnuradio-core (gri_logger)
2010-04-20Discard data in gr_udp_sink until receiver is started.Don Ward
Also fixes warnings from gcc 4.3 and adds <boost/bind.hpp> for usrp2.
2010-04-18Use getaddrinfo in gr_udp_{source,sink}Don Ward
Using getaddrinfo allows more common code between posix and winsock systems. Remove unused variables and #include files. Close sockets when done.
2010-04-18Fixing doxygen warnings from arb_resampler. Also, removed set_taps from publicTom Rondeau
interface since we don't _really_ suppor this right now. Renamed it and made it private.
2010-04-18Fixing doxygen warnings from channelizer block.Tom Rondeau
2010-04-18Fixing documentation to get rid of doxygen warnings.Tom Rondeau
2010-04-18Adding documentation for fff version of othe PFB clock sync algorithm.Tom Rondeau
2010-04-18Adding documentation to explain how algorithm works.Tom Rondeau
2010-04-18Changes to gr_udp_{source,sink} for MinGWU-DON-WORKBENCH\Don
Initialize and cleanup after winsock DLL. Interpret winsock error codes. Use DWORD instead of timeval for setting timeout.
2010-04-15Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)Don Ward
SO_LINGER is not valid for SOCK_DGRAM sockets on Windows, so we expect setsockopt to return ENOPROTOOPT (invalid option for protocol) on Cygwin and MinGW. If it happens on any other system it should probably be ignored there, too.
2010-04-15Nevermind that last checkin. THIS is the right answer that doesn't have us ↵Tom Rondeau
possibly looking back at input item -1.
2010-04-14Fixes small bug by handling boundaries properly.Tom Rondeau
2010-04-12The oversampling rate can be only a few values as defined by the number of ↵Tom Rondeau
channels and input sample rate. This now checks to make sure the user-specified rate is valid. Also added some documentation to describe the oversample rate parameter.
2010-04-12Reworking variables to avoid recalculations/assignments.Tom Rondeau
2010-04-12Channelizer can now produce any rational ratio of the sample rate in [fs/N, ↵Tom Rondeau
fs] where fs is the input sample rate and N is the number of channels. The ratios work out to be N/i for i in [1, N].
2010-04-12Moving towards gr_block implementation to enable non-integer output rates. ↵Tom Rondeau
Also, cleaning up a bit wrt class members.
2010-04-09Every other time through the channelizer, the FFT input buffer must be ↵Tom Rondeau
flipped. The commented code removed in this checkin does that through a calculation in the loops, but the way the filter assignment works with this code, the flip is done by keeping the indexing static, so a look up table works and is slightly faster.
2010-04-09Removing other version of code for different sample rates.Tom Rondeau
2010-04-09Working version of channelizer allowing an integer multiple of the sampling ↵Tom Rondeau
rate out. There are two versions of the code in here with the second way being more general and efficient. This one should be more extendable to allowing rational ratio output sampling rates.
2010-04-07Opening up channelizer to have different sampling rates out. This first pass ↵Tom Rondeau
produces the correct output for oversampling_rate = 1.
2010-03-21Add new block gr.additive_scrambler_bb()Johnathan Corgan
This block performs scrambling by XORing the input sequence with the output of an LFSR. Repeating this operation restores the original sequence. (This differs from gr.scrambler_bb(), which convolves the input sequence with the LFSR output.) The additive scrambler allows an optional bit count after which the LFSR is reset to its initial seed. This allows use with, e.g., packetized fixed length payloads.
2010-03-21Added missing header includes for memcpyJohnathan Corgan
2010-03-14Merge branch 'fftfilt'Tom Rondeau
2010-03-14Removing SSE version of FFT filter until we work out how we want to handle ↵Tom Rondeau
the SSE the use of intrinics. Code for the SSE versions is still there just disabled.
2010-03-14Merge branch 'digital'Tom Rondeau
2010-03-14Fixing copyright dates.Tom Rondeau
2010-03-14Making old and new digital modulations completely seperable by adding ↵Tom Rondeau
modulation_utils2 so only new modulator blocks work with the version 2 of everything. Also changed some internal names for clarity.
2010-03-13Merge branch 'digital' of vps.gnuradio.org:trondeau into digitalTom Rondeau
2010-03-13Merge branch 'digital' of git@gnuradio.org:trondeau into digitalTom Rondeau
Conflicts: gnuradio-examples/python/digital/benchmark_qt_rx2.py
2010-03-13Adding version 2 of receive path so as not to affect old dbpsk and dqpsk ↵Tom Rondeau
operations.
2010-03-13Now have a FFT filter implemented in SSE and generic version that can be ↵Tom Rondeau
switched into FFT filter block.
2010-03-11Adding SSE version of fft filters. Complex (ccc) version working.Tom Rondeau
2010-03-07Add check_topology, delete d_diff_filters in dtor, cleanup init and use ofEric Blossom
logging output streams.
2010-03-06Using better defaults for new FLL implementation.Tom Rondeau
2010-03-06Improved performance of FLL using a more robust error term.Tom Rondeau
2010-02-28Adding Doxygen comments to new FFT filter blocks.Tom Rondeau
2010-02-28New fft filter base class to handle complex data types. Passes make check.Tom Rondeau
2010-02-28Renaming ffft filter base class to reflect its use with floats.Tom Rondeau
2010-02-27Adding a base class to handle FFT filters for use in other blocks. Old ↵Tom Rondeau
fft_filter_fff now uses new class successfully and passes make check.
2010-02-27Fixing logging in new DBPSK and DQPSK.Tom Rondeau
2010-02-26Fixing a few bugs in handling of real samples per symbol.Tom Rondeau