summaryrefslogtreecommitdiff
path: root/cesar/test_general
diff options
context:
space:
mode:
authormercadie2010-05-20 09:22:29 +0000
committermercadie2010-05-20 09:22:29 +0000
commitf9f4137fbcd350fe3b8ec35d0e894f05337ce372 (patch)
tree81c6afdc8551876030f0cc7959683766607f9284 /cesar/test_general
parentf71994e1f202db58fb22510a960613fa5f1236c0 (diff)
cesar/cp/lib/stats: add level parameter in VS_GET_STATS, closes #1003
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7120 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/test_general')
-rw-r--r--cesar/test_general/station/cco0/s2/py/sc11_one_sta_stats.py1
-rw-r--r--cesar/test_general/station/common/src/station.c6
2 files changed, 5 insertions, 2 deletions
diff --git a/cesar/test_general/station/cco0/s2/py/sc11_one_sta_stats.py b/cesar/test_general/station/cco0/s2/py/sc11_one_sta_stats.py
index 97f36b3792..e1ce3435ca 100644
--- a/cesar/test_general/station/cco0/s2/py/sc11_one_sta_stats.py
+++ b/cesar/test_general/station/cco0/s2/py/sc11_one_sta_stats.py
@@ -59,6 +59,7 @@ def send_mme_stats_get (self, mac, page_requested):
data += pack('B', 0x13)
data += pack('B', 0xD7)
data += pack('B', page_requested)
+ data += pack('B', 0x00)
# Create and send mme message VS_GET_STATS
mme = MME (MMHeader=MMHeader (mac, "20:21:22:23:24:25", MTYPE = 0x88E1, MMV = 1, MMTYPE = 0xA048, FMI = 0),
diff --git a/cesar/test_general/station/common/src/station.c b/cesar/test_general/station/common/src/station.c
index 971b5d2719..56736c35a7 100644
--- a/cesar/test_general/station/common/src/station.c
+++ b/cesar/test_general/station/common/src/station.c
@@ -61,7 +61,8 @@ lib_stats_callback_test(void)
lib_stats_set_stat_value_notype (callback_local_value_name,
&callback_local_value,
- LIB_STATS_ACCESS_READ_ONLY);
+ LIB_STATS_ACCESS_READ_ONLY,
+ LIB_STATS_USER);
return &callback_local_value;
}
@@ -147,7 +148,8 @@ cyg_user_start (void)
lib_stats_set_stat_callback ("idemButCallback(u64)",
(lib_stats_cb_r_t) lib_stats_callback_test,
NULL,
- sizeof (*(lib_stats_callback_test ())));
+ sizeof (*(lib_stats_callback_test ())),
+ LIB_STATS_USER);
#endif
return 0;