Sebastian Held patches15/0038-fix-compiler-warnings.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7340 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -572,7 +572,7 @@ int schedule_MBMS(module_id_t module_idP, uint8_t CC_id, frame_t frameP, sub_fra
|
||||
if ((TBS - header_len_mtch - header_len_mcch - header_len_msi - sdu_length_total) < 0) {
|
||||
LOG_E(MAC,"Error in building MAC PDU, TBS %d < PDU %d \n",
|
||||
TBS, header_len_mtch + header_len_mcch + header_len_msi + sdu_length_total);
|
||||
return;
|
||||
return 0;
|
||||
} else if ((TBS - header_len_mtch - header_len_mcch - header_len_msi - sdu_length_total) <= 2) {
|
||||
padding = (TBS - header_len_mtch - header_len_mcch - header_len_msi - sdu_length_total);
|
||||
post_padding = 0;
|
||||
|
||||
@@ -185,7 +185,7 @@ protected_rlc(void (*rlc_rrc_data_ind)(
|
||||
const protocol_ctxt_t* const ctxtP,
|
||||
const rb_id_t rb_idP,
|
||||
const sdu_size_t sdu_sizeP,
|
||||
uint8_t * const sduP);)
|
||||
const uint8_t * const sduP);)
|
||||
|
||||
protected_rlc(void (*rlc_rrc_data_conf)(
|
||||
const protocol_ctxt_t* const ctxtP,
|
||||
@@ -197,7 +197,7 @@ typedef void (rrc_data_ind_cb_t)(
|
||||
const protocol_ctxt_t* const ctxtP,
|
||||
const rb_id_t rb_idP,
|
||||
const sdu_size_t sdu_sizeP,
|
||||
uint8_t * const sduP);
|
||||
const uint8_t * const sduP);
|
||||
|
||||
typedef void (rrc_data_conf_cb_t)(
|
||||
const protocol_ctxt_t* const ctxtP,
|
||||
|
||||
@@ -93,7 +93,7 @@ mac_rrc_data_req(
|
||||
const frame_t frameP,
|
||||
const rb_id_t srb_idP,
|
||||
const uint8_t nb_tbP,
|
||||
const uint8_t *buffer_pP,
|
||||
uint8_t* const buffer_pP,
|
||||
const eNB_flag_t eNB_flagP,
|
||||
const uint8_t eNB_indexP,
|
||||
const uint8_t mbsfn_sync_areaP
|
||||
|
||||
@@ -47,7 +47,7 @@ mac_rrc_data_req(
|
||||
const frame_t frameP,
|
||||
const rb_id_t srb_idP,
|
||||
const uint8_t nb_tbP,
|
||||
const uint8_t *buffer_pP,
|
||||
uint8_t* const buffer_pP,
|
||||
const eNB_flag_t eNB_flagP,
|
||||
const mac_enb_index_t eNB_indexP,
|
||||
const uint8_t mbsfn_sync_areaP
|
||||
|
||||
@@ -341,7 +341,7 @@ mac_rrc_lite_data_ind(
|
||||
{
|
||||
SRB_INFO *Srb_info;
|
||||
protocol_ctxt_t ctxt;
|
||||
sdu_size_t sdu_size;
|
||||
sdu_size_t sdu_size = 0;
|
||||
/*
|
||||
int si_window;
|
||||
*/
|
||||
|
||||
@@ -66,7 +66,7 @@ void rrc_top_cleanup(void);
|
||||
*/
|
||||
RRC_status_t
|
||||
rrc_rx_tx(
|
||||
const protocol_ctxt_t* const ctxt_pP,
|
||||
protocol_ctxt_t* const ctxt_pP,
|
||||
const uint8_t enb_index,
|
||||
const int CC_id
|
||||
);
|
||||
|
||||
@@ -399,7 +399,7 @@ rrc_t310_expiration(
|
||||
//-----------------------------------------------------------------------------
|
||||
RRC_status_t
|
||||
rrc_rx_tx(
|
||||
const protocol_ctxt_t* const ctxt_pP,
|
||||
protocol_ctxt_t* const ctxt_pP,
|
||||
const uint8_t enb_indexP,
|
||||
const int CC_id
|
||||
)
|
||||
|
||||
@@ -894,7 +894,7 @@ int rrc_eNB_process_S1AP_INITIAL_CONTEXT_SETUP_REQ(MessageDef *msg_p, const char
|
||||
|
||||
/* TODO parameters yet to process ... */
|
||||
{
|
||||
S1AP_INITIAL_CONTEXT_SETUP_REQ(msg_p).ue_ambr;
|
||||
// S1AP_INITIAL_CONTEXT_SETUP_REQ(msg_p).ue_ambr;
|
||||
}
|
||||
|
||||
rrc_eNB_process_security (
|
||||
@@ -970,7 +970,7 @@ int rrc_eNB_process_S1AP_UE_CTXT_MODIFICATION_REQ(MessageDef *msg_p, const char
|
||||
/* TODO parameters yet to process ... */
|
||||
{
|
||||
if (S1AP_UE_CTXT_MODIFICATION_REQ(msg_p).present & S1AP_UE_CONTEXT_MODIFICATION_UE_AMBR) {
|
||||
S1AP_UE_CTXT_MODIFICATION_REQ(msg_p).ue_ambr;
|
||||
// S1AP_UE_CTXT_MODIFICATION_REQ(msg_p).ue_ambr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user