added all configuration in enb_app
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5896 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -40,7 +40,7 @@ typedef struct openair0_device_t openair0_device;
|
||||
/* structrue holds the parameters to configure USRP devices
|
||||
*/
|
||||
|
||||
#ifdef USRP
|
||||
#ifndef EXMIMO
|
||||
#define MAX_CARDS 1
|
||||
#endif
|
||||
|
||||
@@ -50,6 +50,8 @@ typedef enum {
|
||||
|
||||
|
||||
typedef struct {
|
||||
/* Module ID for this configuration */
|
||||
int Mod_id;
|
||||
/* the sample rate for both transmit and receive. */
|
||||
double sample_rate;
|
||||
/* number of RX channels (=RX antennas) */
|
||||
@@ -70,6 +72,10 @@ typedef struct {
|
||||
double rx_bw;
|
||||
/* TX bandwidth in Hz */
|
||||
double tx_bw;
|
||||
/* RRH IP addr for Ethernet interface */
|
||||
char rrh_ip[20];
|
||||
/* RRH port number for Ethernet interface */
|
||||
int rrh_port;
|
||||
} openair0_config_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -82,9 +88,12 @@ typedef struct {
|
||||
|
||||
|
||||
struct openair0_device_t {
|
||||
/* USRP RF frontend parameters set by application */
|
||||
openair0_config_t openair0_cfg;
|
||||
/* Module ID of this device */
|
||||
int Mod_id;
|
||||
|
||||
/* RF frontend parameters set by application */
|
||||
openair0_config_t openair0_cfg;
|
||||
|
||||
/* Can be used by driver to hold internal structure*/
|
||||
void *priv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user