diff options
author | Martin Hauke <mardnh@gmx.de> | 2019-10-13 19:10:52 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-10-17 08:07:39 +0000 |
commit | 1f7a2ab5d3e13ead22797d13953be885d583c77e (patch) | |
tree | e6226b68f3ff9bbdca5a84f391db8c75bf0007be /src/host/virt_phy | |
parent | 9731f0d3222f9583b74e8c9713f3e127f5935032 (diff) |
Fix common misspellings and typos
Change-Id: I962b42871693f33b1054d43d195817e9cd84bb64
Diffstat (limited to 'src/host/virt_phy')
-rw-r--r-- | src/host/virt_phy/include/virtphy/virt_l1_model.h | 8 | ||||
-rw-r--r-- | src/host/virt_phy/src/gsmtapl1_if.c | 2 | ||||
-rw-r--r-- | src/host/virt_phy/src/l1ctl_sap.c | 4 | ||||
-rw-r--r-- | src/host/virt_phy/src/logging.c | 2 | ||||
-rw-r--r-- | src/host/virt_phy/src/virt_prim_pm.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/host/virt_phy/include/virtphy/virt_l1_model.h b/src/host/virt_phy/include/virtphy/virt_l1_model.h index 67c24bb6..e2485fc8 100644 --- a/src/host/virt_phy/include/virtphy/virt_l1_model.h +++ b/src/host/virt_phy/include/virtphy/virt_l1_model.h @@ -27,7 +27,7 @@ struct l1_cell_info { uint8_t bsic; /* Combined or non-combined CCCH */ uint8_t ccch_mode; /* enum ccch_mode */ - /* whats the delta of the cells current GSM frame number + /* what's the delta of the cells current GSM frame number * compared to our current local frame number */ int32_t fn_offset; /* how much does the TPU need adjustment (delta) to synchronize @@ -71,9 +71,9 @@ struct l1_state_ms { uint8_t tn; // timeslot number 1-7 uint8_t subslot; // subslot of the dedicated channel, SDCCH/4:[0-3], SDCCH/8:[0-7] - uint8_t scn; // single-hop cellular network? (ununsed in virtual um) - uint8_t tsc; // training sequence code (ununsed in virtual um) - uint8_t h; // hopping enabled flag (ununsed in virtual um) + uint8_t scn; // single-hop cellular network? (unused in virtual um) + uint8_t tsc; // training sequence code (unused in virtual um) + uint8_t h; // hopping enabled flag (unused in virtual um) } dedicated; struct { struct { diff --git a/src/host/virt_phy/src/gsmtapl1_if.c b/src/host/virt_phy/src/gsmtapl1_if.c index 2cf9d2dc..2b21c6dd 100644 --- a/src/host/virt_phy/src/gsmtapl1_if.c +++ b/src/host/virt_phy/src/gsmtapl1_if.c @@ -135,7 +135,7 @@ static bool gprs_dl_block_matches_ms(struct l1_model_ms *ms, struct msgb *msg, u return true; break; case 1: /* RLC/MAC Control without optional octets */ - /* forward all RLC/MAC control blocks without optional octets, i.e. not adressed + /* forward all RLC/MAC control blocks without optional octets, i.e. not addressed * to a specific TFI */ return true; case 2: /* RLC/MAC with optional control octets */ diff --git a/src/host/virt_phy/src/l1ctl_sap.c b/src/host/virt_phy/src/l1ctl_sap.c index f95a4caf..7669c868 100644 --- a/src/host/virt_phy/src/l1ctl_sap.c +++ b/src/host/virt_phy/src/l1ctl_sap.c @@ -313,7 +313,7 @@ void l1ctl_rx_dm_est_req(struct l1_model_ms *ms, struct msgb *msg) * * Handle frequency change in dedicated mode. E.g. used for frequency hopping. * - * Note: Not needed for virtual physical layer as freqency hopping is generally disabled. + * Note: Not needed for virtual physical layer as frequency hopping is generally disabled. */ void l1ctl_rx_dm_freq_req(struct l1_model_ms *ms, struct msgb *msg) { @@ -504,7 +504,7 @@ void l1ctl_rx_tch_mode_req(struct l1_model_ms *ms, struct msgb *msg) * The neighbor cell description is one of the info messages sent by the BTS on BCCH. * This method will also enable neighbor measurement in the multiframe scheduler. * - * Note: Not needed for virtual physical layer as we dont maintain neigbors. + * Note: Not needed for virtual physical layer as we don't maintain neighbors. */ void l1ctl_rx_neigh_pm_req(struct l1_model_ms *ms, struct msgb *msg) { diff --git a/src/host/virt_phy/src/logging.c b/src/host/virt_phy/src/logging.c index 7e4e79b1..aa3b88a7 100644 --- a/src/host/virt_phy/src/logging.c +++ b/src/host/virt_phy/src/logging.c @@ -131,5 +131,5 @@ const char *getL1ctlPrimName(uint8_t type) if (type < ARRAY_SIZE(l1ctlPrimNames)) return l1ctlPrimNames[type]; else - return "Unknwon Primitive"; + return "Unknown Primitive"; } diff --git a/src/host/virt_phy/src/virt_prim_pm.c b/src/host/virt_phy/src/virt_prim_pm.c index 46370138..6d11f494 100644 --- a/src/host/virt_phy/src/virt_prim_pm.c +++ b/src/host/virt_phy/src/virt_prim_pm.c @@ -106,7 +106,7 @@ void l1ctl_rx_pm_req(struct l1_model_ms *ms, struct msgb *msg) struct l1ctl_hdr *resp_l1h = msgb_l1(resp_msg); resp_l1h->flags |= L1CTL_F_DONE; } - /* no more space to hold mor pm info in msgb, flush to l23 */ + /* no more space to hold more pm info in msgb, flush to l23 */ if (msgb_tailroom(resp_msg) < sizeof(*pm_conf)) { LOGPMS(DL1C, LOGL_INFO, ms, "Tx L1CTL_PM_CONF\n"); l1ctl_sap_tx_to_l23_inst(ms, resp_msg); |