From 7081879769829e49623adb68dc8c228082a91dda Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Thu, 26 Nov 2009 11:20:00 -0800 Subject: [PATCH] Control bits for filter bandwidths had the wrong shifts. Found and fixed by Stephen Lai of UCalgary --- usrp2/firmware/lib/db_xcvr2450.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usrp2/firmware/lib/db_xcvr2450.c b/usrp2/firmware/lib/db_xcvr2450.c index ffdf8d66..a48af903 100644 --- a/usrp2/firmware/lib/db_xcvr2450.c +++ b/usrp2/firmware/lib/db_xcvr2450.c @@ -250,8 +250,8 @@ static void set_reg_lpf(struct db_xcvr2450_dummy *db){ int reg_lpf = ( (db->common->d_rssi_hbw<<15) | - (db->common->d_txlpf_bw<<10) | - (db->common->d_rxlpf_bw<<9) | + (db->common->d_txlpf_bw<<9) | + (db->common->d_rxlpf_bw<<7) | (db->common->d_rxlpf_fine<<4) | 7); send_reg(reg_lpf); } -- 2.30.2