Fix various typos
Change-Id: I2726f18156f96999159f7b5f7c6c5a2d93667131
This commit is contained in:
parent
08b7b008c2
commit
40f5b3ff97
|
@ -42,7 +42,7 @@ static void a_reset_tx_reset_ack(void *data)
|
|||
static void a_reset_link_up(void *data)
|
||||
{
|
||||
struct bsc_msc_data *msc = data;
|
||||
LOGP(DMSC, LOGL_NOTICE, "(msc%d) BSSMAP assocation is up\n", msc->nr);
|
||||
LOGP(DMSC, LOGL_NOTICE, "(msc%d) BSSMAP association is up\n", msc->nr);
|
||||
osmo_stat_item_inc(osmo_stat_item_group_get_item(msc->msc_statg, MSC_STAT_MSC_LINKS_ACTIVE), 1);
|
||||
osmo_stat_item_inc(osmo_stat_item_group_get_item(msc->network->bsc_statg, BSC_STAT_NUM_MSC_CONNECTED), 1);
|
||||
osmo_signal_dispatch(SS_MSC, S_MSC_CONNECTED, msc);
|
||||
|
@ -51,7 +51,7 @@ static void a_reset_link_up(void *data)
|
|||
static void a_reset_link_lost(void *data)
|
||||
{
|
||||
struct bsc_msc_data *msc = data;
|
||||
LOGP(DMSC, LOGL_NOTICE, "(msc%d) BSSMAP assocation is down\n", msc->nr);
|
||||
LOGP(DMSC, LOGL_NOTICE, "(msc%d) BSSMAP association is down\n", msc->nr);
|
||||
osmo_stat_item_dec(osmo_stat_item_group_get_item(msc->msc_statg, MSC_STAT_MSC_LINKS_ACTIVE), 1);
|
||||
osmo_stat_item_dec(osmo_stat_item_group_get_item(msc->network->bsc_statg, BSC_STAT_NUM_MSC_CONNECTED), 1);
|
||||
osmo_signal_dispatch(SS_MSC, S_MSC_LOST, msc);
|
||||
|
|
|
@ -1996,12 +1996,12 @@ static bool force_free_lchan_for_emergency(struct chan_rqd *rqd)
|
|||
return false;
|
||||
}
|
||||
|
||||
/* No free TCH/F or TCH/H was found, we now select one of the busy lchans and initate a release on that lchan.
|
||||
* This will take a short amount of time. We need to come back and check regulary to see if we managed to
|
||||
/* No free TCH/F or TCH/H was found, we now select one of the busy lchans and initiate a release on that lchan.
|
||||
* This will take a short amount of time. We need to come back and check regularly to see if we managed to
|
||||
* free up another lchan. */
|
||||
if (!rqd->release_lchan) {
|
||||
struct gsm_lchan *release_lchan;
|
||||
/* Pick any busy TCH/F or TCH/H lchan and inititate a channel
|
||||
/* Pick any busy TCH/F or TCH/H lchan and initiate a channel
|
||||
* release to make room for the incoming emergency call */
|
||||
rqd->release_lchan = release_lchan = get_any_lchan(rqd->bts);
|
||||
if (!release_lchan) {
|
||||
|
|
|
@ -222,7 +222,7 @@ static void send_assignment_complete(struct gsm_subscriber_connection *conn)
|
|||
}
|
||||
}
|
||||
|
||||
/* Only AoIP networks include a speech codec (choosen) in the
|
||||
/* Only AoIP networks include a speech codec (chosen) in the
|
||||
* assignment complete message. */
|
||||
if (gscon_is_aoip(conn)) {
|
||||
/* Extrapolate speech codec from speech mode */
|
||||
|
|
|
@ -80,7 +80,7 @@ static const struct value_string gscon_fsm_event_names[] = {
|
|||
{GSCON_EV_MO_COMPL_L3, "MO_COMPL_L3"},
|
||||
{GSCON_EV_A_CONN_CFM, "MO-CONNECT.cfm"},
|
||||
{GSCON_EV_A_CLEAR_CMD, "CLEAR_CMD"},
|
||||
{GSCON_EV_A_DISC_IND, "DISCONNET.ind"},
|
||||
{GSCON_EV_A_DISC_IND, "DISCONNECT.ind"},
|
||||
{GSCON_EV_A_COMMON_ID_IND, "COMMON_ID.ind"},
|
||||
{GSCON_EV_ASSIGNMENT_START, "ASSIGNMENT_START"},
|
||||
{GSCON_EV_ASSIGNMENT_END, "ASSIGNMENT_END"},
|
||||
|
|
|
@ -1014,7 +1014,7 @@ int gsm_bts_set_c0_power_red(struct gsm_bts *bts, const uint8_t red)
|
|||
switch (ts->pchan_is) {
|
||||
/* Not allowed on CCCH/BCCH */
|
||||
case GSM_PCHAN_CCCH:
|
||||
/* Preceeding timeslot shall not exceed 2 dB */
|
||||
/* Preceding timeslot shall not exceed 2 dB */
|
||||
if (prev->c0_max_power_red_db > 0)
|
||||
prev->c0_max_power_red_db = 2;
|
||||
/* fall-through */
|
||||
|
|
|
@ -1338,7 +1338,7 @@ static int find_element(uint8_t * data, int len, uint16_t id, uint8_t * value,
|
|||
|
||||
GET_NEXT_BYTE;
|
||||
|
||||
/* encoding bit, construced means that other elements are contained */
|
||||
/* encoding bit, constructed means that other elements are contained */
|
||||
constructed = ((ub & 0x20) ? 1 : 0);
|
||||
|
||||
if ((ub & 0x1F) == 0x1F) {
|
||||
|
@ -1397,7 +1397,7 @@ static int dump_elements(uint8_t * data, int len)
|
|||
|
||||
GET_NEXT_BYTE;
|
||||
|
||||
/* encoding bit, construced means that other elements are contained */
|
||||
/* encoding bit, constructed means that other elements are contained */
|
||||
constructed = ((ub & 0x20) ? 1 : 0);
|
||||
|
||||
if ((ub & 0x1F) == 0x1F) {
|
||||
|
|
|
@ -4242,7 +4242,7 @@ static void config_write_bts_amr(struct vty *vty, struct gsm_bts *bts,
|
|||
vty_out(vty, "auto%s", VTY_NEWLINE);
|
||||
}
|
||||
|
||||
/* TODO: generalize and move indention handling to libosmocore */
|
||||
/* TODO: generalize and move indentation handling to libosmocore */
|
||||
#define cfg_out(fmt, args...) \
|
||||
vty_out(vty, "%*s" fmt, indent, "", ##args);
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ void bts_chan_load(struct pchan_load *cl, const struct gsm_bts *bts)
|
|||
if (!nm_is_running(&ts->mo.nm_state))
|
||||
continue;
|
||||
|
||||
/* A dynamic timeslot currently in PDCH mode are available as TCH or SDCCH8, beause they can be switched
|
||||
/* A dynamic timeslot currently in PDCH mode are available as TCH or SDCCH8, because they can be switched
|
||||
* to TCH or SDCCH mode at any moment. Count TCH/F_TCH/H_SDCCH8_PDCH as one total timeslot, even though it may
|
||||
* be switched to TCH/H and would then count as two -- hence opt for pessimistic load. */
|
||||
if ((ts->pchan_on_init == GSM_PCHAN_OSMO_DYN ||
|
||||
|
|
|
@ -89,7 +89,7 @@ int lcs_ta_req_start(struct lcs_loc_req *lcs_loc_req)
|
|||
struct lcs_ta_req *lcs_ta_req;
|
||||
if (lcs_loc_req->ta_req) {
|
||||
LOG_LCS_TA_REQ(lcs_loc_req->ta_req, LOGL_ERROR,
|
||||
"Cannot start anoter TA Request FSM, this TA Request is still active\n");
|
||||
"Cannot start another TA Request FSM, this TA Request is still active\n");
|
||||
return -ENOTSUP;
|
||||
}
|
||||
lcs_ta_req = lcs_ta_req_alloc(lcs_loc_req->fi, LCS_LOC_REQ_EV_TA_REQ_END);
|
||||
|
|
|
@ -494,7 +494,7 @@ DEFUN(cfg_neighbor_bind, cfg_neighbor_bind_cmd,
|
|||
{
|
||||
vty_out(vty, "%% Warning: The CTRL interface for Neighbor Address Resolution is now deprecated."
|
||||
"Upgrade osmo-pcu and drop the 'neighbor-resolution bind " VTY_IPV46_CMD " [<0-65535>]' VTY "
|
||||
"option in order to let osmo-pcu use the new resoluton method using the PCUIF over IPA "
|
||||
"option in order to let osmo-pcu use the new resolution method using the PCUIF over IPA "
|
||||
"multiplex, which will work out of the box without required configuration.%s", VTY_NEWLINE);
|
||||
osmo_talloc_replace_string(bsc_gsmnet, &bsc_gsmnet->neigh_ctrl.addr, argv[0]);
|
||||
if (argc > 1)
|
||||
|
|
|
@ -122,7 +122,7 @@ static void configure_loop(struct gsm_bts *bts, const struct gsm_nm_state *state
|
|||
bts->bts_nr, 0xff, 0xff,
|
||||
NM_STATE_UNLOCKED);
|
||||
/* Message containing BTS attributes, including the interference band bounds, was ACKed by the BTS.
|
||||
* Store the sent bounds as the ones being used for logging and comparing intereference levels. */
|
||||
* Store the sent bounds as the ones being used for logging and comparing interference levels. */
|
||||
bts->interf_meas_params_used = bts->interf_meas_params_cfg;
|
||||
}
|
||||
|
||||
|
|
|
@ -870,7 +870,7 @@ static int bsc_mgw_setup(void)
|
|||
struct mgcp_client *mgcp_client_single;
|
||||
unsigned int pool_members_initalized;
|
||||
|
||||
/* Initialize MGW pool. This initalizes and connects all MGCP clients that are currently configured in
|
||||
/* Initialize MGW pool. This initializes and connects all MGCP clients that are currently configured in
|
||||
* the pool. Adding additional MGCP clients to the pool is possible but the user has to configure and
|
||||
* (re)connect them manually from the VTY. */
|
||||
if (!mgcp_client_pool_empty(bsc_gsmnet->mgw.mgw_pool)) {
|
||||
|
@ -890,7 +890,7 @@ static int bsc_mgw_setup(void)
|
|||
LOGP(DNM, LOGL_NOTICE, "No MGW pool configured, using MGW configuration in VTY node 'msc'\n");
|
||||
mgcp_client_single = mgcp_client_init(bsc_gsmnet, bsc_gsmnet->mgw.conf);
|
||||
if (!mgcp_client_single) {
|
||||
LOGP(DNM, LOGL_ERROR, "MGW (single) client initalization failed\n");
|
||||
LOGP(DNM, LOGL_ERROR, "MGW (single) client initialization failed\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
if (mgcp_client_connect(mgcp_client_single)) {
|
||||
|
|
|
@ -73,8 +73,8 @@ static const struct timespec retrans_period = {
|
|||
.tv_nsec = 500 * 1000 * 1000,
|
||||
};
|
||||
|
||||
/* If no CCCH Lod Ind is received before this time period, the BTS is considered
|
||||
* to have stopped sending CCCH Load Indication, probaby due to being under Load
|
||||
/* If no CCCH Load Ind is received before this time period, the BTS is considered
|
||||
* to have stopped sending CCCH Load Indication, probably due to being under Load
|
||||
* Threshold: */
|
||||
#define bts_no_ccch_load_ind_timeout_sec(bts) ((bts)->ccch_load_ind_period * 2)
|
||||
|
||||
|
@ -361,7 +361,7 @@ sched_next_iter:
|
|||
* coming from abis_rsl.c
|
||||
*
|
||||
* We attempt to iterate once over the list of items but
|
||||
* only upto available_slots.
|
||||
* only up to available_slots.
|
||||
*/
|
||||
static void paging_handle_pending_requests(struct gsm_bts_paging_state *paging_bts)
|
||||
{
|
||||
|
@ -562,7 +562,7 @@ static int _paging_request(const struct bsc_paging_params *params, struct gsm_bt
|
|||
} else if (bts_entry->initial_req_list_len == 1) {
|
||||
/* Worker timer is armed -> there was already one req before
|
||||
* bts_entry->initial_req_list_len == 1 -> There were no initial requests
|
||||
* in the list, aka the timer is waiting for retransmition,
|
||||
* in the list, aka the timer is waiting for retransmission,
|
||||
* which is a longer period.
|
||||
* Let's recaculate the time to adapt it to initial_period: */
|
||||
struct timespec now, elapsed, tdiff;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* liesten to meas_feed on UDP and write it to sqlite3 database */
|
||||
/* listen to meas_feed on UDP and write it to sqlite3 database */
|
||||
|
||||
/* (C) 2012 by Harald Welte <laforge@gnumonks.org>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue