Skip to content

Commit

Permalink
load db at the begin
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuyang Cao committed Sep 21, 2024
1 parent 2fd21fc commit 2defe04
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 459 deletions.
8 changes: 8 additions & 0 deletions nrscope/hdr/nrscope_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <pthread.h>
#include <complex>
#include <sys/time.h>
#include <nlohmann/json.hpp>

#include "srsran/common/band_helper.h"
#include "srsran/common/band_helper.h"
Expand Down Expand Up @@ -52,6 +53,8 @@
#define NR_FAILURE -1
#define NR_SUCCESS 0

using json = nlohmann::json;

struct cell_searcher_args_t {
// Generic parameters
double srate_hz = 11.52e6;
Expand Down Expand Up @@ -204,6 +207,11 @@ typedef struct WorkState_ WorkState;

uint32_t nof_known_rntis;
std::vector<uint16_t> known_rntis;

// Ground-truth config for hidden bwp
// TO-DO: this will be an array alike when interface with the real db
// so we will search the right hidden bwp based on PCI or alike.
json js_hidden_bwp;
};

typedef struct SlotResult_ SlotResult;
Expand Down
Loading

0 comments on commit 2defe04

Please sign in to comment.