Browse Source

Fix common misspellings and typos

Change-Id: I4ec7accb1912c052b446be7c399bed32a8c62253
changes/87/15787/2
Martin Hauke 3 years ago committed by laforge
parent
commit
066fd04f47
  1. 2
      CommonLibs/BitVector.cpp
  2. 2
      CommonLibs/Interthread.h
  3. 2
      CommonLibs/LinkedLists.h
  4. 2
      CommonLibs/Threads.h
  5. 2
      CommonLibs/Timeval.h
  6. 2
      CommonLibs/Vector.h
  7. 2
      CommonLibs/trx_rate_ctr.cpp
  8. 2
      CommonLibs/trx_vty.c
  9. 2
      Transceiver52M/Channelizer.cpp
  10. 2
      Transceiver52M/ChannelizerBase.cpp
  11. 2
      Transceiver52M/ChannelizerBase.h
  12. 2
      Transceiver52M/Complex.h
  13. 4
      Transceiver52M/Resampler.h
  14. 2
      Transceiver52M/Transceiver.cpp
  15. 2
      Transceiver52M/Transceiver.h
  16. 2
      Transceiver52M/arch/arm/convolve.c
  17. 2
      Transceiver52M/arch/common/fft.c
  18. 2
      Transceiver52M/arch/x86/convert.c
  19. 4
      Transceiver52M/arch/x86/convolve.c
  20. 2
      Transceiver52M/device/common/radioDevice.h
  21. 2
      Transceiver52M/device/common/smpl_buf.h
  22. 2
      Transceiver52M/device/lms/LMSDevice.cpp
  23. 2
      Transceiver52M/device/lms/LMSDevice.h
  24. 2
      Transceiver52M/device/usrp1/USRPDevice.h
  25. 2
      Transceiver52M/proto_trxd.c
  26. 4
      Transceiver52M/radioInterface.h
  27. 4
      Transceiver52M/sigProcLib.cpp
  28. 2
      Transceiver52M/sigProcLib.h
  29. 2
      configure.ac
  30. 2
      contrib/jenkins.sh
  31. 2
      doc/manuals/chapters/device-usrp-inband-signaling-usb.adoc
  32. 2
      doc/manuals/chapters/trx-backends.adoc
  33. 2
      doc/manuals/vty/trx_vty_reference.xml
  34. 6
      tests/Transceiver52M/convolve_test.c

2
CommonLibs/BitVector.cpp

@ -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 poly The polynomial.
@param order The order of the polynomial.

2
CommonLibs/Interthread.h

@ -47,7 +47,7 @@
// (pat) The elements in the queue are type T*, and
// the Fifo class implements the underlying queue.
// 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,
// which must implement the functional interface of class SingleLinkListNode,
// namely: functions T*next() and void setNext(T*).

2
CommonLibs/LinkedLists.h

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0+
*
* 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.
* See the COPYING file in the main directory for details.

2
CommonLibs/Threads.h

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

2
CommonLibs/Timeval.h

@ -84,7 +84,7 @@ class Timeval {
uint32_t usec() const { return mTimespec.tv_nsec / 1000; }
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;
/** Elapsed time in ms. */

2
CommonLibs/Vector.h

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

2
CommonLibs/trx_rate_ctr.cpp

@ -38,7 +38,7 @@
* 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
* 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
* <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

2
CommonLibs/trx_vty.c

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

2
Transceiver52M/Channelizer.cpp

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

2
Transceiver52M/ChannelizerBase.cpp

@ -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)
: subFilters(NULL), hInputs(NULL), hOutputs(NULL), hist(NULL),

2
Transceiver52M/ChannelizerBase.h

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

2
Transceiver52M/Complex.h

@ -5,7 +5,7 @@ unlike the built-in complex<> templates, these inline most operations for speed
/*
* 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.
* See the LEGAL file in the main directory for details.

4
Transceiver52M/Resampler.h

@ -35,12 +35,12 @@ public:
Resampler(size_t p, size_t q, size_t filt_len = 16);
~Resampler();
/* Initilize resampler filterbank.
/* Initialize resampler filterbank.
* @param bw bandwidth factor on filter generation (pre-window)
* @return false on error, zero otherwise
*
* 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.
* Calculation of specific rolloff factors or 3-dB cutoff points is
* left as an excersize for the reader.

2
Transceiver52M/Transceiver.cpp

@ -909,7 +909,7 @@ bool Transceiver::driveControl(size_t chan)
sprintf(response, "RSP SETFORMAT %u %u", version_recv, version_recv);
}
} 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
int mask;
sscanf(params, "%d", &mask);

2
Transceiver52M/Transceiver.h

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

2
Transceiver52M/arch/arm/convolve.c

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

2
Transceiver52M/arch/common/fft.c

@ -103,7 +103,7 @@ void free_fft(struct fft_hdl *hdl)
}
/*! \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().
*/

2
Transceiver52M/arch/x86/convert.c

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

4
Transceiver52M/arch/x86/convolve.c

@ -27,7 +27,7 @@
#include "config.h"
#endif
/* Architecture dependant function pointers */
/* Architecture dependent function pointers */
struct convolve_cpu_context {
void (*conv_cmplx_4n) (const float *, int, const float *, int, float *,
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 start, int len);
/* API: Initalize convolve module */
/* API: Initialize convolve module */
void convolve_init(void)
{
c.conv_cmplx_4n = (void *)_base_convolve_complex;

2
Transceiver52M/device/common/radioDevice.h

@ -1,7 +1,7 @@
/*
* 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.
* See the LEGAL file in the main directory for details.

2
Transceiver52M/device/common/smpl_buf.h

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

2
Transceiver52M/device/lms/LMSDevice.cpp

@ -624,7 +624,7 @@ void LMSDevice::update_stream_stats_rx(size_t chan, bool *overrun)
m_ctr[chan].rx_overruns += status.overrun;
/* 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). */
if (status.droppedPackets) {
changed = true;

2
Transceiver52M/device/lms/LMSDevice.h

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0+
*
* 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.
* See the LEGAL file in the main directory for details.

2
Transceiver52M/device/usrp1/USRPDevice.h

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0+
*
* 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.
* See the LEGAL file in the main directory for details.

2
Transceiver52M/proto_trxd.c

@ -72,7 +72,7 @@ bool trxd_send_burst_ind_v0(size_t chan, int fd, const struct trx_ul_burst_ind *
if(bi->idle)
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];
struct trxd_hdr_v0* pkt = (struct trxd_hdr_v0*)buf;

4
Transceiver52M/radioInterface.h

@ -1,7 +1,7 @@
/*
* 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.
* See the LEGAL file in the main directory for details.
@ -79,7 +79,7 @@ public:
bool start();
bool stop();
/** intialization */
/** initialization */
virtual bool init(int type);
virtual void close();

4
Transceiver52M/sigProcLib.cpp

@ -345,7 +345,7 @@ static signalVector *convolve(const signalVector *x, const signalVector *h,
_x = x;
/*
* Four convovle types:
* Four convolve types:
* 1. Complex-Real (aligned)
* 2. Complex-Complex (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
* 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.
*/
static signalVector *shapeEdgeBurst(const signalVector &symbols)

2
Transceiver52M/sigProcLib.h

@ -1,7 +1,7 @@
/*
* 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.
* See the LEGAL file in the main directory for details.

2
configure.ac

@ -65,7 +65,7 @@ AC_PROG_LIBTOOL
dnl Checks for header files.
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])
dnl Checks for typedefs, structures, and compiler characteristics.

2
contrib/jenkins.sh

@ -15,7 +15,7 @@ substr() { [ -z "${2##*$1*}" ]; }
mychroot_nocwd() {
# 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.
# 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 "$@"
}

2
doc/manuals/chapters/device-usrp-inband-signaling-usb.adoc

@ -3,7 +3,7 @@
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
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.

2
doc/manuals/chapters/trx-backends.adoc

@ -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.
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
devices, which showed far better results when using its native interface.

2
doc/manuals/vty/trx_vty_reference.xml

@ -1196,7 +1196,7 @@
<command id='clock-ref (internal|external|gpsdo)'>
<params>
<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='gpsdo' doc='Enable GPSDO reference' />
</params>

6
tests/Transceiver52M/convolve_test.c

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

Loading…
Cancel
Save