From 33d9cf8800d3b4c0bbbff09b7588c21ed35e3220 Mon Sep 17 00:00:00 2001
From: Ben Reynwar <ben@reynwar.net>
Date: Sun, 30 Sep 2012 17:23:19 -0700
Subject: digital: Fixed scaling bug in QAM constellations.

---
 gr-digital/python/qa_constellation.py          | 4 ++++
 gr-digital/python/qa_constellation_receiver.py | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

(limited to 'gr-digital/python')

diff --git a/gr-digital/python/qa_constellation.py b/gr-digital/python/qa_constellation.py
index b17d2a0fc..6962ec633 100755
--- a/gr-digital/python/qa_constellation.py
+++ b/gr-digital/python/qa_constellation.py
@@ -69,6 +69,10 @@ tested_constellation_info = (
      {'m': (2, 4, 8, 16, 32, 64),
       'mod_code': tested_mod_codes, },
      True, None),
+    (qam.qam_constellation,
+     {'constellation_points': (4, 16, 64),
+      'mod_code': tested_mod_codes, },
+     True, None),
     (digital_swig.constellation_bpsk, {}, True, None),
     (digital_swig.constellation_qpsk, {}, False, None),
     (digital_swig.constellation_dqpsk, {}, True, None),
diff --git a/gr-digital/python/qa_constellation_receiver.py b/gr-digital/python/qa_constellation_receiver.py
index 2d25433b9..fe9c923c5 100755
--- a/gr-digital/python/qa_constellation_receiver.py
+++ b/gr-digital/python/qa_constellation_receiver.py
@@ -39,7 +39,7 @@ SEED = 1239
 # We need this many to let the frequency recovery block converge.
 DATA_LENGTH = 2000
 # Test fails if fraction of output that is correct is less than this.
-REQ_CORRECT = 0.7
+REQ_CORRECT = 0.9
 
 # CHANNEL PARAMETERS
 NOISE_VOLTAGE = 0.01
-- 
cgit v1.2.3


From a5f794128d8386ff0067cbe2928af4ded728d3b2 Mon Sep 17 00:00:00 2001
From: Ben Reynwar <ben@reynwar.net>
Date: Mon, 1 Oct 2012 21:45:43 -0700
Subject: digital: Increase acceptable BER in qa_constellation_receiver back to
 prior value.

---
 gr-digital/python/qa_constellation_receiver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gr-digital/python')

diff --git a/gr-digital/python/qa_constellation_receiver.py b/gr-digital/python/qa_constellation_receiver.py
index fe9c923c5..2d25433b9 100755
--- a/gr-digital/python/qa_constellation_receiver.py
+++ b/gr-digital/python/qa_constellation_receiver.py
@@ -39,7 +39,7 @@ SEED = 1239
 # We need this many to let the frequency recovery block converge.
 DATA_LENGTH = 2000
 # Test fails if fraction of output that is correct is less than this.
-REQ_CORRECT = 0.9
+REQ_CORRECT = 0.7
 
 # CHANNEL PARAMETERS
 NOISE_VOLTAGE = 0.01
-- 
cgit v1.2.3