summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-10-13 22:06:24 +0200
committerPatrick McHardy <kaber@trash.net>2010-10-13 23:18:03 +0200
commited870d702bb92ffa792896962e9ce55955163e5b (patch)
tree544ac7aa065ca2d0a6c19b54b2450a9cdd2ea978 /include
parent185c94d34b72f3bc17252c4f6a479d1140f6547a (diff)
ss: fix CLSS message routing
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/dect/ss.h4
-rw-r--r--include/lce.h6
-rw-r--r--include/ss.h2
3 files changed, 9 insertions, 3 deletions
diff --git a/include/dect/ss.h b/include/dect/ss.h
index 547effd..f1f7ef8 100644
--- a/include/dect/ss.h
+++ b/include/dect/ss.h
@@ -38,7 +38,8 @@ struct dect_handle;
struct dect_ss_endpoint;
extern void *dect_ss_priv(struct dect_ss_endpoint *sse);
-extern struct dect_ss_endpoint *dect_ss_endpoint_alloc(struct dect_handle *dh);
+extern struct dect_ss_endpoint *dect_ss_endpoint_alloc(struct dect_handle *dh,
+ const struct dect_ipui *ipui);
extern void dect_ss_endpoint_destroy(struct dect_handle *dh, struct dect_ss_endpoint *sse);
/**
@@ -62,7 +63,6 @@ struct dect_ss_ops {
};
extern int dect_mnss_setup_req(struct dect_handle *dh, struct dect_ss_endpoint *sse,
- const struct dect_ipui *ipui,
const struct dect_mnss_param *param);
extern int dect_mnss_facility_req(struct dect_handle *dh, struct dect_ss_endpoint *sse,
const struct dect_mnss_param *param);
diff --git a/include/lce.h b/include/lce.h
index 2e010e3..e7bab06 100644
--- a/include/lce.h
+++ b/include/lce.h
@@ -56,7 +56,6 @@ enum dect_release_modes {
* @role: Role (initiator/responder)
* @tv: Transaction value
*/
-enum dect_s_pd_values;
struct dect_transaction {
struct list_head list;
struct dect_data_link *link;
@@ -96,6 +95,11 @@ extern int dect_lce_send(const struct dect_handle *dh,
extern int dect_lce_retransmit(const struct dect_handle *dh,
struct dect_transaction *ta);
+extern int dect_lce_send_cl(struct dect_handle *dh, const struct dect_ipui *ipui,
+ const struct dect_sfmt_msg_desc *desc,
+ const struct dect_msg_common *msg,
+ enum dect_pds pd, uint8_t type);
+
extern ssize_t dect_lce_broadcast(const struct dect_handle *dh,
const struct dect_msg_buf *mb,
bool long_page);
diff --git a/include/ss.h b/include/ss.h
index 90801fd..a2075a0 100644
--- a/include/ss.h
+++ b/include/ss.h
@@ -55,10 +55,12 @@ struct dect_ciss_register_msg {
/**
* struct dect_ss_endpoint - Supplementary Services Endpoint
*
+ * @ipui: PT's IPUI
* @transaction: LCE link transaction
* @priv: libdect user private storage
*/
struct dect_ss_endpoint {
+ struct dect_ipui ipui;
struct dect_transaction transaction;
uint8_t priv[] __aligned(__alignof__(uint64_t));
};