Merge remote-tracking branch 'origin/rfsim-fixes' into integration_2026_w02 (!3839)
Couple rfsim fixes
This commit is contained in:
@@ -54,6 +54,10 @@ extern "C" {
|
|||||||
#include <common/utils/load_module_shlib.h>
|
#include <common/utils/load_module_shlib.h>
|
||||||
#include <openair1/SIMULATION/TOOLS/sim.h>
|
#include <openair1/SIMULATION/TOOLS/sim.h>
|
||||||
#include "rfsimulator.h"
|
#include "rfsimulator.h"
|
||||||
|
extern int get_currentchannels_type(const char *buf,
|
||||||
|
int debug,
|
||||||
|
webdatadef_t *tdata,
|
||||||
|
telnet_printfunc_t prnt); // in random_channel.c
|
||||||
}
|
}
|
||||||
#include <queue>
|
#include <queue>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
@@ -112,10 +116,6 @@ typedef enum { SIMU_ROLE_SERVER = 1, SIMU_ROLE_CLIENT } simuRole;
|
|||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
static void getset_currentchannels_type(char *buf, int debug, webdatadef_t *tdata, telnet_printfunc_t prnt);
|
static void getset_currentchannels_type(char *buf, int debug, webdatadef_t *tdata, telnet_printfunc_t prnt);
|
||||||
extern int get_currentchannels_type(const char *buf,
|
|
||||||
int debug,
|
|
||||||
webdatadef_t *tdata,
|
|
||||||
telnet_printfunc_t prnt); // in random_channel.c
|
|
||||||
static int rfsimu_setchanmod_cmd(char *buff, int debug, telnet_printfunc_t prnt, void *arg);
|
static int rfsimu_setchanmod_cmd(char *buff, int debug, telnet_printfunc_t prnt, void *arg);
|
||||||
static int rfsimu_setdistance_cmd(char *buff, int debug, telnet_printfunc_t prnt, void *arg);
|
static int rfsimu_setdistance_cmd(char *buff, int debug, telnet_printfunc_t prnt, void *arg);
|
||||||
static int rfsimu_getdistance_cmd(char *buff, int debug, telnet_printfunc_t prnt, void *arg);
|
static int rfsimu_getdistance_cmd(char *buff, int debug, telnet_printfunc_t prnt, void *arg);
|
||||||
|
|||||||
@@ -177,6 +177,7 @@ int main(int argc, char *argv[]) {
|
|||||||
timestamp+=blockSize;
|
timestamp+=blockSize;
|
||||||
header.option_value=0;
|
header.option_value=0;
|
||||||
header.option_flag=0;
|
header.option_flag=0;
|
||||||
|
header.beam_map = 1;
|
||||||
} else {
|
} else {
|
||||||
AssertFatal(read(fd,&header,sizeof(header)), "");
|
AssertFatal(read(fd,&header,sizeof(header)), "");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user