summaryrefslogtreecommitdiff
path: root/cesar/cp/msg/inc/msg_cc.h
diff options
context:
space:
mode:
authorschodet2008-08-29 14:39:45 +0000
committerschodet2008-08-29 14:39:45 +0000
commit1b5b41d79cf71a1d5a784576aa1fa9d9bd704a71 (patch)
treeb19ce8222f66f70325ab45e03ba99a1b5a1a4d63 /cesar/cp/msg/inc/msg_cc.h
parentabdbc9f21c94b14339fe65720efb161c9ae601b4 (diff)
* cp:
- removed old CP. * test_general: - removed station-cp-dp - removed cp_beacon-dp * other clean up. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2797 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp/msg/inc/msg_cc.h')
-rw-r--r--cesar/cp/msg/inc/msg_cc.h73
1 files changed, 0 insertions, 73 deletions
diff --git a/cesar/cp/msg/inc/msg_cc.h b/cesar/cp/msg/inc/msg_cc.h
deleted file mode 100644
index 0bfa9c1649..0000000000
--- a/cesar/cp/msg/inc/msg_cc.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* Cesar project {{{
- *
- * Copyright (C) 2007 Spidcom
- *
- * <<<Licence>>>
- *
- * }}} */
-/**
- * \file cp/msg/inc/msg_cc.h
- * \brief MME messages of CC type
- * \ingroup cp_msg
- */
-
-#ifndef msg_cc__h__
-#define msg_cc__h__
-
-#include "cp/msg/msg.h"
-
-
-typedef struct cc_assoc_req_t // 11.2.28
-{
- // TODO : set the real types
- u8 req_type;
- nid_t nid;
- u8 cco_capability;
- u8 proxy_networking_capability;
-} __attribute__ ((packed)) cc_assoc_req_t;
-
-typedef struct cc_assoc_cnf_t // 11.2.29
-{
- u8 result;
- nid_t nid;
- u8 snid;
- tei_t sta_tei;
- u16 lease_time;
-} __attribute__ ((packed)) cc_assoc_cnf_t;
-
-typedef struct cc_set_tei_map_ind_sub_t // 11.2.35
-{
- tei_t tei;
- mac_address_t mac_address;
- u8 status;
-} __attribute__ ((packed)) cc_set_tei_map_ind_sub_t;
-
-#define SET_TEI_MAP_SUB_NB_ELEM ((ETH_PACKET_MAX_SIZE - MSG_MME_HEADER_SIZE) / sizeof(cc_set_tei_map_ind_sub_t))
-
-typedef struct cc_set_tei_map_ind_t // 11.2.35
-{
- u8 mode;
- u8 num;
- cc_set_tei_map_ind_sub_t sub[SET_TEI_MAP_SUB_NB_ELEM];
-} __attribute__ ((packed)) cc_set_tei_map_ind_t;
-
-
-void msg_cc_assoc_req_send(const mac_address_t oda);
-
-void msg_cc_assoc_cnf_send(const mac_address_t oda, const u8 result, const tei_t sta_tei, const u16 lease_time);
-
-/**
- * \brief will send msg_cc_set_tei_map_ind
- * \param oda : station to which the message is sent
- * \param mode : see 11.2.35.1
- * \param tei : if mode == 0x01 (resp 0x02), this is the tei of the added (resp deleted) sta
- * if mode == 0x0, set tei to 0
- * \param recall : when this message is fragmented, call this function once per fragment, but
- * set recall to true only the first time.
- * \return
- */
-void msg_cc_set_tei_map_ind_send(const mac_address_t oda, const u8 mode, const tei_t tei, const bool recall);
-
-
-
-#endif