summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschodet2009-02-13 15:16:51 +0000
committerschodet2009-02-13 15:16:51 +0000
commitbf184c66a04778474e239add8fa7751a371ca30c (patch)
tree72fb6ca0f4b3458726dc51557a2e247f0ae4e030
parentbf89fb2c442df0ab0ac16e82283ea4285f0a550c (diff)
* hal/phy/test/phy:
- added more burst tests. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4000 017c9cb6-072f-447c-8318-d5b54f68fe89
-rw-r--r--cesar/hal/phy/test/phy/py/burst.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/cesar/hal/phy/test/phy/py/burst.py b/cesar/hal/phy/test/phy/py/burst.py
index db59a8e119..6711f6df09 100644
--- a/cesar/hal/phy/test/phy/py/burst.py
+++ b/cesar/hal/phy/test/phy/py/burst.py
@@ -8,13 +8,19 @@ def burst (**d):
t2.burst_rx (**d)
t1.burst_tx (**d)
print t2.burst_stats ()
+ if 'collect_frames' in d or 'reply' in d:
+ print t1.burst_stats ()
+
+burst (nb_frames = 10, short_ppdu = True)
+burst (nb_frames = 10, short_ppdu = True, reply = True)
burst (nb_frames = 10, pb_nb_total = 10, mod = PHY_MOD_TM,
fecrate = PHY_FEC_RATE_16_21, gil = PHY_GIL_417)
+burst (nb_frames = 10, pb_nb_total = 10, mod = PHY_MOD_TM,
+ fecrate = PHY_FEC_RATE_16_21, gil = PHY_GIL_417, reply = True)
-burst (nb_frames = 1, pb_nb_total = 1, sound = True)
-
-t1.maximus.wait (25 * 1000000)
+burst (nb_frames = 10, pb_nb_total = 1, sound = True)
+burst (nb_frames = 10, pb_nb_total = 1, sound = True, reply = True)
t2.burst_csma (nb_frames = 10, cap = 1, backoff = 4, pb_nb_total = 5,
sync_receiver = True)