Fix successful related typos

master
Xavier Arteaga 3 years ago committed by Andre Puschmann
parent 5c122f28d3
commit a19d68710c

@ -182,7 +182,7 @@ public:
* @param rnti the UE identifier in the eNb * @param rnti the UE identifier in the eNb
* @param cc_idx the eNb Cell/Carrier identifier * @param cc_idx the eNb Cell/Carrier identifier
* @param nof_bytes the number of grants carrierd by the PUSCH message * @param nof_bytes the number of grants carrierd by the PUSCH message
* @param crc_res the CRC check, set to true if the message was decoded succesfully * @param crc_res the CRC check, set to true if the message was decoded successfully
* @return SRSRAN_SUCCESS if no error occurs, SRSRAN_ERROR* if an error occurs * @return SRSRAN_SUCCESS if no error occurs, SRSRAN_ERROR* if an error occurs
*/ */
virtual int crc_info(uint32_t tti, uint16_t rnti, uint32_t cc_idx, uint32_t nof_bytes, bool crc_res) = 0; virtual int crc_info(uint32_t tti, uint16_t rnti, uint32_t cc_idx, uint32_t nof_bytes, bool crc_res) = 0;
@ -194,7 +194,7 @@ public:
* @param rnti the UE identifier in the eNb * @param rnti the UE identifier in the eNb
* @param enb_cc_idx the eNb Cell/Carrier identifier * @param enb_cc_idx the eNb Cell/Carrier identifier
* @param nof_bytes the number of grants carrierd by the PUSCH message * @param nof_bytes the number of grants carrierd by the PUSCH message
* @param crc_res the CRC check, set to true if the message was decoded succesfully * @param crc_res the CRC check, set to true if the message was decoded successfully
* @param ul_nof_prbs Number of PRBs allocated to grant * @param ul_nof_prbs Number of PRBs allocated to grant
* @return SRSRAN_SUCCESS if no error occurs, SRSRAN_ERROR* if an error occurs * @return SRSRAN_SUCCESS if no error occurs, SRSRAN_ERROR* if an error occurs
*/ */

@ -498,7 +498,7 @@ SRSRAN_API char* srsran_nbiot_mode_string(srsran_nbiot_mode_t mode);
* Returns a constant string pointer with the ACK/NACK feedback mode * Returns a constant string pointer with the ACK/NACK feedback mode
* *
* @param ack_nack_feedback_mode Mode * @param ack_nack_feedback_mode Mode
* @return Returns constant pointer with the text of the mode if succesful, `error` otherwise * @return Returns constant pointer with the text of the mode if successful, `error` otherwise
*/ */
SRSRAN_API const char* srsran_ack_nack_feedback_mode_string(srsran_ack_nack_feedback_mode_t ack_nack_feedback_mode); SRSRAN_API const char* srsran_ack_nack_feedback_mode_string(srsran_ack_nack_feedback_mode_t ack_nack_feedback_mode);
@ -506,7 +506,7 @@ SRSRAN_API const char* srsran_ack_nack_feedback_mode_string(srsran_ack_nack_feed
* Returns a constant string pointer with the ACK/NACK feedback mode * Returns a constant string pointer with the ACK/NACK feedback mode
* *
* @param ack_nack_feedback_mode Mode * @param ack_nack_feedback_mode Mode
* @return Returns constant pointer with the text of the mode if succesful, `error` otherwise * @return Returns constant pointer with the text of the mode if successful, `error` otherwise
*/ */
SRSRAN_API srsran_ack_nack_feedback_mode_t srsran_string_ack_nack_feedback_mode(const char* str); SRSRAN_API srsran_ack_nack_feedback_mode_t srsran_string_ack_nack_feedback_mode(const char* str);

@ -53,7 +53,8 @@ SRSRAN_API int srsran_softbuffer_rx_init(srsran_softbuffer_rx_t* q, uint32_t nof
* @param q The Rx soft-buffer pointer * @param q The Rx soft-buffer pointer
* @param max_cb The maximum number of code blocks to allocate * @param max_cb The maximum number of code blocks to allocate
* @param max_cb_size The code block size to allocate * @param max_cb_size The code block size to allocate
* @return It returns SRSRAN_SUCCESS if it allocates the soft-buffer succesfully, otherwise it returns SRSRAN_ERROR code * @return It returns SRSRAN_SUCCESS if it allocates the soft-buffer successfully, otherwise it returns SRSRAN_ERROR
* code
*/ */
SRSRAN_API int srsran_softbuffer_rx_init_guru(srsran_softbuffer_rx_t* q, uint32_t max_cb, uint32_t max_cb_size); SRSRAN_API int srsran_softbuffer_rx_init_guru(srsran_softbuffer_rx_t* q, uint32_t max_cb, uint32_t max_cb_size);
@ -81,7 +82,8 @@ SRSRAN_API int srsran_softbuffer_tx_init(srsran_softbuffer_tx_t* q, uint32_t nof
* @param q The Tx soft-buffer pointer * @param q The Tx soft-buffer pointer
* @param max_cb The maximum number of code blocks to allocate * @param max_cb The maximum number of code blocks to allocate
* @param max_cb_size The code block size to allocate * @param max_cb_size The code block size to allocate
* @return It returns SRSRAN_SUCCESS if it allocates the soft-buffer succesfully, otherwise it returns SRSRAN_ERROR code * @return It returns SRSRAN_SUCCESS if it allocates the soft-buffer successfully, otherwise it returns SRSRAN_ERROR
* code
*/ */
SRSRAN_API int srsran_softbuffer_tx_init_guru(srsran_softbuffer_tx_t* q, uint32_t max_cb, uint32_t max_cb_size); SRSRAN_API int srsran_softbuffer_tx_init_guru(srsran_softbuffer_tx_t* q, uint32_t max_cb, uint32_t max_cb_size);

@ -78,7 +78,7 @@ SRSRAN_API uint32_t srsran_pucch_proc_get_npucch(const srsran_cell_t* cell,
* @param uci_cfg uplink control information configuration * @param uci_cfg uplink control information configuration
* @param j selected channel * @param j selected channel
* @param b received bits * @param b received bits
* @return Returns SRSRAN_SUCCESS if it can decode it succesfully, SRSRAN_ERROR code otherwise * @return Returns SRSRAN_SUCCESS if it can decode it successfully, SRSRAN_ERROR code otherwise
*/ */
SRSRAN_API int srsran_pucch_cs_get_ack(const srsran_pucch_cfg_t* cfg, SRSRAN_API int srsran_pucch_cs_get_ack(const srsran_pucch_cfg_t* cfg,
const srsran_uci_cfg_t* uci_cfg, const srsran_uci_cfg_t* uci_cfg,

@ -164,7 +164,7 @@ void pdcp_entity_lte::write_sdu(unique_byte_buffer_t sdu, int upper_sn)
// If the bearer is mapped to RLC AM, save TX_COUNT and a copy of the PDU. // If the bearer is mapped to RLC AM, save TX_COUNT and a copy of the PDU.
// This will be used for reestablishment, where unack'ed PDUs will be re-transmitted. // This will be used for reestablishment, where unack'ed PDUs will be re-transmitted.
// PDUs will be removed from the queue, either when the lower layers will report // PDUs will be removed from the queue, either when the lower layers will report
// a succesfull transmission or when the discard timer expires. // a successfull transmission or when the discard timer expires.
// Status report will also use this queue, to know the First Missing SDU (FMS). // Status report will also use this queue, to know the First Missing SDU (FMS).
if (!rlc->rb_is_um(lcid) and is_drb()) { if (!rlc->rb_is_um(lcid) and is_drb()) {
if (not store_sdu(used_sn, sdu)) { if (not store_sdu(used_sn, sdu)) {

@ -205,7 +205,7 @@ static int get_pucch(srsran_enb_ul_t* q, srsran_ul_sf_cfg_t* ul_sf, srsran_pucch
// Compares correlation value, it stores the PUCCH result with the greatest correlation // Compares correlation value, it stores the PUCCH result with the greatest correlation
if (i == 0 || pucch_res.correlation > res->correlation) { if (i == 0 || pucch_res.correlation > res->correlation) {
// Copy measurements only if PUCCH was decoded succesfully // Copy measurements only if PUCCH was decoded successfully
if (cfg->meas_ta_en) { if (cfg->meas_ta_en) {
pucch_res.ta_valid = !(isnan(q->chest_res.ta_us) || isinf(q->chest_res.ta_us)); pucch_res.ta_valid = !(isnan(q->chest_res.ta_us) || isinf(q->chest_res.ta_us));
pucch_res.ta_us = q->chest_res.ta_us; pucch_res.ta_us = q->chest_res.ta_us;

@ -818,7 +818,7 @@ static int uhd_init(rf_uhd_handler_t* handler, char* args, uint32_t nof_channels
if (clock_src != "internal") { if (clock_src != "internal") {
// blocks until clock source is locked // blocks until clock source is locked
int error = wait_sensor_locked(handler, sensor_name, true, 300, is_locked); int error = wait_sensor_locked(handler, sensor_name, true, 300, is_locked);
// Print Not lock error if the return was succesful, wait_sensor_locked prints the error before returning // Print Not lock error if the return was successful, wait_sensor_locked prints the error before returning
if (not is_locked and error == SRSRAN_SUCCESS) { if (not is_locked and error == SRSRAN_SUCCESS) {
ERROR( ERROR(
"Could not lock reference clock source. Sensor: %s=%s\n", sensor_name.c_str(), is_locked ? "true" : "false"); "Could not lock reference clock source. Sensor: %s=%s\n", sensor_name.c_str(), is_locked ? "true" : "false");

@ -695,7 +695,7 @@ int mac::get_dl_sched(uint32_t tti_tx_dl, dl_sched_list_t& dl_sched_res_list)
tb_count++; tb_count++;
} }
// Count transmission if at least one TB has succesfully added // Count transmission if at least one TB has successfully added
if (tb_count > 0) { if (tb_count > 0) {
n++; n++;
} }

@ -1921,7 +1921,7 @@ bool s1ap::sctp_send_s1ap_pdu(const asn1::s1ap::s1ap_pdu_c& tx_pdu, uint32_t rnt
return false; return false;
} }
// Reset the state if it is a successful or unsucessfull message // Reset the state if it is a successful or unsuccessfull message
if (tx_pdu.type() == s1ap_pdu_c::types_opts::successful_outcome || if (tx_pdu.type() == s1ap_pdu_c::types_opts::successful_outcome ||
tx_pdu.type() == s1ap_pdu_c::types_opts::unsuccessful_outcome) { tx_pdu.type() == s1ap_pdu_c::types_opts::unsuccessful_outcome) {
if (rnti != SRSRAN_INVALID_RNTI) { if (rnti != SRSRAN_INVALID_RNTI) {

Loading…
Cancel
Save