Fix common misspellings and typos

Change-Id: I4ec7accb1912c052b446be7c399bed32a8c62253
This commit is contained in:
Martin Hauke 2019-10-13 19:08:00 +02:00 committed by laforge
parent aeaba02e02
commit 066fd04f47
34 changed files with 40 additions and 40 deletions

View File

@ -37,7 +37,7 @@ using namespace std;
/** /**
Apply a Galois polymonial to a binary seqeunce. Apply a Galois polymonial to a binary sequence.
@param val The input sequence. @param val The input sequence.
@param poly The polynomial. @param poly The polynomial.
@param order The order of the polynomial. @param order The order of the polynomial.

View File

@ -47,7 +47,7 @@
// (pat) The elements in the queue are type T*, and // (pat) The elements in the queue are type T*, and
// the Fifo class implements the underlying queue. // the Fifo class implements the underlying queue.
// The default is class PointerFIFO, which does not place any restrictions on the type of T, // The default is class PointerFIFO, which does not place any restrictions on the type of T,
// and is implemented by allocating auxilliary structures for the queue, // and is implemented by allocating auxiliary structures for the queue,
// or SingleLinkedList, which implements the queue using an internal pointer in type T, // or SingleLinkedList, which implements the queue using an internal pointer in type T,
// which must implement the functional interface of class SingleLinkListNode, // which must implement the functional interface of class SingleLinkListNode,
// namely: functions T*next() and void setNext(T*). // namely: functions T*next() and void setNext(T*).

View File

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0+ * SPDX-License-Identifier: AGPL-3.0+
* *
* This software is distributed under multiple licenses; see the COPYING file in * This software is distributed under multiple licenses; see the COPYING file in
* the main directory for licensing information for this specific distribuion. * the main directory for licensing information for this specific distribution.
* *
* This software is distributed under the terms of the GNU Affero Public License. * This software is distributed under the terms of the GNU Affero Public License.
* See the COPYING file in the main directory for details. * See the COPYING file in the main directory for details.

View File

@ -186,7 +186,7 @@ class Thread {
} }
} }
/** Send cancelation to thread */ /** Send cancellation to thread */
void cancel() { pthread_cancel(mThread); } void cancel() { pthread_cancel(mThread); }
}; };

View File

@ -84,7 +84,7 @@ class Timeval {
uint32_t usec() const { return mTimespec.tv_nsec / 1000; } uint32_t usec() const { return mTimespec.tv_nsec / 1000; }
uint32_t nsec() const { return mTimespec.tv_nsec; } uint32_t nsec() const { return mTimespec.tv_nsec; }
/** Return differnce from other (other-self), in ms. */ /** Return difference from other (other-self), in ms. */
long delta(const Timeval& other) const; long delta(const Timeval& other) const;
/** Elapsed time in ms. */ /** Elapsed time in ms. */

View File

@ -36,7 +36,7 @@
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
// We cant use Logger.h in this file... // We can't use Logger.h in this file...
extern int gVectorDebug; extern int gVectorDebug;
#define BVDEBUG(msg) if (gVectorDebug) {std::cout << msg;} #define BVDEBUG(msg) if (gVectorDebug) {std::cout << msg;}

View File

@ -38,7 +38,7 @@
* That signal is processed here in device_sig_cb, where a copy of the "struct * That signal is processed here in device_sig_cb, where a copy of the "struct
* device_counters" structure is held and the main thread is instructed through * device_counters" structure is held and the main thread is instructed through
* a timerfd to update rate_ctr APIs against this copy. All this is done inside * a timerfd to update rate_ctr APIs against this copy. All this is done inside
* a mutex to avoid different race conditons (between Rx andTx threads, and * a mutex to avoid different race conditions (between Rx andTx threads, and
* between Rx/Tx and main thread). For the same reason, callers of signal * between Rx/Tx and main thread). For the same reason, callers of signal
* <SS_DEVICE,S_DEVICE_COUNTER_CHANGE> (device_sig_cb), that is Rx/Tx threads, * <SS_DEVICE,S_DEVICE_COUNTER_CHANGE> (device_sig_cb), that is Rx/Tx threads,
* must do so with PTHREAD_CANCEL_DISABLE, in order to avoid possible deadlocks * must do so with PTHREAD_CANCEL_DISABLE, in order to avoid possible deadlocks

View File

@ -222,7 +222,7 @@ DEFUN(cfg_test_rach_delay, cfg_test_rach_delay_cmd,
DEFUN(cfg_clock_ref, cfg_clock_ref_cmd, DEFUN(cfg_clock_ref, cfg_clock_ref_cmd,
"clock-ref (internal|external|gpsdo)", "clock-ref (internal|external|gpsdo)",
"Set the Reference Clock\n" "Set the Reference Clock\n"
"Enable internal referece (default)\n" "Enable internal reference (default)\n"
"Enable external 10 MHz reference\n" "Enable external 10 MHz reference\n"
"Enable GPSDO reference\n") "Enable GPSDO reference\n")
{ {

View File

@ -98,7 +98,7 @@ bool Channelizer::rotate(const float *in, size_t len)
return true; return true;
} }
/* Setup channelizer paramaters */ /* Setup channelizer parameters */
Channelizer::Channelizer(size_t m, size_t blockLen, size_t hLen) Channelizer::Channelizer(size_t m, size_t blockLen, size_t hLen)
: ChannelizerBase(m, blockLen, hLen) : ChannelizerBase(m, blockLen, hLen)
{ {

View File

@ -225,7 +225,7 @@ bool ChannelizerBase::checkLen(size_t innerLen, size_t outerLen)
} }
/* /*
* Setup channelizer paramaters * Setup channelizer parameters
*/ */
ChannelizerBase::ChannelizerBase(size_t m, size_t blockLen, size_t hLen) ChannelizerBase::ChannelizerBase(size_t m, size_t blockLen, size_t hLen)
: subFilters(NULL), hInputs(NULL), hOutputs(NULL), hist(NULL), : subFilters(NULL), hInputs(NULL), hOutputs(NULL), hist(NULL),

View File

@ -32,7 +32,7 @@ protected:
/* Buffer length validity checking */ /* Buffer length validity checking */
bool checkLen(size_t innerLen, size_t outerLen); bool checkLen(size_t innerLen, size_t outerLen);
public: public:
/* Initilize channelizer/synthesis filter internals */ /* Initialize channelizer/synthesis filter internals */
bool init(); bool init();
}; };

View File

@ -5,7 +5,7 @@ unlike the built-in complex<> templates, these inline most operations for speed
/* /*
* Copyright 2008 Free Software Foundation, Inc. * Copyright 2008 Free Software Foundation, Inc.
* *
* This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribuion. * This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribution.
* *
* This use of this software may be subject to additional restrictions. * This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details. * See the LEGAL file in the main directory for details.

View File

@ -35,12 +35,12 @@ public:
Resampler(size_t p, size_t q, size_t filt_len = 16); Resampler(size_t p, size_t q, size_t filt_len = 16);
~Resampler(); ~Resampler();
/* Initilize resampler filterbank. /* Initialize resampler filterbank.
* @param bw bandwidth factor on filter generation (pre-window) * @param bw bandwidth factor on filter generation (pre-window)
* @return false on error, zero otherwise * @return false on error, zero otherwise
* *
* Automatic setting is to compute the filter to prevent aliasing with * Automatic setting is to compute the filter to prevent aliasing with
* a Blackman-Harris window. Adjustment is made through a bandwith * a Blackman-Harris window. Adjustment is made through a bandwidth
* factor to shift the cutoff and/or the constituent filter lengths. * factor to shift the cutoff and/or the constituent filter lengths.
* Calculation of specific rolloff factors or 3-dB cutoff points is * Calculation of specific rolloff factors or 3-dB cutoff points is
* left as an excersize for the reader. * left as an excersize for the reader.

View File

@ -909,7 +909,7 @@ bool Transceiver::driveControl(size_t chan)
sprintf(response, "RSP SETFORMAT %u %u", version_recv, version_recv); sprintf(response, "RSP SETFORMAT %u %u", version_recv, version_recv);
} }
} else if (match_cmd(command, "_SETBURSTTODISKMASK", &params)) { } else if (match_cmd(command, "_SETBURSTTODISKMASK", &params)) {
// debug command! may change or disapear without notice // debug command! may change or disappear without notice
// set a mask which bursts to dump to disk // set a mask which bursts to dump to disk
int mask; int mask;
sscanf(params, "%d", &mask); sscanf(params, "%d", &mask);

View File

@ -216,7 +216,7 @@ private:
bool start(); bool start();
void stop(); void stop();
/** Protect destructor accessable stop call */ /** Protect destructor accessible stop call */
Mutex mLock; Mutex mLock;
protected: protected:

View File

@ -58,7 +58,7 @@ static void neon_conv_cmplx_4n(float *x, float *h, float *y, int h_len, int len)
} }
#endif #endif
/* API: Initalize convolve module */ /* API: Initialize convolve module */
void convolve_init(void) void convolve_init(void)
{ {
/* Stub */ /* Stub */

View File

@ -103,7 +103,7 @@ void free_fft(struct fft_hdl *hdl)
} }
/*! \brief Run multiple DFT operations with the initialized plan /*! \brief Run multiple DFT operations with the initialized plan
* \param[in] hdl handle to an intitialized fft struct * \param[in] hdl handle to an initialized fft struct
* *
* Input and output buffers are configured with init_fft(). * Input and output buffers are configured with init_fft().
*/ */

View File

@ -27,7 +27,7 @@
#include "config.h" #include "config.h"
#endif #endif
/* Architecture dependant function pointers */ /* Architecture dependent function pointers */
struct convert_cpu_context { struct convert_cpu_context {
void (*convert_si16_ps_16n) (float *, const short *, int); void (*convert_si16_ps_16n) (float *, const short *, int);
void (*convert_si16_ps) (float *, const short *, int); void (*convert_si16_ps) (float *, const short *, int);

View File

@ -27,7 +27,7 @@
#include "config.h" #include "config.h"
#endif #endif
/* Architecture dependant function pointers */ /* Architecture dependent function pointers */
struct convolve_cpu_context { struct convolve_cpu_context {
void (*conv_cmplx_4n) (const float *, int, const float *, int, float *, void (*conv_cmplx_4n) (const float *, int, const float *, int, float *,
int, int, int); int, int, int);
@ -66,7 +66,7 @@ int _base_convolve_complex(const float *x, int x_len,
int bounds_check(int x_len, int h_len, int y_len, int bounds_check(int x_len, int h_len, int y_len,
int start, int len); int start, int len);
/* API: Initalize convolve module */ /* API: Initialize convolve module */
void convolve_init(void) void convolve_init(void)
{ {
c.conv_cmplx_4n = (void *)_base_convolve_complex; c.conv_cmplx_4n = (void *)_base_convolve_complex;

View File

@ -1,7 +1,7 @@
/* /*
* Copyright 2008 Free Software Foundation, Inc. * Copyright 2008 Free Software Foundation, Inc.
* *
* This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribuion. * This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribution.
* *
* This use of this software may be subject to additional restrictions. * This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details. * See the LEGAL file in the main directory for details.

View File

@ -33,7 +33,7 @@
/* /*
Sample Buffer - Allows reading and writing of timed samples using osmo-trx Sample Buffer - Allows reading and writing of timed samples using osmo-trx
timestamps. Time conversions are handled timestamps. Time conversions are handled
internally or accessable through the static convert calls. internally or accessible through the static convert calls.
*/ */
class smpl_buf { class smpl_buf {
public: public:

View File

@ -624,7 +624,7 @@ void LMSDevice::update_stream_stats_rx(size_t chan, bool *overrun)
m_ctr[chan].rx_overruns += status.overrun; m_ctr[chan].rx_overruns += status.overrun;
/* Dropped packets in Rx are counted when gaps in Rx timestamps are /* Dropped packets in Rx are counted when gaps in Rx timestamps are
detected (likely because buffer oveflow in hardware). Value count detected (likely because buffer overflow in hardware). Value count
since the last call to LMS_GetStreamStatus(stream). */ since the last call to LMS_GetStreamStatus(stream). */
if (status.droppedPackets) { if (status.droppedPackets) {
changed = true; changed = true;

View File

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0+ * SPDX-License-Identifier: AGPL-3.0+
* *
* This software is distributed under multiple licenses; see the COPYING file in * This software is distributed under multiple licenses; see the COPYING file in
* the main directory for licensing information for this specific distribuion. * the main directory for licensing information for this specific distribution.
* *
* This use of this software may be subject to additional restrictions. * This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details. * See the LEGAL file in the main directory for details.

View File

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0+ * SPDX-License-Identifier: AGPL-3.0+
* *
* This software is distributed under multiple licenses; see the COPYING file in * This software is distributed under multiple licenses; see the COPYING file in
* the main directory for licensing information for this specific distribuion. * the main directory for licensing information for this specific distribution.
* *
* This use of this software may be subject to additional restrictions. * This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details. * See the LEGAL file in the main directory for details.

View File

@ -72,7 +72,7 @@ bool trxd_send_burst_ind_v0(size_t chan, int fd, const struct trx_ul_burst_ind *
if(bi->idle) if(bi->idle)
return true; return true;
/* +2: Historically (OpenBTS times), two extra non-used bytes are sent appeneded to each burst */ /* +2: Historically (OpenBTS times), two extra non-used bytes are sent appended to each burst */
char buf[sizeof(struct trxd_hdr_v0) + bi->nbits + 2]; char buf[sizeof(struct trxd_hdr_v0) + bi->nbits + 2];
struct trxd_hdr_v0* pkt = (struct trxd_hdr_v0*)buf; struct trxd_hdr_v0* pkt = (struct trxd_hdr_v0*)buf;

View File

@ -1,7 +1,7 @@
/* /*
* Copyright 2008 Free Software Foundation, Inc. * Copyright 2008 Free Software Foundation, Inc.
* *
* This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribuion. * This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribution.
* *
* This use of this software may be subject to additional restrictions. * This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details. * See the LEGAL file in the main directory for details.
@ -79,7 +79,7 @@ public:
bool start(); bool start();
bool stop(); bool stop();
/** intialization */ /** initialization */
virtual bool init(int type); virtual bool init(int type);
virtual void close(); virtual void close();

View File

@ -345,7 +345,7 @@ static signalVector *convolve(const signalVector *x, const signalVector *h,
_x = x; _x = x;
/* /*
* Four convovle types: * Four convolve types:
* 1. Complex-Real (aligned) * 1. Complex-Real (aligned)
* 2. Complex-Complex (aligned) * 2. Complex-Complex (aligned)
* 3. Complex-Real (!aligned) * 3. Complex-Real (!aligned)
@ -723,7 +723,7 @@ static signalVector *mapEdgeSymbols(const BitVector &bits)
* *
* Delay the EDGE downlink bursts by one symbol in order to match GMSK pulse * Delay the EDGE downlink bursts by one symbol in order to match GMSK pulse
* shaping group delay. The difference in group delay arises from the dual * shaping group delay. The difference in group delay arises from the dual
* pulse filter combination of the GMSK Laurent represenation whereas 8-PSK * pulse filter combination of the GMSK Laurent representation whereas 8-PSK
* uses a single pulse linear filter. * uses a single pulse linear filter.
*/ */
static signalVector *shapeEdgeBurst(const signalVector &symbols) static signalVector *shapeEdgeBurst(const signalVector &symbols)

View File

@ -1,7 +1,7 @@
/* /*
* Copyright 2008 Free Software Foundation, Inc. * Copyright 2008 Free Software Foundation, Inc.
* *
* This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribuion. * This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribution.
* *
* This use of this software may be subject to additional restrictions. * This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details. * See the LEGAL file in the main directory for details.

View File

@ -65,7 +65,7 @@ AC_PROG_LIBTOOL
dnl Checks for header files. dnl Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
dnl This is required for GnuRadio includes to understand endianess correctly: dnl This is required for GnuRadio includes to understand endianness correctly:
AC_CHECK_HEADERS([byteswap.h]) AC_CHECK_HEADERS([byteswap.h])
dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for typedefs, structures, and compiler characteristics.

View File

@ -15,7 +15,7 @@ substr() { [ -z "${2##*$1*}" ]; }
mychroot_nocwd() { mychroot_nocwd() {
# LC_ALL + LANGUAGE set to avoid lots of print errors due to locale not being set inside container # LC_ALL + LANGUAGE set to avoid lots of print errors due to locale not being set inside container
# PATH is needed to be able to reach binaries like ldconfig without logging in to root, which adds the paths to PATH. # PATH is needed to be able to reach binaries like ldconfig without logging in to root, which adds the paths to PATH.
# PROOT_NO_SECCOMP is requried due to proot bug #106 # PROOT_NO_SECCOMP is required due to proot bug #106
LC_ALL=C LANGUAGE=C PATH="$PATH:/usr/sbin:/sbin" PROOT_NO_SECCOMP=1 proot -r "$ROOTFS" -w / -b /proc --root-id -q qemu-arm-static "$@" LC_ALL=C LANGUAGE=C PATH="$PATH:/usr/sbin:/sbin" PROOT_NO_SECCOMP=1 proot -r "$ROOTFS" -w / -b /proc --root-id -q qemu-arm-static "$@"
} }

View File

@ -3,7 +3,7 @@
This section specifies the format of USB packets used for in-band data This section specifies the format of USB packets used for in-band data
transmission and signaling on the USRP1. All packets are 512-byte long, and are transmission and signaling on the USRP1. All packets are 512-byte long, and are
transfered using USB "bulk" transfers. transferred using USB "bulk" transfers.
IN packets are sent towards the host. OUT packets are sent away from the host. IN packets are sent towards the host. OUT packets are sent away from the host.

View File

@ -12,7 +12,7 @@ B200 family and Fairwaves UmTRX family, and used to be the default backend used
for legacy @osmo-trx@ binary when per-backend binaries didn't exist yet. for legacy @osmo-trx@ binary when per-backend binaries didn't exist yet.
Any device providing generic support for UHD should theoretically be able to be Any device providing generic support for UHD should theoretically be able to be
run through this backend without much effort, but pracitcal experience showed run through this backend without much effort, but practical experience showed
that some devices don't play well with it, such as the LimeSDR family of that some devices don't play well with it, such as the LimeSDR family of
devices, which showed far better results when using its native interface. devices, which showed far better results when using its native interface.

View File

@ -1196,7 +1196,7 @@
<command id='clock-ref (internal|external|gpsdo)'> <command id='clock-ref (internal|external|gpsdo)'>
<params> <params>
<param name='clock-ref' doc='Set the Reference Clock' /> <param name='clock-ref' doc='Set the Reference Clock' />
<param name='internal' doc='Enable internal referece (default)' /> <param name='internal' doc='Enable internal reference (default)' />
<param name='external' doc='Enable external 10 MHz reference' /> <param name='external' doc='Enable external 10 MHz reference' />
<param name='gpsdo' doc='Enable GPSDO reference' /> <param name='gpsdo' doc='Enable GPSDO reference' />
</params> </params>

View File

@ -146,9 +146,9 @@ struct test_vec
float *h; float *h;
float *y; float *y;
int x_len; /* Theses are in # of _floats_ ! */ int x_len; /* These are in # of _floats_ ! */
int h_len; /* Theses are in # of _floats_ ! */ int h_len; /* These are in # of _floats_ ! */
int y_len; /* Theses are in # of _floats_ ! */ int y_len; /* These are in # of _floats_ ! */
}; };
/* Reset test vectors */ /* Reset test vectors */