int chest_ref_LTEDL_slot(chest_t *q, int nslot, int cell_id) { int p; for (p=0;p<q->nof_ports;p++) { if (chest_ref_LTEDL_slot_port(q, p, nslot, cell_id)) { return -1; } } return 0; }
int chest_ref_LTEDL_slot(chest_t *q, uint32_t nslot, lte_cell_t cell) { int p, ret; for (p=0;p<q->nof_ports;p++) { ret = chest_ref_LTEDL_slot_port(q, nslot, p, cell); if (ret != LIBLTE_SUCCESS) { return ret; } } return LIBLTE_SUCCESS; }