laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/15788 )

Change subject: Fix common misspellings and typos
......................................................................

Fix common misspellings and typos

Change-Id: I403b9029f57fec3fdec2c1e2cbeac0f6eab53f24
---
M README.md
M doc/control_interface.txt
M doc/manuals/abis/rsl.adoc
M doc/manuals/chapters/bts-models.adoc
M doc/manuals/chapters/configuration.adoc
M doc/manuals/chapters/overview.adoc
M doc/manuals/rtp-amr.adoc
M doc/startup.txt
M include/osmo-bts/gsm_data_shared.h
M src/common/abis.c
M src/common/bts.c
M src/common/cbch.c
M src/common/handover.c
M src/common/l1sap.c
M src/common/load_indication.c
M src/common/measurement.c
M src/common/pcu_sock.c
M src/common/rsl.c
M src/common/scheduler.c
M src/osmo-bts-litecell15/calib_file.c
M src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
M src/osmo-bts-litecell15/misc/lc15bts_misc.c
M src/osmo-bts-litecell15/oml.c
M src/osmo-bts-oc2g/calib_file.c
M src/osmo-bts-oc2g/l1_if.c
M src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c
M src/osmo-bts-oc2g/misc/oc2gbts_misc.c
M src/osmo-bts-oc2g/oml.c
M src/osmo-bts-octphy/l1_if.c
M src/osmo-bts-octphy/l1_oml.c
M src/osmo-bts-octphy/octphy_vty.c
M src/osmo-bts-octphy/octpkt.c
M src/osmo-bts-sysmo/eeprom.c
M src/osmo-bts-sysmo/misc/sysmobts-layer1.c
M src/osmo-bts-sysmo/misc/sysmobts_mgr.c
M src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c
M src/osmo-bts-sysmo/misc/sysmobts_misc.c
M src/osmo-bts-sysmo/oml.c
M src/osmo-bts-sysmo/sysmobts_ctrl.c
M src/osmo-bts-trx/trx_if.c
M src/osmo-bts-virtual/l1_if.c
M src/osmo-bts-virtual/scheduler_virtbts.c
M tests/meas/meas_test.c
M tests/tx_power/tx_power_test.c
44 files changed, 178 insertions(+), 178 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/README.md b/README.md
index eaff165..965744f 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@
 as well as a
 [VTY Reference 
Manual](http://ftp.osmocom.org/docs/latest/osmobsc-vty-reference.pdf)
 and a
-[Abis refrence MAnual](http://ftp.osmocom.org/docs/latest/osmobts-abis.pdf)
+[Abis reference MAnual](http://ftp.osmocom.org/docs/latest/osmobts-abis.pdf)
 describing the OsmoBTS specific A-bis dialect.

 Mailing List
diff --git a/doc/control_interface.txt b/doc/control_interface.txt
index 5ad9717..dd3dba2 100644
--- a/doc/control_interface.txt
+++ b/doc/control_interface.txt
@@ -4,7 +4,7 @@

 h3. trx.0.thermal-attenuation

-The idea of this paramter is to attenuate the system output power as part of
+The idea of this parameter is to attenuate the system output power as part of
 thermal management.  In some cases the PA might be passing a critical level,
 so an external control process can use this attribute to reduce the system
 output power.
diff --git a/doc/manuals/abis/rsl.adoc b/doc/manuals/abis/rsl.adoc
index 86beaa2..4d7e430 100644
--- a/doc/manuals/abis/rsl.adoc
+++ b/doc/manuals/abis/rsl.adoc
@@ -346,7 +346,7 @@
 In the classic data model established by ETSI/3GPP for A-bis, each
 timeslot (channel) is configured using a static channel combination by
 means of A-bis OML.  Particularly in presence of GPRS services, this
-is very unflexible and leads to inefficient use of air interface
+is very inflexible and leads to inefficient use of air interface
 resources.

 As such, several methods have been implemented to overcome this
diff --git a/doc/manuals/chapters/bts-models.adoc 
b/doc/manuals/chapters/bts-models.adoc
index 31c5147..4b48d4b 100644
--- a/doc/manuals/chapters/bts-models.adoc
+++ b/doc/manuals/chapters/bts-models.adoc
@@ -443,7 +443,7 @@
 as in the GSM network architecture provides almost all relevant
 configuration to the BTS from the BSC.

-An example configuratin file is provided as part of the osmo-bts source
+An example configuration file is provided as part of the osmo-bts source
 code: `doc/examples/virtual/osmobts-virtual.cfg`

 For more information see
diff --git a/doc/manuals/chapters/configuration.adoc 
b/doc/manuals/chapters/configuration.adoc
index 558bd4b..2b78620 100644
--- a/doc/manuals/chapters/configuration.adoc
+++ b/doc/manuals/chapters/configuration.adoc
@@ -14,7 +14,7 @@

 === Command Line Options

-Ths OsmoBTS executables (`osmo-bts-sysmo`, `osmo-bts-trx`,
+The OsmoBTS executables (`osmo-bts-sysmo`, `osmo-bts-trx`,
 `osmo-bts-octphy`, `osmo-bts-litecell15`, ...) share the following
 generic command line options:

diff --git a/doc/manuals/chapters/overview.adoc 
b/doc/manuals/chapters/overview.adoc
index 6b6b828..0dff16a 100644
--- a/doc/manuals/chapters/overview.adoc
+++ b/doc/manuals/chapters/overview.adoc
@@ -38,7 +38,7 @@
 OsmoNITB, as can be seen in the following figures.

 [[fig-gsm-classic]]
-.Classic GSM archtiecture using OsmoBTS with OsmoBTS components
+.Classic GSM architecture using OsmoBTS with OsmoBTS components
 [graphviz]
 ----
 digraph G {
diff --git a/doc/manuals/rtp-amr.adoc b/doc/manuals/rtp-amr.adoc
index 5a36aea..75f0e01 100644
--- a/doc/manuals/rtp-amr.adoc
+++ b/doc/manuals/rtp-amr.adoc
@@ -95,10 +95,10 @@
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (SID_FIRST)"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

@@ -110,10 +110,10 @@
        bts -x mgw      [label="Suppressed RTP frame"];


-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (SID_UPDATE)"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];
 }
@@ -123,7 +123,7 @@
 the SID_FIRST frame is immediately followed by a speech frame. It has been 
observed that some phone
 does not transmit the last 4 bursts even if it is not followed by a speech 
frame.

-ULSU2:: There must be exactly two supressed voice frames between the
+ULSU2:: There must be exactly two suppressed voice frames between the
 SID_FIRST and the SID_UPDATE, i.e. there's 60ms between SID_FIRST and
 SID_UPDATE.

@@ -152,52 +152,52 @@
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (SID_UPDATE)"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

@@ -208,10 +208,10 @@
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (SID_UPDATE)"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];
 }
@@ -254,10 +254,10 @@
        ...;
        ---             [label="Once voice is active again"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

@@ -345,10 +345,10 @@
        ...;
        ---             [label="FACCH/F Frame During DTX"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

@@ -368,10 +368,10 @@
        phy => bts      [label="PH-DATA.ind FACCH/F"];
        bts => mgw      [label="FACCH/F"];

-       ms -x phy       [label="Supressed L1 burst", id="ULSF2"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst", id="ULSF2"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (SID_FIRST)"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];
        ...;
@@ -382,7 +382,7 @@
 information bits are contained in sub-blocks 1-4 only

 Note:: It has been observed with some phones that the SID_FIRST is not sent 
following the FACCH/F
-frame. If this case occures the No Data Frame and SID_UPDATE order resumes.
+frame. If this case occurs the No Data Frame and SID_UPDATE order resumes.

 === TCH/AFS Downlink (Network to MS)

@@ -660,10 +660,10 @@
        phy => bts      [label="PH-RTS.ind (TCH)"];
        phy <= bts      [label="PH-EMPTY-FRAME.req (FACCH/F)"];
        phy <= bts      [label="PH-EMPTY-FRAME.req (TCH/F)"];
-       ms x- phy       [label="Supressed burst"];
-       ms x- phy       [label="Supressed burst"];
-       ms x- phy       [label="Supressed burst"];
-       ms x- phy       [label="Supressed burst"];
+       ms x- phy       [label="Suppressed burst"];
+       ms x- phy       [label="Suppressed burst"];
+       ms x- phy       [label="Suppressed burst"];
+       ms x- phy       [label="Suppressed burst"];
 }
 ----

@@ -738,8 +738,8 @@
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (N)"];
        bts => mgw      [label="RTP (AMR FT=0..7,Q=1)"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr_SidFirstP1", 
id="ULSF1"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];

@@ -753,8 +753,8 @@
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (SID_UPDATE)"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];
 }
@@ -764,7 +764,7 @@

 NOTE:: It has been observed that not all phones transmit SID_FIRST_P2 so the 
PH-DATA.ind GsmL1_TchPlType_Amr_SidFirstP2 is not guaranteed to be sent to the 
BTS.

-ULSU1:: There must be exactly two supressed voice frames between the
+ULSU1:: There must be exactly two suppressed voice frames between the
 SID_FIRST and the SID_UPDATE, i.e. there's 60ms between SID_FIRST and
 SID_UPDATE.

@@ -795,33 +795,33 @@
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (SID_UPDATE)"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

@@ -834,8 +834,8 @@
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr (SID_UPDATE)"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];
 }
@@ -999,8 +999,8 @@
        ...;
        ms .. mgw       [label="FACCH/H during DTX operation"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

@@ -1026,8 +1026,8 @@
        phy => bts      [label="PH-DATA.ind with empty payload"];
        bts -x mgw      [label="Suppressed RTP frame"];

-       ms -x phy       [label="Supressed L1 burst"];
-       ms -x phy       [label="Supressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
+       ms -x phy       [label="Suppressed L1 burst"];
        phy => bts      [label="PH-DATA.ind GsmL1_TchPlType_Amr_SidFirstP1"];
        bts => mgw      [label="RTP (AMR FT=SID,Q=1)"];
 }
diff --git a/doc/startup.txt b/doc/startup.txt
index 50766e4..c60cc0a 100644
--- a/doc/startup.txt
+++ b/doc/startup.txt
@@ -22,7 +22,7 @@
 | common | bts_controlif_setup() | Initialization of Control Interface
 | bts-specific | bts_model_ctrl_cmds_install()
 | common | telnet_init() | Initialization of telnet interface
-| common | pcu_sock_init() | Initializaiton of PCU socket
+| common | pcu_sock_init() | Initialization of PCU socket
 | common | main() | Installation of signal handlers
 | common | abis_open() | Start of the A-bis connection to BSC
 | common | phy_links_open() | Iterate over list of configured PHY links
diff --git a/include/osmo-bts/gsm_data_shared.h 
b/include/osmo-bts/gsm_data_shared.h
index 5d8bc76..1445ed2 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -250,7 +250,7 @@
        } si;
        struct {
                uint8_t flags;
-               /* RSL measurment result number, 0 at lchan_act */
+               /* RSL measurement result number, 0 at lchan_act */
                uint8_t res_nr;
                /* current Tx power level of the BTS */
                uint8_t bts_tx_pwr;
@@ -556,7 +556,7 @@
        /* list header in net->bts_list */
        struct llist_head list;

-       /* number of ths BTS in network */
+       /* number of the BTS in network */
        uint8_t nr;
        /* human readable name / description */
        char *description;
@@ -622,7 +622,7 @@
        /* is SI3 GPRS Indicator currently disabled due to lack of PCU 
connection? */
        bool si3_gprs_ind_disabled;

-       /* ip.accesss Unit ID's have Site/BTS/TRX layout */
+       /* ip.access Unit ID's have Site/BTS/TRX layout */
        union {
                struct {
                        uint16_t site_id;
@@ -765,7 +765,7 @@
        struct bts_smscb_state smscb_extended;
        int smscb_queue_tgt_len; /* ideal/target queue length */
        int smscb_queue_max_len; /* maximum queue length */
-       int smscb_queue_hyst; /* hysteresis for CBCH laod indications */
+       int smscb_queue_hyst; /* hysteresis for CBCH load indications */

        int16_t min_qual_rach;  /* minimum link quality (in centiBels) for 
Access Bursts */
        int16_t min_qual_norm;  /* minimum link quality (in centiBels) for 
Normal Bursts */
diff --git a/src/common/abis.c b/src/common/abis.c
index 84a3a04..24eb8a1 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -173,7 +173,7 @@
 }


-/* callback for incoming mesages from A-bis/IP */
+/* callback for incoming messages from A-bis/IP */
 static int sign_link_cb(struct msgb *msg)
 {
        struct e1inp_sign_link *link = msg->dst;
@@ -212,7 +212,7 @@
                return 0;
        }

-       /* we assume that the soket is AF_INET.  As Abis/IP contains
+       /* we assume that the socket is AF_INET.  As Abis/IP contains
         * lots of hard-coded IPv4 addresses, this safe */
        OSMO_ASSERT(sin.sin_family == AF_INET);

@@ -270,7 +270,7 @@
 {
        struct e1inp_line *line;

-       /* patch in various data from VTY and othe sources */
+       /* patch in various data from VTY and other sources */
        line_ops.cfg.ipa.addr = dst_host;
        osmo_get_macaddr(bts_dev_info.mac_addr, "eth0");
        bts_dev_info.site_id = bts->ip_access.site_id;
diff --git a/src/common/bts.c b/src/common/bts.c
index 73631ae..60e27cc 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -292,7 +292,7 @@
                bts_model_trx_close(trx);
        }

-       /* shedule a timer to make sure select loop logic can run again
+       /* schedule a timer to make sure select loop logic can run again
         * to dispatch any pending primitives */
        osmo_timer_schedule(&shutdown_timer, 3, 0);
 }
@@ -591,7 +591,7 @@
                return 0;

        /* GSM 08.58, 5.7
-        * -> The BTS may combine serveral IMM.ASS.REJ messages
+        * -> The BTS may combine several IMM.ASS.REJ messages
         * -> Identical request refs in one message may be squeezed
         *
         * GSM 04.08, 9.1.20.2
@@ -669,7 +669,7 @@
 /*
  * Remove lower prio messages if the queue has grown too long.
  *
- * \return 0 iff the number of messages in the queue would fit into the AGCH
+ * \return 0 if the number of messages in the queue would fit into the AGCH
  *         reserved part of the CCCH.
  */
 static void compact_agch_queue(struct gsm_bts *bts)
diff --git a/src/common/cbch.c b/src/common/cbch.c
index 7ed11c2..ebea60b 100644
--- a/src/common/cbch.c
+++ b/src/common/cbch.c
@@ -38,7 +38,7 @@
        uint8_t num_segs;               /* total number of segments */
 };

-/* determine if current queue length differes more than permitted hysteresis 
from target
+/* determine if current queue length differs more than permitted hysteresis 
from target
  * queue length. If it does, send CBCH LOAD IND */
 static void check_and_send_cbch_load(struct gsm_bts *bts, struct 
bts_smscb_state *bts_ss)
 {
diff --git a/src/common/handover.c b/src/common/handover.c
index 63a9832..b615932 100644
--- a/src/common/handover.c
+++ b/src/common/handover.c
@@ -135,7 +135,7 @@
        osmo_timer_schedule(&lchan->ho.t3105, 0, bts->t3105_ms * 1000);
 }

-/* received frist valid data frame on dedicated channel */
+/* received first valid data frame on dedicated channel */
 void handover_frame(struct gsm_lchan *lchan)
 {
        LOGPLCHAN(lchan, DHO, LOGL_INFO, "First valid frame detected\n");
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 7c54380..c68dc79 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -160,7 +160,7 @@
 }

 /* allocate a msgb containing a osmo_phsap_prim + optional l2 data
- * in order to wrap femtobts header arround l2 data, there must be enough space
+ * in order to wrap femtobts header around l2 data, there must be enough space
  * in front and behind data pointer */
 struct msgb *l1sap_msgb_alloc(unsigned int l2_len)
 {
@@ -664,7 +664,7 @@
        return 0;
 }

-/* any L1 MPH_INFO indication prim recevied from bts model */
+/* any L1 MPH_INFO indication prim received from bts model */
 static int l1sap_mph_info_ind(struct gsm_bts_trx *trx,
         struct osmo_phsap_prim *l1sap, struct mph_info_param *info)
 {
@@ -738,7 +738,7 @@
        return 0;
 }

-/* any L1 MPH_INFO confirm prim recevied from bts model */
+/* any L1 MPH_INFO confirm prim received from bts model */
 static int l1sap_mph_info_cnf(struct gsm_bts_trx *trx,
         struct osmo_phsap_prim *l1sap, struct mph_info_param *info)
 {
@@ -798,7 +798,7 @@
 int is_ccch_for_agch(struct gsm_bts_trx *trx, uint32_t fn) {
        /* Note: The number of available access grant channels is set by the
         * parameter BS_AG_BLKS_RES via system information type 3. This SI is
-        * transfered to osmo-bts via RSL */
+        * transferred to osmo-bts via RSL */
         return l1sap_fn2ccch_block(fn) < num_agch(trx, "PH-RTS-IND");
 }

@@ -1008,7 +1008,7 @@
        return true;
 }

-/* TCH-RTS-IND prim recevied from bts model */
+/* TCH-RTS-IND prim received from bts model */
 static int l1sap_tch_rts_ind(struct gsm_bts_trx *trx,
        struct osmo_phsap_prim *l1sap, struct ph_tch_param *rts_ind)
 {
diff --git a/src/common/load_indication.c b/src/common/load_indication.c
index fa4745b..8d9b56f 100644
--- a/src/common/load_indication.c
+++ b/src/common/load_indication.c
@@ -52,7 +52,7 @@
                uint16_t buffer_space = paging_buffer_space(bts->paging_state);
                rsl_tx_ccch_load_ind_pch(bts, buffer_space);
        } else {
-               /* This is an extenstion of TS 08.58.  We don't only
+               /* This is an extension of TS 08.58.  We don't only
                 * send load indications if the load is above threshold,
                 * but we also explicitly indicate that we are below
                 * threshold by using the magic value 0xffff */
diff --git a/src/common/measurement.c b/src/common/measurement.c
index c2001da..12fd779 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -340,7 +340,7 @@
        }

        /* We expect the lower layers to mark AMR SID_UPDATE frames already as 
such.
-        * In this function, we only deal with the comon logic as per the TS 
45.008 tables */
+        * In this function, we only deal with the common logic as per the TS 
45.008 tables */
        if (!ulm->is_sub)
                ulm->is_sub = ts45008_83_is_sub(lchan, fn, false);

@@ -698,7 +698,7 @@

        lchan->meas.num_ul_meas = 0;

-       /* return 1 to indicte that the computation has been done and the next
+       /* return 1 to indicate that the computation has been done and the next
         * interval begins. */
        return 1;
 }
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index 51f72d8..9fc1d4d 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -909,7 +909,7 @@
        return rc;
 }

-/* accept connection comming from PCU */
+/* accept connection coming from PCU */
 static int pcu_sock_accept(struct osmo_fd *bfd, unsigned int flags)
 {
        struct pcu_sock_state *state = (struct pcu_sock_state *)bfd->data;
diff --git a/src/common/rsl.c b/src/common/rsl.c
index c0d43d0..de51e6f 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -285,7 +285,7 @@
 }

 /*
- * common channel releated messages
+ * common channel related messages
  */

 /* 8.5.1 BCCH INFOrmation is received */
@@ -571,7 +571,7 @@
  *  \param[out] buf Output buffer, must be caller-allocated and hold at least 
len + 2 or sizeof(sysinfo_buf_t) bytes
  *  \param[out] valid pointer to bit-mask of 'valid' System information types
  *  \param[in] current input data (L3 without L2/L1 header)
- *  \param[in] osmo_si Sytstem Infrormation Type (SYSINFO_TYPE_*)
+ *  \param[in] osmo_si Sytstem Information Type (SYSINFO_TYPE_*)
  *  \param[in] len length of \a current in octets */
 static inline void lapdm_ui_prefix(uint8_t *buf, uint32_t *valid, const 
uint8_t *current, uint8_t osmo_si, uint16_t len)
 {
@@ -593,7 +593,7 @@
 /*! Prefix a given SACCH frame with a L2/LAPDm UI header and store it in given 
BTS SACCH buffer
  *  \param[out] bts BTS in whose System Information State we shall store
  *  \param[in] current input data (L3 without L2/L1 header)
- *  \param[in] osmo_si Sytstem Infrormation Type (SYSINFO_TYPE_*)
+ *  \param[in] osmo_si Sytstem Information Type (SYSINFO_TYPE_*)
  *  \param[in] len length of \a current in octets */
 static inline void lapdm_ui_prefix_bts(struct gsm_bts *bts, const uint8_t 
*current, uint8_t osmo_si, uint16_t len)
 {
@@ -603,7 +603,7 @@
 /*! Prefix a given SACCH frame with a L2/LAPDm UI header and store it in given 
lchan SACCH buffer
  *  \param[out] lchan Logical Channel in whose System Information State we 
shall store
  *  \param[in] current input data (L3 without L2/L1 header)
- *  \param[in] osmo_si Sytstem Infrormation Type (SYSINFO_TYPE_*)
+ *  \param[in] osmo_si Sytstem Information Type (SYSINFO_TYPE_*)
  *  \param[in] len length of \a current in octets */
 static inline void lapdm_ui_prefix_lchan(struct gsm_lchan *lchan, const 
uint8_t *current, uint8_t osmo_si, uint16_t len)
 {
diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 19fec32..3adfc49 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -896,7 +896,7 @@
                rc = l1sap_up(l1t->trx, l1sap);
        }

-       /* dont send, if TCH is in signalling only mode */
+       /* don't send, if TCH is in signalling only mode */
        if (l1ts->chan_state[chan].rsl_cmode != RSL_CMOD_SPD_SIGN) {
                /* generate prim */
                msg = l1sap_msgb_alloc(200);
@@ -1266,7 +1266,7 @@
         * There are several TDMA frames between the last processed
         * frame and currently received one. Let's walk through this
         * path and count potentially lost frames, i.e. for which
-        * we didn't receive the corresponsing UL bursts.
+        * we didn't receive the corresponding UL bursts.
         *
         * Start counting from the last_fn + 1.
         */
diff --git a/src/osmo-bts-litecell15/calib_file.c 
b/src/osmo-bts-litecell15/calib_file.c
index b7049df..2641552 100644
--- a/src/osmo-bts-litecell15/calib_file.c
+++ b/src/osmo-bts-litecell15/calib_file.c
@@ -317,7 +317,7 @@
        fseek(st->fp, 0L, SEEK_END);
        sz = ftell(st->fp);

-       /* rewind read poiner */
+       /* rewind read pointer */
        fseek(st->fp, 0L, SEEK_SET);

        /* read file */
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c 
b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
index 80751fb..424ff18 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
@@ -584,39 +584,39 @@
                lc15bts_mgr_sensor_get_state(s_mgr->state.state), VTY_NEWLINE);
        vty_out(vty, "Current Temperatures%s", VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_SUPPLY, &temp);
-       vty_out(vty, " Main Supply : %4.2f Celcius%s",
+       vty_out(vty, " Main Supply : %4.2f Celsius%s",
                 temp/ 1000.0f,
                VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_SOC, &temp);
-       vty_out(vty, " SoC         : %4.2f Celcius%s",
+       vty_out(vty, " SoC         : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_FPGA, &temp);
-       vty_out(vty, " FPGA        : %4.2f Celcius%s",
+       vty_out(vty, " FPGA        : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_RMSDET, &temp);
-       vty_out(vty, " RMSDet      : %4.2f Celcius%s",
+       vty_out(vty, " RMSDet      : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_OCXO, &temp);
-       vty_out(vty, " OCXO        : %4.2f Celcius%s",
+       vty_out(vty, " OCXO        : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_TX0, &temp);
-       vty_out(vty, " TX 0        : %4.2f Celcius%s",
+       vty_out(vty, " TX 0        : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_TX1, &temp);
-       vty_out(vty, " TX 1        : %4.2f Celcius%s",
+       vty_out(vty, " TX 1        : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_PA0, &temp);
-       vty_out(vty, " Power Amp #0: %4.2f Celcius%s",
+       vty_out(vty, " Power Amp #0: %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        lc15bts_temp_get(LC15BTS_TEMP_PA1, &temp);
-       vty_out(vty, " Power Amp #1: %4.2f Celcius%s",
+       vty_out(vty, " Power Amp #1: %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);

diff --git a/src/osmo-bts-litecell15/misc/lc15bts_misc.c 
b/src/osmo-bts-litecell15/misc/lc15bts_misc.c
index 2cedc5d..467b9d0 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_misc.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_misc.c
@@ -363,7 +363,7 @@
        case LC15BTS_FW_DSP1:
                fd = open(fw_sysfs[type], O_WRONLY);
                if (fd < 0) {
-                       LOGP(DFW, LOGL_ERROR, "unable ot open firmware device 
%s: %s\n",
+                       LOGP(DFW, LOGL_ERROR, "unable to open firmware device 
%s: %s\n",
                        fw_sysfs[type], strerror(errno));
                        close(fd);
                        return fd;
diff --git a/src/osmo-bts-litecell15/oml.c b/src/osmo-bts-litecell15/oml.c
index f084f1b..edc49ec 100644
--- a/src/osmo-bts-litecell15/oml.c
+++ b/src/osmo-bts-litecell15/oml.c
@@ -1724,7 +1724,7 @@
                        power_ramp_start(trx, get_p_target_mdBm(trx, 0), 0);
        }

-       /* FIXME: we actaully need to send a ACK or NACK for the OML message */
+       /* FIXME: we actually need to send a ACK or NACK for the OML message */
        return oml_fom_ack_nack(msg, 0);
 }

diff --git a/src/osmo-bts-oc2g/calib_file.c b/src/osmo-bts-oc2g/calib_file.c
index 6d2d561..22122ab 100644
--- a/src/osmo-bts-oc2g/calib_file.c
+++ b/src/osmo-bts-oc2g/calib_file.c
@@ -307,7 +307,7 @@
        fseek(st->fp, 0L, SEEK_END);
        sz = ftell(st->fp);

-       /* rewind read poiner */
+       /* rewind read pointer */
        fseek(st->fp, 0L, SEEK_SET);

        /* read file */
diff --git a/src/osmo-bts-oc2g/l1_if.c b/src/osmo-bts-oc2g/l1_if.c
index d8be2d6..425fd0d 100644
--- a/src/osmo-bts-oc2g/l1_if.c
+++ b/src/osmo-bts-oc2g/l1_if.c
@@ -1533,7 +1533,7 @@
        return 0;
 }

-/* FIXME: This delays the TRX initalization by 5 sec in order to avoid the
+/* FIXME: This delays the TRX initialization by 5 sec in order to avoid the
  * occurrence of a race condition in the OML bringup. This a work around and
  * should be fixed properly. See also OS#3782, OS#2470 and OS#2469 */
 void l1if_reset_cb(void *arg)
diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c 
b/src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c
index 7e80e03..9693eab 100644
--- a/src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c
+++ b/src/osmo-bts-oc2g/misc/oc2gbts_mgr_vty.c
@@ -512,35 +512,35 @@
                oc2gbts_mgr_sensor_get_state(s_mgr->state.state), VTY_NEWLINE);
        vty_out(vty, "Current Temperatures%s", VTY_NEWLINE);
        oc2gbts_temp_get(OC2GBTS_TEMP_SUPPLY, &temp);
-       vty_out(vty, " Main Supply : %4.2f Celcius%s",
+       vty_out(vty, " Main Supply : %4.2f Celsius%s",
                 temp/ 1000.0f,
                VTY_NEWLINE);
        oc2gbts_temp_get(OC2GBTS_TEMP_SOC, &temp);
-       vty_out(vty, " SoC         : %4.2f Celcius%s",
+       vty_out(vty, " SoC         : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        oc2gbts_temp_get(OC2GBTS_TEMP_FPGA, &temp);
-       vty_out(vty, " FPGA        : %4.2f Celcius%s",
+       vty_out(vty, " FPGA        : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        if (oc2gbts_option_get(OC2GBTS_OPTION_RMS_FWD) ||
                        oc2gbts_option_get(OC2GBTS_OPTION_RMS_REFL)) {
                oc2gbts_temp_get(OC2GBTS_TEMP_RMSDET, &temp);
-               vty_out(vty, " RMSDet      : %4.2f Celcius%s",
+               vty_out(vty, " RMSDet      : %4.2f Celsius%s",
                        temp / 1000.0f,
                        VTY_NEWLINE);
        }
        oc2gbts_temp_get(OC2GBTS_TEMP_OCXO, &temp);
-       vty_out(vty, " OCXO        : %4.2f Celcius%s",
+       vty_out(vty, " OCXO        : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        oc2gbts_temp_get(OC2GBTS_TEMP_TX, &temp);
-       vty_out(vty, " TX          : %4.2f Celcius%s",
+       vty_out(vty, " TX          : %4.2f Celsius%s",
                temp / 1000.0f,
                VTY_NEWLINE);
        if (oc2gbts_option_get(OC2GBTS_OPTION_PA_TEMP)) {
                oc2gbts_temp_get(OC2GBTS_TEMP_PA, &temp);
-               vty_out(vty, " Power Amp   : %4.2f Celcius%s",
+               vty_out(vty, " Power Amp   : %4.2f Celsius%s",
                        temp / 1000.0f,
                        VTY_NEWLINE);
        }
diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_misc.c 
b/src/osmo-bts-oc2g/misc/oc2gbts_misc.c
index bacf07b..0d31f0b 100644
--- a/src/osmo-bts-oc2g/misc/oc2gbts_misc.c
+++ b/src/osmo-bts-oc2g/misc/oc2gbts_misc.c
@@ -361,7 +361,7 @@
        case OC2GBTS_FW_DSP:
                fd = open(fw_sysfs[type], O_WRONLY);
                if (fd < 0) {
-                       LOGP(DFW, LOGL_ERROR, "unable ot open firmware device 
%s: %s\n",
+                       LOGP(DFW, LOGL_ERROR, "unable to open firmware device 
%s: %s\n",
                        fw_sysfs[type], strerror(errno));
                        close(fd);
                        return fd;
diff --git a/src/osmo-bts-oc2g/oml.c b/src/osmo-bts-oc2g/oml.c
index 3202409..567dd52 100644
--- a/src/osmo-bts-oc2g/oml.c
+++ b/src/osmo-bts-oc2g/oml.c
@@ -1869,7 +1869,7 @@

        }

-       /* FIXME: we actaully need to send a ACK or NACK for the OML message */
+       /* FIXME: we actually need to send a ACK or NACK for the OML message */
        return oml_fom_ack_nack(msg, 0);
 }

diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c
index bf2fa35..8f06b34 100644
--- a/src/osmo-bts-octphy/l1_if.c
+++ b/src/osmo-bts-octphy/l1_if.c
@@ -998,7 +998,7 @@

        set_log_ctx_sapi(evt->LchId.bySAPI);

-       /* Retrive the data */
+       /* Retrieve the data */
        fn = evt->ulFrameNumber;
        ts_num = (uint8_t) evt->LchId.byTimeslotNb;
        sc = (uint8_t) evt->LchId.bySubChannelNb;
@@ -1194,7 +1194,7 @@
        /* burst timing  in 1x but PCU is expecting 4X */
        l1sap->u.data.ta_offs_256bits = 
data_ind->MeasurementInfo.sBurstTiming4x*64;
        snr = data_ind->MeasurementInfo.sSNRDb;
-       /* FIXME: better converion formulae for SnR -> C / I?
+       /* FIXME: better conversion formulae for SnR -> C / I?
        l1sap->u.data.lqual_cb = (snr ? snr : (snr - 65536)) * 10 / 256;
        LOGP(DL1C, LOGL_ERROR, "SnR: raw %d, computed %d\n", snr, 
l1sap->u.data.lqual_cb);
        */
@@ -1681,7 +1681,7 @@
        }

        /* we first need to decode the common OCTPKT header and dispatch
-        * based on contrl (command/resp) or data (event=indication) */
+        * based on control (command/resp) or data (event=indication) */
        switch (format) {
        case cOCTVOCNET_PKT_FORMAT_CTRL:
                ctlh = (tOCTVOCNET_PKT_CTL_HEADER *) (msg->l1h + 4);
diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index d44f721..9c5dd19 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -506,7 +506,7 @@
         * sub-channel, only th request contains this information :( */
        lchan = &ts->lchan[(unsigned long) data];

-       /* TODO: This state machine should be shared accross BTS models? */
+       /* TODO: This state machine should be shared across BTS models? */
        switch (lchan->ciph_state) {
        case LCHAN_CIPH_RX_REQ:
                lchan->ciph_state = LCHAN_CIPH_RX_CONF;
@@ -1191,7 +1191,7 @@

                if (!no_fw_check) {
                        LOGP(DL1C, LOGL_ERROR,
-                            "use option -I to override the check (not 
recommened)\n");
+                            "use option -I to override the check (not 
recommended)\n");
                        LOGP(DL1C, LOGL_ERROR,
                             "exiting...\n");
                        exit(1);
@@ -1346,7 +1346,7 @@
        if (plink->u.octphy.tx_atten_flag) {
                oc->RfConfig.ulTxAttndB = plink->u.octphy.tx_atten_db;
        } else {
-               /* Take the Tx Attn received in set radio attribures
+               /* Take the Tx Attn received in set radio attributes
                 * x4 is for the value in db */
                oc->RfConfig.ulTxAttndB = (trx->max_power_red) << 2;
        }
diff --git a/src/osmo-bts-octphy/octphy_vty.c b/src/osmo-bts-octphy/octphy_vty.c
index d250a95..afc2ce7 100644
--- a/src/osmo-bts-octphy/octphy_vty.c
+++ b/src/osmo-bts-octphy/octphy_vty.c
@@ -60,7 +60,7 @@

 DEFUN(cfg_phy_hwaddr, cfg_phy_hwaddr_cmd,
        "octphy hw-addr HWADDR",
-       OCT_STR "Configure the hardware addess of the OCTPHY\n"
+       OCT_STR "Configure the hardware address of the OCTPHY\n"
        "hardware address in aa:bb:cc:dd:ee:ff format\n")
 {
        struct phy_link *plink = vty->index;
diff --git a/src/osmo-bts-octphy/octpkt.c b/src/osmo-bts-octphy/octpkt.c
index d96d93d..c6aea1f 100644
--- a/src/osmo-bts-octphy/octpkt.c
+++ b/src/osmo-bts-octphy/octpkt.c
@@ -101,7 +101,7 @@
 #include <net/ethernet.h>

 /*! \brief Initialize a packet socket
- *  \param[in] tye Socket type like SOCK_RAW or SOCK_DGRAM
+ *  \param[in] type Socket type like SOCK_RAW or SOCK_DGRAM
  *  \param[in] proto The link-layer protocol in network byte order
  *  \param[in] bind_dev The name of the interface to bind to (if any)
  *  \param[in] flags flags like \ref OSMO_SOCK_F_BIND
diff --git a/src/osmo-bts-sysmo/eeprom.c b/src/osmo-bts-sysmo/eeprom.c
index 472b78e..6c887d4 100644
--- a/src/osmo-bts-sysmo/eeprom.c
+++ b/src/osmo-bts-sysmo/eeprom.c
@@ -226,12 +226,12 @@

                 char szSn[16];                  ///< Serial number
                 uint32_t u8Rev      :  8;       ///< Board revision
-                uint32_t u2Tcxo     :  2;       ///< TCXO present       
(0:absent, 1:present, x:unknows)
-                uint32_t u2Ocxo     :  2;       ///< OCXO present       
(0:absent, 1:present, x:unknows)
-                uint32_t u2GSM850   :  2;       ///< GSM-850 supported  
(0:unsupported, 1:supported, x:unknows)
-                uint32_t u2GSM900   :  2;       ///< GSM-900 supported  
(0:unsupported, 1:supported, x:unknows)
-                uint32_t u2DCS1800  :  2;       ///< GSM-1800 supported 
(0:unsupported, 1:supported, x:unknows)
-                uint32_t u2PCS1900  :  2;       ///< GSM-1900 supported 
(0:unsupported, 1:supported, x:unknows)
+                uint32_t u2Tcxo     :  2;       ///< TCXO present       
(0:absent, 1:present, x:unknown)
+                uint32_t u2Ocxo     :  2;       ///< OCXO present       
(0:absent, 1:present, x:unknown)
+                uint32_t u2GSM850   :  2;       ///< GSM-850 supported  
(0:unsupported, 1:supported, x:unknown)
+                uint32_t u2GSM900   :  2;       ///< GSM-900 supported  
(0:unsupported, 1:supported, x:unknown)
+                uint32_t u2DCS1800  :  2;       ///< GSM-1800 supported 
(0:unsupported, 1:supported, x:unknown)
+                uint32_t u2PCS1900  :  2;       ///< GSM-1900 supported 
(0:unsupported, 1:supported, x:unknown)
                 uint32_t            : 12;       ///< unused
             } __attribute__((packed)) sysInfo;

@@ -307,12 +307,12 @@
                 uint32_t u32Time;               ///< Epoch time
                 char szSn[16];                  ///< Serial number
                 uint32_t u8Rev      :  8;       ///< Board revision
-                uint32_t u2Tcxo     :  2;       ///< TCXO present       
(0:absent, 1:present, x:unknows)
-                uint32_t u2Ocxo     :  2;       ///< OCXO present       
(0:absent, 1:present, x:unknows)
-                uint32_t u2GSM850   :  2;       ///< GSM-850 supported  
(0:unsupported, 1:supported, x:unknows)
-                uint32_t u2GSM900   :  2;       ///< GSM-900 supported  
(0:unsupported, 1:supported, x:unknows)
-                uint32_t u2DCS1800  :  2;       ///< GSM-1800 supported 
(0:unsupported, 1:supported, x:unknows)
-                uint32_t u2PCS1900  :  2;       ///< GSM-1900 supported 
(0:unsupported, 1:supported, x:unknows)
+                uint32_t u2Tcxo     :  2;       ///< TCXO present       
(0:absent, 1:present, x:unknown)
+                uint32_t u2Ocxo     :  2;       ///< OCXO present       
(0:absent, 1:present, x:unknown)
+                uint32_t u2GSM850   :  2;       ///< GSM-850 supported  
(0:unsupported, 1:supported, x:unknown)
+                uint32_t u2GSM900   :  2;       ///< GSM-900 supported  
(0:unsupported, 1:supported, x:unknown)
+                uint32_t u2DCS1800  :  2;       ///< GSM-1800 supported 
(0:unsupported, 1:supported, x:unknown)
+                uint32_t u2PCS1900  :  2;       ///< GSM-1900 supported 
(0:unsupported, 1:supported, x:unknown)
                 uint32_t            : 12;       ///< unused
             } __attribute__((packed)) sysInfo;

diff --git a/src/osmo-bts-sysmo/misc/sysmobts-layer1.c 
b/src/osmo-bts-sysmo/misc/sysmobts-layer1.c
index 4b34f50..20ca6f5 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts-layer1.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts-layer1.c
@@ -622,7 +622,7 @@
                return -1;
        }
        if (prim.u.rfClockSetupCnf.status != GsmL1_Status_Success) {
-               printf("Clock setup was not successfull.\n");
+               printf("Clock setup was not successful.\n");
                return -2;
        }

diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c 
b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
index a8289c2..50c9c22 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
@@ -312,7 +312,7 @@
                LOGP(DLCTRL, LOGL_ERROR, "Can't connect to CTRL @ 
localhost:%u\n",
                     OSMO_CTRL_PORT_BTS);
        else
-               LOGP(DLCTRL, LOGL_NOTICE, "CTRL connected to locahost:%u\n",
+               LOGP(DLCTRL, LOGL_NOTICE, "CTRL connected to localhost:%u\n",
                     OSMO_CTRL_PORT_BTS);

         sysmobts_mgr_temp_init(&manager, ccon);
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c 
b/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c
index 444ee7c..fb3987b 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c
@@ -380,11 +380,11 @@
        vty_out(vty, "Temperature control state: %s%s",
                sysmobts_mgr_temp_get_state(s_mgr->state), VTY_NEWLINE);
        vty_out(vty, "Current Temperatures%s", VTY_NEWLINE);
-       vty_out(vty, " Digital: %f Celcius%s",
+       vty_out(vty, " Digital: %f Celsius%s",
                sysmobts_temp_get(SYSMOBTS_TEMP_DIGITAL,
                                        SYSMOBTS_TEMP_INPUT) / 1000.0f,
                VTY_NEWLINE);
-       vty_out(vty, " RF:      %f Celcius%s",
+       vty_out(vty, " RF:      %f Celsius%s",
                sysmobts_temp_get(SYSMOBTS_TEMP_RF,
                                        SYSMOBTS_TEMP_INPUT) / 1000.0f,
                VTY_NEWLINE);
@@ -396,8 +396,8 @@
                        is_sbts2050_master() ? "master" : "slave", VTY_NEWLINE);

                sbts2050_uc_check_temp(&temp_pa, &temp_board);
-               vty_out(vty, " sysmoBTS 2050 PA: %d Celcius%s", temp_pa, 
VTY_NEWLINE);
-               vty_out(vty, " sysmoBTS 2050 PA: %d Celcius%s", temp_board, 
VTY_NEWLINE);
+               vty_out(vty, " sysmoBTS 2050 PA: %d Celsius%s", temp_pa, 
VTY_NEWLINE);
+               vty_out(vty, " sysmoBTS 2050 PA: %d Celsius%s", temp_board, 
VTY_NEWLINE);

                sbts2050_uc_get_status(&status);
                vty_out(vty, "Power Status%s", VTY_NEWLINE);
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_misc.c 
b/src/osmo-bts-sysmo/misc/sysmobts_misc.c
index d996d64..8c93979 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_misc.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_misc.c
@@ -234,14 +234,14 @@

        fd_in = open(name, O_RDONLY);
        if (fd_in < 0) {
-               LOGP(DFW, LOGL_ERROR, "unable ot open firmware file %s: %s\n",
+               LOGP(DFW, LOGL_ERROR, "unable to open firmware file %s: %s\n",
                     name, strerror(errno));
                return fd_in;
        }

        fd_out = open(fw_devs[type], O_WRONLY);
        if (fd_out < 0) {
-               LOGP(DFW, LOGL_ERROR, "unable ot open firmware device %s: %s\n",
+               LOGP(DFW, LOGL_ERROR, "unable to open firmware device %s: %s\n",
                     fw_devs[type], strerror(errno));
                close(fd_in);
                return fd_out;
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index ea7527d..3533597 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -1746,7 +1746,7 @@
                        power_ramp_start(trx, get_p_target_mdBm(trx, 0), 0);
        }

-       /* FIXME: we actaully need to send a ACK or NACK for the OML message */
+       /* FIXME: we actually need to send a ACK or NACK for the OML message */
        return oml_fom_ack_nack(msg, 0);
 }

diff --git a/src/osmo-bts-sysmo/sysmobts_ctrl.c 
b/src/osmo-bts-sysmo/sysmobts_ctrl.c
index 21df88e..c6dac58 100644
--- a/src/osmo-bts-sysmo/sysmobts_ctrl.c
+++ b/src/osmo-bts-sysmo/sysmobts_ctrl.c
@@ -94,7 +94,7 @@
        SuperFemto_Prim_t *sysp = msgb_sysprim(msg);
        struct ctrl_cmd_def *cd;

-       /* geneate a deferred control command */
+       /* generate a deferred control command */
        cd = ctrl_cmd_def_make(fl1h, cmd, NULL, 10);

        sysp->id = SuperFemto_PrimId_RfClockInfoReq;
@@ -136,7 +136,7 @@
        SuperFemto_Prim_t *sysp = msgb_sysprim(msg);
        struct ctrl_cmd_def *cd;

-       /* geneate a deferred control command */
+       /* generate a deferred control command */
        cd = ctrl_cmd_def_make(fl1h, cmd, NULL, 10);

        /* Set GPS/PPS as reference */
@@ -197,7 +197,7 @@
         * prefer to to ask the actual L1 about the currently used value to
         * avoid any mistakes */

-       /* geneate a deferred control command */
+       /* generate a deferred control command */
        cd = ctrl_cmd_def_make(fl1h, cmd, NULL, 10);

        sysp->id = SuperFemto_PrimId_RfClockInfoReq;
@@ -241,7 +241,7 @@

        fl1h->clk_cal = atoi(cmd->value);

-       /* geneate a deferred control command */
+       /* generate a deferred control command */
        cd = ctrl_cmd_def_make(fl1h, cmd, NULL, 10);

        sysp->id = SuperFemto_PrimId_RfClockSetupReq;
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index 1b8ea45..920f441 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -195,7 +195,7 @@

 /*! Send a new TRX control command.
  *  \param[inout] l1h TRX Layer1 handle to which to send command
- *  \param[in] criticial
+ *  \param[in] critical
  *  \param[in] cb callback function to be called when valid response is
  *               received. Type of cb depends on type of message.
  *  \param[in] cmd zero-terminated string containing command
@@ -1166,7 +1166,7 @@
                return plink->u.osmotrx.base_port_local + (pinst->num << 1) + 
inc;
 }

-/*! open a TRX interface. creates contro + data sockets */
+/*! open a TRX interface. creates control + data sockets */
 static int trx_if_open(struct trx_l1h *l1h)
 {
        struct phy_instance *pinst = l1h->phy_inst;
diff --git a/src/osmo-bts-virtual/l1_if.c b/src/osmo-bts-virtual/l1_if.c
index acd8ea2..58f4781 100644
--- a/src/osmo-bts-virtual/l1_if.c
+++ b/src/osmo-bts-virtual/l1_if.c
@@ -208,7 +208,7 @@
        llist_for_each_entry(pinst, &plink->instances, list) {
                trx_sched_init(&pinst->u.virt.sched, pinst->trx);
                /* Only start the scheduler for the transceiver on C0.
-                * If we have multiple tranceivers, CCCH is always on C0
+                * If we have multiple transceivers, CCCH is always on C0
                 * and has to be auto active */
                /* Other TRX are activated via OML by a PRIM_INFO_MODIFY
                 * / PRIM_INFO_ACTIVATE */
diff --git a/src/osmo-bts-virtual/scheduler_virtbts.c 
b/src/osmo-bts-virtual/scheduler_virtbts.c
index 83c37f3..0621eaa 100644
--- a/src/osmo-bts-virtual/scheduler_virtbts.c
+++ b/src/osmo-bts-virtual/scheduler_virtbts.c
@@ -1,4 +1,4 @@
-/* Scheduler worker functiosn for Virtua OsmoBTS */
+/* Scheduler worker functions for Virtua OsmoBTS */

 /* (C) 2015-2017 by Harald Welte <lafo...@gnumonks.org>
  * (C) 2017 Sebastian Stumpf <sebastian.stump...@googlemail.com>
@@ -64,7 +64,7 @@
 {
        const struct trx_chan_desc *chdesc = &trx_chan_desc[chan];
        struct msgb *outmsg;                    /* msg to send with gsmtap 
header prepended */
-       uint16_t arfcn = l1t->trx->arfcn;       /* ARFCN of the tranceiver the 
message is send with */
+       uint16_t arfcn = l1t->trx->arfcn;       /* ARFCN of the transceiver the 
message is send with */
        uint8_t signal_dbm = 63;                /* signal strength, 63 is best 
*/
        uint8_t snr = 63;                       /* signal noise ratio, 63 is 
best */
        uint8_t *data = msgb_l2(msg);           /* data to transmit (whole 
message without l1 header) */
diff --git a/tests/meas/meas_test.c b/tests/meas/meas_test.c
index b2bf80e..c8f06b6 100644
--- a/tests/meas/meas_test.c
+++ b/tests/meas/meas_test.c
@@ -306,7 +306,7 @@
  * received. The process must still go on when measurement indications (blocks)
  * are lost or otherwise spaced out. Even the complete absence of the
  * measurement indications from the SACCH which are used to detect the interval
- * end must not keep the interval from beeing processed. */
+ * end must not keep the interval from being processed. */
 void test_lchan_meas_process_measurement(bool no_sacch, bool dropouts)
 {
        struct gsm_lchan *lchan = &trx->ts[2].lchan[0];
diff --git a/tests/tx_power/tx_power_test.c b/tests/tx_power/tx_power_test.c
index ad3f68c..34fbeb7 100644
--- a/tests/tx_power/tx_power_test.c
+++ b/tests/tx_power/tx_power_test.c
@@ -238,7 +238,7 @@

        /* test error case / excess power (40 dBm is too much) */
        test_power_ramp(trx, 40);
-       /* test actaul ramping to full 33 dBm */
+       /* test actual ramping to full 33 dBm */
        test_power_ramp(trx, 33);

        while (1) {

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/15788
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I403b9029f57fec3fdec2c1e2cbeac0f6eab53f24
Gerrit-Change-Number: 15788
Gerrit-PatchSet: 2
Gerrit-Owner: roox <mar...@gmx.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to