Commit 206fd09b authored by Andrew Burger's avatar Andrew Burger

Adding comments for less confusion

parent 0d865eea
...@@ -975,7 +975,7 @@ static bool is_my_dl_config_req(const nfapi_dl_config_request_t *req) ...@@ -975,7 +975,7 @@ static bool is_my_dl_config_req(const nfapi_dl_config_request_t *req)
static int get_dlsch_pdu_indicies(const nfapi_dl_config_request_t *req, int *pdu_indicies, size_t max_pdu_indicies) static int get_dlsch_pdu_indicies(const nfapi_dl_config_request_t *req, int *pdu_indicies, size_t max_pdu_indicies)
{ {
const rnti_t my_rnti = UE_mac_inst[0].crnti; const rnti_t my_rnti = UE_mac_inst[0].crnti; // This is 0 representing the num_ues is 1
int num_pdus = req->dl_config_request_body.number_pdu; int num_pdus = req->dl_config_request_body.number_pdu;
size_t num_pdu_indicies = 0; size_t num_pdu_indicies = 0;
for (int i = 0; i < num_pdus; i++) for (int i = 0; i < num_pdus; i++)
...@@ -1256,7 +1256,7 @@ int memcpy_tx_req(nfapi_pnf_p7_config_t *pnf_p7, nfapi_tx_request_t *req) { ...@@ -1256,7 +1256,7 @@ int memcpy_tx_req(nfapi_pnf_p7_config_t *pnf_p7, nfapi_tx_request_t *req) {
static bool is_my_hi_dci0_req(nfapi_hi_dci0_request_t *hi_dci0_req) static bool is_my_hi_dci0_req(nfapi_hi_dci0_request_t *hi_dci0_req)
{ {
bool is_my_rnti = false; bool is_my_rnti = false;
const rnti_t rnti = UE_mac_inst[0].crnti; const rnti_t rnti = UE_mac_inst[0].crnti; // This is 0 representing the num_ues is 1
nfapi_hi_dci0_request_body_t *hi_dci0_body = &hi_dci0_req->hi_dci0_request_body; nfapi_hi_dci0_request_body_t *hi_dci0_body = &hi_dci0_req->hi_dci0_request_body;
for (int i = 0; i < hi_dci0_body->number_of_dci + hi_dci0_body->number_of_hi; i++) for (int i = 0; i < hi_dci0_body->number_of_dci + hi_dci0_body->number_of_hi; i++)
{ {
......
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