mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
Add `num_phys` to `nvipc_params_t` so the number of configured PHYs flows from `gnb_config.c` down into the nvIPC layer without hardcoding. `configure_nr_nfapi_vnf` now creates one `pnf_list` entry per PHY (instead of a single hardcoded entry), and `epoll_recv_task` injects one fake PARAM.RESPONSE per PHY so each cell triggers its own CONFIG.REQUEST. `nr_param_resp_cb` picks up `config[p5_idx]` so the correct per-cell MAC config is sent. Incoming P5 responses from cuBB are dispatched using `msg->cell_id` as `p5_idx` in `vnf_nr_handle_p4_p5_message()`, matching the per-cell routing established for P7. Single-cell behaviour is unchanged (`num_phys = 1`). Signed-off-by: Gabriele Gemmi <g.gemmi@northeastern.edu>