diff options
author | Martin Hauke <mardnh@gmx.de> | 2019-11-13 22:10:41 +0100 |
---|---|---|
committer | Martin Hauke <mardnh@gmx.de> | 2019-11-13 22:10:41 +0100 |
commit | a29affda9871f5d7212d19a6fa50544c2108ae49 (patch) | |
tree | cb787a2ab132f4af1952c6422464b7b0b545d991 /src | |
parent | 41eafec3f6ced5a389180629456d80d0a325d97c (diff) |
Fix some typos
Fix typos and common misspellings in code comments and in the manual.
Change-Id: I46fc9d424620c77ae9ccf78b58081bd303386d7c
Diffstat (limited to 'src')
26 files changed, 45 insertions, 45 deletions
diff --git a/src/ipaccess/ipaccess-config.c b/src/ipaccess/ipaccess-config.c index 54e4efd09..f8738091d 100644 --- a/src/ipaccess/ipaccess-config.c +++ b/src/ipaccess/ipaccess-config.c @@ -192,7 +192,7 @@ static void check_restart_or_exit(struct gsm_bts_trx *trx) static int ipacc_msg_ack(uint8_t mt, struct gsm_bts_trx *trx) { if (sw_load_state == 1) { - fprintf(stderr, "The new software is activaed.\n"); + fprintf(stderr, "The new software is activated.\n"); check_restart_or_exit(trx); } else if (oml_state == 1) { fprintf(stderr, "Set the NV Attributes.\n"); @@ -238,7 +238,7 @@ static int nwl_sig_cb(unsigned int subsys, unsigned int signal, /* Create whitelist from results */ physconf_len = build_physconf(physconf_buf, &trx->ipaccess.rxlev_stat); - /* Start next test abbout BCCH channel usage */ + /* Start next test about BCCH channel usage */ ipac_nwl_test_start(trx, NM_IPACC_TESTNO_BCCH_CHAN_USAGE, physconf_buf, physconf_len); break; diff --git a/src/ipaccess/ipaccess-proxy.c b/src/ipaccess/ipaccess-proxy.c index 26c5bcd92..a4ee10efc 100644 --- a/src/ipaccess/ipaccess-proxy.c +++ b/src/ipaccess/ipaccess-proxy.c @@ -581,7 +581,7 @@ struct msgb *ipaccess_proxy_read_msg(struct osmo_fd *bfd, int *error) msgb_put(msg, ret); - /* then read te length as specified in header */ + /* then read the length as specified in header */ msg->l2h = msg->data + sizeof(*hh); len = ntohs(hh->len); ret = recv(bfd->fd, msg->l2h, len, 0); diff --git a/src/osmo-bsc/a_reset.c b/src/osmo-bsc/a_reset.c index b75272fd1..9e046be48 100644 --- a/src/osmo-bsc/a_reset.c +++ b/src/osmo-bsc/a_reset.c @@ -163,11 +163,11 @@ void a_reset_alloc(struct bsc_msc_data *msc, const char *name, void *cb) OSMO_ASSERT(reset_fsm); msc->a.reset_fsm = reset_fsm; - /* Immediatelly (1ms) kick off reset sending mechanism */ + /* Immediately (1ms) kick off reset sending mechanism */ osmo_fsm_inst_state_chg_ms(reset_fsm, ST_DISC, 1, RESET_RESEND_TIMER_NO); } -/* Confirm that we sucessfully received a reset acknowlege message */ +/* Confirm that we successfully received a reset acknowledge message */ void a_reset_ack_confirm(struct bsc_msc_data *msc) { if (!msc) diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c index 48e918353..523cc388b 100644 --- a/src/osmo-bsc/abis_nm.c +++ b/src/osmo-bsc/abis_nm.c @@ -2105,7 +2105,7 @@ int abis_nm_perform_test(struct gsm_bts *bts, uint8_t obj_class, { struct abis_om_hdr *oh; - DEBUGP(DNM, "PEFORM TEST %s\n", abis_nm_test_name(test_nr)); + DEBUGP(DNM, "PERFORM TEST %s\n", abis_nm_test_name(test_nr)); if (!msg) msg = nm_msgb_alloc(); @@ -2851,7 +2851,7 @@ static void rsl_connect_timeout(void *data) LOG_TRX(trx, DRSL, LOGL_NOTICE, "RSL connection request timed out\n"); - /* Fake an RSL CONECT NACK message from the BTS. */ + /* Fake an RSL CONNECT NACK message from the BTS. */ signal.trx = trx; signal.msg_type = NM_MT_IPACC_RSL_CONNECT_NACK; osmo_signal_dispatch(SS_NM, S_NM_IPACC_NACK, &signal); diff --git a/src/osmo-bsc/abis_nm_vty.c b/src/osmo-bsc/abis_nm_vty.c index 3019eb828..b1c6d56d2 100644 --- a/src/osmo-bsc/abis_nm_vty.c +++ b/src/osmo-bsc/abis_nm_vty.c @@ -1,4 +1,4 @@ -/* VTY interface for A-bis OML (Netowrk Management) */ +/* VTY interface for A-bis OML (Network Management) */ /* (C) 2009-2018 by Harald Welte <laforge@gnumonks.org> * diff --git a/src/osmo-bsc/abis_om2000.c b/src/osmo-bsc/abis_om2000.c index fda273de9..e6b06c344 100644 --- a/src/osmo-bsc/abis_om2000.c +++ b/src/osmo-bsc/abis_om2000.c @@ -1578,7 +1578,7 @@ static void om2k_mo_st_wait_start_res(struct osmo_fsm_inst *fi, uint32_t event, abis_om2k_tx_op_info(omfp->trx->bts, &omfp->mo->addr, 1); return; case OM2K_MO_CLS_DP: - /* Transition directoy to WAIT_ENABLE_ACCEPT */ + /* Transition directory to WAIT_ENABLE_ACCEPT */ osmo_fsm_inst_state_chg(fi, OM2K_ST_WAIT_ENABLE_ACCEPT, OM2K_TIMEOUT, 0); abis_om2k_tx_enable_req(omfp->trx->bts, &omfp->mo->addr); diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c index d4917f295..8df0e81a6 100644 --- a/src/osmo-bsc/abis_rsl.c +++ b/src/osmo-bsc/abis_rsl.c @@ -1391,7 +1391,7 @@ static int rsl_rx_chan_rqd(struct msgb *msg) /* check availability / allocate channel * * - First try to allocate SDCCH. - * - If SDCCH is not available, try a TCH/H (less bandwith). + * - If SDCCH is not available, try a TCH/H (less bandwidth). * - If there is still no channel available, try a TCH/F. * */ @@ -1438,7 +1438,7 @@ int rsl_tx_imm_assignment(struct gsm_lchan *lchan) uint8_t buf[GSM_MACBLOCK_LEN]; struct gsm48_imm_ass *ia = (struct gsm48_imm_ass *) buf; - /* create IMMEDIATE ASSIGN 04.08 messge */ + /* create IMMEDIATE ASSIGN 04.08 message */ memset(ia, 0, sizeof(*ia)); /* we set ia->l2_plen once we know the length of the MA below */ ia->proto_discr = GSM48_PDISC_RR; diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c index aefa4afa5..16e04cd5b 100644 --- a/src/osmo-bsc/assignment_fsm.c +++ b/src/osmo-bsc/assignment_fsm.c @@ -434,7 +434,7 @@ void assignment_fsm_start(struct gsm_subscriber_connection *conn, struct gsm_bts conn->assignment.req = *req; req = &conn->assignment.req; - /* Check if we need a voice stream. If yes, set the approriate struct + /* Check if we need a voice stream. If yes, set the appropriate struct * members in conn */ if (check_requires_voice_stream(conn) < 0) return; diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c index 60f035db6..a96adb36a 100644 --- a/src/osmo-bsc/bsc_subscr_conn_fsm.c +++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c @@ -543,7 +543,7 @@ bool gscon_connect_mgw_to_msc(struct gsm_subscriber_connection *conn, const struct mgcp_conn_peer *prev_crcx_info = osmo_mgcpc_ep_ci_get_rtp_info(ci); if (!conn->user_plane.mgw_endpoint) { - LOGPFSML(conn->fi, LOGL_ERROR, "Internal error: conn has a CI but no endoint\n"); + LOGPFSML(conn->fi, LOGL_ERROR, "Internal error: conn has a CI but no endpoint\n"); return false; } diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c index 0fbff8691..1195d6580 100644 --- a/src/osmo-bsc/bsc_vty.c +++ b/src/osmo-bsc/bsc_vty.c @@ -2013,7 +2013,7 @@ DEFUN(cfg_bts, bts = bsc_bts_alloc_register(gsmnet, GSM_BTS_TYPE_UNKNOWN, HARDCODED_BSIC); /* - * Initalize bts->acc_ramp here. Else we could segfault while + * Initialize bts->acc_ramp here. Else we could segfault while * processing a configuration file with ACC ramping settings. */ acc_ramp_init(&bts->acc_ramp, bts); @@ -3816,7 +3816,7 @@ static void get_amr_start_from_arg(struct vty *vty, const char *argv[], int full } } -/* Give the current amr configuration a final consistency chack by feeding the +/* Give the current amr configuration a final consistency check by feeding the * the configuration into the gsm48 multirate IE generator function */ static int check_amr_config(struct vty *vty) { @@ -4610,7 +4610,7 @@ DEFUN(smscb_cmd, smscb_cmd_cmd, "BTS related commands\n" BTS_NR_STR "SMS Cell Broadcast\n" "Normal (one-shot) SMSCB Message; sent once over Abis+Um\n" - "Schedule (one-shot) SMSCB Messag; sent once over Abis+Um\n" + "Schedule (one-shot) SMSCB Message; sent once over Abis+Um\n" "Default (repeating) SMSCB Message; sent once over Abis, unlimited ovrer Um\n" "Last Valid Block\n" "Hex Encoded SMSCB message (up to 88 octets)\n") diff --git a/src/osmo-bsc/bts_siemens_bs11.c b/src/osmo-bsc/bts_siemens_bs11.c index b1688f3d5..d0fe38b40 100644 --- a/src/osmo-bsc/bts_siemens_bs11.c +++ b/src/osmo-bsc/bts_siemens_bs11.c @@ -330,7 +330,7 @@ unsigned char msg_4[] = /* Object Class: Transceiver BTS relat. Number: 0 - Tranceiver number: 0 + Transceiver number: 0 Instance 3: FF SET TRX ATTRIBUTES aRFCNList (HEX): 0001 diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c index b27defcde..be442b542 100644 --- a/src/osmo-bsc/codec_pref.c +++ b/src/osmo-bsc/codec_pref.c @@ -189,7 +189,7 @@ static bool test_codec_support_bts(const struct gsm_bts *bts, uint8_t perm_spch) bool rate_match = false; /* Check if the BTS provides a physical channel that matches the - * bandwith of the desired codec. */ + * bandwidth of the desired codec. */ rc = full_rate_from_perm_spch(&full_rate, perm_spch); if (rc < 0) return false; @@ -286,13 +286,13 @@ static int match_amr_s15_s0(struct channel_mode_and_rate *ch_mode_rate, const st * However, only AoIP based networks will include a speech codec list * into the ASSIGNMENT COMMAND. For non AoIP based networks, no speech * codec (sc_match) will be available, so we will fully rely on the - * local configuration for thoses cases. */ + * local configuration for those cases. */ if (sc_match) ch_mode_rate->s15_s0 = sc_match->cfg & amr_s15_s0_supported; else ch_mode_rate->s15_s0 = amr_s15_s0_supported; - /* Prefer "Config-NB-Code = 1" (S1) over all other AMR rates setttings. + /* Prefer "Config-NB-Code = 1" (S1) over all other AMR rates settings. * When S1 is set, the active set will automatically include 12.2k, 7.4k, * 5.9k, 4.75k, in case of HR 12,2k is left out. */ if (ch_mode_rate->s15_s0 & GSM0808_SC_CFG_AMR_4_75_5_90_7_40_12_20) { diff --git a/src/osmo-bsc/gsm_04_08_rr.c b/src/osmo-bsc/gsm_04_08_rr.c index 1fbbb5787..586eeaba2 100644 --- a/src/osmo-bsc/gsm_04_08_rr.c +++ b/src/osmo-bsc/gsm_04_08_rr.c @@ -405,12 +405,12 @@ int gsm48_multirate_config(uint8_t *lv, for (i = 0; i < num_modes; i++) { if (i > 0 && modes[i - 1].mode > modes[i].mode) { LOGP(DRR, LOGL_ERROR, - "BUG: Multirate codec with inconsistant config (mode order).\n"); + "BUG: Multirate codec with inconsistent config (mode order).\n"); return -EINVAL; } if (i > 0 && modes[i - 1].mode == modes[i].mode) { LOGP(DRR, LOGL_ERROR, - "BUG: Multirate codec with inconsistant config (duplicate modes).\n"); + "BUG: Multirate codec with inconsistent config (duplicate modes).\n"); return -EINVAL; } } @@ -460,7 +460,7 @@ int gsm48_multirate_config(uint8_t *lv, } if (!mode_valid) { LOGP(DRR, LOGL_ERROR, - "BUG: Multirate codec with inconsistant config (no mode defined).\n"); + "BUG: Multirate codec with inconsistent config (no mode defined).\n"); return -EINVAL; } } diff --git a/src/osmo-bsc/gsm_data.c b/src/osmo-bsc/gsm_data.c index e7fe065be..1c2c4d8e7 100644 --- a/src/osmo-bsc/gsm_data.c +++ b/src/osmo-bsc/gsm_data.c @@ -838,7 +838,7 @@ struct gsm_bts *gsm_bts_alloc(struct gsm_network *net, uint8_t bts_num) bts->chan_load_avg = 0; /* timer overrides */ - bts->T3122 = 0; /* not overriden by default */ + bts->T3122 = 0; /* not overridden by default */ bts->T3113_dynamic = true; /* dynamic by default */ bts->dtxu = GSM48_DTX_SHALL_NOT_BE_USED; diff --git a/src/osmo-bsc/handover_decision.c b/src/osmo-bsc/handover_decision.c index 0bfbce20d..533840024 100644 --- a/src/osmo-bsc/handover_decision.c +++ b/src/osmo-bsc/handover_decision.c @@ -180,7 +180,7 @@ static void attempt_handover(struct gsm_meas_rep *mr) if (nmp->arfcn == 0) continue; - /* caculate average rxlev for this cell over the window */ + /* calculate average rxlev for this cell over the window */ avg = neigh_meas_avg(nmp, ho_get_hodec1_rxlev_neigh_avg_win(bts->ho)); /* check if hysteresis is fulfilled */ diff --git a/src/osmo-bsc/handover_decision_2.c b/src/osmo-bsc/handover_decision_2.c index 0e24c0d47..ab507e84c 100644 --- a/src/osmo-bsc/handover_decision_2.c +++ b/src/osmo-bsc/handover_decision_2.c @@ -982,7 +982,7 @@ static void collect_candidates_for_lchan(struct gsm_lchan *lchan, OSMO_ASSERT(candidates); - /* caculate average rxlev for this cell over the window */ + /* calculate average rxlev for this cell over the window */ av_rxlev = get_meas_rep_avg(lchan, ho_get_hodec2_full_tdma(bts->ho) ? MEAS_REP_DL_RXLEV_FULL : MEAS_REP_DL_RXLEV_SUB, @@ -990,7 +990,7 @@ static void collect_candidates_for_lchan(struct gsm_lchan *lchan, if (_av_rxlev) *_av_rxlev = av_rxlev; - /* in case there is no measurment report (yet) */ + /* in case there is no measurement report (yet) */ if (av_rxlev < 0) { LOGPHOLCHAN(lchan, LOGL_DEBUG, "Not collecting candidates, not enough measurements" " (got %d, want %u)\n", @@ -1023,7 +1023,7 @@ static void collect_candidates_for_lchan(struct gsm_lchan *lchan, * Do not perform this process, if handover and assignment are disabled for * the current cell. * Do not perform handover, if the minimum acceptable RX level - * is not reched for this cell. + * is not reached for this cell. * * If one or more 'better cells' are available, check the current and neighbor * cell measurements in descending order of their RX levels (down-link): @@ -1263,7 +1263,7 @@ static void on_measurement_report(struct gsm_meas_rep *mr) return; } - /* get average levels. if not enought measurements yet, value is < 0 */ + /* get average levels. if not enough measurements yet, value is < 0 */ av_rxlev = get_meas_rep_avg(lchan, ho_get_hodec2_full_tdma(bts->ho) ? MEAS_REP_DL_RXLEV_FULL : MEAS_REP_DL_RXLEV_SUB, @@ -1366,7 +1366,7 @@ static void on_measurement_report(struct gsm_meas_rep *mr) * Do not perform this process, if handover and assignment are disabled for * the current cell. * Do not perform handover, if the minimum acceptable RX level - * is not reched for this cell. + * is not reached for this cell. * Only check candidates that will solve/reduce congestion. * * If a cell is congested, all slots are checked for all their RX levels diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c index d1593470b..e36aaae72 100644 --- a/src/osmo-bsc/handover_fsm.c +++ b/src/osmo-bsc/handover_fsm.c @@ -848,7 +848,7 @@ void handover_end(struct gsm_subscriber_connection *conn, enum handover_result r if (result == HO_RESULT_OK) conn->ho.created_ci_for_msc = NULL; - /* If the performed handover was an INTRA BSC HANDOVER, inform the MSC that a handover has happend */ + /* If the performed handover was an INTRA BSC HANDOVER, inform the MSC that a handover has happened */ if (result == HO_RESULT_OK && ((ho->scope & HO_INTRA_CELL) || (ho->scope & HO_INTRA_BSC))) send_handover_performed(conn); diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c index a5efa3d3d..da09aec86 100644 --- a/src/osmo-bsc/lchan_rtp_fsm.c +++ b/src/osmo-bsc/lchan_rtp_fsm.c @@ -446,7 +446,7 @@ static void lchan_rtp_fsm_wait_mgw_endpoint_configured_onenter(struct osmo_fsm_i /* At this point, we are taking over an old lchan's MGW endpoint (if any). */ if (!lchan->mgw_endpoint_ci_bts && old_lchan) { - /* The old lchan shall forget the enpoint now. We might put it back upon ROLLBACK */ + /* The old lchan shall forget the endpoint now. We might put it back upon ROLLBACK */ lchan->mgw_endpoint_ci_bts = old_lchan->mgw_endpoint_ci_bts; old_lchan->mgw_endpoint_ci_bts = NULL; } diff --git a/src/osmo-bsc/neighbor_ident_vty.c b/src/osmo-bsc/neighbor_ident_vty.c index f158e7f4e..54d6944f5 100644 --- a/src/osmo-bsc/neighbor_ident_vty.c +++ b/src/osmo-bsc/neighbor_ident_vty.c @@ -425,7 +425,7 @@ static int neighbor_del_all(struct vty *vty) bts->nr, neigh_bts->nr, VTY_NEWLINE); removed += rc; } else { - vty_out(vty, "%% Error while removing local neigbor bts %u to bts %u, aborted%s", + vty_out(vty, "%% Error while removing local neighbor bts %u to bts %u, aborted%s", bts->nr, neigh_bts->nr, VTY_NEWLINE); return CMD_WARNING; } diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c index dcd06f37a..74faae1bc 100644 --- a/src/osmo-bsc/osmo_bsc_bssap.c +++ b/src/osmo-bsc/osmo_bsc_bssap.c @@ -641,13 +641,13 @@ static int bssmap_handle_lcls_connect_ctrl(struct gsm_subscriber_connection *con return 0; } -/* Select a prefered and an alternative codec rate depending on the available +/* Select a preferred and an alternative codec rate depending on the available * capabilities. This decision does not include the actual channel load yet, - * this is also the reason why the result is a prefered and an alternate + * this is also the reason why the result is a preferred and an alternate * setting. The final decision is made in assignment_fsm.c when the actual * lchan is requested. The preferred lchan will be requested first. If we * find an alternate setting here, this one will be tried secondly if our - * primary coice fails. */ + * primary choice fails. */ static int select_codecs(struct assignment_request *req, struct gsm0808_channel_type *ct, struct gsm_subscriber_connection *conn) { diff --git a/src/osmo-bsc/osmo_bsc_lcls.c b/src/osmo-bsc/osmo_bsc_lcls.c index f0c62a195..4ab04419d 100644 --- a/src/osmo-bsc/osmo_bsc_lcls.c +++ b/src/osmo-bsc/osmo_bsc_lcls.c @@ -743,7 +743,7 @@ static void lcls_fsm_cleanup(struct osmo_fsm_inst *fi, enum osmo_fsm_term_cause struct gsm_subscriber_connection *conn = fi->priv; if (conn->lcls.other) { - /* inform the "other" side that we're dead, so it can disabe LS and send NOTIFY */ + /* inform the "other" side that we're dead, so it can disable LS and send NOTIFY */ if (conn->lcls.other->fi) osmo_fsm_inst_dispatch(conn->lcls.other->lcls.fi, LCLS_EV_OTHER_DEAD, conn); conn->lcls.other = NULL; diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c index 41e810b2e..0fe35b354 100644 --- a/src/osmo-bsc/osmo_bsc_main.c +++ b/src/osmo-bsc/osmo_bsc_main.c @@ -844,7 +844,7 @@ int main(int argc, char **argv) logging_vty_add_deprecated_subsys(tall_bsc_ctx, "cc"); logging_vty_add_deprecated_subsys(tall_bsc_ctx, "mgcp"); - /* Initalize SS7 */ + /* Initialize SS7 */ osmo_ss7_init(); osmo_ss7_vty_init_asp(tall_bsc_ctx); osmo_sccp_vty_init(); diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c index 543e6de58..50b03ce47 100644 --- a/src/osmo-bsc/osmo_bsc_sigtran.c +++ b/src/osmo-bsc/osmo_bsc_sigtran.c @@ -475,7 +475,7 @@ static void osmo_bsc_sigtran_reset_cb(const void *priv) static int asp_rx_unknown(struct osmo_ss7_asp *asp, int ppid_mux, struct msgb *msg); -/* Initalize osmo sigtran backhaul */ +/* Initialize osmo sigtran backhaul */ int osmo_bsc_sigtran_init(struct llist_head *mscs) { bool free_attempt_used = false; @@ -567,7 +567,7 @@ int osmo_bsc_sigtran_init(struct llist_head *mscs) /* If we have detected that the SS7 configuration of the MSC we have just initialized * was incomplete or completely missing, we can not tolerate another incomplete - * configuration. The reson for this is that we do only specify exactly one default + * configuration. The reason for this is that we do only specify exactly one default * pointcode pair. We also specify localhost as default IP-Address. If we have wanted * to support multiple MSCs with automatic configuration we would be forced to invent * a complex ruleset how to allocate the pointcodes and respective IP-Addresses. diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c index ca52ee79f..d32cded54 100644 --- a/src/osmo-bsc/paging.c +++ b/src/osmo-bsc/paging.c @@ -306,7 +306,7 @@ static unsigned int calculate_timer_3113(struct gsm_bts *bts) /* TODO: take into account load of paging group for req->bsub */ /* MFRMS defines repeat interval of paging messages for MSs that belong - * to same paging group accross multiple 51 frame multiframes. + * to same paging group across multiple 51 frame multiframes. * MAXTRANS defines maximum number of RACH retransmissions. */ to_us = GSM51_MFRAME_DURATION_us * (bts->si_common.chan_desc.bs_pa_mfrms + 2) * diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c index 4425117c7..b04140277 100644 --- a/src/osmo-bsc/pcu_sock.c +++ b/src/osmo-bsc/pcu_sock.c @@ -282,7 +282,7 @@ int pcu_tx_imm_ass_sent(struct gsm_bts *bts, uint32_t tlli) return pcu_sock_send(bts, msg); } -/* we need to decode the raw RR paging messsage (see PCU code +/* we need to decode the raw RR paging message (see PCU code * Encoding::write_paging_request) and extract the mobile identity * (P-TMSI) from it */ static int pcu_rx_rr_paging(struct gsm_bts *bts, uint8_t paging_group, @@ -607,7 +607,7 @@ static int pcu_sock_cb(struct osmo_fd *bfd, unsigned int flags) 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/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c index 4709f7fc0..6e5841966 100644 --- a/src/osmo-bsc/system_information.c +++ b/src/osmo-bsc/system_information.c @@ -248,7 +248,7 @@ int bts_earfcn_add(struct gsm_bts *bts, uint16_t earfcn, uint8_t thresh_hi, uint return r; } -/* Scrambling Code as defined in 3GPP TS 25.213 is 9 bit long so number below is unreacheable upper bound */ +/* Scrambling Code as defined in 3GPP TS 25.213 is 9 bit long so number below is unreachable upper bound */ #define SC_BOUND 600 /* Find position for a given UARFCN (take SC into consideration if it's available) in a sorted list @@ -518,7 +518,7 @@ static int bitvec2freq_list(uint8_t *chan_list, struct bitvec *bv, for (i = 0; i < bv->data_len*8; i++) { /* in case of SI2 or SI5 allow all neighbours in same band - * in case of SI*bis, allow neighbours in same band ouside pgsm + * in case of SI*bis, allow neighbours in same band outside pgsm * in case of SI*ter, allow neighbours in different bands */ if (!bitvec_get_bit_pos(bv, i)) |