Sync more NFAPI changes from multi-ue-proxy.git

Most notably, nfapi_rx_indication_pdu_t.data type is changed from
`uint8_t*` to `uint8_t[]`.  Also, renamed from `data` to
`rx_ind_data` to make it easier to find.
This commit is contained in:
Michael Cook
2021-06-26 10:20:48 -07:00
parent 9a0926bdee
commit e54896591b
9 changed files with 48 additions and 34 deletions
+2 -2
View File
@@ -112,8 +112,8 @@ void fill_rx_indication_UE_MAC(module_id_t Mod_id,
pdu->rx_indication_rel9.timing_advance_r9 = 0;
// ulsch_buffer is necessary to keep its value.
pdu->data = malloc(buflen);
memcpy(pdu->data, ulsch_buffer, buflen);
assert(buflen <= NFAPI_RX_IND_DATA_MAX);
memcpy(pdu->rx_ind_data, ulsch_buffer, buflen);
LOG_I(MAC, "buflen of rx_ind pdu_data = %u SFN.SF: %d.%d\n", buflen,
frame, subframe);
// estimate timing advance for MAC