summaryrefslogtreecommitdiff
path: root/cesar/cp
diff options
context:
space:
mode:
authorThierry Carré2012-04-06 17:23:10 +0200
committerThierry Carré2012-05-10 17:02:58 +0200
commit9d56edd410d4170c9d066ae895a3259ddccc8889 (patch)
treeb8ff8f3d86ed6309b08509565c97c647b6c42aaf /cesar/cp
parent50fa262bfe3b7f644da8a81a1c09c3fe4df15815 (diff)
cesar/cp/msg: stub updated, refs #2928
Diffstat (limited to 'cesar/cp')
-rw-r--r--cesar/cp/msg/src/msg.c67
-rw-r--r--cesar/cp/msg/src/msg_cc.c29
-rw-r--r--cesar/cp/msg/src/msg_cm.c76
-rw-r--r--cesar/cp/msg/src/msg_drv.c30
-rw-r--r--cesar/cp/msg/src/msg_vs.c124
-rw-r--r--cesar/cp/msg/stub/src/mme.c9
-rw-r--r--cesar/cp/msg/stub/src/msg.c26
-rw-r--r--cesar/cp/msg/stub/src/msg_cc.c438
-rw-r--r--cesar/cp/msg/stub/src/msg_cm.c595
-rw-r--r--cesar/cp/msg/stub/src/msg_drv.c258
-rw-r--r--cesar/cp/msg/stub/src/msg_vs.c334
11 files changed, 1152 insertions, 834 deletions
diff --git a/cesar/cp/msg/src/msg.c b/cesar/cp/msg/src/msg.c
index 730db251e0..3b6d0ad729 100644
--- a/cesar/cp/msg/src/msg.c
+++ b/cesar/cp/msg/src/msg.c
@@ -389,10 +389,6 @@ cp_msg_peks_key_get (cp_t *ctx, cp_mme_peks_t peks)
dbg_assert_default ();
}
-/**
- * Initialise the MSG module.
- * \param ctx control plane context
- */
void
cp_msg_init (cp_t *ctx)
{
@@ -408,10 +404,6 @@ cp_msg_init (cp_t *ctx)
ctx->msg.fmsn = 1;
}
-/**
- * Uninitialise the MSG module.
- * \param ctx control plane context
- */
void
cp_msg_uninit (cp_t *ctx)
{
@@ -455,7 +447,7 @@ cp_msg_dispatch__read_enc_header (cp_t *ctx, cp_mme_rx_t *mme)
* \param type the variable to store the FSM event type.
* \return value code.
*/
-enum cp_msg_allowed_mme_t
+static enum cp_msg_allowed_mme_t
cp_msg_dispatch__allowed_mme (cp_t *ctx, cp_mme_rx_t *mme,
enum cp_msg_mme_sta_status_t *status_min,
cp_fsm_event_type_t *type)
@@ -536,16 +528,6 @@ cp_msg_dispatch__allowed_mme_testing (cp_t *ctx, cp_mme_rx_t *mme,
return ok;
}
-/**
- * Examine message type and post an event to the FSM.
- * \param ctx control plane context
- * \param mme received MME
- *
- * This function looks up the message type and translates it to a FSM event,
- * while checking the encryption is compliant with the message type.
- *
- * It also extracts and checks payload from encrypted messages.
- */
void
cp_msg_dispatch (cp_t *ctx, cp_mme_rx_t *mme)
{
@@ -645,19 +627,6 @@ cp_msg_mme_init (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
return mme;
}
-/**
- * Initialise a MME handle for a new message to be transmitted.
- * \param ctx control plane context
- * \param peer peer information
- * \param mmtype the MME MMTYPE.
- * \return the newly created message
- *
- * This function:
- *
- * - gets a buffer for MME transmission,
- * - encapsulates the MME in a CC_RELAY.REQ if necessary,
- * - writes the MME header.
- */
cp_mme_tx_t *
cp_msg_mme_init_not_frag (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype)
{
@@ -686,19 +655,6 @@ cp_msg_mme_init_not_frag (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype)
return msg;
}
-/**
- * Initialise a MME handle for a new encrypted message to be transmitted.
- * \param ctx control plane context
- * \param peer peer information
- * \param mmtype the MME MMType.
- * \param pid protocol identifier
- * \param peks payload encryption key select
- * \param prun protocol run information
- * \return the newly created message
- *
- * This does the same as cp_msg_mme_init_not_frag(), but also encapsulate the
- * MME in a CM_ENCRYPTED_PAYLOAD.IND.
- */
cp_mme_tx_t *
cp_msg_mme_init_encrypted (cp_t *ctx, cp_mme_peer_t *peer,
cp_mmtype_t mmtype,
@@ -1117,10 +1073,6 @@ cp_msg_mme_send (cp_t *ctx, cp_mme_tx_t *mme)
slab_release (mme);
}
-/** Read the MME header once the bitstream has already been initialised.
- * \param mme the MME handler.
- * \param fmi the FMI.
- */
bool
cp_msg_mme_read_header_initialised (cp_mme_rx_t *mme, uint *fmi)
{
@@ -1274,12 +1226,6 @@ cp_msg_mme_read_header_enc_check_data (cp_t *ctx, cp_mme_rx_t *mme,
return output;
}
-/**
- * Read an encrypted header and decrypt the payload.
- * \param ctx the module context.
- * \param mme the mme context.
- * \return true if decoded correctly, false otherwise.
- */
bool
cp_msg_mme_read_header_enc (cp_t *ctx, cp_mme_rx_t *mme)
{
@@ -1422,14 +1368,6 @@ cp_msg_mme_read_header_enc (cp_t *ctx, cp_mme_rx_t *mme)
return output;
}
-/**
- * Change the current buffer of the reception message.
- * \param ctx the module context.
- * \param msg the message RX to change the buffer.
- *
- * This shall be used only on the RX MMEs which are received as fragmented
- * ones.
- */
void
cp_msg_mme_rx_change_buffer (cp_mme_rx_t *msg)
{
@@ -1448,9 +1386,6 @@ cp_msg_mme_rx_change_buffer (cp_mme_rx_t *msg)
current->length);
}
-/** Function to call when the buffer is full.
- * \param mme The Message to change the buffer.
- */
void
cp_msg_mme_tx_change_buffer (bitstream_t *bs, cp_mme_tx_t *mme)
{
diff --git a/cesar/cp/msg/src/msg_cc.c b/cesar/cp/msg/src/msg_cc.c
index ca7e16659b..cdcc5a0155 100644
--- a/cesar/cp/msg/src/msg_cc.c
+++ b/cesar/cp/msg/src/msg_cc.c
@@ -6,9 +6,9 @@
*
* }}} */
/**
- * \file cp/msg/src/msg_cc.c
+ * \file cesar/cp/msg/src/msg_cc.c
* \brief CC family MME.
- * \ingroup cp_msg
+ * \ingroup cesar_cp_msg
*/
#include "common/std.h"
#include "common/defs/homeplugAV.h"
@@ -680,10 +680,9 @@ cp_msg_cc_relay_send_begin (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
}
cp_mme_tx_t *
-cp_msg_cc_relay_req_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_secu_protocol_run_t *prun,
- cp_mme_peks_t peks,
- mac_t fda, cp_tei_t ftei)
+cp_msg_cc_relay_req_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_secu_protocol_run_t *prun,
+ cp_mme_peks_t peks, mac_t fda, cp_tei_t ftei)
{
return cp_msg_cc_relay_send_begin (ctx, peer, CC_RELAY_REQ,
prun, peks, fda, ftei);
@@ -903,9 +902,9 @@ cp_msg_cc_discover_list_cnf_nb_net (bitstream_t *stream, uint *nb_net)
* \return the message context.
*/
cp_mme_tx_t *
-cp_msg_cc_discover_list_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- uint nb_sta, uint nb_net,
- cp_msg_cc_discover_list_ctx_t *disc_ctx)
+cp_msg_cc_discover_list_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, uint nb_sta, uint nb_net,
+ cp_msg_cc_discover_list_ctx_t *disc_ctx)
{
cp_mme_tx_t *mme;
uint data_length;
@@ -1400,9 +1399,9 @@ cp_msg_cc_handover_info_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme)
}
void
-cp_msg_cc_cco_appoint_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_cc_cco_appoint_req_rt_t req_type,
- mac_t mac_addr)
+cp_msg_cc_cco_appoint_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_msg_cc_cco_appoint_req_rt_t req_type,
+ mac_t mac_addr)
{
cp_mme_tx_t *mme;
dbg_assert (ctx);
@@ -1421,9 +1420,9 @@ cp_msg_cc_cco_appoint_req_send (cp_t *ctx, cp_mme_peer_t *peer,
}
bool
-cp_msg_cc_cco_appoint_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_cco_appoint_req_rt_t *req_type,
- mac_t *mac_addr)
+cp_msg_cc_cco_appoint_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_cco_appoint_req_rt_t *req_type,
+ mac_t *mac_addr)
{
dbg_assert (ctx);
dbg_assert (mme);
diff --git a/cesar/cp/msg/src/msg_cm.c b/cesar/cp/msg/src/msg_cm.c
index 4658d7ef78..8867dc171a 100644
--- a/cesar/cp/msg/src/msg_cm.c
+++ b/cesar/cp/msg/src/msg_cm.c
@@ -6,9 +6,9 @@
*
* }}} */
/**
- * \file cp/msg/src/msg_cm.c
+ * \file cesar/cp/msg/src/msg_cm.c
* \brief CM family MME.
- * \ingroup cp_msg
+ * \ingroup cesar_cp_msg
*/
#include "common/std.h"
#include "common/defs/homeplugAV.h"
@@ -205,10 +205,9 @@ cp_msg_cm_set_key_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
* \param data MME data to send
*/
void
-cp_msg_cm_set_key_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_set_key_req_t *data)
+cp_msg_cm_set_key_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_set_key_req_t *data)
{
cp_mme_tx_t *msg;
@@ -305,10 +304,9 @@ cp_msg_cm_set_key_cnf_access (bitstream_t *stream,
* \param data MME data to send
*/
void
-cp_msg_cm_set_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_set_key_cnf_t *data)
+cp_msg_cm_set_key_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_set_key_cnf_t *data)
{
cp_mme_tx_t *msg;
@@ -350,8 +348,8 @@ cp_msg_cm_set_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
* Encryption and protocol run information is available in the MME handle.
*/
bool
-cp_msg_cm_set_key_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_set_key_cnf_t *data)
+cp_msg_cm_set_key_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cm_set_key_cnf_t *data)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -419,10 +417,9 @@ cp_msg_cm_get_key_req_access (bitstream_t *stream,
* \param data MME data to send
*/
void
-cp_msg_cm_get_key_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_get_key_req_t *data)
+cp_msg_cm_get_key_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_get_key_req_t *data)
{
cp_mme_tx_t *mme;
dbg_assert (ctx);
@@ -498,10 +495,9 @@ cp_msg_cm_get_key_cnf_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
* \param data MME data to send
*/
void
-cp_msg_cm_get_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_get_key_cnf_t *data)
+cp_msg_cm_get_key_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_get_key_cnf_t *data)
{
cp_mme_tx_t *msg;
uint i;
@@ -949,8 +945,9 @@ cp_msg_cm_amp_map_req_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
* \param restype the response type.
*/
void
-cp_msg_cm_amp_map_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const enum cp_msg_cm_amp_map_cnf_restype_t restype)
+cp_msg_cm_amp_map_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer_info,
+ const enum cp_msg_cm_amp_map_cnf_restype_t restype)
{
cp_mme_tx_t *mme;
dbg_assert (ctx);
@@ -972,8 +969,9 @@ cp_msg_cm_amp_map_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
* \return true on success.
*/
bool
-cp_msg_cm_amp_map_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cm_amp_map_cnf_restype_t *restype)
+cp_msg_cm_amp_map_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme,
+ enum cp_msg_cm_amp_map_cnf_restype_t *restype)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -1031,9 +1029,9 @@ cp_msg_cm_brg_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
* \return the newly created message.
*/
cp_mme_tx_t *
-cp_msg_cm_brg_info_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
- const uint bsf, const uint nbda,
- const cp_tei_t own_tei)
+cp_msg_cm_brg_info_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer_info, const uint bsf, const uint nbda,
+ const cp_tei_t own_tei)
{
cp_mme_tx_t *mme;
@@ -1481,10 +1479,10 @@ cp_msg_cm_nw_info_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
* or the set the HFID network e.g. 0x2 or 0x4.
*/
void
-cp_msg_cm_hfid_req_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- enum cp_msg_cm_hfid_req_reqtype_t req_type,
- cp_nid_t nid,
- const char *hfid)
+cp_msg_cm_hfid_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer_info,
+ enum cp_msg_cm_hfid_req_reqtype_t req_type, cp_nid_t nid,
+ const char *hfid)
{
cp_mme_tx_t *mme;
dbg_assert (ctx);
@@ -1537,10 +1535,10 @@ cp_msg_cm_hfid_req_send (cp_t *ctx, cp_mme_peer_t *peer_info,
* or the set the HFID network e.g. 0x2 or 0x4.
*/
bool
-cp_msg_cm_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cm_hfid_req_reqtype_t *req_type,
- cp_nid_t *nid,
- char *hfid)
+cp_msg_cm_hfid_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme,
+ enum cp_msg_cm_hfid_req_reqtype_t *req_type, cp_nid_t *nid,
+ char *hfid)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -1827,8 +1825,8 @@ cp_msg_cm_link_stats_req_access (bitstream_t *bs,
* \return true on success
*/
bool
-cp_msg_cm_link_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_link_stats_req_t *data)
+cp_msg_cm_link_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cm_link_stats_req_t *data)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -1863,8 +1861,8 @@ cp_msg_cm_link_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
* \return mme the MME handler.
*/
cp_mme_tx_t *
-cp_msg_cm_link_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
- u8 req_id, u8 res_type)
+cp_msg_cm_link_stats_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer_info, u8 req_id, u8 res_type)
{
cp_mme_tx_t *mme;
dbg_assert (ctx);
diff --git a/cesar/cp/msg/src/msg_drv.c b/cesar/cp/msg/src/msg_drv.c
index bf4cfc9e1b..5f7d18f838 100644
--- a/cesar/cp/msg/src/msg_drv.c
+++ b/cesar/cp/msg/src/msg_drv.c
@@ -6,9 +6,9 @@
*
* }}} */
/**
- * \file cp/msg/src/msg_drv.c
+ * \file cesar/cp/msg/src/msg_drv.c
* \brief MME Driver.
- * \ingroup cp_msg
+ * \ingroup cesar_cp_msg
*
*/
#include "common/std.h"
@@ -112,7 +112,7 @@ cp_msg_drv_sta_set_was_cco_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
* \param max_length the payload max length mandatory.
* \retun true if the payload is correct, false if corrupted.
*/
-bool
+static bool
cp_msg_drv_sta_string_recv (cp_t *ctx, cp_mme_rx_t *mme, char *buffer,
uint min_length, uint max_length)
{
@@ -404,11 +404,10 @@ cp_msg_drv_sta_mac_stop_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
}
bool
-cp_msg_drv_sta_set_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_key_t *nmk,
- cp_msg_drv_sta_set_key_type_t *type,
- cp_nid_t *nid,
- cp_security_level_t *sl)
+cp_msg_drv_sta_set_key_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_key_t *nmk,
+ cp_msg_drv_sta_set_key_type_t *type, cp_nid_t *nid,
+ cp_security_level_t *sl)
{
uint i;
dbg_assert (ctx);
@@ -461,11 +460,10 @@ cp_msg_drv_sta_set_config_req_receive (
}
void
-cp_msg_drv_sta_set_key_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_key_t nmk,
- cp_msg_drv_sta_set_key_type_t type,
- cp_nid_t nid,
- cp_security_level_t sl)
+cp_msg_drv_sta_set_key_ind_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_key_t nmk,
+ cp_msg_drv_sta_set_key_type_t type, cp_nid_t nid,
+ cp_security_level_t sl)
{
uint i;
cp_mme_tx_t *tx;
@@ -664,9 +662,9 @@ cp_msg_drv_sta_set_avln_hfid_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
bool
cp_msg_drv_mcast_set_list_req_receive (
- cp_t *ctx, cp_mme_rx_t *mme, uint *nb_groups,
- mac_t groups[MCAST_GROUP_MAX_NB], uint nb_members[MCAST_GROUP_MAX_NB],
- mac_t members[MCAST_GROUP_MAX_NB][MCAST_MEMBER_MAX_NB])
+ cp_t *ctx, cp_mme_rx_t *mme, uint *nb_groups,
+ mac_t groups[MCAST_GROUP_MAX_NB], uint nb_members[MCAST_GROUP_MAX_NB],
+ mac_t members[MCAST_GROUP_MAX_NB][MCAST_MEMBER_MAX_NB])
{
/* Check parameters. */
dbg_assert (ctx);
diff --git a/cesar/cp/msg/src/msg_vs.c b/cesar/cp/msg/src/msg_vs.c
index ded9cf3c61..acd1593e5d 100644
--- a/cesar/cp/msg/src/msg_vs.c
+++ b/cesar/cp/msg/src/msg_vs.c
@@ -6,9 +6,9 @@
*
* }}} */
/**
- * \file cp/msg/src/msg_vs.c
+ * \file cesar/cp/msg/src/msg_vs.c
* \brief VS family MME.
- * \ingroup cp_msg
+ * \ingroup cesar_cp_msg
*/
#include "common/std.h"
#include "common/defs/homeplugAV.h"
@@ -41,11 +41,10 @@
* \return true on success.
*/
bool
-cp_msg_vs_get_tonemap_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac_addr,
- cp_msg_vs_get_tonemap_tmi_t *tmi,
- u8 *int_id,
- cp_msg_vs_get_tonemap_req_dir_t *dir)
+cp_msg_vs_get_tonemap_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_tonemap_tmi_t *tmi, u8 *int_id,
+ cp_msg_vs_get_tonemap_req_dir_t *dir)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -82,10 +81,10 @@ cp_msg_vs_get_tonemap_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
* \param tmi the requested tonemap.
*/
void
-cp_msg_vs_get_tonemap_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_tonemap_cnf_result_t result,
- uint beacon_delta, u8 int_id,tonemaps_t *tms,
- cp_msg_vs_get_tonemap_tmi_t tmi)
+cp_msg_vs_get_tonemap_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_msg_vs_get_tonemap_cnf_result_t result,
+ uint beacon_delta, u8 int_id,tonemaps_t *tms,
+ cp_msg_vs_get_tonemap_tmi_t tmi)
{
cp_mme_tx_t * mme;
@@ -212,11 +211,9 @@ cp_msg_vs_get_tonemap_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
}
bool
-cp_msg_vs_get_snr_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac_addr,
- cp_msg_vs_get_snr_req_int_t *tm_int_i,
- u8 *int_id,
- u8 *carrier_gr)
+cp_msg_vs_get_snr_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_snr_req_int_t *tm_int_i, u8 *int_id, u8 *carrier_gr)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -243,8 +240,8 @@ cp_msg_vs_get_snr_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
}
void
-cp_msg_vs_get_snr_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_msg_vs_get_snr_cnf_t *data)
+cp_msg_vs_get_snr_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_vs_get_snr_cnf_t *data)
{
uint i = 0;
cp_mme_tx_t * mme;
@@ -296,10 +293,9 @@ cp_msg_vs_get_snr_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
* \return true on success.
*/
bool
-cp_msg_vs_get_spectrum_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac_addr,
- cp_msg_vs_get_spectrum_req_carrier_gr_t
- *carrier_gr)
+cp_msg_vs_get_spectrum_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_spectrum_req_carrier_gr_t *carrier_gr)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -329,9 +325,9 @@ cp_msg_vs_get_spectrum_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
* \return the message context.
*/
cp_mme_tx_t *
-cp_msg_vs_get_spectrum_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_spectrum_cnf_result_t
- result, u8 AvgAGC)
+cp_msg_vs_get_spectrum_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_vs_get_spectrum_cnf_result_t result, u8 AvgAGC)
{
cp_mme_tx_t * mme;
@@ -356,9 +352,9 @@ cp_msg_vs_get_spectrum_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
* \param spectrum the struct that contains the spectrum value.
*/
void
-cp_msg_vs_get_spectrum_cnf_send_spectrum (cp_t *ctx, cp_mme_tx_t *mme,
- cp_msg_vs_get_spectrum_cnf_spec_t
- *spectrum)
+cp_msg_vs_get_spectrum_cnf_send_spectrum (
+ cp_t *ctx, cp_mme_tx_t *mme,
+ cp_msg_vs_get_spectrum_cnf_spec_t *spectrum)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -391,8 +387,8 @@ cp_msg_vs_get_spectrum_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
* \return true on success.
*/
bool
-cp_msg_vs_get_link_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_vs_get_link_stats_req_t *data)
+cp_msg_vs_get_link_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_vs_get_link_stats_req_t *data)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -429,11 +425,9 @@ cp_msg_vs_get_link_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
* \return the message context.
*/
void
-cp_msg_vs_get_link_stats_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- u8 ReqID,
- cp_msg_vs_get_link_stats_cnf_result_t
- result,
- u32 Bad_CRC)
+cp_msg_vs_get_link_stats_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, u8 ReqID,
+ cp_msg_vs_get_link_stats_cnf_result_t result, u32 Bad_CRC)
{
cp_mme_tx_t * mme;
@@ -463,9 +457,9 @@ cp_msg_vs_get_link_stats_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
* \return the message context.
*/
cp_mme_tx_t *
-cp_msg_vs_get_amp_map_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_amp_map_cnf_result_t
- result, u16 amlen)
+cp_msg_vs_get_amp_map_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_vs_get_amp_map_cnf_result_t result, u16 amlen)
{
cp_mme_tx_t * mme;
@@ -490,8 +484,8 @@ cp_msg_vs_get_amp_map_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
* \param ampmap the amplitude map value.
*/
void
-cp_msg_vs_get_amp_map_cnf_send_ampmap (cp_t *ctx, cp_mme_tx_t *mme,
- u8 ampmap)
+cp_msg_vs_get_amp_map_cnf_send_ampmap (
+ cp_t *ctx, cp_mme_tx_t *mme, u8 ampmap)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -524,8 +518,8 @@ cp_msg_vs_get_amp_map_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
* \return true on success.
*/
bool
-cp_msg_vs_get_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- u8 *page_number, u8* level)
+cp_msg_vs_get_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, u8 *page_number, u8* level)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -567,9 +561,9 @@ cp_msg_vs_get_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer)
* \param page the page to send.
*/
void
-cp_msg_vs_get_stats_cnf_send (cp_t *ctx, cp_mme_tx_t *mme, u8 page,
- u8 nb_pages, lib_stats_level_t level,
- cp_msg_vs_get_stats_cnf_result_t result)
+cp_msg_vs_get_stats_cnf_send (
+ cp_t *ctx, cp_mme_tx_t *mme, u8 page, u8 nb_pages,
+ lib_stats_level_t level, cp_msg_vs_get_stats_cnf_result_t result)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -617,9 +611,10 @@ cp_msg_imac_get_discover_list_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
* \return the message context.
*/
cp_mme_tx_t *
-cp_msg_imac_get_discover_list_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_imac_get_discover_list_cnf_result_t result, u8 version,
- u8 num_stations)
+cp_msg_imac_get_discover_list_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_imac_get_discover_list_cnf_result_t result, u8 version,
+ u8 num_stations)
{
cp_mme_tx_t * mme;
@@ -642,8 +637,9 @@ cp_msg_imac_get_discover_list_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
* \param data data to be sent.
*/
void
-cp_msg_imac_get_discover_list_cnf_send (cp_t *ctx, cp_mme_tx_t *mme,
- const cp_msg_imac_discover_list_sta_info_t *data)
+cp_msg_imac_get_discover_list_cnf_send (
+ cp_t *ctx, cp_mme_tx_t *mme,
+ const cp_msg_imac_discover_list_sta_info_t *data)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -685,11 +681,9 @@ cp_msg_vs_get_ce_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
}
void
-cp_msg_vs_get_ce_stats_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- u8 version,
- u8 result,
- sta_t *sta,
- tonemask_info_t *ti)
+cp_msg_vs_get_ce_stats_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, u8 version, u8 result, sta_t *sta,
+ tonemask_info_t *ti)
{
dbg_assert (ctx);
dbg_assert (result < CP_MSG_VS_GET_CE_STATS_CNF_RESULT_NB);
@@ -831,8 +825,8 @@ cp_msg_vs_get_ce_stats_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
}
bool
-cp_msg_vs_get_pb_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_tei_t *stei_filter)
+cp_msg_vs_get_pb_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_tei_t *stei_filter)
{
dbg_assert (ctx);
dbg_assert (mme);
@@ -847,8 +841,8 @@ cp_msg_vs_get_pb_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
}
cp_mme_tx_t *
-cp_msg_vs_get_pb_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- int nb_measures)
+cp_msg_vs_get_pb_stats_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, int nb_measures)
{
cp_mme_tx_t* mme;
uint size;
@@ -874,8 +868,8 @@ cp_msg_vs_get_pb_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
}
void
-cp_msg_vs_get_pb_stats_cnf_send_measure (cp_t *ctx, cp_mme_tx_t *mme,
- int start_to_read, int nb_entries)
+cp_msg_vs_get_pb_stats_cnf_send_measure (
+ cp_t *ctx, cp_mme_tx_t *mme, int start_to_read, int nb_entries)
{
int j;
sar_pb_stats_entry_t *entry = NULL;
@@ -922,8 +916,8 @@ cp_msg_vs_get_mactotei_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
}
cp_mme_tx_t *
-cp_msg_vs_get_mactotei_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- uint nb_entry)
+cp_msg_vs_get_mactotei_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, uint nb_entry)
{
cp_mme_tx_t* mme;
uint size = VS_GET_MACTOTEI_CNF_SIZE(nb_entry);
@@ -938,8 +932,8 @@ cp_msg_vs_get_mactotei_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
}
void
-cp_msg_vs_get_mactotei_cnf_send_entry (cp_t *ctx, cp_mme_tx_t *mme_tx,
- mac_t mac, cp_tei_t tei, u8 tag)
+cp_msg_vs_get_mactotei_cnf_send_entry (
+ cp_t *ctx, cp_mme_tx_t *mme_tx, mac_t mac, cp_tei_t tei, u8 tag)
{
dbg_assert (mme_tx);
bitstream_write_large (
diff --git a/cesar/cp/msg/stub/src/mme.c b/cesar/cp/msg/stub/src/mme.c
index ba4a20ce46..9cecf9909c 100644
--- a/cesar/cp/msg/stub/src/mme.c
+++ b/cesar/cp/msg/stub/src/mme.c
@@ -6,19 +6,20 @@
*
* }}} */
/**
- * \file src/mme.c
+ * \file cesar/cp/msg/stub/src/mme.c
* \brief « brief description »
- * \ingroup « module »
+ * \ingroup cesar_cp_msg_stub
*
* « long description »
*/
#include "common/std.h"
#include "cp/cp.h"
-#include "cp/msg/msg.h"
+#include "cp/mme.h"
cp_mme_rx_t *
-cp_msg_mme_rx_init (cp_t *ctx, u8 *mme, uint length, cp_tei_t tei) __attribute__((weak));
+cp_msg_mme_rx_init (cp_t *ctx, u8 *mme, uint length, cp_tei_t tei)
+ __attribute__((weak));
cp_mme_rx_t *
cp_msg_mme_rx_init (cp_t *ctx, u8 *mme, uint length, cp_tei_t tei)
diff --git a/cesar/cp/msg/stub/src/msg.c b/cesar/cp/msg/stub/src/msg.c
index c8e34093f8..c43764b4f3 100644
--- a/cesar/cp/msg/stub/src/msg.c
+++ b/cesar/cp/msg/stub/src/msg.c
@@ -6,16 +6,16 @@
*
* }}} */
/**
- * \file src/msg.c
+ * \file cesar/cp/msg/stub/src/msg.c
* \brief « brief description »
- * \ingroup « module »
+ * \ingroup cesar_cp_msg_stub
*
* « long description »
*/
#include "common/std.h"
#include "cp/cp.h"
-#include "cp/msg/msg.h"
+#include "cp/mme.h"
void
cp_msg_init (cp_t *ctx) __attribute__((weak));
@@ -35,6 +35,17 @@ cp_msg_dispatch (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
void
cp_msg_dispatch (cp_t *ctx, cp_mme_rx_t *mme) {}
+
+cp_mme_tx_t *
+cp_msg_mme_init (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
+ uint mme_payload_length) __attribute__((weak));
+cp_mme_tx_t *
+cp_msg_mme_init (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
+ uint mme_payload_length)
+{
+ return NULL;
+}
+
cp_mme_tx_t *
cp_msg_mme_init_not_frag (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype)
__attribute__((weak));
@@ -84,6 +95,15 @@ cp_msg_mme_send (cp_t *ctx, cp_mme_tx_t *mme) __attribute__((weak));
void
cp_msg_mme_send (cp_t *ctx, cp_mme_tx_t *mme) {}
+bool
+cp_msg_mme_read_header_initialised (cp_mme_rx_t *mme, uint *fmi)
+ __attribute__((weak));
+bool
+cp_msg_mme_read_header_initialised (cp_mme_rx_t *mme, uint *fmi)
+{
+ return true;
+}
+
cp_mme_rx_t *
cp_msg_mme_read_header (cp_t *ctx, u8 *mme, uint length, cp_tei_t tei,
uint *fmi) __attribute__((weak));
diff --git a/cesar/cp/msg/stub/src/msg_cc.c b/cesar/cp/msg/stub/src/msg_cc.c
index 99b8b4d753..637c778d73 100644
--- a/cesar/cp/msg/stub/src/msg_cc.c
+++ b/cesar/cp/msg/stub/src/msg_cc.c
@@ -6,9 +6,9 @@
*
* }}} */
/**
- * \file src/msg_cc.c
+ * \file cesar/cp/msg/stub/src/msg_cc.c
* \brief « brief description »
- * \ingroup « module »
+ * \ingroup cesar_cp_msg_stub
*
* « long description »
*/
@@ -18,16 +18,16 @@
#include "cp/msg/msg.h"
void
-cp_msg_cc_who_ru_req_send (cp_t *ctx, cp_mme_peer_t *peer, cp_nid_t nid) __attribute__((weak));
-
+cp_msg_cc_who_ru_req_send (cp_t *ctx, cp_mme_peer_t *peer, cp_nid_t nid)
+ __attribute__((weak));
void
cp_msg_cc_who_ru_req_send (cp_t *ctx, cp_mme_peer_t *peer, cp_nid_t nid)
{
}
bool
-cp_msg_cc_who_ru_req_receive (cp_t *ctx, cp_mme_rx_t *mme, cp_nid_t *nid) __attribute__((weak));
-
+cp_msg_cc_who_ru_req_receive (cp_t *ctx, cp_mme_rx_t *mme, cp_nid_t *nid)
+ __attribute__((weak));
bool
cp_msg_cc_who_ru_req_receive (cp_t *ctx, cp_mme_rx_t *mme, cp_nid_t *nid)
{
@@ -35,84 +35,93 @@ cp_msg_cc_who_ru_req_receive (cp_t *ctx, cp_mme_rx_t *mme, cp_nid_t *nid)
}
void
-cp_msg_cc_who_ru_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_msg_cc_who_ru_cnf_t *data) __attribute__((weak));
+cp_msg_cc_who_ru_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_cc_who_ru_cnf_t *data)
+ __attribute__((weak));
void
-cp_msg_cc_who_ru_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_msg_cc_who_ru_cnf_t *data)
+cp_msg_cc_who_ru_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_cc_who_ru_cnf_t *data)
{
}
bool
-cp_msg_cc_who_ru_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_who_ru_cnf_t *data) __attribute__((weak));
+cp_msg_cc_who_ru_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_who_ru_cnf_t *data)
+ __attribute__((weak));
bool
-cp_msg_cc_who_ru_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_who_ru_cnf_t *data)
+cp_msg_cc_who_ru_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_who_ru_cnf_t *data)
{
return true;
}
void
-cp_msg_cc_assoc_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_msg_cc_assoc_req_t *data) __attribute__((weak));
+cp_msg_cc_assoc_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_cc_assoc_req_t *data)
+ __attribute__((weak));
void
-cp_msg_cc_assoc_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_msg_cc_assoc_req_t *data)
+cp_msg_cc_assoc_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_cc_assoc_req_t *data)
{
}
bool
-cp_msg_cc_assoc_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_assoc_req_t *data) __attribute__((weak));
+cp_msg_cc_assoc_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_assoc_req_t *data)
+ __attribute__((weak));
bool
-cp_msg_cc_assoc_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_assoc_req_t *data)
+cp_msg_cc_assoc_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_assoc_req_t *data)
{
return true;
}
void
-cp_msg_cc_assoc_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_msg_cc_assoc_cnf_t *data) __attribute__((weak));
+cp_msg_cc_assoc_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_cc_assoc_cnf_t *data)
+ __attribute__((weak));
void
-cp_msg_cc_assoc_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_msg_cc_assoc_cnf_t *data)
+cp_msg_cc_assoc_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_cc_assoc_cnf_t *data)
{
}
bool
-cp_msg_cc_assoc_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_assoc_cnf_t *data) __attribute__((weak));
+cp_msg_cc_assoc_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_assoc_cnf_t *data)
+ __attribute__((weak));
bool
-cp_msg_cc_assoc_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_assoc_cnf_t *data)
+cp_msg_cc_assoc_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_assoc_cnf_t *data)
{
return true;
}
void
-cp_msg_cc_leave_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- enum cp_msg_cc_leave_req_reason_t reason) __attribute__((weak));
+cp_msg_cc_leave_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, enum cp_msg_cc_leave_req_reason_t reason)
+ __attribute__((weak));
void
-cp_msg_cc_leave_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- enum cp_msg_cc_leave_req_reason_t reason)
+cp_msg_cc_leave_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, enum cp_msg_cc_leave_req_reason_t reason)
{
}
bool
-cp_msg_cc_leave_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cc_leave_req_reason_t *reason) __attribute__((weak));
+cp_msg_cc_leave_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, enum cp_msg_cc_leave_req_reason_t *reason)
+ __attribute__((weak));
bool
-cp_msg_cc_leave_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cc_leave_req_reason_t *reason)
+cp_msg_cc_leave_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, enum cp_msg_cc_leave_req_reason_t *reason)
{
return true;
}
void
-cp_msg_cc_leave_cnf_send (cp_t *ctx, cp_mme_peer_t *peer) __attribute__((weak));
+cp_msg_cc_leave_cnf_send (cp_t *ctx, cp_mme_peer_t *peer)
+ __attribute__((weak));
void
cp_msg_cc_leave_cnf_send (cp_t *ctx, cp_mme_peer_t *peer)
@@ -120,7 +129,8 @@ cp_msg_cc_leave_cnf_send (cp_t *ctx, cp_mme_peer_t *peer)
}
bool
-cp_msg_cc_leave_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
+cp_msg_cc_leave_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
bool
cp_msg_cc_leave_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme)
@@ -154,7 +164,8 @@ cp_msg_cc_leave_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
}
void
-cp_msg_cc_leave_rsp_send (cp_t *ctx, cp_mme_peer_t *peer) __attribute__((weak));
+cp_msg_cc_leave_rsp_send (cp_t *ctx, cp_mme_peer_t *peer)
+ __attribute__((weak));
void
cp_msg_cc_leave_rsp_send (cp_t *ctx, cp_mme_peer_t *peer)
@@ -162,7 +173,8 @@ cp_msg_cc_leave_rsp_send (cp_t *ctx, cp_mme_peer_t *peer)
}
bool
-cp_msg_cc_leave_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
+cp_msg_cc_leave_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
bool
cp_msg_cc_leave_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme)
@@ -171,7 +183,8 @@ cp_msg_cc_leave_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme)
}
void
-cp_msg_cc_set_tei_map_req_send (cp_t *ctx, cp_mme_peer_t *peer) __attribute__((weak));
+cp_msg_cc_set_tei_map_req_send (cp_t *ctx, cp_mme_peer_t *peer)
+ __attribute__((weak));
void
cp_msg_cc_set_tei_map_req_send (cp_t *ctx, cp_mme_peer_t *peer)
@@ -179,7 +192,8 @@ cp_msg_cc_set_tei_map_req_send (cp_t *ctx, cp_mme_peer_t *peer)
}
bool
-cp_msg_cc_set_tei_map_req_receive (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
+cp_msg_cc_set_tei_map_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
bool
cp_msg_cc_set_tei_map_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
@@ -190,7 +204,8 @@ cp_msg_cc_set_tei_map_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
cp_mme_tx_t *
cp_msg_cc_set_tei_map_ind_send_begin (
cp_t *ctx, cp_mme_peer_t *peer,
- enum cp_msg_cc_set_tei_map_ind_mode_t mode, uint sta_nb) __attribute__((weak));
+ enum cp_msg_cc_set_tei_map_ind_mode_t mode, uint sta_nb)
+ __attribute__((weak));
cp_mme_tx_t *
cp_msg_cc_set_tei_map_ind_send_begin (
@@ -213,7 +228,8 @@ cp_msg_cc_set_tei_map_ind_send_sta (
}
void
-cp_msg_cc_set_tei_map_ind_send_end (cp_t *ctx, cp_mme_tx_t *mme) __attribute__((weak));
+cp_msg_cc_set_tei_map_ind_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
void
cp_msg_cc_set_tei_map_ind_send_end (cp_t *ctx, cp_mme_tx_t *mme)
@@ -223,7 +239,8 @@ cp_msg_cc_set_tei_map_ind_send_end (cp_t *ctx, cp_mme_tx_t *mme)
bool
cp_msg_cc_set_tei_map_ind_receive_begin (
cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cc_set_tei_map_ind_mode_t *mode, uint *sta_nb) __attribute__((weak));
+ enum cp_msg_cc_set_tei_map_ind_mode_t *mode, uint *sta_nb)
+ __attribute__((weak));
bool
cp_msg_cc_set_tei_map_ind_receive_begin (
@@ -247,7 +264,8 @@ cp_msg_cc_set_tei_map_ind_receive_sta (
}
bool
-cp_msg_cc_set_tei_map_ind_receive_end (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
+cp_msg_cc_set_tei_map_ind_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
bool
cp_msg_cc_set_tei_map_ind_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
@@ -256,116 +274,87 @@ cp_msg_cc_set_tei_map_ind_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
}
cp_mme_tx_t *
-cp_msg_cc_relay_send_begin (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
- const cp_secu_protocol_run_t *prun,
- cp_mme_peks_t peks,
- mac_t fda, cp_tei_t ftei)
+cp_msg_cc_relay_req_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_secu_protocol_run_t *prun,
+ cp_mme_peks_t peks, mac_t fda, cp_tei_t ftei) __attribute__((weak));
+cp_mme_tx_t *
+cp_msg_cc_relay_req_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_secu_protocol_run_t *prun,
+ cp_mme_peks_t peks, mac_t fda, cp_tei_t ftei)
{
return NULL;
}
void
-cp_msg_cc_relay_send_finalise (cp_t *ctx, cp_mme_tx_t *msg, uint length) __attribute__((weak));
-
-void
-cp_msg_cc_relay_send_finalise (cp_t *ctx, cp_mme_tx_t *msg, uint length)
-{
-}
-
-void
-cp_msg_cc_relay_receive (cp_t *ctx, cp_mme_rx_t *msg, uint *length) __attribute__((weak));
-
+cp_msg_cc_relay_ind_send (cp_t *ctx, cp_mme_rx_t *msg, mac_t osa, cp_tei_t
+ stei, uint length) __attribute__((weak));
void
-cp_msg_cc_relay_receive (cp_t *ctx, cp_mme_rx_t *msg, uint *length)
+cp_msg_cc_relay_ind_send (cp_t *ctx, cp_mme_rx_t *msg, mac_t osa, cp_tei_t
+ stei, uint length)
{
}
void
-cp_msg_cc_discover_list_req_send (cp_t *ctx, cp_mme_peer_t *peer) __attribute__((weak));
-
+cp_msg_cc_relay_req_send_finalise (cp_t *ctx, cp_mme_tx_t *msg)
+ __attribute__((weak));
void
-cp_msg_cc_discover_list_req_send (cp_t *ctx, cp_mme_peer_t *peer) {}
-
-bool
-cp_msg_cc_discover_list_req_receive (cp_t *ctx, cp_mme_rx_t *msg) __attribute__((weak));
-
-bool
-cp_msg_cc_discover_list_req_receive (cp_t *ctx, cp_mme_rx_t *msg)
+cp_msg_cc_relay_req_send_finalise (cp_t *ctx, cp_mme_tx_t *msg)
{
- return true;
}
bool
-cp_msg_cc_discover_list_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
-
-
+cp_msg_cc_relay_req_receive (cp_t *ctx, cp_mme_rx_t *msg, uint *length,
+ uint *mmtype) __attribute__((weak));
bool
-cp_msg_cc_discover_list_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme)
+cp_msg_cc_relay_req_receive (cp_t *ctx, cp_mme_rx_t *msg, uint *length,
+ uint *mmtype)
{
return true;
}
bool
-cp_msg_cc_discover_list_cnf_recv_begin_sta (cp_t *ctx, cp_mme_rx_t *msg,
- uint *nb_sta) __attribute__((weak));
-
+cp_msg_cc_relay_ind_receive (cp_t *ctx, cp_mme_rx_t *msg, uint *length)
+ __attribute__((weak));
bool
-cp_msg_cc_discover_list_cnf_recv_begin_sta (cp_t *ctx, cp_mme_rx_t *msg,
- uint *nb_sta)
+cp_msg_cc_relay_ind_receive (cp_t *ctx, cp_mme_rx_t *msg, uint *length)
{
return true;
}
bool
-cp_msg_cc_discover_list_cnf_recv_station (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_discover_list_sta_t *data) __attribute__((weak));
-
+cp_msg_cc_relay_read_payload_header (cp_t *ctx, cp_mme_rx_t *msg)
+ __attribute__((weak));
bool
-cp_msg_cc_discover_list_cnf_recv_station (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_discover_list_sta_t *data)
+cp_msg_cc_relay_read_payload_header (cp_t *ctx, cp_mme_rx_t *msg)
{
return true;
}
+void
+cp_msg_cc_discover_list_req_send (cp_t *ctx, cp_mme_peer_t *peer)
+ __attribute__((weak));
-bool
-cp_msg_cc_discover_list_cnf_recv_begin_net (cp_t *ctx, cp_mme_rx_t *msg,
- uint *nb_net) __attribute__((weak));
-bool
-cp_msg_cc_discover_list_cnf_recv_begin_net (cp_t *ctx, cp_mme_rx_t *msg,
- uint *nb_net)
-{
- return true;
-}
-
-bool
-cp_msg_cc_discover_list_cnf_recv_network (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_discover_list_net_t *data) __attribute__((weak));
-
-bool
-cp_msg_cc_discover_list_cnf_recv_network (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_discover_list_net_t *data)
-{
- return true;
-}
+void
+cp_msg_cc_discover_list_req_send (cp_t *ctx, cp_mme_peer_t *peer) {}
bool
-cp_msg_cc_discover_list_cnf_recv_end (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
+cp_msg_cc_discover_list_req_receive (cp_t *ctx, cp_mme_rx_t *msg)
+ __attribute__((weak));
bool
-cp_msg_cc_discover_list_cnf_recv_end (cp_t *ctx, cp_mme_rx_t *mme)
+cp_msg_cc_discover_list_req_receive (cp_t *ctx, cp_mme_rx_t *msg)
{
return true;
}
cp_mme_tx_t *
-cp_msg_cc_discover_list_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- uint nb_sta, uint nb_net,
- cp_msg_cc_discover_list_ctx_t *disc_ctx) __attribute__((weak));
+cp_msg_cc_discover_list_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, uint nb_sta, uint nb_net,
+ cp_msg_cc_discover_list_ctx_t *disc_ctx) __attribute__((weak));
cp_mme_tx_t *
-cp_msg_cc_discover_list_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- uint nb_sta, uint nb_net,
- cp_msg_cc_discover_list_ctx_t *disc_ctx)
+cp_msg_cc_discover_list_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, uint nb_sta, uint nb_net,
+ cp_msg_cc_discover_list_ctx_t *disc_ctx)
{
return NULL;
}
@@ -373,7 +362,8 @@ cp_msg_cc_discover_list_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
void
cp_msg_cc_discover_list_cnf_send_stations_begin (cp_t *ctx,
cp_mme_tx_t *mme,
- cp_msg_cc_discover_list_ctx_t *disc_ctx) __attribute__((weak));
+ cp_msg_cc_discover_list_ctx_t *disc_ctx)
+ __attribute__((weak));
void
cp_msg_cc_discover_list_cnf_send_stations_begin (cp_t *ctx,
@@ -382,16 +372,17 @@ cp_msg_cc_discover_list_cnf_send_stations_begin (cp_t *ctx,
void
cp_msg_cc_discover_list_cnf_send_station (cp_t *ctx, cp_mme_tx_t *mme,
- const cp_msg_cc_discover_list_sta_t *data) __attribute__((weak));
+ const cp_msg_cc_discover_list_sta_t *data)
+ __attribute__((weak));
void
cp_msg_cc_discover_list_cnf_send_station (cp_t *ctx, cp_mme_tx_t *mme,
const cp_msg_cc_discover_list_sta_t *data){}
-
void
cp_msg_cc_discover_list_cnf_send_net_begin (cp_t *ctx, cp_mme_tx_t *mme,
- cp_msg_cc_discover_list_ctx_t *disc_ctx) __attribute__((weak));
+ cp_msg_cc_discover_list_ctx_t *disc_ctx)
+ __attribute__((weak));
void
cp_msg_cc_discover_list_cnf_send_net_begin (cp_t *ctx, cp_mme_tx_t *mme,
@@ -400,23 +391,88 @@ cp_msg_cc_discover_list_cnf_send_net_begin (cp_t *ctx, cp_mme_tx_t *mme,
void
cp_msg_cc_discover_list_cnf_send_net (cp_t *ctx, cp_mme_tx_t *mme,
- const cp_msg_cc_discover_list_net_t *data) __attribute__((weak));
+ const cp_msg_cc_discover_list_net_t *data)
+ __attribute__((weak));
void
cp_msg_cc_discover_list_cnf_send_net (cp_t *ctx, cp_mme_tx_t *mme,
const cp_msg_cc_discover_list_net_t *data) {}
-
void
-cp_msg_cc_discover_list_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) __attribute__((weak));
-
+cp_msg_cc_discover_list_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
void
cp_msg_cc_discover_list_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
+bool
+cp_msg_cc_discover_list_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_cc_discover_list_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
+
+bool
+cp_msg_cc_discover_list_cnf_recv_begin_sta (
+ cp_t *ctx, cp_mme_rx_t *msg, uint *nb_sta) __attribute__((weak));
+
+bool
+cp_msg_cc_discover_list_cnf_recv_begin_sta (
+ cp_t *ctx, cp_mme_rx_t *msg, uint *nb_sta)
+{
+ return true;
+}
+
+bool
+cp_msg_cc_discover_list_cnf_recv_station (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_discover_list_sta_t *data)
+ __attribute__((weak));
+
+bool
+cp_msg_cc_discover_list_cnf_recv_station (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_discover_list_sta_t *data)
+{
+ return true;
+}
+
+bool
+cp_msg_cc_discover_list_cnf_recv_begin_net (
+ cp_t *ctx, cp_mme_rx_t *msg, uint *nb_net) __attribute__((weak));
+bool
+cp_msg_cc_discover_list_cnf_recv_begin_net (
+ cp_t *ctx, cp_mme_rx_t *msg, uint *nb_net)
+{
+ return true;
+}
+
+bool
+cp_msg_cc_discover_list_cnf_recv_network (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cc_discover_list_net_t *data)
+ __attribute__((weak));
+
+bool
+cp_msg_cc_discover_list_cnf_recv_network (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cc_discover_list_net_t *data)
+{
+ return true;
+}
+
+bool
+cp_msg_cc_discover_list_cnf_recv_end (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+
+bool
+cp_msg_cc_discover_list_cnf_recv_end (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
+
void
cp_msg_cc_handover_req_send (cp_t *ctx, cp_mme_peer_t *peer,
cp_msg_cc_handover_req_soft_hard_t soft_hard,
- cp_msg_cc_handover_req_reason_t reason) __attribute__((weak));
+ cp_msg_cc_handover_req_reason_t reason)
+ __attribute__((weak));
void
cp_msg_cc_handover_req_send (cp_t *ctx, cp_mme_peer_t *peer,
@@ -426,7 +482,8 @@ cp_msg_cc_handover_req_send (cp_t *ctx, cp_mme_peer_t *peer,
bool
cp_msg_cc_handover_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
cp_msg_cc_handover_req_soft_hard_t *soft_hard,
- cp_msg_cc_handover_req_reason_t *reason)__attribute__((weak));
+ cp_msg_cc_handover_req_reason_t *reason)
+ __attribute__((weak));
bool
cp_msg_cc_handover_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
@@ -438,7 +495,8 @@ cp_msg_cc_handover_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
void
cp_msg_cc_handover_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_cc_handover_cnf_result_t result)__attribute__((weak));
+ cp_msg_cc_handover_cnf_result_t result)
+ __attribute__((weak));
void
cp_msg_cc_handover_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
@@ -446,7 +504,8 @@ cp_msg_cc_handover_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
bool
cp_msg_cc_handover_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_handover_cnf_result_t *result)__attribute__((weak));
+ cp_msg_cc_handover_cnf_result_t *result)
+ __attribute__((weak));
bool
cp_msg_cc_handover_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
@@ -456,79 +515,124 @@ cp_msg_cc_handover_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
}
cp_mme_tx_t *
-cp_msg_cc_handover_info_ind_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_cc_handover_info_ind_rsc_t rsc,
- cp_tei_t bcco,
- uint num_sta)__attribute__((weak));
-
-void
-cp_msg_cc_handover_info_ind_send (cp_t *ctx, cp_mme_tx_t *mme,
- cp_tei_t tei, mac_t mac_addr,
- uint status, cp_tei_t ptei) __attribute__((weak));
-
-void
-cp_msg_cc_handover_info_ind_send_end (cp_t *ctx, cp_mme_tx_t *mme)__attribute__((weak));
-
+cp_msg_cc_handover_info_ind_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_msg_cc_handover_info_ind_rsc_t rsc,
+ cp_tei_t bcco, uint num_sta)__attribute__((weak));
cp_mme_tx_t *
-cp_msg_cc_handover_info_ind_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_cc_handover_info_ind_rsc_t rsc,
- cp_tei_t bcco,
- uint num_sta)
+cp_msg_cc_handover_info_ind_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_msg_cc_handover_info_ind_rsc_t rsc,
+ cp_tei_t bcco, uint num_sta)
{
return NULL;
}
void
-cp_msg_cc_handover_info_ind_send (cp_t *ctx, cp_mme_tx_t *mme,
- cp_tei_t tei, mac_t mac_addr,
- uint status, cp_tei_t ptei){}
+cp_msg_cc_handover_info_ind_send (
+ cp_t *ctx, cp_mme_tx_t *mme, cp_tei_t tei, mac_t mac_addr,
+ uint status, cp_tei_t ptei) __attribute__((weak));
+void
+cp_msg_cc_handover_info_ind_send (
+ cp_t *ctx, cp_mme_tx_t *mme, cp_tei_t tei, mac_t mac_addr,
+ uint status, cp_tei_t ptei)
+{
+}
void
+cp_msg_cc_handover_info_ind_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
+void
cp_msg_cc_handover_info_ind_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
bool
-cp_msg_cc_handover_info_ind_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_handover_info_ind_rsc_t *rsc,
- cp_tei_t *bcco,
- uint *num_sta)__attribute__((weak));
-
+cp_msg_cc_handover_info_ind_receive_begin (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_handover_info_ind_rsc_t *rsc,
+ cp_tei_t *bcco, uint *num_sta)__attribute__((weak));
bool
-cp_msg_cc_handover_info_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_tei_t *tei, mac_t *mac_addr,
- uint *status, cp_tei_t *ptei)__attribute__((weak));
+cp_msg_cc_handover_info_ind_receive_begin (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_handover_info_ind_rsc_t *rsc,
+ cp_tei_t *bcco, uint *num_sta)
+{
+ return true;
+}
bool
-cp_msg_cc_handover_info_ind_receive_end (cp_t *ctx, cp_mme_rx_t *mme)__attribute__((weak));
-
+cp_msg_cc_handover_info_ind_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_tei_t *tei, mac_t *mac_addr,
+ uint *status, cp_tei_t *ptei) __attribute__((weak));
bool
-cp_msg_cc_handover_info_ind_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cc_handover_info_ind_rsc_t *rsc,
- cp_tei_t *bcco,
- uint *num_sta)
+cp_msg_cc_handover_info_ind_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_tei_t *tei, mac_t *mac_addr,
+ uint *status, cp_tei_t *ptei)
{
return true;
}
bool
-cp_msg_cc_handover_info_info_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_tei_t *tei, mac_t *mac_addr,
- uint *status, cp_tei_t *ptei)
+cp_msg_cc_handover_info_ind_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_cc_handover_info_ind_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
{
return true;
}
+void
+cp_msg_cc_handover_info_rsp_send (cp_t *ctx, cp_mme_peer_t *peer)
+ __attribute__((weak));
+void
+cp_msg_cc_handover_info_rsp_send (cp_t *ctx, cp_mme_peer_t *peer)
+{
+}
+
bool
-cp_msg_cc_handover_info_ind_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+cp_msg_cc_handover_info_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_cc_handover_info_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme)
{
return true;
}
+void
+cp_msg_cc_cco_appoint_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_msg_cc_cco_appoint_req_rt_t req_type,
+ mac_t mac_addr) __attribute__((weak));
+void
+cp_msg_cc_cco_appoint_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_msg_cc_cco_appoint_req_rt_t req_type,
+ mac_t mac_addr)
+{
+}
+
+bool
+cp_msg_cc_cco_appoint_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_cco_appoint_req_rt_t *req_type,
+ mac_t *mac_addr) __attribute__((weak));
bool
-cp_msg_cc_handover_info_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme)__attribute__((weak));
+cp_msg_cc_cco_appoint_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cc_cco_appoint_req_rt_t *req_type,
+ mac_t *mac_addr)
+{
+ return true;
+}
+void
+cp_msg_cc_cco_appoint_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_cc_cco_appoint_cnf_res_t result)
+ __attribute__((weak));
+void
+cp_msg_cc_cco_appoint_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_cc_cco_appoint_cnf_res_t result)
+{
+}
bool
-cp_msg_cc_handover_info_rsp_receive (cp_t *ctx, cp_mme_rx_t *mme)
+cp_msg_cc_cco_appoint_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cc_cco_appoint_cnf_res_t *result)
+ __attribute__((weak));
+bool
+cp_msg_cc_cco_appoint_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cc_cco_appoint_cnf_res_t *result)
{
return true;
}
diff --git a/cesar/cp/msg/stub/src/msg_cm.c b/cesar/cp/msg/stub/src/msg_cm.c
index 8da85b19d7..c47baa587d 100644
--- a/cesar/cp/msg/stub/src/msg_cm.c
+++ b/cesar/cp/msg/stub/src/msg_cm.c
@@ -6,9 +6,9 @@
*
* }}} */
/**
- * \file src/msg_cm.c
+ * \file cesar/cp/msg/stub/src/msg_cm.c
* \brief « brief description »
- * \ingroup « module »
+ * \ingroup cesar_cp_msg_stub
*
* « long description »
*/
@@ -18,7 +18,8 @@
void
cp_msg_cm_unassociated_sta_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_nid_t nid, u8 cco_cap) __attribute__((weak));
+ cp_nid_t nid, u8 cco_cap)
+ __attribute__((weak));
void
cp_msg_cm_unassociated_sta_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
@@ -26,80 +27,10 @@ cp_msg_cm_unassociated_sta_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
{
}
-
bool
cp_msg_cm_unassociated_sta_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_nid_t *nid, u8 *cco_cap) __attribute__((weak));
-
-bool
-cp_msg_cm_set_key_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid) __attribute__((weak));
-
-void
-cp_msg_cm_set_key_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_set_key_req_t *data) __attribute__((weak));
-
-bool
-cp_msg_cm_set_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_set_key_req_t *data) __attribute__((weak));
-
-
-void
-cp_msg_cm_set_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_set_key_cnf_t *data) __attribute__((weak));
-
-bool
-cp_msg_cm_set_key_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_set_key_cnf_t *data) __attribute__ ((weak));
-
-bool
-cp_msg_cm_get_key_req_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid) __attribute__((weak));
-
-bool
-cp_msg_cm_get_key_req_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
-{
- dbg_assert (mme);
- dbg_assert (pid);
- *pid = mme->prun.pid;
- return true;
-}
-
-
-void
-cp_msg_cm_get_key_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_get_key_req_t *data) __attribute__((weak));
-
-bool
-cp_msg_cm_get_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_get_key_req_t *data) __attribute__((weak));
-
-bool
-cp_msg_cm_get_key_cnf_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid) __attribute__((weak));
-
-void
-cp_msg_cm_get_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_get_key_cnf_t *data) __attribute__((weak));
-
-bool
-cp_msg_cm_get_key_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_get_key_cnf_t *data) __attribute__((weak));
-
-void
-cp_msg_cm_mme_error_ind_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const cp_msg_cm_mme_error_ind_t *data) __attribute__((weak));
-
-bool
-cp_msg_cm_mme_error_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_mme_error_ind_t *data) __attribute__((weak));
-
-
+ cp_nid_t *nid, u8 *cco_cap)
+ __attribute__((weak));
bool
cp_msg_cm_unassociated_sta_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
@@ -110,6 +41,9 @@ cp_msg_cm_unassociated_sta_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_cm_set_key_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
+ __attribute__((weak));
+bool
+cp_msg_cm_set_key_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
{
dbg_assert (mme);
dbg_assert (pid);
@@ -118,54 +52,91 @@ cp_msg_cm_set_key_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
}
void
-cp_msg_cm_set_key_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_set_key_req_t *data)
+cp_msg_cm_set_key_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_set_key_req_t *data)
+ __attribute__((weak));
+void
+cp_msg_cm_set_key_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_set_key_req_t *data)
{
}
bool
cp_msg_cm_set_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
cp_msg_cm_set_key_req_t *data)
+ __attribute__((weak));
+bool
+cp_msg_cm_set_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cm_set_key_req_t *data)
{
return true;
}
-
void
-cp_msg_cm_set_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_set_key_cnf_t *data)
+cp_msg_cm_set_key_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_set_key_cnf_t *data)
+ __attribute__((weak));
+void
+cp_msg_cm_set_key_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_set_key_cnf_t *data)
{
}
bool
-cp_msg_cm_set_key_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_set_key_cnf_t *data)
+cp_msg_cm_set_key_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cm_set_key_cnf_t *data)
+ __attribute__ ((weak));
+bool
+cp_msg_cm_set_key_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cm_set_key_cnf_t *data)
{
return false;
}
+bool
+cp_msg_cm_get_key_req_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
+ __attribute__((weak));
+bool
+cp_msg_cm_get_key_req_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
+{
+ dbg_assert (mme);
+ dbg_assert (pid);
+ *pid = mme->prun.pid;
+ return true;
+}
void
-cp_msg_cm_get_key_req_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_get_key_req_t *data)
+cp_msg_cm_get_key_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_get_key_req_t *data)
+ __attribute__((weak));
+void
+cp_msg_cm_get_key_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_get_key_req_t *data)
{
}
bool
cp_msg_cm_get_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
cp_msg_cm_get_key_req_t *data)
+ __attribute__((weak));
+bool
+cp_msg_cm_get_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cm_get_key_req_t *data)
{
return true;
}
bool
cp_msg_cm_get_key_cnf_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
+ __attribute__((weak));
+bool
+cp_msg_cm_get_key_cnf_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
{
dbg_assert (mme);
dbg_assert (pid);
@@ -174,16 +145,23 @@ cp_msg_cm_get_key_cnf_get_pid (cp_t *ctx, cp_mme_rx_t *mme, u8 *pid)
}
void
-cp_msg_cm_get_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_mme_peks_t peks,
- const cp_secu_protocol_run_t *prun,
- const cp_msg_cm_get_key_cnf_t *data)
+cp_msg_cm_get_key_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_get_key_cnf_t *data) __attribute__((weak));
+void
+cp_msg_cm_get_key_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_mme_peks_t peks,
+ const cp_secu_protocol_run_t *prun, const cp_msg_cm_get_key_cnf_t *data)
{
}
bool
cp_msg_cm_get_key_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
cp_msg_cm_get_key_cnf_t *data)
+ __attribute__((weak));
+bool
+cp_msg_cm_get_key_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cm_get_key_cnf_t *data)
{
return true;
}
@@ -191,11 +169,18 @@ cp_msg_cm_get_key_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
void
cp_msg_cm_mme_error_ind_send (cp_t *ctx, cp_mme_peer_t *peer_info,
const cp_msg_cm_mme_error_ind_t *data)
+ __attribute__((weak));
+void
+cp_msg_cm_mme_error_ind_send (cp_t *ctx, cp_mme_peer_t *peer_info,
+ const cp_msg_cm_mme_error_ind_t *data)
{
}
bool
cp_msg_cm_mme_error_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cm_mme_error_ind_t *data) __attribute__((weak));
+bool
+cp_msg_cm_mme_error_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
cp_msg_cm_mme_error_ind_t *data)
{
return true;
@@ -204,15 +189,14 @@ cp_msg_cm_mme_error_ind_receive (cp_t *ctx, cp_mme_rx_t *mme,
void
cp_msg_cm_sc_join_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
__attribute__((weak));
-
void
-cp_msg_cm_sc_join_req_send (cp_t *ctx, cp_mme_peer_t *peer_info) {}
+cp_msg_cm_sc_join_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
+{
+}
bool
cp_msg_cm_sc_join_req_receive (cp_t *ctx, cp_mme_rx_t *mme, uint *cco_cap)
__attribute__((weak));
-
-
bool
cp_msg_cm_sc_join_req_receive (cp_t *ctx, cp_mme_rx_t *mme, uint *cco_cap)
{
@@ -223,16 +207,26 @@ void
cp_msg_cm_sc_join_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
const cp_msg_cm_sc_join_cnf_t *data)
__attribute__((weak));
-
void
cp_msg_cm_sc_join_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const cp_msg_cm_sc_join_cnf_t *data) {}
+ const cp_msg_cm_sc_join_cnf_t *data)
+{
+}
+bool
+cp_msg_cm_sc_join_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cm_sc_join_cnf_t *data)
+ __attribute__((weak));
+bool
+cp_msg_cm_sc_join_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cm_sc_join_cnf_t *data)
+{
+ return true;
+}
cp_mme_tx_t *
cp_msg_cm_amp_map_req_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
- const uint amplen)
- __attribute__((weak));
+ const uint amplen) __attribute__((weak));
cp_mme_tx_t *
cp_msg_cm_amp_map_req_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
@@ -243,23 +237,24 @@ cp_msg_cm_amp_map_req_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
void
cp_msg_cm_amp_map_req_send (cp_t *ctx, cp_mme_tx_t *mme, const uint amp)
- __attribute__((weak));
+ __attribute__((weak));
void
cp_msg_cm_amp_map_req_send (cp_t *ctx, cp_mme_tx_t *mme, const uint amp)
-{}
+{
+}
void
-cp_msg_cm_amp_map_req_send_end (cp_t *ctx, cp_mme_tx_t *mme) __attribute__((weak));
-
+cp_msg_cm_amp_map_req_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
void
-cp_msg_cm_amp_map_req_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
+cp_msg_cm_amp_map_req_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
bool
cp_msg_cm_amp_map_req_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
- uint *amplen)__attribute__((weak));
-
-
+ uint *amplen) __attribute__((weak));
bool
cp_msg_cm_amp_map_req_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
uint *amplen)
@@ -268,11 +263,8 @@ cp_msg_cm_amp_map_req_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
}
bool
-cp_msg_cm_amp_map_req_receive (cp_t *ctx, cp_mme_rx_t *mme, uint *amp)__attribute__((weak));
-
-bool
-cp_msg_cm_amp_map_req_receive_end (cp_t *ctx, cp_mme_rx_t *mme)__attribute__((weak));
-
+cp_msg_cm_amp_map_req_receive (cp_t *ctx, cp_mme_rx_t *mme, uint *amp)
+ __attribute__((weak));
bool
cp_msg_cm_amp_map_req_receive (cp_t *ctx, cp_mme_rx_t *mme, uint *amp)
{
@@ -281,45 +273,48 @@ cp_msg_cm_amp_map_req_receive (cp_t *ctx, cp_mme_rx_t *mme, uint *amp)
bool
cp_msg_cm_amp_map_req_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_cm_amp_map_req_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
{
return true;
}
-bool
-cp_msg_cm_amp_map_req_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
- uint *amplen)__attribute__((weak));
-
void
-cp_msg_cm_amp_map_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const enum cp_msg_cm_amp_map_cnf_restype_t restype)__attribute__((weak));
-
-bool
-cp_msg_cm_amp_map_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cm_amp_map_cnf_restype_t *restype)__attribute__((weak));
-
-
+cp_msg_cm_amp_map_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer_info,
+ const enum cp_msg_cm_amp_map_cnf_restype_t restype)
+ __attribute__((weak));
void
-cp_msg_cm_amp_map_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const enum cp_msg_cm_amp_map_cnf_restype_t restype){}
+cp_msg_cm_amp_map_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer_info,
+ const enum cp_msg_cm_amp_map_cnf_restype_t restype)
+{
+}
bool
-cp_msg_cm_amp_map_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cm_amp_map_cnf_restype_t *restype)
+cp_msg_cm_amp_map_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme,
+ enum cp_msg_cm_amp_map_cnf_restype_t *restype)__attribute__((weak));
+bool
+cp_msg_cm_amp_map_cnf_receive (
+ cp_t *ctx, cp_mme_rx_t *mme,
+ enum cp_msg_cm_amp_map_cnf_restype_t *restype)
{
return true;
}
void
-cp_msg_cm_brg_info_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)__attribute__((weak));
-
+cp_msg_cm_brg_info_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
+ __attribute__((weak));
void
cp_msg_cm_brg_info_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
-{}
-
+{
+}
bool
-cp_msg_cm_brg_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme)__attribute__((weak));
-
+cp_msg_cm_brg_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
bool
cp_msg_cm_brg_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
{
@@ -327,40 +322,37 @@ cp_msg_cm_brg_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
}
cp_mme_tx_t *
-cp_msg_cm_brg_info_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
- const cp_tei_t btei, const uint nbda,
- const cp_tei_t own_tei) __attribute__((weak));
-
-void
-cp_msg_cm_brg_info_cnf_send (cp_t *ctx, cp_mme_tx_t *mme, const mac_t mac) __attribute__((weak));
-
-void
-cp_msg_cm_brg_info_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) __attribute__((weak));
-
+cp_msg_cm_brg_info_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer_info, const uint bsf, const uint nbda,
+ const cp_tei_t own_tei) __attribute__((weak));
cp_mme_tx_t *
-cp_msg_cm_brg_info_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
- const cp_tei_t btei, const uint nbda,
- const cp_tei_t own_tei)
+cp_msg_cm_brg_info_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer_info, const uint bsf, const uint nbda,
+ const cp_tei_t own_tei)
{
return NULL;
}
void
-cp_msg_cm_brg_info_cnf_send (cp_t *ctx, cp_mme_tx_t *mme, const mac_t mac) {}
+cp_msg_cm_brg_info_cnf_send (cp_t *ctx, cp_mme_tx_t *mme, const mac_t mac)
+ __attribute__((weak));
+void
+cp_msg_cm_brg_info_cnf_send (cp_t *ctx, cp_mme_tx_t *mme, const mac_t mac)
+{
+}
void
-cp_msg_cm_brg_info_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
+cp_msg_cm_brg_info_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
+void
+cp_msg_cm_brg_info_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
bool
cp_msg_cm_brg_info_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
- uint *bsf, uint *nbda) __attribute__((weak));
-
-bool
-cp_msg_cm_brg_info_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac) __attribute__((weak));
-
-bool
-cp_msg_cm_brg_info_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
-
+ uint *bsf, uint *nbda)
+ __attribute__((weak));
bool
cp_msg_cm_brg_info_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
uint *bsf, uint *nbda)
@@ -370,78 +362,80 @@ cp_msg_cm_brg_info_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_cm_brg_info_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac)
+ __attribute__((weak));
+bool
+cp_msg_cm_brg_info_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac)
{
return true;
}
bool
cp_msg_cm_brg_info_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_cm_brg_info_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
{
return true;
}
void
-cp_msg_cm_sta_cap_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)__attribute__ ((weak));
-
-bool
-cp_msg_cm_sta_cap_req_receive (cp_t *ctx, cp_mme_rx_t *mme)__attribute__ ((weak));
-
+cp_msg_cm_sta_cap_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
+ __attribute__ ((weak));
void
-cp_msg_cm_sta_cap_req_send (cp_t *ctx, cp_mme_peer_t *peer_info) {}
+cp_msg_cm_sta_cap_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
+{
+}
bool
-cp_msg_cm_sta_cap_req_receive (cp_t *ctx, cp_mme_rx_t *mme) {return true;}
+cp_msg_cm_sta_cap_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__ ((weak));
+bool
+cp_msg_cm_sta_cap_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
void
cp_msg_cm_sta_cap_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const cp_msg_cm_sta_cap_cnf_t *data) __attribute__((weak));
-
-bool
-cp_msg_cm_sta_cap_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_sta_cap_cnf_t *data) __attribute__((weak));
-
+ const cp_msg_cm_sta_cap_cnf_t *data)
+ __attribute__((weak));
void
cp_msg_cm_sta_cap_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const cp_msg_cm_sta_cap_cnf_t *data) {}
+ const cp_msg_cm_sta_cap_cnf_t *data)
+{
+}
bool
cp_msg_cm_sta_cap_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_sta_cap_cnf_t *data) {return true;}
-
-void
-cp_msg_cm_nw_info_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)__attribute__((weak));
-
+ cp_msg_cm_sta_cap_cnf_t *data)
+ __attribute__((weak));
bool
-cp_msg_cm_nw_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme)__attribute__((weak));
+cp_msg_cm_sta_cap_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cm_sta_cap_cnf_t *data)
+{
+ return true;
+}
void
-cp_msg_cm_nw_info_req_send (cp_t *ctx, cp_mme_peer_t *peer_info){}
+cp_msg_cm_nw_info_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
+ __attribute__((weak));
+void
+cp_msg_cm_nw_info_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
+{
+}
bool
-cp_msg_cm_nw_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme) {return true;}
+cp_msg_cm_nw_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_cm_nw_info_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
cp_mme_tx_t *
cp_msg_cm_nw_info_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
const uint num_nw) __attribute__((weak));
-
-void
-cp_msg_cm_nw_info_cnf_send (cp_t *ctx, cp_mme_tx_t *mme,
- const cp_msg_cm_nw_info_cnf_t *data) __attribute__((weak));
-
-void
-cp_msg_cm_nw_info_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) __attribute__((weak));
-
-bool
-cp_msg_cm_nw_info_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
- uint *num_nw) __attribute__((weak));
-
-bool
-cp_msg_cm_nw_info_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_cm_nw_info_cnf_t *data) __attribute__((weak));
-
-bool
-cp_msg_cm_nw_info_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
-
cp_mme_tx_t *
cp_msg_cm_nw_info_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
const uint num_nw)
@@ -451,13 +445,27 @@ cp_msg_cm_nw_info_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
void
cp_msg_cm_nw_info_cnf_send (cp_t *ctx, cp_mme_tx_t *mme,
- const cp_msg_cm_nw_info_cnf_t *data) {}
+ const cp_msg_cm_nw_info_cnf_t *data)
+ __attribute__((weak));
+void
+cp_msg_cm_nw_info_cnf_send (cp_t *ctx, cp_mme_tx_t *mme,
+ const cp_msg_cm_nw_info_cnf_t *data)
+{
+}
void
-cp_msg_cm_nw_info_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
+cp_msg_cm_nw_info_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
+void
+cp_msg_cm_nw_info_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
bool
cp_msg_cm_nw_info_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
+ uint *num_nw) __attribute__((weak));
+bool
+cp_msg_cm_nw_info_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
uint *num_nw)
{
return true;
@@ -466,93 +474,186 @@ cp_msg_cm_nw_info_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_cm_nw_info_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
cp_msg_cm_nw_info_cnf_t *data)
+ __attribute__((weak));
+bool
+cp_msg_cm_nw_info_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_msg_cm_nw_info_cnf_t *data)
{
return true;
}
bool
cp_msg_cm_nw_info_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_cm_nw_info_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
{
return true;
}
void
-cp_msg_cm_hfid_req_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- enum cp_msg_cm_hfid_req_reqtype_t req_type,
- cp_nid_t nid,
- const char *hfid)__attribute__((weak));
-
-bool
-cp_msg_cm_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cm_hfid_req_reqtype_t *req_type,
- cp_nid_t *nid,
- char *hfid)__attribute__((weak));
-
+cp_msg_cm_hfid_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer_info,
+ enum cp_msg_cm_hfid_req_reqtype_t req_type, cp_nid_t nid,
+ const char *hfid) __attribute__((weak));
void
-cp_msg_cm_hfid_req_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- enum cp_msg_cm_hfid_req_reqtype_t req_type,
- cp_nid_t nid,
- const char *hfid){}
+cp_msg_cm_hfid_req_send (
+ cp_t *ctx, cp_mme_peer_t *peer_info,
+ enum cp_msg_cm_hfid_req_reqtype_t req_type, cp_nid_t nid,
+ const char *hfid)
+{
+}
bool
-cp_msg_cm_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- enum cp_msg_cm_hfid_req_reqtype_t *req_type,
- cp_nid_t *nid,
- char *hfid){return true;}
+cp_msg_cm_hfid_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme,
+ enum cp_msg_cm_hfid_req_reqtype_t *req_type, cp_nid_t *nid,
+ char *hfid) __attribute__((weak));
+bool
+cp_msg_cm_hfid_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme,
+ enum cp_msg_cm_hfid_req_reqtype_t *req_type, cp_nid_t *nid,
+ char *hfid)
+{
+ return true;
+}
void
cp_msg_cm_hfid_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const enum cp_msg_cm_hfid_cnf_restype_t restype,
+ enum cp_msg_cm_hfid_cnf_restype_t restype,
const char *hfid) __attribute__((weak));
+void
+cp_msg_cm_hfid_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
+ enum cp_msg_cm_hfid_cnf_restype_t restype,
+ const char *hfid)
+{
+}
+
bool
-cp_msg_cm_hfid_cnf_receive (cp_t *ctx, cp_mme_rx_t *mmw,
+cp_msg_cm_hfid_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
enum cp_msg_cm_hfid_cnf_restype_t *restype,
char *hfid) __attribute__((weak));
-
-void
-cp_msg_cm_hfid_cnf_send (cp_t *ctx, cp_mme_peer_t *peer_info,
- const enum cp_msg_cm_hfid_cnf_restype_t restype,
- const char *hfid) {}
-
bool
-cp_msg_cm_hfid_cnf_receive (cp_t *ctx, cp_mme_rx_t *mmw,
+cp_msg_cm_hfid_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
enum cp_msg_cm_hfid_cnf_restype_t *restype,
- char *hfid) {return true;}
+ char *hfid)
+{
+ return true;
+}
void
-cp_msg_cm_nw_stats_req_send (cp_t *ctx, cp_mme_peer_t *peer_info) __attribute__((weak));
+cp_msg_cm_nw_stats_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
+ __attribute__((weak));
+void
+cp_msg_cm_nw_stats_req_send (cp_t *ctx, cp_mme_peer_t *peer_info)
+{
+}
bool
-cp_msg_cm_nw_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
+cp_msg_cm_nw_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_cm_nw_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
+
+cp_mme_tx_t *
+cp_msg_cm_nw_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
+ const uint num_stats)
+ __attribute__((weak));
+cp_mme_tx_t *
+cp_msg_cm_nw_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer_info,
+ const uint num_stats)
+{
+ return NULL;
+}
+
+void
+cp_msg_cm_nw_stats_cnf_send (cp_t *ctx, cp_mme_tx_t *mme,
+ mac_t mac, uint phy_dr_tx, uint phy_dr_rx)
+ __attribute__((weak));
+void
+cp_msg_cm_nw_stats_cnf_send (cp_t *ctx, cp_mme_tx_t *mme,
+ mac_t mac, uint phy_dr_tx, uint phy_dr_rx)
+{
+}
void
-cp_msg_cm_nw_stats_req_send (cp_t *ctx, cp_mme_peer_t *peer_info) {}
+cp_msg_cm_nw_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
+void
+cp_msg_cm_nw_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
bool
-cp_msg_cm_nw_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme) {return true;}
-
+cp_msg_cm_nw_stats_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
+ uint *num_stats) __attribute__((weak));
bool
cp_msg_cm_nw_stats_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
- uint *num_stas)__attribute__((weak));
+ uint *num_stats)
+{
+ return true;
+}
bool
cp_msg_cm_nw_stats_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac, uint *phy_dr_tx, uint *phy_dr_rx)__attribute__((weak));
-
+ mac_t *mac, uint *phy_dr_tx, uint *phy_dr_rx)
+ __attribute__((weak));
bool
-cp_msg_cm_nw_stats_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)__attribute__((weak));
+cp_msg_cm_nw_stats_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ mac_t *mac, uint *phy_dr_tx, uint *phy_dr_rx)
+{
+ return true;
+}
bool
-cp_msg_cm_nw_stats_cnf_receive_begin (cp_t *ctx, cp_mme_rx_t *mme,
- uint *num_stas) {return true;}
-
+cp_msg_cm_nw_stats_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
bool
-cp_msg_cm_nw_stats_cnf_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac, uint *phy_dr_tx, uint *phy_dr_rx) {return true;}
+cp_msg_cm_nw_stats_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
bool
-cp_msg_cm_nw_stats_cnf_receive_end (cp_t *ctx, cp_mme_rx_t *mme)
+cp_msg_cm_link_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cm_link_stats_req_t *data)
+ __attribute__((weak));
+bool
+cp_msg_cm_link_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_cm_link_stats_req_t *data)
{
return true;
}
+
+cp_mme_tx_t *
+cp_msg_cm_link_stats_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer_info, u8 req_id, u8 res_type)
+ __attribute__((weak));
+cp_mme_tx_t *
+cp_msg_cm_link_stats_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer_info, u8 req_id, u8 res_type)
+{
+ return NULL;
+}
+
+void
+cp_msg_cm_link_stats_cnf_send (cp_t *ctx, cp_mme_tx_t *mme, mfs_t *mfs,
+ cp_msg_cm_link_stats_tlflag_t transmit)
+ __attribute__((weak));
+void
+cp_msg_cm_link_stats_cnf_send (cp_t *ctx, cp_mme_tx_t *mme, mfs_t *mfs,
+ cp_msg_cm_link_stats_tlflag_t transmit)
+{
+}
+
+void
+cp_msg_cm_link_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
+void
+cp_msg_cm_link_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
diff --git a/cesar/cp/msg/stub/src/msg_drv.c b/cesar/cp/msg/stub/src/msg_drv.c
index 7624addd4a..7fc0ebc205 100644
--- a/cesar/cp/msg/stub/src/msg_drv.c
+++ b/cesar/cp/msg/stub/src/msg_drv.c
@@ -6,9 +6,9 @@
*
* }}} */
/**
- * \file src/msg_drv.c
+ * \file cesar/cp/msg/stub/src/msg_drv.c
* \brief « brief description »
- * \ingroup « module »
+ * \ingroup cesar_cp_msg_stub
*
* « long description »
*/
@@ -20,70 +20,6 @@ bool
cp_msg_drv_sta_set_mac_addr_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
mac_t *mac) __attribute__((weak));
bool
-cp_msg_drv_sta_set_cco_pref_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- bool *cco_pref) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_was_cco_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- bool *was_cco) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_string_recv (cp_t *ctx, cp_mme_rx_t *mme, char *buffer,
- uint min_length, uint max_length) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_npw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *npw) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_dpw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *dpw) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_sl_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_security_level_t *sl) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_nid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_nid_t *nid) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_m_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- char *m_sta_hfid) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_u_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- char *u_sta_hfid) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_avln_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- char *avln_hfid) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_set_tonemask_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- u32 *tonemask) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_mac_start_req_receive (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_mac_stop_req_receive (cp_t *ctx, cp_mme_rx_t *mme) __attribute__((weak));
-
-bool
-cp_msg_drv_sta_sc_req_receive (cp_t *ctx, cp_mme_rx_t *mme, bool *sc_join)
- __attribute__((weak));
-
-void
-cp_msg_drv_any_cnf_send (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
- cp_msg_drv_result_t result) __attribute__((weak));
-
-void
-cp_msg_drv_sta_set_key_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_key_t nmk,
- enum cp_msg_drv_sta_set_key_type_t type,
- cp_nid_t nid,
- cp_security_level_t sl) __attribute__((weak));
-
-
-bool
cp_msg_drv_sta_set_mac_addr_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
mac_t *mac)
{
@@ -93,6 +29,10 @@ cp_msg_drv_sta_set_mac_addr_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_drv_sta_set_cco_pref_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool *cco_pref)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_cco_pref_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ bool *cco_pref)
{
return true;
}
@@ -100,25 +40,28 @@ cp_msg_drv_sta_set_cco_pref_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_drv_sta_set_was_cco_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool *was_cco)
-{
- return true;
-}
-
+ __attribute__((weak));
bool
-cp_msg_drv_sta_string_recv (cp_t *ctx, cp_mme_rx_t *mme, char *buffer,
- uint min_length, uint max_length)
+cp_msg_drv_sta_set_was_cco_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ bool *was_cco)
{
return true;
}
bool
cp_msg_drv_sta_set_npw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *npw)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_npw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *npw)
{
return true;
}
bool
cp_msg_drv_sta_set_dpw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *dpw)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_dpw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *dpw)
{
return true;
}
@@ -126,6 +69,10 @@ cp_msg_drv_sta_set_dpw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *dpw)
bool
cp_msg_drv_sta_set_sl_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
cp_security_level_t *sl)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_sl_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_security_level_t *sl)
{
return true;
}
@@ -133,6 +80,10 @@ cp_msg_drv_sta_set_sl_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_drv_sta_set_nid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
cp_nid_t *nid)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_nid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_nid_t *nid)
{
return true;
}
@@ -140,6 +91,10 @@ cp_msg_drv_sta_set_nid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_drv_sta_set_m_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
char *m_sta_hfid)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_m_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ char *m_sta_hfid)
{
return true;
}
@@ -147,6 +102,10 @@ cp_msg_drv_sta_set_m_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_drv_sta_set_u_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
char *u_sta_hfid)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_u_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ char *u_sta_hfid)
{
return true;
}
@@ -154,6 +113,10 @@ cp_msg_drv_sta_set_u_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_drv_sta_set_avln_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
char *avln_hfid)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_avln_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ char *avln_hfid)
{
return true;
}
@@ -161,28 +124,141 @@ cp_msg_drv_sta_set_avln_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
bool
cp_msg_drv_sta_set_tonemask_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
u32 *tonemask)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_set_tonemask_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ u32 *tonemask)
{
return true;
}
bool
cp_msg_drv_sta_mac_start_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_mac_start_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
+
+bool
+cp_msg_drv_sta_sc_req_receive (cp_t *ctx, cp_mme_rx_t *mme, bool *sc_join)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_sc_req_receive (cp_t *ctx, cp_mme_rx_t *mme, bool *sc_join)
{
return true;
}
bool
cp_msg_drv_sta_mac_stop_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_mac_stop_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
{
return true;
}
bool
-cp_msg_drv_sta_sc_req_receive (cp_t *ctx, cp_mme_rx_t *mme, bool *sc_join)
+cp_msg_drv_sta_set_key_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_key_t *nmk,
+ cp_msg_drv_sta_set_key_type_t *type, cp_nid_t *nid,
+ cp_security_level_t *sl) __attribute__((weak));
+bool
+cp_msg_drv_sta_set_key_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_key_t *nmk,
+ cp_msg_drv_sta_set_key_type_t *type, cp_nid_t *nid,
+ cp_security_level_t *sl)
{
return true;
}
+bool
+cp_msg_drv_sta_set_config_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme,
+ char config[HPAV_MME_PAYLOAD_MAX_SIZE]) __attribute__((weak));
+bool
+cp_msg_drv_sta_set_config_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme,
+ char config[HPAV_MME_PAYLOAD_MAX_SIZE])
+{
+ return true;
+}
+
+void
+cp_msg_drv_sta_set_key_ind_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_key_t nmk,
+ cp_msg_drv_sta_set_key_type_t type, cp_nid_t nid,
+ cp_security_level_t sl) __attribute__((weak));
+void
+cp_msg_drv_sta_set_key_ind_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_key_t nmk,
+ cp_msg_drv_sta_set_key_type_t type, cp_nid_t nid,
+ cp_security_level_t sl)
+{
+}
+
+bool
+cp_msg_drv_sta_set_dak_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_key_t *dak) __attribute__((weak));
+bool
+cp_msg_drv_sta_set_dak_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_key_t *dak)
+{
+ return true;
+}
+
+bool
+cp_msg_drv_sta_get_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_get_key_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
+
+void
+cp_msg_drv_sta_get_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const cp_msg_drv_sta_get_key_t *data)
+ __attribute__((weak));
+void
+cp_msg_drv_sta_get_key_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const cp_msg_drv_sta_get_key_t *data)
+{
+}
+
+bool
+cp_msg_drv_sta_status_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_drv_sta_status_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+{
+ return true;
+}
+
+void
+cp_msg_drv_sta_status_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const cp_msg_drv_sta_status_cnf_t *data)
+ __attribute__((weak));
+void
+cp_msg_drv_sta_status_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const cp_msg_drv_sta_status_cnf_t *data)
+{
+}
+
+void
+cp_msg_drv_sta_status_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const cp_msg_drv_sta_status_t *data)
+ __attribute__((weak));
+void
+cp_msg_drv_sta_status_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const cp_msg_drv_sta_status_t *data)
+{
+}
+
+void
+cp_msg_drv_any_cnf_send (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
+ cp_msg_drv_result_t result) __attribute__((weak));
void
cp_msg_drv_any_cnf_send (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
cp_msg_drv_result_t result)
@@ -190,10 +266,36 @@ cp_msg_drv_any_cnf_send (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
}
void
-cp_msg_drv_sta_set_key_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_key_t nmk,
- enum cp_msg_drv_sta_set_key_type_t type,
- cp_nid_t nid,
- cp_security_level_t sl)
+cp_msg_drv_sta_set_u_sta_hfid_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const char *u_sta_hfid)
+ __attribute__((weak));
+void
+cp_msg_drv_sta_set_u_sta_hfid_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const char *u_sta_hfid)
{
}
+
+void
+cp_msg_drv_sta_set_avln_hfid_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const char *avln_hfid)
+ __attribute__((weak));
+void
+cp_msg_drv_sta_set_avln_hfid_ind_send (cp_t *ctx, cp_mme_peer_t *peer,
+ const char *avln_hfid)
+{
+}
+
+bool
+cp_msg_drv_mcast_set_list_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, uint *nb_groups,
+ mac_t groups[MCAST_GROUP_MAX_NB], uint nb_members[MCAST_GROUP_MAX_NB],
+ mac_t members[MCAST_GROUP_MAX_NB][MCAST_MEMBER_MAX_NB])
+ __attribute__((weak));
+bool
+cp_msg_drv_mcast_set_list_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, uint *nb_groups,
+ mac_t groups[MCAST_GROUP_MAX_NB], uint nb_members[MCAST_GROUP_MAX_NB],
+ mac_t members[MCAST_GROUP_MAX_NB][MCAST_MEMBER_MAX_NB])
+{
+ return true;
+}
diff --git a/cesar/cp/msg/stub/src/msg_vs.c b/cesar/cp/msg/stub/src/msg_vs.c
index 45dff754af..b8b9e1b20f 100644
--- a/cesar/cp/msg/stub/src/msg_vs.c
+++ b/cesar/cp/msg/stub/src/msg_vs.c
@@ -6,9 +6,9 @@
*
* }}} */
/**
- * \file src/msg_vs.c
+ * \file cesar/cp/msg/stun/src/msg_vs.c
* \brief « brief description »
- * \ingroup « module »
+ * \ingroup cesar_cp_msg_stun
*
* « long description »
*/
@@ -26,181 +26,243 @@
#include "lib/stats.h"
bool
-cp_msg_vs_get_tonemap_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac_addr,
- cp_msg_vs_get_tonemap_tmi_t *tmi,
- u8 *int_id,
- cp_msg_vs_get_tonemap_req_dir_t *dir)
+cp_msg_vs_get_tonemap_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_tonemap_tmi_t *tmi, u8 *int_id,
+ cp_msg_vs_get_tonemap_req_dir_t *dir)
__attribute__((weak));
-
-
bool
-cp_msg_vs_get_tonemap_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac_addr,
- cp_msg_vs_get_tonemap_tmi_t *tmi,
- u8 *int_id,
- cp_msg_vs_get_tonemap_req_dir_t *dir)
+cp_msg_vs_get_tonemap_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_tonemap_tmi_t *tmi, u8 *int_id,
+ cp_msg_vs_get_tonemap_req_dir_t *dir)
{
return true;
}
void
-cp_msg_vs_get_tonemap_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_tonemap_cnf_result_t
- result,
- uint beacon_delta, u8 int_id,
- tonemaps_t *tms,
- cp_msg_vs_get_tonemap_tmi_t tmi)
- __attribute__((weak));
+cp_msg_vs_get_tonemap_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_msg_vs_get_tonemap_cnf_result_t result,
+ uint beacon_delta, u8 int_id,tonemaps_t *tms,
+ cp_msg_vs_get_tonemap_tmi_t tmi) __attribute__((weak));
void
-cp_msg_vs_get_tonemap_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_tonemap_cnf_result_t
- result,
- uint beacon_delta, u8 int_id,
- tonemaps_t *tms,
- cp_msg_vs_get_tonemap_tmi_t tmi)
-{}
+cp_msg_vs_get_tonemap_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, cp_msg_vs_get_tonemap_cnf_result_t result,
+ uint beacon_delta, u8 int_id,tonemaps_t *tms,
+ cp_msg_vs_get_tonemap_tmi_t tmi)
+{
+}
bool
-cp_msg_vs_get_spectrum_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac_addr,
- cp_msg_vs_get_spectrum_req_carrier_gr_t
- *carrier_gr)
+cp_msg_vs_get_snr_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_snr_req_int_t *tm_int_i, u8 *int_id, u8 *carrier_gr)
__attribute__((weak));
+bool
+cp_msg_vs_get_snr_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_snr_req_int_t *tm_int_i, u8 *int_id, u8 *carrier_gr)
+{
+ return true;
+}
+void
+cp_msg_vs_get_snr_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_vs_get_snr_cnf_t *data)
+ __attribute__((weak));
+void
+cp_msg_vs_get_snr_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, const cp_msg_vs_get_snr_cnf_t *data)
+{
+}
bool
-cp_msg_vs_get_spectrum_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac_addr,
- cp_msg_vs_get_spectrum_req_carrier_gr_t
- *carrier_gr)
+cp_msg_vs_get_spectrum_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_spectrum_req_carrier_gr_t *carrier_gr)
+ __attribute__((weak));
+bool
+cp_msg_vs_get_spectrum_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, mac_t *mac_addr,
+ cp_msg_vs_get_spectrum_req_carrier_gr_t *carrier_gr)
{
return true;
}
cp_mme_tx_t *
-cp_msg_vs_get_spectrum_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_spectrum_cnf_result_t
- result, u8 AvgAGC)
+cp_msg_vs_get_spectrum_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_vs_get_spectrum_cnf_result_t result, u8 AvgAGC)
__attribute__((weak));
-
-
cp_mme_tx_t *
-cp_msg_vs_get_spectrum_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_spectrum_cnf_result_t
- result, u8 AvgAGC)
+cp_msg_vs_get_spectrum_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_vs_get_spectrum_cnf_result_t result, u8 AvgAGC)
{
return NULL;
}
void
-cp_msg_vs_get_spectrum_cnf_send_spectrum (cp_t *ctx, cp_mme_tx_t *mme,
- cp_msg_vs_get_spectrum_cnf_spec_t
- *spectrum)
+cp_msg_vs_get_spectrum_cnf_send_spectrum (
+ cp_t *ctx, cp_mme_tx_t *mme,
+ cp_msg_vs_get_spectrum_cnf_spec_t *spectrum)
__attribute__((weak));
-
-
void
-cp_msg_vs_get_spectrum_cnf_send_spectrum (cp_t *ctx, cp_mme_tx_t *mme,
- cp_msg_vs_get_spectrum_cnf_spec_t
- *spectrum) {}
+cp_msg_vs_get_spectrum_cnf_send_spectrum (
+ cp_t *ctx, cp_mme_tx_t *mme,
+ cp_msg_vs_get_spectrum_cnf_spec_t *spectrum)
+{
+}
void
cp_msg_vs_get_spectrum_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
__attribute__((weak));
-
void
-cp_msg_vs_get_spectrum_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
-
+cp_msg_vs_get_spectrum_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
bool
-cp_msg_vs_get_link_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_vs_get_link_stats_req_t *data)
+cp_msg_vs_get_link_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_vs_get_link_stats_req_t *data)
__attribute__((weak));
-
bool
-cp_msg_vs_get_link_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_msg_vs_get_link_stats_req_t *data)
+cp_msg_vs_get_link_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_msg_vs_get_link_stats_req_t *data)
{
return true;
}
void
-cp_msg_vs_get_link_stats_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- u8 ReqID,
- cp_msg_vs_get_link_stats_cnf_result_t
- result,
- u32 Bad_CRC)
+cp_msg_vs_get_link_stats_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, u8 ReqID,
+ cp_msg_vs_get_link_stats_cnf_result_t result, u32 Bad_CRC)
__attribute__((weak));
-
void
-cp_msg_vs_get_link_stats_cnf_send (cp_t *ctx, cp_mme_peer_t *peer,
- u8 ReqID,
- cp_msg_vs_get_link_stats_cnf_result_t
- result,
- u32 Bad_CRC) {}
-
+cp_msg_vs_get_link_stats_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, u8 ReqID,
+ cp_msg_vs_get_link_stats_cnf_result_t result, u32 Bad_CRC)
+{
+}
cp_mme_tx_t *
-cp_msg_vs_get_amp_map_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_amp_map_cnf_result_t
- result, u16 amlen)
+cp_msg_vs_get_amp_map_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_vs_get_amp_map_cnf_result_t result, u16 amlen)
__attribute__((weak));
-
-
cp_mme_tx_t *
-cp_msg_vs_get_amp_map_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- cp_msg_vs_get_amp_map_cnf_result_t
- result, u16 amlen)
+cp_msg_vs_get_amp_map_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_vs_get_amp_map_cnf_result_t result, u16 amlen)
{
return NULL;
}
void
-cp_msg_vs_get_amp_map_cnf_send_ampmap (cp_t *ctx, cp_mme_tx_t *mme,
- u8 ampmap)
- __attribute__((weak));
-
-
+cp_msg_vs_get_amp_map_cnf_send_ampmap (
+ cp_t *ctx, cp_mme_tx_t *mme, u8 ampmap) __attribute__((weak));
void
-cp_msg_vs_get_amp_map_cnf_send_ampmap (cp_t *ctx, cp_mme_tx_t *mme,
- u8 ampmap) {}
+cp_msg_vs_get_amp_map_cnf_send_ampmap (
+ cp_t *ctx, cp_mme_tx_t *mme, u8 ampmap)
+{
+}
void
cp_msg_vs_get_amp_map_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
__attribute__((weak));
+void
+cp_msg_vs_get_amp_map_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
+
+bool
+cp_msg_vs_get_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, u8 *page_number, u8* level)
+ __attribute__((weak));
+bool
+cp_msg_vs_get_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, u8 *page_number, u8* level)
+{
+ return true;
+}
+
+cp_mme_tx_t *
+cp_msg_vs_get_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer)
+ __attribute__((weak));
+cp_mme_tx_t *
+cp_msg_vs_get_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer)
+{
+ return NULL;
+}
+void
+cp_msg_vs_get_stats_cnf_send (
+ cp_t *ctx, cp_mme_tx_t *mme, u8 page, u8 nb_pages,
+ lib_stats_level_t level, cp_msg_vs_get_stats_cnf_result_t result)
+ __attribute__((weak));
+void
+cp_msg_vs_get_stats_cnf_send (
+ cp_t *ctx, cp_mme_tx_t *mme, u8 page, u8 nb_pages,
+ lib_stats_level_t level, cp_msg_vs_get_stats_cnf_result_t result)
+{
+}
void
-cp_msg_vs_get_amp_map_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
+cp_msg_vs_get_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
+void
+cp_msg_vs_get_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
+
bool
-cp_msg_vs_get_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- u8 *page_number, u8* level)
+cp_msg_imac_get_discover_list_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
+ __attribute__((weak));
+bool
+cp_msg_imac_get_discover_list_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
{
return true;
}
cp_mme_tx_t *
-cp_msg_vs_get_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer)
+cp_msg_imac_get_discover_list_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_imac_get_discover_list_cnf_result_t result, u8 version,
+ u8 num_stations) __attribute__((weak));
+cp_mme_tx_t *
+cp_msg_imac_get_discover_list_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer,
+ cp_msg_imac_get_discover_list_cnf_result_t result, u8 version,
+ u8 num_stations)
{
return NULL;
}
void
-cp_msg_vs_get_stats_cnf_send (cp_t *ctx, cp_mme_tx_t *mme, u8 page,
- u8 nb_pages, lib_stats_level_t level,
- cp_msg_vs_get_stats_cnf_result_t result){}
+cp_msg_imac_get_discover_list_cnf_send (
+ cp_t *ctx, cp_mme_tx_t *mme,
+ const cp_msg_imac_discover_list_sta_info_t *data) __attribute__((weak));
+void
+cp_msg_imac_get_discover_list_cnf_send (
+ cp_t *ctx, cp_mme_tx_t *mme,
+ const cp_msg_imac_discover_list_sta_info_t *data)
+{
+}
void
-cp_msg_vs_get_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme){}
+cp_msg_imac_get_discover_list_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+ __attribute__((weak));
+void
+cp_msg_imac_get_discover_list_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
bool
cp_msg_vs_get_ce_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
mac_t *mac_addr) __attribute__((weak));
-
bool
cp_msg_vs_get_ce_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
mac_t *mac_addr)
@@ -208,84 +270,88 @@ cp_msg_vs_get_ce_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
return true;
}
-bool
-cp_msg_vs_get_pb_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_tei_t *stei_filter)
- __attribute__((weak));
+void
+cp_msg_vs_get_ce_stats_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, u8 version, u8 result, sta_t *sta,
+ tonemask_info_t *ti) __attribute__((weak));
+void
+cp_msg_vs_get_ce_stats_cnf_send (
+ cp_t *ctx, cp_mme_peer_t *peer, u8 version, u8 result, sta_t *sta,
+ tonemask_info_t *ti)
+{
+}
bool
-cp_msg_vs_get_pb_stats_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_tei_t *stei_filter)
+cp_msg_vs_get_pb_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_tei_t *stei_filter) __attribute__((weak));
+bool
+cp_msg_vs_get_pb_stats_req_receive (
+ cp_t *ctx, cp_mme_rx_t *mme, cp_tei_t *stei_filter)
{
return true;
}
-
cp_mme_tx_t *
-cp_msg_vs_get_pb_stats_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- int nb_measures)
- __attribute__((weak));
-
+cp_msg_vs_get_pb_stats_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, int nb_measures) __attribute__((weak));
cp_mme_tx_t *
-cp_msg_vs_get_pb_stats_cnf_send_begin ( cp_t *ctx, cp_mme_peer_t *peer,
- int nb_measures)
+cp_msg_vs_get_pb_stats_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, int nb_measures)
{
return NULL;
}
void
-cp_msg_vs_get_pb_stats_cnf_send_measure (cp_t *ctx, cp_mme_tx_t *mme,
- int start_to_read, int nb_entries)
- __attribute__((weak));
-
+cp_msg_vs_get_pb_stats_cnf_send_measure (
+ cp_t *ctx, cp_mme_tx_t *mme, int start_to_read, int nb_entries)
+ __attribute__((weak));
void
-cp_msg_vs_get_pb_stats_cnf_send_measure (cp_t *ctx, cp_mme_tx_t *mme,
- int start_to_read, int nb_entries)
-{}
+cp_msg_vs_get_pb_stats_cnf_send_measure (
+ cp_t *ctx, cp_mme_tx_t *mme, int start_to_read, int nb_entries)
+{
+}
void
cp_msg_vs_get_pb_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
__attribute__((weak));
-
void
-cp_msg_vs_get_pb_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
+cp_msg_vs_get_pb_stats_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}
bool
cp_msg_vs_get_mactotei_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
__attribute__((weak));
-
bool
cp_msg_vs_get_mactotei_req_receive (cp_t *ctx, cp_mme_rx_t *mme)
{
return true;
}
-
cp_mme_tx_t *
-cp_msg_vs_get_mactotei_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- uint nb_entry)
- __attribute__((weak));
-
+cp_msg_vs_get_mactotei_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, uint nb_entry) __attribute__((weak));
cp_mme_tx_t *
-cp_msg_vs_get_mactotei_cnf_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- uint nb_entry)
+cp_msg_vs_get_mactotei_cnf_send_begin (
+ cp_t *ctx, cp_mme_peer_t *peer, uint nb_entry)
{
return NULL;
}
void
-cp_msg_vs_get_mactotei_cnf_send_entry (cp_t *ctx, cp_mme_tx_t *mme_tx,
- mac_t mac, cp_tei_t tei, u8 tag)
+cp_msg_vs_get_mactotei_cnf_send_entry (
+ cp_t *ctx, cp_mme_tx_t *mme_tx, mac_t mac, cp_tei_t tei, u8 tag)
__attribute__((weak));
-
void
-cp_msg_vs_get_mactotei_cnf_send_entry (cp_t *ctx, cp_mme_tx_t *mme_tx,
- mac_t mac, cp_tei_t tei, u8 tag)
-{}
+cp_msg_vs_get_mactotei_cnf_send_entry (
+ cp_t *ctx, cp_mme_tx_t *mme_tx, mac_t mac, cp_tei_t tei, u8 tag)
+{
+}
void
cp_msg_vs_get_mactotei_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
__attribute__((weak));
-
void
-cp_msg_vs_get_mactotei_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme) {}
+cp_msg_vs_get_mactotei_cnf_send_end (cp_t *ctx, cp_mme_tx_t *mme)
+{
+}