summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)