Control bits for filter bandwidths had the wrong shifts. Found and fixed by Stephen...
authorMatt Ettus <matt@ettus.com>
Thu, 26 Nov 2009 19:20:00 +0000 (11:20 -0800)
committerMatt Ettus <matt@ettus.com>
Thu, 26 Nov 2009 19:20:00 +0000 (11:20 -0800)
usrp2/firmware/lib/db_xcvr2450.c

index ffdf8d66073102dac7a347acffe10b04b8a83823..a48af903533c2dbb24991c8540a917520887037c 100644 (file)
@@ -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);
 }