summaryrefslogtreecommitdiff
path: root/mac/pbproc/test/maximus
diff options
context:
space:
mode:
authorburet2008-02-25 17:49:46 +0000
committerburet2008-02-25 17:49:46 +0000
commit94e656411960bc97d155c7d9c6e1461b9995512d (patch)
treed94f22269d5c32281d1bdec723f82aa0198bde87 /mac/pbproc/test/maximus
parent7ca22bc9610eed5a558200dc57b54eadbe3ef677 (diff)
Maximus V2: implement the TX false alarm feature.
+ enhance network clock get next element function + replace SAR_MSDU_PAYLOAD_SIZE by the new define of common/defs/ethernet.h git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1458 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'mac/pbproc/test/maximus')
-rw-r--r--mac/pbproc/test/maximus/py/test_coll.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/mac/pbproc/test/maximus/py/test_coll.py b/mac/pbproc/test/maximus/py/test_coll.py
index 8f6f55e366..459622ab60 100644
--- a/mac/pbproc/test/maximus/py/test_coll.py
+++ b/mac/pbproc/test/maximus/py/test_coll.py
@@ -19,8 +19,12 @@ maximus = Maximus ()
maximus.init (sys.argv + ['-e', 'obj/test_pbproc.elf'])
sta1 = maximus.create_sta ()
+while not sta1.is_idle():
+ maximus.process()
sta1.set_name ('sta1')
sta2 = maximus.create_sta ()
+while not sta2.is_idle():
+ maximus.process()
sta2.set_name ('sta2')
t1 = TestPBProc (maximus, sta1)
@@ -89,3 +93,6 @@ print 'trace sta1:'; sys.stdout.flush ()
t1.trace_dump (**trace)
print '\ntrace sta2:'; sys.stdout.flush ()
t2.trace_dump (**trace)
+
+sta1.remove()
+sta2.remove()