summaryrefslogtreecommitdiff
path: root/cesar/cp/station/maximus/inc/maximus_cp_station.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/station/maximus/inc/maximus_cp_station.h')
-rw-r--r--cesar/cp/station/maximus/inc/maximus_cp_station.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/cesar/cp/station/maximus/inc/maximus_cp_station.h b/cesar/cp/station/maximus/inc/maximus_cp_station.h
new file mode 100644
index 0000000000..6290bdba61
--- /dev/null
+++ b/cesar/cp/station/maximus/inc/maximus_cp_station.h
@@ -0,0 +1,49 @@
+/* Cesar project {{{
+ *
+ * Copyright (C) 2007 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file maximus_cp_station.h
+ * \brief Declaration of Maximus function calls used for the station configuration
+ * \ingroup
+ */
+#ifndef cp_station_maximus_inc_maximus_cp_station_h
+#define cp_station_maximus_inc_maximus_cp_station_h
+
+#include "hal/phy/defs.h" // for 'PHY_CARRIER_NB'
+#include "host/fwd.h" // for 'station_ctx_t', 'fcall_ctx_t', and 'sci_msg_t',
+#include "host/fcall.h" // for 'fcall_param_t'
+
+// typedef unsigned char mac_address_t[6]; // defined in 'cp/cp_types.h'
+typedef bool cco_preference_t;
+typedef bool was_cco_t;
+typedef char npw_t[64];
+typedef char dpw_t[64];
+typedef char m_sta_hfid_t[64];
+typedef char u_sta_hfid_t[64];
+typedef char avln_hfid_t[64];
+typedef u8 sl_t;
+typedef u8 tonemask_t[(PHY_CARRIER_NB + 7) / 8];
+// typedef unsigned char snid_t; // defined in 'cp/cp_types.h'
+
+void maximus_cp_station_init (station_ctx_t *station);
+
+int maximus_set_mac_address (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_cco_preference (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_was_cco (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_npw (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_dpw (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_m_sta_hfid (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_u_sta_hfid (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_avln_hfid (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_sl (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_tonemask (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_set_snid (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+
+int maximus_mac_start (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+int maximus_mac_stop (fcall_ctx_t *fcall, fcall_param_t **param, sci_msg_t **msg, void *data);
+
+#endif /* cp_station_maximus_inc_maximus_cp_station_h */