summaryrefslogtreecommitdiff
path: root/cesar/cp/cco/action/test/utest/src/handover.c
diff options
context:
space:
mode:
authorlaranjeiro2009-03-17 10:34:22 +0000
committerlaranjeiro2009-03-17 10:34:22 +0000
commitac5ce009745f1ad1022b66f5f58a003510884817 (patch)
treebcf68fc357c2c62cf992fcbf0c295a1647fcb21a /cesar/cp/cco/action/test/utest/src/handover.c
parentb9534cc890a385021c62bd1d28dd2c506167badc (diff)
cp/cco/action: Tested the handover with three stations. (Closes #161).
* Fix the FSM, on the discover_process_done event, if no station can become the CCo the FSM stays in the CCO state. * When the CCo sends the cc_handover_info.ind MME to the new CCo, it adds itself to the message. * The new CCo inserts its TEI to the compute TEI mechanism of the CCo module. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4234 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp/cco/action/test/utest/src/handover.c')
-rw-r--r--cesar/cp/cco/action/test/utest/src/handover.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/cesar/cp/cco/action/test/utest/src/handover.c b/cesar/cp/cco/action/test/utest/src/handover.c
index 3ec709de56..ec7aff1cf3 100644
--- a/cesar/cp/cco/action/test/utest/src/handover.c
+++ b/cesar/cp/cco/action/test/utest/src/handover.c
@@ -58,7 +58,12 @@ handover__handover_cc_handover_cnf_receive (test_t test)
.peer = CP_MME_PEER (3, 3),
.rsc = CP_MSG_CC_HANDOVER_REQ_REASON_CCO_SELECTION,
.bcco = MAC_TEI_UNASSOCIATED,
- .num_sta = 1),
+ .num_sta = 2),
+ SCENARIO_EVENT (cp_msg_cc_handover_info_ind_send,
+ .tei = 1,
+ .mac_addr = 1,
+ .status = 0x1,
+ .ptei = MAC_TEI_UNASSOCIATED),
SCENARIO_EVENT (cp_msg_cc_handover_info_ind_send,
.tei = 4,
.mac_addr = 4,