Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
This commit is contained in:
commit
b24a1c8131
3 changed files with 7 additions and 3 deletions
|
@ -150,7 +150,7 @@ int srslte_resample_arb_compute(srslte_resample_arb_t *q, cf_t *input, cf_t *out
|
||||||
|
|
||||||
res1 = srslte_resample_arb_dot_prod(filter_input, srslte_resample_arb_polyfilt[idx], SRSLTE_RESAMPLE_ARB_M);
|
res1 = srslte_resample_arb_dot_prod(filter_input, srslte_resample_arb_polyfilt[idx], SRSLTE_RESAMPLE_ARB_M);
|
||||||
if(q->interpolate){
|
if(q->interpolate){
|
||||||
res2 = srslte_resample_arb_dot_prod(filter_input, srslte_resample_arb_polyfilt[(idx%SRSLTE_RESAMPLE_ARB_N)+1], SRSLTE_RESAMPLE_ARB_M);
|
res2 = srslte_resample_arb_dot_prod(filter_input, srslte_resample_arb_polyfilt[(idx+1)%SRSLTE_RESAMPLE_ARB_N], SRSLTE_RESAMPLE_ARB_M);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(idx == SRSLTE_RESAMPLE_ARB_N){
|
if(idx == SRSLTE_RESAMPLE_ARB_N){
|
||||||
|
|
|
@ -256,7 +256,7 @@ void ue::push_pdu(uint32_t tti, uint32_t len)
|
||||||
bool ue::process_ce(srslte::sch_subh *subh) {
|
bool ue::process_ce(srslte::sch_subh *subh) {
|
||||||
uint32_t buff_size[4] = {0, 0, 0, 0};
|
uint32_t buff_size[4] = {0, 0, 0, 0};
|
||||||
float phr = 0;
|
float phr = 0;
|
||||||
uint32_t idx = 0;
|
int32_t idx = 0;
|
||||||
uint16_t old_rnti = 0;
|
uint16_t old_rnti = 0;
|
||||||
bool is_bsr = false;
|
bool is_bsr = false;
|
||||||
switch(subh->ce_type()) {
|
switch(subh->ce_type()) {
|
||||||
|
@ -279,6 +279,10 @@ bool ue::process_ce(srslte::sch_subh *subh) {
|
||||||
case srslte::sch_subh::TRUNC_BSR:
|
case srslte::sch_subh::TRUNC_BSR:
|
||||||
case srslte::sch_subh::SHORT_BSR:
|
case srslte::sch_subh::SHORT_BSR:
|
||||||
idx = subh->get_bsr(buff_size);
|
idx = subh->get_bsr(buff_size);
|
||||||
|
if(idx == -1){
|
||||||
|
Error("Invalid Index Passed to lc groups\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
for (uint32_t i=0;i<lc_groups[idx].size();i++) {
|
for (uint32_t i=0;i<lc_groups[idx].size();i++) {
|
||||||
// Indicate BSR to scheduler
|
// Indicate BSR to scheduler
|
||||||
sched->ul_bsr(rnti, lc_groups[idx][i], buff_size[idx]);
|
sched->ul_bsr(rnti, lc_groups[idx][i], buff_size[idx]);
|
||||||
|
|
|
@ -653,7 +653,7 @@ int setup_if_addr(char *ip_addr)
|
||||||
close(tun_fd);
|
close(tun_fd);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
close(sock);
|
close(sock);
|
||||||
|
|
||||||
return(tun_fd);
|
return(tun_fd);
|
||||||
|
|
Loading…
Reference in a new issue