From f9f4137fbcd350fe3b8ec35d0e894f05337ce372 Mon Sep 17 00:00:00 2001 From: mercadie Date: Thu, 20 May 2010 09:22:29 +0000 Subject: 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 --- cesar/test_general/station/cco0/s2/py/sc11_one_sta_stats.py | 1 + cesar/test_general/station/common/src/station.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'cesar/test_general') 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; -- cgit v1.2.3