summaryrefslogtreecommitdiff
path: root/cesar/cp2/msg
diff options
context:
space:
mode:
authorschodet2008-06-17 17:58:35 +0000
committerschodet2008-06-17 17:58:35 +0000
commit1fa52a240bc06e8998d378cbf86ecba44cf12c6d (patch)
tree2e5dbc20093673abbf3a601a7a58d08e15dfb953 /cesar/cp2/msg
parent1c2ac6a60e727d3e24ad613a3975d768130cd52b (diff)
* cp2/sta/action, cp2/msg:
- changed messages order to match spec. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2366 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp2/msg')
-rw-r--r--cesar/cp2/msg/inc/msg_drv.h84
1 files changed, 42 insertions, 42 deletions
diff --git a/cesar/cp2/msg/inc/msg_drv.h b/cesar/cp2/msg/inc/msg_drv.h
index 57c8bef2dd..31bc00dd98 100644
--- a/cesar/cp2/msg/inc/msg_drv.h
+++ b/cesar/cp2/msg/inc/msg_drv.h
@@ -25,123 +25,123 @@ typedef enum cp_msg_drv_result_t cp_msg_drv_result_t;
BEGIN_DECLS
/**
- * Receive a DRV_STA_SET_DPW.REQ.
+ * Receive a DRV_STA_SET_MAC_ADDR.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param dpw received device password
+ * \param mac received mac address
* \return true on success
*/
bool
-cp_msg_drv_sta_set_dpw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *dpw);
+cp_msg_drv_sta_set_mac_addr_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ mac_t *mac);
/**
- * Receive a DRV_STA_SET_MAC_ADDRESS.REQ.
+ * Receive a DRV_STA_SET_CCO_PREF.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param mac received mac address
+ * \param cco_pref received CCo preferred flag
* \return true on success
*/
bool
-cp_msg_drv_sta_set_mac_address_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- mac_t *mac);
+cp_msg_drv_sta_set_cco_pref_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ bool *cco_pref);
/**
- * Receive a DRV_STA_SET_AVLN_HFID.REQ.
+ * Receive a DRV_STA_SET_WAS_CCO.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param avln_hfid received AVLN HFID
+ * \param was_cco received was CCo flag
* \return true on success
*/
bool
-cp_msg_drv_sta_set_avln_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- char *avln_hfid);
+cp_msg_drv_sta_set_was_cco_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ bool *was_cco);
/**
- * Receive a DRV_STA_SET_CCO_PREF.REQ.
+ * Receive a DRV_STA_SET_NPW.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param cco_pref received CCo preferred flag
+ * \param npw received NPW
* \return true on success
*/
bool
-cp_msg_drv_sta_set_cco_pref_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- bool *cco_pref);
+cp_msg_drv_sta_set_npw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *npw);
/**
- * Receive a DRV_STA_SET_M_STA_HFID.REQ.
+ * Receive a DRV_STA_SET_DPW.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param m_sta_hfid received manufacturer STA HFID
+ * \param dpw received device password
* \return true on success
*/
bool
-cp_msg_drv_sta_set_m_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- char *m_sta_hfid);
+cp_msg_drv_sta_set_dpw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *dpw);
/**
- * Receive a DRV_STA_SET_NID.REQ.
+ * Receive a DRV_STA_SET_SL.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param nid received NID
+ * \param sl received SL
* \return true on success
*/
bool
-cp_msg_drv_sta_set_nid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_nid_t *nid);
+cp_msg_drv_sta_set_sl_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_security_level_t *sl);
/**
- * Receive a DRV_STA_SET_NPW.REQ.
+ * Receive a DRV_STA_SET_NID.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param npw received NPW
+ * \param nid received NID
* \return true on success
*/
bool
-cp_msg_drv_sta_set_npw_req_receive (cp_t *ctx, cp_mme_rx_t *mme, char *npw);
+cp_msg_drv_sta_set_nid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ cp_nid_t *nid);
/**
- * Receive a DRV_STA_SET_SL.REQ.
+ * Receive a DRV_STA_SET_M_STA_HFID.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param sl received SL
+ * \param m_sta_hfid received manufacturer STA HFID
* \return true on success
*/
bool
-cp_msg_drv_sta_set_sl_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- cp_security_level_t *sl);
+cp_msg_drv_sta_set_m_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ char *m_sta_hfid);
/**
- * Receive a DRV_STA_SET_TONEMASK.REQ.
+ * Receive a DRV_STA_SET_U_STA_HFID.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param tonemask received tonemask
+ * \param u_sta_hfid received user STA HFID
* \return true on success
*/
bool
-cp_msg_drv_sta_set_tonemask_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- u8 *tonemask);
+cp_msg_drv_sta_set_u_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ char *u_sta_hfid);
/**
- * Receive a DRV_STA_SET_U_STA_HFID.REQ.
+ * Receive a DRV_STA_SET_AVLN_HFID.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param u_sta_hfid received user STA HFID
+ * \param avln_hfid received AVLN HFID
* \return true on success
*/
bool
-cp_msg_drv_sta_set_u_sta_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- char *u_sta_hfid);
+cp_msg_drv_sta_set_avln_hfid_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ char *avln_hfid);
/**
- * Receive a DRV_STA_SET_WAS_CCO.REQ.
+ * Receive a DRV_STA_SET_TONEMASK.REQ.
* \param ctx control plane context
* \param mme MME handle
- * \param was_cco received was CCo flag
+ * \param tonemask received tonemask
* \return true on success
*/
bool
-cp_msg_drv_sta_set_was_cco_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
- bool *was_cco);
+cp_msg_drv_sta_set_tonemask_req_receive (cp_t *ctx, cp_mme_rx_t *mme,
+ u8 *tonemask);
/**
* Receive a DRV_STA_MAC_START.REQ.