Exemplo n.º 1
0
int chest_ref_LTEDL(chest_t *q, int cell_id) {
	int n;
	for (n=0;n<NSLOTS_X_FRAME;n++) {
		if (chest_ref_LTEDL_slot(q, n, cell_id)) {
			return -1;
		}
	}
	return 0;
}
Exemplo n.º 2
0
int chest_ref_LTEDL(chest_t *q, lte_cell_t cell) {
  int n, ret;
  for (n=0;n<NSLOTS_X_FRAME;n++) {
    ret = chest_ref_LTEDL_slot(q, n, cell);
    if (ret != LIBLTE_SUCCESS) {
      return ret;
    }
  }
  return LIBLTE_SUCCESS;
}