Commit 80223d36 authored by Laurent THOMAS's avatar Laurent THOMAS Committed by Robert Schmidt

Rename nr_fill_prach to nr_schedule_rx_prach()

parent 1292cd68
...@@ -39,7 +39,7 @@ rx_func_implem[rx_func] ...@@ -39,7 +39,7 @@ rx_func_implem[rx_func]
--> handle_nr_nfapi_xxx_pdu --> handle_nr_nfapi_xxx_pdu
--> sendTxFilled((L1_tx_filled)) --> sendTxFilled((L1_tx_filled))
--> nr_fill_ul_xxx --> nr_fill_ul_xxx
--> nr_fill_prach --> nr_schedule_rx_prach()
end end
gNB_dlsch_ulsch_scheduler --> NR_Schedule_response gNB_dlsch_ulsch_scheduler --> NR_Schedule_response
end end
......
...@@ -79,7 +79,7 @@ prach_item_t *find_nr_prach(prach_list_t *l, int frame, int slot, find_type_t ty ...@@ -79,7 +79,7 @@ prach_item_t *find_nr_prach(prach_list_t *l, int frame, int slot, find_type_t ty
return p; return p;
} }
prach_item_t *nr_fill_prach(PHY_VARS_gNB *gNB, int SFN, int Slot, nfapi_nr_prach_pdu_t *prach_pdu) prach_item_t *nr_schedule_rx_prach(PHY_VARS_gNB *gNB, int SFN, int Slot, nfapi_nr_prach_pdu_t *prach_pdu)
{ {
prach_item_t *prach = find_nr_prach(&gNB->prach_list, SFN, Slot, SEARCH_EXIST_OR_FREE); prach_item_t *prach = find_nr_prach(&gNB->prach_list, SFN, Slot, SEARCH_EXIST_OR_FREE);
if (!prach) { if (!prach) {
......
...@@ -200,7 +200,7 @@ void nr_fill_ulsch(PHY_VARS_gNB *gNB, ...@@ -200,7 +200,7 @@ void nr_fill_ulsch(PHY_VARS_gNB *gNB,
int slot, int slot,
nfapi_nr_pusch_pdu_t *ulsch_pdu); nfapi_nr_pusch_pdu_t *ulsch_pdu);
prach_item_t *nr_fill_prach(PHY_VARS_gNB *gNB, int SFN, int Slot, nfapi_nr_prach_pdu_t *prach_pdu); prach_item_t *nr_schedule_rx_prach(PHY_VARS_gNB *gNB, int SFN, int Slot, nfapi_nr_prach_pdu_t *prach_pdu);
typedef struct rx_prach_out { typedef struct rx_prach_out {
uint16_t max_preamble; uint16_t max_preamble;
......
...@@ -41,12 +41,10 @@ void nr_fill_pucch(PHY_VARS_gNB *gNB, ...@@ -41,12 +41,10 @@ void nr_fill_pucch(PHY_VARS_gNB *gNB,
int frame, int frame,
int slot, int slot,
nfapi_nr_pucch_pdu_t *pucch_pdu){} nfapi_nr_pucch_pdu_t *pucch_pdu){}
void nr_fill_prach(PHY_VARS_gNB *gNB, void nr_schedule_rx_prach(PHY_VARS_gNB *gNB, int SFN, int Slot, nfapi_nr_prach_pdu_t *prach_pdu)
int SFN, {
int Slot, }
nfapi_nr_prach_pdu_t *prach_pdu){}
void nr_fill_prach_ru(RU_t *ru,prach_item_t *gnb_prach){}
void nr_phy_config_request(NR_PHY_Config_t *gNB){} void nr_phy_config_request(NR_PHY_Config_t *gNB){}
void install_nr_schedule_handlers(NR_IF_Module_t *if_inst){} void install_nr_schedule_handlers(NR_IF_Module_t *if_inst){}
......
...@@ -37,7 +37,7 @@ void nr_fill_pucch(PHY_VARS_gNB *gNB, ...@@ -37,7 +37,7 @@ void nr_fill_pucch(PHY_VARS_gNB *gNB,
int frame, int frame,
int slot, int slot,
nfapi_nr_pucch_pdu_t *pucch_pdu){} nfapi_nr_pucch_pdu_t *pucch_pdu){}
void nr_fill_prach(PHY_VARS_gNB *gNB, int SFN, int Slot, nfapi_nr_prach_pdu_t *prach_pdu) void nr_schedule_rx_prach(PHY_VARS_gNB *gNB, int SFN, int Slot, nfapi_nr_prach_pdu_t *prach_pdu)
{ {
} }
......
...@@ -155,7 +155,7 @@ void nr_schedule_ul_tti_req(PHY_VARS_gNB *gNB, nfapi_nr_ul_tti_request_t *UL_tti ...@@ -155,7 +155,7 @@ void nr_schedule_ul_tti_req(PHY_VARS_gNB *gNB, nfapi_nr_ul_tti_request_t *UL_tti
UL_tti_req->Slot); UL_tti_req->Slot);
nfapi_nr_prach_pdu_t *prach_pdu = &UL_tti_req->pdus_list[i].prach_pdu; nfapi_nr_prach_pdu_t *prach_pdu = &UL_tti_req->pdus_list[i].prach_pdu;
LOG_D(NR_PHY_RACH, "Add prach decoding request for %d.%d\n", UL_tti_req->SFN, UL_tti_req->Slot); LOG_D(NR_PHY_RACH, "Add prach decoding request for %d.%d\n", UL_tti_req->SFN, UL_tti_req->Slot);
prach_item_t *prach = nr_fill_prach(gNB, UL_tti_req->SFN, UL_tti_req->Slot, prach_pdu); prach_item_t *prach = nr_schedule_rx_prach(gNB, UL_tti_req->SFN, UL_tti_req->Slot, prach_pdu);
if (!prach) if (!prach)
LOG_W(NR_PHY_RACH, "Error in scheduling rach\n"); LOG_W(NR_PHY_RACH, "Error in scheduling rach\n");
/* the present design is not supporting multiple gNB in one RU /* the present design is not supporting multiple gNB in one RU
......
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