aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Alteholz <debian@alteholz.de>2018-10-06 10:42:58 +0200
committerlaforge <laforge@gnumonks.org>2019-07-17 10:56:19 +0000
commit8bb790445852ee8c6846a3a48f455a28b6514c63 (patch)
treeee54f61d5ef0fbb5a723efb917253a11e0d5b608
parentf3038e7b2a27270185337ec707dee5f4b9b25826 (diff)
fix spelling errors detected by lintian
-rw-r--r--src/bts.cpp2
-rw-r--r--src/decoding.cpp6
-rw-r--r--src/encoding.cpp2
-rw-r--r--src/gsm_rlcmac.cpp4
-rw-r--r--src/gsm_rlcmac.h4
-rw-r--r--src/pcu_l1_if.cpp2
-rw-r--r--src/pdch.cpp4
-rw-r--r--src/tbf.cpp2
-rw-r--r--src/tbf.h2
9 files changed, 14 insertions, 14 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index 8799c3d..395fc73 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -611,7 +611,7 @@ uint32_t BTS::rfn_to_fn(int32_t rfn)
* we roll back the rounded frame number by one RFN_MODULUS */
if (abs(rfn - m_cur_rfn) > RFN_THRESHOLD) {
LOGP(DRLCMAC, LOGL_DEBUG,
- "Race condition between rfn (%u) and m_cur_fn (%u) detected: rfn belongs to the previos modulus %u cycle, wrappng...\n",
+ "Race condition between rfn (%u) and m_cur_fn (%u) detected: rfn belongs to the previous modulus %u cycle, wrapping...\n",
rfn, m_cur_fn, RFN_MODULUS);
if (fn_rounded < RFN_MODULUS) {
LOGP(DRLCMAC, LOGL_DEBUG,
diff --git a/src/decoding.cpp b/src/decoding.cpp
index d439e30..99a17dc 100644
--- a/src/decoding.cpp
+++ b/src/decoding.cpp
@@ -77,7 +77,7 @@ static int parse_extensions_egprs(const uint8_t *data, unsigned int data_len,
/* TS 44.060, table 10.4.14a.1, row 3 & 5 */
/* only filling bytes left */
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
- "only filling bytes with extention octet: LI=%d, E=%d, count=%d\n",
+ "only filling bytes with extension octet: LI=%d, E=%d, count=%d\n",
li->li, li->e, num_chunks);
break;
} else if (li->li > 0) {
@@ -92,7 +92,7 @@ static int parse_extensions_egprs(const uint8_t *data, unsigned int data_len,
}
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
- "extention octet: LI=%d, E=%d, count=%d\n",
+ "extension octet: LI=%d, E=%d, count=%d\n",
li->li, li->e, num_chunks);
num_chunks += 1;
@@ -168,7 +168,7 @@ static int parse_extensions_gprs(const uint8_t *data, unsigned int data_len,
chunks[num_chunks].is_complete = li->li || is_last_block;
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
- "extention octet: LI=%d, M=%d, E=%d, count=%d\n",
+ "extension octet: LI=%d, M=%d, E=%d, count=%d\n",
li->li, li->m, li->e, num_chunks);
num_chunks += 1;
diff --git a/src/encoding.cpp b/src/encoding.cpp
index ca9e906..3fac75e 100644
--- a/src/encoding.cpp
+++ b/src/encoding.cpp
@@ -532,7 +532,7 @@ int Encoding::write_immediate_assignment(
if (rc < 0) {
LOGP(DRLCMAC, LOGL_ERROR,
- "Failed to create IMMEDIATE ASSIGMENT (%s) for %s\n",
+ "Failed to create IMMEDIATE ASSIGNMENT (%s) for %s\n",
downlink ? "downlink" : "uplink",
tbf ? tbf->name() : "single block allocation");
return rc;
diff --git a/src/gsm_rlcmac.cpp b/src/gsm_rlcmac.cpp
index 6323b09..ef7abcd 100644
--- a/src/gsm_rlcmac.cpp
+++ b/src/gsm_rlcmac.cpp
@@ -1363,8 +1363,8 @@ CSN_DESCR_END (PCCF_AdditionsR8_t)
static const
CSN_DESCR_BEGIN(PCCF_AdditionsR5_t)
- M_NEXT_EXIST (PCCF_AdditionsR5_t, Exist_G_RNTI_extention, 1),
- M_UINT (PCCF_AdditionsR5_t, G_RNTI_extention, 4),
+ M_NEXT_EXIST (PCCF_AdditionsR5_t, Exist_G_RNTI_extension, 1),
+ M_UINT (PCCF_AdditionsR5_t, G_RNTI_extension, 4),
M_NEXT_EXIST_OR_NULL(PCCF_AdditionsR5_t, Exist_AdditionsR8, 1),
M_TYPE (PCCF_AdditionsR5_t, AdditionsR8, PCCF_AdditionsR8_t),
CSN_DESCR_END (PCCF_AdditionsR5_t)
diff --git a/src/gsm_rlcmac.h b/src/gsm_rlcmac.h
index 2ad1937..a4750e8 100644
--- a/src/gsm_rlcmac.h
+++ b/src/gsm_rlcmac.h
@@ -1602,8 +1602,8 @@ typedef struct
typedef struct
{
- guint8 Exist_G_RNTI_extention;
- guint8 G_RNTI_extention;
+ guint8 Exist_G_RNTI_extension;
+ guint8 G_RNTI_extension;
guint8 Exist_AdditionsR8;
PCCF_AdditionsR8_t AdditionsR8;
} PCCF_AdditionsR5_t;
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index bc712fd..da85df4 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -650,7 +650,7 @@ int pcu_rx(uint8_t msg_type, struct gsm_pcu_if *pcu_prim)
rc = pcu_rx_susp_req(&pcu_prim->u.susp_req);
break;
default:
- LOGP(DL1IF, LOGL_ERROR, "Received unknwon PCU msg type %d\n",
+ LOGP(DL1IF, LOGL_ERROR, "Received unknown PCU msg type %d\n",
msg_type);
rc = -EINVAL;
}
diff --git a/src/pdch.cpp b/src/pdch.cpp
index 8003105..7488b96 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -632,7 +632,7 @@ void gprs_rlcmac_pdch::rcv_resource_request(Packet_Resource_Request_t *request,
int8_t tfi = request->ID.u.Global_TFI.u.DOWNLINK_TFI;
dl_tbf = bts()->dl_tbf_by_tfi(tfi, trx_no(), ts_no);
if (!dl_tbf) {
- LOGP(DRLCMAC, LOGL_NOTICE, "PACKET RESSOURCE REQ unknown downlink TFI=%d\n", tfi);
+ LOGP(DRLCMAC, LOGL_NOTICE, "PACKET RESOURCE REQ unknown downlink TFI=%d\n", tfi);
return;
}
LOGPTBFDL(dl_tbf, LOGL_ERROR,
@@ -645,7 +645,7 @@ void gprs_rlcmac_pdch::rcv_resource_request(Packet_Resource_Request_t *request,
int8_t tfi = request->ID.u.Global_TFI.u.UPLINK_TFI;
ul_tbf = bts()->ul_tbf_by_tfi(tfi, trx_no(), ts_no);
if (!ul_tbf) {
- LOGP(DRLCMAC, LOGL_NOTICE, "PACKET RESSOURCE REQ unknown uplink TFI=%d\n", tfi);
+ LOGP(DRLCMAC, LOGL_NOTICE, "PACKET RESOURCE REQ unknown uplink TFI=%d\n", tfi);
return;
}
LOGPTBFUL(ul_tbf, LOGL_ERROR,
diff --git a/src/tbf.cpp b/src/tbf.cpp
index a099322..9856c7f 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -1208,7 +1208,7 @@ struct msgb *gprs_rlcmac_tbf::create_dl_ass(uint32_t fn, uint8_t ts)
if (direction == GPRS_RLCMAC_DL_TBF && !is_control_ts(ts)) {
LOGPTBF(this, LOGL_NOTICE,
- "Cannot poll for downlink assigment, because MS cannot reply. (TS=%d, first common TS=%d)\n",
+ "Cannot poll for downlink assignment, because MS cannot reply. (TS=%d, first common TS=%d)\n",
ts, first_common_ts);
poll_ass_dl = 0;
}
diff --git a/src/tbf.h b/src/tbf.h
index 0a58862..34e8101 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -43,7 +43,7 @@ struct gprs_rlcmac_bts;
*/
#define T_ASS_AGCH_USEC 200000 /* waiting after IMM.ASS confirm */
-#define T_ASS_PACCH_SEC 2 /* timeout for pacch assigment */
+#define T_ASS_PACCH_SEC 2 /* timeout for pacch assignment */
#define T_REJ_PACCH_USEC 2000 /* timeout for tbf reject for PRR*/
enum gprs_rlcmac_tbf_state {