diff options
author | Martin Hauke <mardnh@gmx.de> | 2013-08-23 23:10:16 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:41:30 +0200 |
commit | 178d618d5a7728c876ae66777351aea37f88cc5d (patch) | |
tree | bb3de43313de4b8bb66bb07bf693cfe2fb607325 /src/osmo-bts-trx | |
parent | c9ddb2ba22f4b57cd6e86771cd292564d5e4fb7f (diff) |
TRX: fix some typos in comments
Diffstat (limited to 'src/osmo-bts-trx')
-rw-r--r-- | src/osmo-bts-trx/l1_if.c | 6 | ||||
-rw-r--r-- | src/osmo-bts-trx/scheduler.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c index a135d442..85be4744 100644 --- a/src/osmo-bts-trx/l1_if.c +++ b/src/osmo-bts-trx/l1_if.c @@ -55,7 +55,7 @@ static const uint8_t transceiver_chan_types[_GSM_PCHAN_MAX] = { /* - * create destroy trx l1 instance + * create/destroy trx l1 instance */ struct trx_l1h *l1if_open(struct gsm_bts_trx *trx) @@ -508,7 +508,7 @@ int bts_model_l1sap_down(struct gsm_bts_trx *trx, struct osmo_phsap_prim *l1sap) } /* activate dedicated channel */ trx_sched_set_lchan(l1h, chan_nr, 0x00, 1); - /* activate assoicated channel */ + /* activate associated channel */ trx_sched_set_lchan(l1h, chan_nr, 0x40, 1); /* set mode */ trx_sched_set_mode(l1h, chan_nr, @@ -555,7 +555,7 @@ int bts_model_l1sap_down(struct gsm_bts_trx *trx, struct osmo_phsap_prim *l1sap) "chan_nr 0x%02x\n", chan_nr); break; } - /* deactivate assoicated channel */ + /* deactivate associated channel */ trx_sched_set_lchan(l1h, chan_nr, 0x40, 0); /* set lchan inactive * (also if only sacch, so no meaurement is done) */ diff --git a/src/osmo-bts-trx/scheduler.c b/src/osmo-bts-trx/scheduler.c index 6652909f..a02a2de1 100644 --- a/src/osmo-bts-trx/scheduler.c +++ b/src/osmo-bts-trx/scheduler.c @@ -44,7 +44,7 @@ #include "loops.h" /* Enable this to multiply TOA of RACH by 10. - * This usefull to check tenth of timing advances with RSSI test tool. + * This is usefull to check tenth of timing advances with RSSI test tool. * Note that regular phones will not work when using this test! */ //#define TA_TEST @@ -430,7 +430,7 @@ static int rts_tchh_fn(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, /* - * TX on donlink + * TX on downlink */ /* an IDLE burst returns nothing. on C0 it is replaced by dummy burst */ @@ -1027,7 +1027,7 @@ static ubit_t *tx_tchf_fn(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, memset(*bursts_p + 464, 0, 464); } - /* mo message at all */ + /* no message at all */ if (!msg_tch && !msg_facch) { LOGP(DL1C, LOGL_INFO, "%s has not been served !! No prim for " "trx=%u ts=%u at fn=%u to transmit.\n", @@ -1117,7 +1117,7 @@ static ubit_t *tx_tchh_fn(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, } } - /* mo message at all */ + /* no message at all */ if (!msg_tch && !msg_facch && !chan_state->dl_ongoing_facch) { LOGP(DL1C, LOGL_INFO, "%s has not been served !! No prim for " "trx=%u ts=%u at fn=%u to transmit.\n", @@ -2988,7 +2988,7 @@ new_clock: tv_clock->tv_sec++; tv_clock->tv_usec -= 1000000; } - /* set time to the time our next FN hast to be transmitted */ + /* set time to the time our next FN has to be transmitted */ osmo_timer_schedule(&transceiver_clock_timer, 0, FRAME_DURATION_uS * (1 - elapsed_fn)); |