summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
authorHarald Welte2011-06-24 22:05:46 +0200
committerHarald Welte2011-06-24 22:05:46 +0200
commit7506e29c61cd160881ad79145f5981b3fdd8c145 (patch)
tree27d6611602f2a84caeef820dad332ac23b141491 /src/host/layer23/include
parentlapdm: Don't try to send data using a PH-RACH.req, use PH-DATA.req (diff)
downloadosmocom-7506e29c61cd160881ad79145f5981b3fdd8c145.tar.gz
osmocom-7506e29c61cd160881ad79145f5981b3fdd8c145.tar.xz
osmocom-7506e29c61cd160881ad79145f5981b3fdd8c145.zip
lapdm: introduce a new lapdm_phsap_dequeue_prim()
This function can be called by a TDMA-driven L1 which will never actually want to receive unsolicited/asynchronous PH-DATA.req primitives, but who will simply directly poll the LAPDm transmit queue by calling the abovementioned function
Diffstat (limited to 'src/host/layer23/include')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/lapdm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/lapdm.h b/src/host/layer23/include/osmocom/bb/common/lapdm.h
index 946ca27..2e78aee 100644
--- a/src/host/layer23/include/osmocom/bb/common/lapdm.h
+++ b/src/host/layer23/include/osmocom/bb/common/lapdm.h
@@ -181,4 +181,6 @@ void lapdm_channel_reset(struct lapdm_channel *lc);
void lapdm_entity_set_flags(struct lapdm_entity *le, unsigned int flags);
void lapdm_channel_set_flags(struct lapdm_channel *lc, unsigned int flags);
+int lapdm_phsap_dequeue_prim(struct lapdm_entity *le, struct osmo_phsap_prim *pp);
+
#endif /* _OSMOCOM_LAPDM_H */