summaryrefslogtreecommitdiff
path: root/cp/msg/inc/msg_cc.h
diff options
context:
space:
mode:
authorsave2008-04-07 14:17:42 +0000
committersave2008-04-07 14:17:42 +0000
commit3d58a62727346b7ac1a6cb36fed1a06ed72228dd (patch)
treed7788c3cf9f76426aef0286d0202e2097f0fa0eb /cp/msg/inc/msg_cc.h
parent095dca4b0a8d4924093bab424f71f588fdd84613 (diff)
Moved the complete svn base into the cesar directory.
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1769 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cp/msg/inc/msg_cc.h')
-rw-r--r--cp/msg/inc/msg_cc.h73
1 files changed, 0 insertions, 73 deletions
diff --git a/cp/msg/inc/msg_cc.h b/cp/msg/inc/msg_cc.h
deleted file mode 100644
index 0bfa9c1649..0000000000
--- a/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