summaryrefslogtreecommitdiff
path: root/usrp2/firmware/lib/db_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'usrp2/firmware/lib/db_init.c')
-rw-r--r--usrp2/firmware/lib/db_init.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/usrp2/firmware/lib/db_init.c b/usrp2/firmware/lib/db_init.c
index a0bfc5cfb..bc82946fc 100644
--- a/usrp2/firmware/lib/db_init.c
+++ b/usrp2/firmware/lib/db_init.c
@@ -45,14 +45,13 @@ extern struct db_base db_rfx_1800_tx;
extern struct db_base db_rfx_1800_rx;
extern struct db_base db_rfx_2400_tx;
extern struct db_base db_rfx_2400_rx;
+extern struct db_base db_wbxng_rx;
+extern struct db_base db_wbxng_tx;
extern struct db_base db_tvrx1;
extern struct db_base db_tvrx2;
extern struct db_base db_tvrx3;
extern struct db_base db_dbsrx;
-extern struct db_base db_xcvr2450_tx;
-extern struct db_base db_xcvr2450_rx;
-
struct db_base *all_dboards[] = {
&db_basic_tx,
&db_basic_rx,
@@ -74,8 +73,6 @@ struct db_base *all_dboards[] = {
#endif
&db_tvrx3,
&db_dbsrx,
- &db_xcvr2450_tx,
- &db_xcvr2450_rx,
0
};
@@ -426,3 +423,10 @@ db_set_gain(struct db_base *db, u2_fxpt_gain_t gain)
{
return db->set_gain(db, gain);
}
+
+bool
+db_set_antenna(struct db_base *db, int ant)
+{
+ if (db->set_antenna == 0) return false;
+ return db->set_antenna(db, ant);
+}