added functionality to map UEs and eNBs to different cards and RF chains
moved some functionality from device_init to dump_config in openair0 library git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5744 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -40,6 +40,10 @@ typedef struct openair0_device_t openair0_device;
|
||||
/* structrue holds the parameters to configure USRP devices
|
||||
*/
|
||||
|
||||
#ifdef USRP
|
||||
#define MAX_CARDS 1
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
max_gain=0,med_gain,byp_gain
|
||||
} rx_gain_t;
|
||||
@@ -68,6 +72,15 @@ typedef struct {
|
||||
double tx_bw;
|
||||
} openair0_config_t;
|
||||
|
||||
typedef struct {
|
||||
/* card id */
|
||||
int card;
|
||||
/* rf chain id */
|
||||
int chain;
|
||||
} openair0_rf_map;
|
||||
|
||||
|
||||
|
||||
struct openair0_device_t {
|
||||
/* USRP RF frontend parameters set by application */
|
||||
openair0_config_t openair0_cfg;
|
||||
|
||||
Reference in New Issue
Block a user