summaryrefslogtreecommitdiff
path: root/cesar/cp/sta
diff options
context:
space:
mode:
authorMilenko Jelisavcic2012-06-06 14:10:13 +0200
committerMilenko Jelisavcic2012-09-10 11:49:58 +0200
commit030c2be70633731d391b63cef0401981e76b97d6 (patch)
tree6d22a982b1df6ed486c58bcb221001332dfa1045 /cesar/cp/sta
parent97e75498ca4d33cd7e824c664f59453211b39e75 (diff)
cp/sta/core: change comment and remove needless file
Diffstat (limited to 'cesar/cp/sta')
-rw-r--r--cesar/cp/sta/core/inc/core.h7
-rw-r--r--cesar/cp/sta/core/src/core.c7
-rw-r--r--cesar/cp/sta/core/test/Makefile.mk4
-rw-r--r--cesar/cp/sta/core/test/src/core_thread.c6
-rw-r--r--cesar/cp/sta/core/test/src/core_timer.c5
-rw-r--r--cesar/cp/sta/core/test/src/pwl_stub.c22
6 files changed, 4 insertions, 47 deletions
diff --git a/cesar/cp/sta/core/inc/core.h b/cesar/cp/sta/core/inc/core.h
index 8a8f70dec9..5b33b0026f 100644
--- a/cesar/cp/sta/core/inc/core.h
+++ b/cesar/cp/sta/core/inc/core.h
@@ -303,12 +303,7 @@ cp_sta_core_wait_event_loop(cp_t *cp_ctx);
*
* \param data thread entry data
*
- * 1) evaluate (and, eventually set arbitrary) power-line frequency,
- * which gives the beacon period (33ms for 60Hz, 40ms for 50Hz,
- * and 40ms if COAX cable, that is, 0Hz considered as if 50Hz)
- * This is done by calling cp_pwl_acl_frequency_detection()
- *
- * 2) call the station core wait event loop
+ * 1) call the station core wait event loop
*/
void
cp_sta_core_cp_thread(cyg_addrword_t data);
diff --git a/cesar/cp/sta/core/src/core.c b/cesar/cp/sta/core/src/core.c
index cc66f39234..eb82426e82 100644
--- a/cesar/cp/sta/core/src/core.c
+++ b/cesar/cp/sta/core/src/core.c
@@ -621,12 +621,7 @@ cp_sta_core_wait_event_loop(cp_t *ctx)
*
* \param data thread entry data
*
- * 1) evaluate (and, eventually set arbitrary) power-line frequency,
- * which gives the beacon period (33ms for 60Hz, 40ms for 50Hz,
- * and 40ms if COAX cable, that is, 0Hz considered as if 50Hz)
- * This is done by calling cp_pwl_acl_frequency_detection()
- *
- * 2) call the station core wait event loop
+ * 1) call the station core wait event loop
*/
void cp_sta_core_cp_thread(cyg_addrword_t data)
{
diff --git a/cesar/cp/sta/core/test/Makefile.mk b/cesar/cp/sta/core/test/Makefile.mk
index 1ea0298290..eb427d0820 100644
--- a/cesar/cp/sta/core/test/Makefile.mk
+++ b/cesar/cp/sta/core/test/Makefile.mk
@@ -8,14 +8,14 @@ INCLUDES = cp/sta/core/test/override
TARGET_PROGRAMS = core_events core core_thread core_timer
core_events_SOURCES = core_events.c cp_cl_interf_stub.c action_stub.c \
- sta_mgr_stub.c pwl_stub.c
+ sta_mgr_stub.c
core_events_MODULES = lib cp/sta/core cp/av/fsm/stub cp/cco/action/stub \
ce/rx/cp/stub cp/beacon/stub \
$(SPARC_MODULES)
core_events_CONFIG_MODULES = cp
core_SOURCES = core.c cp_cl_interf_stub.c action_stub.c\
- sta_mgr_stub.c pwl_stub.c
+ sta_mgr_stub.c
core_MODULES = lib cp/sta/core cp/av/fsm/stub cp/cco/action/stub \
ce/rx/cp/stub cp/beacon/stub \
$(SPARC_MODULES)
diff --git a/cesar/cp/sta/core/test/src/core_thread.c b/cesar/cp/sta/core/test/src/core_thread.c
index 8910257a2f..0aff7e893b 100644
--- a/cesar/cp/sta/core/test/src/core_thread.c
+++ b/cesar/cp/sta/core/test/src/core_thread.c
@@ -224,12 +224,6 @@ cp_cl_interf_garbage_collector(cp_t *ctx)
}
void
-cp_pwl_acl_frequency_detection(cp_t *ctx)
-{
-
-}
-
-void
cp_beacon_get_and_process_beacon(cp_t *ctx)
{
test_beacon = true;
diff --git a/cesar/cp/sta/core/test/src/core_timer.c b/cesar/cp/sta/core/test/src/core_timer.c
index 5f4808f01b..c75a18bf6e 100644
--- a/cesar/cp/sta/core/test/src/core_timer.c
+++ b/cesar/cp/sta/core/test/src/core_timer.c
@@ -126,11 +126,6 @@ cp_cl_interf_garbage_collector(cp_t *ctx)
}
void
-cp_pwl_acl_frequency_detection(cp_t *ctx)
-{
-}
-
-void
cp_beacon_get_and_process_beacon(cp_t *ctx)
{
}
diff --git a/cesar/cp/sta/core/test/src/pwl_stub.c b/cesar/cp/sta/core/test/src/pwl_stub.c
deleted file mode 100644
index 19df6f1276..0000000000
--- a/cesar/cp/sta/core/test/src/pwl_stub.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Cesar project {{{
- *
- * Copyright (C) 2008 Spidcom
- *
- * <<<Licence>>>
- *
- * }}} */
-/**
- * \file src/pwl_stub.c
- * \brief « brief description »
- * \ingroup « module »
- *
- * « long description »
- */
-#include "common/std.h"
-
-#include "cp/cp.h"
-
-void
-cp_pwl_acl_frequency_detection (cp_t *ctx)
-{
-}