fix spelling errors detected by lintian
Change-Id: I381618eb55cc513cfa9c2e384c27cead0935c8bf
This commit is contained in:
parent
f3038e7b2a
commit
8bb7904458
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue