Commit 1b2a64fe authored by maaroufi's avatar maaroufi

Removed white spaces

parent 01c1eba4
...@@ -820,7 +820,6 @@ int phy_nr_uci_indication(nfapi_nr_uci_indication_t *ind) ...@@ -820,7 +820,6 @@ int phy_nr_uci_indication(nfapi_nr_uci_indication_t *ind)
{ {
if (uci_ind->uci_list[i].pdu_type == NFAPI_NR_UCI_FORMAT_0_1_PDU_TYPE) if (uci_ind->uci_list[i].pdu_type == NFAPI_NR_UCI_FORMAT_0_1_PDU_TYPE)
{ {
} }
if (uci_ind->uci_list[i].pdu_type == NFAPI_NR_UCI_FORMAT_2_3_4_PDU_TYPE) if (uci_ind->uci_list[i].pdu_type == NFAPI_NR_UCI_FORMAT_2_3_4_PDU_TYPE)
{ {
......
...@@ -6076,20 +6076,20 @@ static uint8_t unpack_nr_uci_pucch_0_1(nfapi_nr_uci_pucch_pdu_format_0_1_t *valu ...@@ -6076,20 +6076,20 @@ static uint8_t unpack_nr_uci_pucch_0_1(nfapi_nr_uci_pucch_pdu_format_0_1_t *valu
return 0; return 0;
if (value->pduBitmap & 0x01) { //SR if (value->pduBitmap & 0x01) { //SR
if(!(pull8(ppReadPackedMsg, &value->sr.sr_indication, end) && if(!(pull8(ppReadPackedMsg, &value->sr.sr_indication, end) &&
pull8(ppReadPackedMsg, &value->sr.sr_confidence_level, end) pull8(ppReadPackedMsg, &value->sr.sr_confidence_level, end)
)) ))
return 0; return 0;
} }
if (((value->pduBitmap >> 1) & 0x01)) { //HARQ if (((value->pduBitmap >> 1) & 0x01)) { //HARQ
if (!(pull8(ppReadPackedMsg, &value->harq.num_harq, end) && if (!(pull8(ppReadPackedMsg, &value->harq.num_harq, end) &&
pull8(ppReadPackedMsg, &value->harq.harq_confidence_level, end) pull8(ppReadPackedMsg, &value->harq.harq_confidence_level, end)
)) ))
return 0; return 0;
if (value->harq.num_harq > 0) { if (value->harq.num_harq > 0) {
for (int i = 0; i < value->harq.num_harq; i++) { for (int i = 0; i < value->harq.num_harq; i++) {
if (!pull8(ppReadPackedMsg, &value->harq.harq_list[i].harq_value, end)) { if (!pull8(ppReadPackedMsg, &value->harq.harq_list[i].harq_value, end)) {
return 0; return 0;
......
...@@ -960,9 +960,6 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id, ...@@ -960,9 +960,6 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id,
else else
sched_ctrl->tpc1 = 3; sched_ctrl->tpc1 = 3;
sched_ctrl->pucch_snrx10 = uci_01->ul_cqi * 5 - 640; sched_ctrl->pucch_snrx10 = uci_01->ul_cqi * 5 - 640;
} }
// check scheduling request result, confidence_level == 0 is good // check scheduling request result, confidence_level == 0 is good
...@@ -972,7 +969,7 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id, ...@@ -972,7 +969,7 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id,
sched_ctrl->SR |= true; sched_ctrl->SR |= true;
LOG_D(NR_MAC, "SR UE %04x ul_cqi %d\n", uci_01->rnti, uci_01->ul_cqi); LOG_D(NR_MAC, "SR UE %04x ul_cqi %d\n", uci_01->rnti, uci_01->ul_cqi);
} }
} }
NR_SCHED_UNLOCK(&nrmac->sched_lock); NR_SCHED_UNLOCK(&nrmac->sched_lock);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment