spacing cleanup
This commit is contained in:
+32
-50
@@ -37,12 +37,10 @@
|
|||||||
#include "nfapi_interface.h"
|
#include "nfapi_interface.h"
|
||||||
#include "fapi_l1.h"
|
#include "fapi_l1.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void handle_nfapi_dci_dl_pdu(PHY_VARS_eNB *eNB,
|
void handle_nfapi_dci_dl_pdu(PHY_VARS_eNB *eNB,
|
||||||
eNB_rxtx_proc_t *proc,
|
eNB_rxtx_proc_t *proc,
|
||||||
nfapi_dl_config_request_pdu_t *dl_config_pdu) {
|
nfapi_dl_config_request_pdu_t *dl_config_pdu)
|
||||||
|
{
|
||||||
int idx = proc->subframe_tx&1;
|
int idx = proc->subframe_tx&1;
|
||||||
LTE_eNB_PDCCH *pdcch_vars = &eNB->pdcch_vars[idx];
|
LTE_eNB_PDCCH *pdcch_vars = &eNB->pdcch_vars[idx];
|
||||||
nfapi_dl_config_dci_dl_pdu *pdu = &dl_config_pdu->dci_dl_pdu;
|
nfapi_dl_config_dci_dl_pdu *pdu = &dl_config_pdu->dci_dl_pdu;
|
||||||
@@ -53,11 +51,10 @@ void handle_nfapi_dci_dl_pdu(PHY_VARS_eNB *eNB,
|
|||||||
fill_dci_and_dlsch(eNB,proc,&pdcch_vars->dci_alloc[pdcch_vars->num_dci],pdu);
|
fill_dci_and_dlsch(eNB,proc,&pdcch_vars->dci_alloc[pdcch_vars->num_dci],pdu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void handle_nfapi_mpdcch_pdu(PHY_VARS_eNB *eNB,
|
void handle_nfapi_mpdcch_pdu(PHY_VARS_eNB *eNB,
|
||||||
eNB_rxtx_proc_t *proc,
|
eNB_rxtx_proc_t *proc,
|
||||||
nfapi_dl_config_request_pdu_t *dl_config_pdu) {
|
nfapi_dl_config_request_pdu_t *dl_config_pdu)
|
||||||
|
{
|
||||||
int idx = proc->subframe_tx&1;
|
int idx = proc->subframe_tx&1;
|
||||||
LTE_eNB_MPDCCH *mpdcch_vars = &eNB->mpdcch_vars[idx];
|
LTE_eNB_MPDCCH *mpdcch_vars = &eNB->mpdcch_vars[idx];
|
||||||
nfapi_dl_config_mpdcch_pdu *pdu = &dl_config_pdu->mpdcch_pdu;
|
nfapi_dl_config_mpdcch_pdu *pdu = &dl_config_pdu->mpdcch_pdu;
|
||||||
@@ -69,8 +66,8 @@ void handle_nfapi_mpdcch_pdu(PHY_VARS_eNB *eNB,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void handle_nfapi_hi_dci0_dci_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
void handle_nfapi_hi_dci0_dci_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
||||||
nfapi_hi_dci0_request_pdu_t *hi_dci0_config_pdu){
|
nfapi_hi_dci0_request_pdu_t *hi_dci0_config_pdu)
|
||||||
|
{
|
||||||
int idx = proc->subframe_tx&1;
|
int idx = proc->subframe_tx&1;
|
||||||
LTE_eNB_PDCCH *pdcch_vars = &eNB->pdcch_vars[idx];
|
LTE_eNB_PDCCH *pdcch_vars = &eNB->pdcch_vars[idx];
|
||||||
// copy dci configuration in to eNB structure
|
// copy dci configuration in to eNB structure
|
||||||
@@ -78,8 +75,8 @@ void handle_nfapi_hi_dci0_dci_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void handle_nfapi_hi_dci0_hi_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
void handle_nfapi_hi_dci0_hi_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
||||||
nfapi_hi_dci0_request_pdu_t *hi_dci0_config_pdu) {
|
nfapi_hi_dci0_request_pdu_t *hi_dci0_config_pdu)
|
||||||
|
{
|
||||||
LTE_eNB_PHICH *phich = &eNB->phich_vars[proc->subframe_tx&1];
|
LTE_eNB_PHICH *phich = &eNB->phich_vars[proc->subframe_tx&1];
|
||||||
|
|
||||||
// copy dci configuration in to eNB structure
|
// copy dci configuration in to eNB structure
|
||||||
@@ -97,8 +94,8 @@ void handle_nfapi_hi_dci0_hi_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
|||||||
|
|
||||||
void handle_nfapi_bch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
void handle_nfapi_bch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
||||||
nfapi_dl_config_request_pdu_t *dl_config_pdu,
|
nfapi_dl_config_request_pdu_t *dl_config_pdu,
|
||||||
uint8_t *sdu) {
|
uint8_t *sdu)
|
||||||
|
{
|
||||||
nfapi_dl_config_bch_pdu_rel8_t *rel8 = &dl_config_pdu->bch_pdu.bch_pdu_rel8;
|
nfapi_dl_config_bch_pdu_rel8_t *rel8 = &dl_config_pdu->bch_pdu.bch_pdu_rel8;
|
||||||
|
|
||||||
AssertFatal(rel8->length == 3, "BCH PDU has length %d != 3\n",rel8->length);
|
AssertFatal(rel8->length == 3, "BCH PDU has length %d != 3\n",rel8->length);
|
||||||
@@ -109,7 +106,6 @@ void handle_nfapi_bch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
|||||||
eNB->pbch_pdu[2] = sdu[0];
|
eNB->pbch_pdu[2] = sdu[0];
|
||||||
|
|
||||||
// adjust transmit amplitude here based on NFAPI info
|
// adjust transmit amplitude here based on NFAPI info
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef Rel14
|
#ifdef Rel14
|
||||||
@@ -126,8 +122,8 @@ extern uint32_t localRIV2alloc_LUT100_3[6000];
|
|||||||
void handle_nfapi_dlsch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
void handle_nfapi_dlsch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
||||||
nfapi_dl_config_request_pdu_t *dl_config_pdu,
|
nfapi_dl_config_request_pdu_t *dl_config_pdu,
|
||||||
uint8_t codeword_index,
|
uint8_t codeword_index,
|
||||||
uint8_t *sdu) {
|
uint8_t *sdu)
|
||||||
|
{
|
||||||
nfapi_dl_config_dlsch_pdu_rel8_t *rel8 = &dl_config_pdu->dlsch_pdu.dlsch_pdu_rel8;
|
nfapi_dl_config_dlsch_pdu_rel8_t *rel8 = &dl_config_pdu->dlsch_pdu.dlsch_pdu_rel8;
|
||||||
#ifndef Rel8
|
#ifndef Rel8
|
||||||
nfapi_dl_config_dlsch_pdu_rel10_t *rel10 = &dl_config_pdu->dlsch_pdu.dlsch_pdu_rel10;
|
nfapi_dl_config_dlsch_pdu_rel10_t *rel10 = &dl_config_pdu->dlsch_pdu.dlsch_pdu_rel10;
|
||||||
@@ -140,7 +136,6 @@ void handle_nfapi_dlsch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
|||||||
int UE_id;
|
int UE_id;
|
||||||
int harq_pid;
|
int harq_pid;
|
||||||
|
|
||||||
|
|
||||||
UE_id = find_dlsch(rel8->rnti,eNB,SEARCH_EXIST_OR_FREE);
|
UE_id = find_dlsch(rel8->rnti,eNB,SEARCH_EXIST_OR_FREE);
|
||||||
AssertFatal(UE_id!=-1,"no free or exiting dlsch_context\n");
|
AssertFatal(UE_id!=-1,"no free or exiting dlsch_context\n");
|
||||||
AssertFatal(UE_id<NUMBER_OF_UE_MAX,"returned UE_id %d >= %d(NUMBER_OF_UE_MAX)\n",UE_id,NUMBER_OF_UE_MAX);
|
AssertFatal(UE_id<NUMBER_OF_UE_MAX,"returned UE_id %d >= %d(NUMBER_OF_UE_MAX)\n",UE_id,NUMBER_OF_UE_MAX);
|
||||||
@@ -170,7 +165,6 @@ void handle_nfapi_dlsch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
|||||||
computeRhoB_eNB(&eNB->pdsch_config_dedicated[UE_id],&(eNB->frame_parms.pdsch_config_common),eNB->frame_parms.nb_antenna_ports_eNB,dlsch1,dlsch1_harq->dl_power_off);
|
computeRhoB_eNB(&eNB->pdsch_config_dedicated[UE_id],&(eNB->frame_parms.pdsch_config_common),eNB->frame_parms.nb_antenna_ports_eNB,dlsch1,dlsch1_harq->dl_power_off);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dlsch0_harq->pdsch_start = eNB->pdcch_vars[proc->subframe_tx & 1].num_pdcch_symbols;
|
dlsch0_harq->pdsch_start = eNB->pdcch_vars[proc->subframe_tx & 1].num_pdcch_symbols;
|
||||||
|
|
||||||
if (dlsch0_harq->round==0) { //get pointer to SDU if this a new SDU
|
if (dlsch0_harq->round==0) { //get pointer to SDU if this a new SDU
|
||||||
@@ -245,8 +239,8 @@ void handle_nfapi_dlsch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
|||||||
|
|
||||||
uint16_t to_beta_offset_harqack[16]={16,20,25,32,40,50,64,80,101,127,160,248,400,640,1008,8};
|
uint16_t to_beta_offset_harqack[16]={16,20,25,32,40,50,64,80,101,127,160,248,400,640,1008,8};
|
||||||
|
|
||||||
void handle_ulsch_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe) {
|
void handle_ulsch_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe)
|
||||||
|
{
|
||||||
nfapi_ul_config_ulsch_pdu_rel8_t *rel8 = &ul_config_pdu->ulsch_harq_pdu.ulsch_pdu.ulsch_pdu_rel8;
|
nfapi_ul_config_ulsch_pdu_rel8_t *rel8 = &ul_config_pdu->ulsch_harq_pdu.ulsch_pdu.ulsch_pdu_rel8;
|
||||||
|
|
||||||
LTE_eNB_ULSCH_t *ulsch=eNB->ulsch[UE_id];
|
LTE_eNB_ULSCH_t *ulsch=eNB->ulsch[UE_id];
|
||||||
@@ -264,8 +258,8 @@ void handle_ulsch_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_p
|
|||||||
uint16_t to_beta_offset_ri[16]={9,13,16,20,25,32,40,50,64,80,101,127,160,0,0,0};
|
uint16_t to_beta_offset_ri[16]={9,13,16,20,25,32,40,50,64,80,101,127,160,0,0,0};
|
||||||
uint16_t to_beta_offset_cqi[16]={0,0,9,10,11,13,14,16,18,20,23,25,28,32,40,50};
|
uint16_t to_beta_offset_cqi[16]={0,0,9,10,11,13,14,16,18,20,23,25,28,32,40,50};
|
||||||
|
|
||||||
void handle_ulsch_cqi_ri_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe) {
|
void handle_ulsch_cqi_ri_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe)
|
||||||
|
{
|
||||||
nfapi_ul_config_cqi_ri_information_rel9_t *rel9 = &ul_config_pdu->ulsch_cqi_ri_pdu.cqi_ri_information.cqi_ri_information_rel9;
|
nfapi_ul_config_cqi_ri_information_rel9_t *rel9 = &ul_config_pdu->ulsch_cqi_ri_pdu.cqi_ri_information.cqi_ri_information_rel9;
|
||||||
|
|
||||||
LTE_eNB_ULSCH_t *ulsch = eNB->ulsch[UE_id];
|
LTE_eNB_ULSCH_t *ulsch = eNB->ulsch[UE_id];
|
||||||
@@ -284,8 +278,8 @@ void handle_ulsch_cqi_ri_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request
|
|||||||
rel9->delta_offset_cqi);
|
rel9->delta_offset_cqi);
|
||||||
}
|
}
|
||||||
|
|
||||||
void handle_ulsch_cqi_harq_ri_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe) {
|
void handle_ulsch_cqi_harq_ri_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe)
|
||||||
|
{
|
||||||
nfapi_ul_config_cqi_ri_information_rel9_t *rel9 = &ul_config_pdu->ulsch_cqi_harq_ri_pdu.cqi_ri_information.cqi_ri_information_rel9;
|
nfapi_ul_config_cqi_ri_information_rel9_t *rel9 = &ul_config_pdu->ulsch_cqi_harq_ri_pdu.cqi_ri_information.cqi_ri_information_rel9;
|
||||||
|
|
||||||
LTE_eNB_ULSCH_t *ulsch = eNB->ulsch[UE_id];
|
LTE_eNB_ULSCH_t *ulsch = eNB->ulsch[UE_id];
|
||||||
@@ -304,12 +298,10 @@ void handle_ulsch_cqi_harq_ri_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_re
|
|||||||
ulsch->beta_offset_harqack_times8 = to_beta_offset_harqack[harq_information->harq_information_rel10.delta_offset_harq];
|
ulsch->beta_offset_harqack_times8 = to_beta_offset_harqack[harq_information->harq_information_rel10.delta_offset_harq];
|
||||||
ulsch->beta_offset_ri_times8 = to_beta_offset_ri[rel9->delta_offset_ri];
|
ulsch->beta_offset_ri_times8 = to_beta_offset_ri[rel9->delta_offset_ri];
|
||||||
ulsch->beta_offset_cqi_times8 = to_beta_offset_cqi[rel9->delta_offset_cqi];
|
ulsch->beta_offset_cqi_times8 = to_beta_offset_cqi[rel9->delta_offset_cqi];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void handle_uci_harq_information(PHY_VARS_eNB *eNB, LTE_eNB_UCI *uci,nfapi_ul_config_harq_information *harq_information) {
|
void handle_uci_harq_information(PHY_VARS_eNB *eNB, LTE_eNB_UCI *uci,nfapi_ul_config_harq_information *harq_information)
|
||||||
|
{
|
||||||
|
|
||||||
if (eNB->frame_parms.frame_type == FDD) {
|
if (eNB->frame_parms.frame_type == FDD) {
|
||||||
uci->num_pucch_resources = harq_information->harq_information_rel9_fdd.number_of_pucch_resources;
|
uci->num_pucch_resources = harq_information->harq_information_rel9_fdd.number_of_pucch_resources;
|
||||||
|
|
||||||
@@ -404,7 +396,8 @@ void handle_uci_harq_information(PHY_VARS_eNB *eNB, LTE_eNB_UCI *uci,nfapi_ul_co
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void handle_uci_sr_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe,uint8_t srs_active) {
|
void handle_uci_sr_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe,uint8_t srs_active)
|
||||||
|
{
|
||||||
LTE_eNB_UCI *uci = &eNB->uci_vars[UE_id];
|
LTE_eNB_UCI *uci = &eNB->uci_vars[UE_id];
|
||||||
|
|
||||||
uci->frame = frame;
|
uci->frame = frame;
|
||||||
@@ -420,15 +413,10 @@ void handle_uci_sr_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t
|
|||||||
|
|
||||||
LOG_D(PHY,"Programming UCI SR rnti %x, pucch1_0 %d for (%d,%d)\n",
|
LOG_D(PHY,"Programming UCI SR rnti %x, pucch1_0 %d for (%d,%d)\n",
|
||||||
uci->rnti,uci->n_pucch_1_0_sr[0],frame,subframe);
|
uci->rnti,uci->n_pucch_1_0_sr[0],frame,subframe);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void handle_uci_sr_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe,uint8_t srs_active)
|
||||||
|
{
|
||||||
|
|
||||||
void handle_uci_sr_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe,uint8_t srs_active) {
|
|
||||||
|
|
||||||
LTE_eNB_UCI *uci = &eNB->uci_vars[UE_id];
|
LTE_eNB_UCI *uci = &eNB->uci_vars[UE_id];
|
||||||
|
|
||||||
uci->frame = frame;
|
uci->frame = frame;
|
||||||
@@ -441,12 +429,11 @@ void handle_uci_sr_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_
|
|||||||
uci->srs_active = srs_active;
|
uci->srs_active = srs_active;
|
||||||
uci->active = 1;
|
uci->active = 1;
|
||||||
|
|
||||||
|
|
||||||
handle_uci_harq_information(eNB,uci,&ul_config_pdu->uci_sr_harq_pdu.harq_information);
|
handle_uci_harq_information(eNB,uci,&ul_config_pdu->uci_sr_harq_pdu.harq_information);
|
||||||
}
|
}
|
||||||
|
|
||||||
void handle_uci_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe,uint8_t srs_active) {
|
void handle_uci_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe,uint8_t srs_active)
|
||||||
|
{
|
||||||
LTE_eNB_UCI *uci = &eNB->uci_vars[UE_id];
|
LTE_eNB_UCI *uci = &eNB->uci_vars[UE_id];
|
||||||
|
|
||||||
LOG_D(PHY,"Frame %d, Subframe %d: Programming UCI_HARQ process (type %d)\n",frame,subframe,HARQ);
|
LOG_D(PHY,"Frame %d, Subframe %d: Programming UCI_HARQ process (type %d)\n",frame,subframe,HARQ);
|
||||||
@@ -460,12 +447,10 @@ void handle_uci_harq_pdu(PHY_VARS_eNB *eNB,int UE_id,nfapi_ul_config_request_pdu
|
|||||||
handle_uci_harq_information(eNB,uci,&ul_config_pdu->uci_harq_pdu.harq_information);
|
handle_uci_harq_information(eNB,uci,&ul_config_pdu->uci_harq_pdu.harq_information);
|
||||||
|
|
||||||
uci->active=1;
|
uci->active=1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void handle_srs_pdu(PHY_VARS_eNB *eNB,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe)
|
||||||
void handle_srs_pdu(PHY_VARS_eNB *eNB,nfapi_ul_config_request_pdu_t *ul_config_pdu,uint16_t frame,uint8_t subframe) {
|
{
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i=0;i<NUMBER_OF_UE_MAX;i++) {
|
for (i=0;i<NUMBER_OF_UE_MAX;i++) {
|
||||||
@@ -489,8 +474,8 @@ void handle_srs_pdu(PHY_VARS_eNB *eNB,nfapi_ul_config_request_pdu_t *ul_config_p
|
|||||||
|
|
||||||
void handle_nfapi_ul_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
void handle_nfapi_ul_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
||||||
nfapi_ul_config_request_pdu_t *ul_config_pdu,
|
nfapi_ul_config_request_pdu_t *ul_config_pdu,
|
||||||
uint16_t frame,uint8_t subframe,uint8_t srs_present) {
|
uint16_t frame,uint8_t subframe,uint8_t srs_present)
|
||||||
|
{
|
||||||
nfapi_ul_config_ulsch_pdu_rel8_t *rel8 = &ul_config_pdu->ulsch_pdu.ulsch_pdu_rel8;
|
nfapi_ul_config_ulsch_pdu_rel8_t *rel8 = &ul_config_pdu->ulsch_pdu.ulsch_pdu_rel8;
|
||||||
|
|
||||||
int8_t UE_id;
|
int8_t UE_id;
|
||||||
@@ -506,7 +491,6 @@ void handle_nfapi_ul_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
|||||||
fill_ulsch(eNB,&ul_config_pdu->ulsch_pdu,frame,subframe);
|
fill_ulsch(eNB,&ul_config_pdu->ulsch_pdu,frame,subframe);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (ul_config_pdu->pdu_type == NFAPI_UL_CONFIG_ULSCH_HARQ_PDU_TYPE) {
|
else if (ul_config_pdu->pdu_type == NFAPI_UL_CONFIG_ULSCH_HARQ_PDU_TYPE) {
|
||||||
AssertFatal((UE_id = find_ulsch(ul_config_pdu->ulsch_harq_pdu.ulsch_pdu.ulsch_pdu_rel8.rnti,eNB,SEARCH_EXIST_OR_FREE))>=0,
|
AssertFatal((UE_id = find_ulsch(ul_config_pdu->ulsch_harq_pdu.ulsch_pdu.ulsch_pdu_rel8.rnti,eNB,SEARCH_EXIST_OR_FREE))>=0,
|
||||||
"No available UE ULSCH for rnti %x\n",ul_config_pdu->ulsch_harq_pdu.ulsch_pdu.ulsch_pdu_rel8.rnti);
|
"No available UE ULSCH for rnti %x\n",ul_config_pdu->ulsch_harq_pdu.ulsch_pdu.ulsch_pdu_rel8.rnti);
|
||||||
@@ -563,9 +547,8 @@ void handle_nfapi_ul_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void schedule_response(Sched_Rsp_t *Sched_INFO)
|
||||||
void schedule_response(Sched_Rsp_t *Sched_INFO) {
|
{
|
||||||
|
|
||||||
PHY_VARS_eNB *eNB;
|
PHY_VARS_eNB *eNB;
|
||||||
eNB_rxtx_proc_t *proc;
|
eNB_rxtx_proc_t *proc;
|
||||||
// copy data from L2 interface into L1 structures
|
// copy data from L2 interface into L1 structures
|
||||||
@@ -600,7 +583,6 @@ void schedule_response(Sched_Rsp_t *Sched_INFO) {
|
|||||||
uint8_t number_hi_dci0_pdu = HI_DCI0_req->hi_dci0_request_body.number_of_dci+HI_DCI0_req->hi_dci0_request_body.number_of_hi;
|
uint8_t number_hi_dci0_pdu = HI_DCI0_req->hi_dci0_request_body.number_of_dci+HI_DCI0_req->hi_dci0_request_body.number_of_hi;
|
||||||
uint8_t number_ul_pdu = UL_req->ul_config_request_body.number_of_pdus;
|
uint8_t number_ul_pdu = UL_req->ul_config_request_body.number_of_pdus;
|
||||||
|
|
||||||
|
|
||||||
nfapi_dl_config_request_pdu_t *dl_config_pdu;
|
nfapi_dl_config_request_pdu_t *dl_config_pdu;
|
||||||
nfapi_hi_dci0_request_pdu_t *hi_dci0_req_pdu;
|
nfapi_hi_dci0_request_pdu_t *hi_dci0_req_pdu;
|
||||||
nfapi_ul_config_request_pdu_t *ul_config_pdu;
|
nfapi_ul_config_request_pdu_t *ul_config_pdu;
|
||||||
|
|||||||
Reference in New Issue
Block a user