Rename nr_fill_prach to nr_schedule_rx_prach()
This commit is contained in:
committed by
Robert Schmidt
parent
1292cd68b7
commit
80223d36d5
@@ -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
|
|||||||
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,
|
|||||||
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,11 +41,9 @@ 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){}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user