return rslms_recvmsg(msg, ms);
}
-#if 0
+/* enqueue messages (RSL-SAP) */
+static int rslms_rx_rll(struct msgb *msg, struct osmocom_ms *ms)
+ struct gsm_rrlayer *rr = &ms->rrlayer;
+
+ msgb_enqueue(&rr->rsl_upqueue, msg);
+}
+
/* dequeue messages (RSL-SAP) */
int gsm48_rsl_dequeue(struct osmocom_ms *ms)
{
return work;
}
-#endif
/*
* timers handling
#define DLDATASLLEN \
(sizeof(dldatastatelist) / sizeof(struct dldatastate))
-static int rslms_rx_rll(struct msgb *msg, struct osmocom_ms *ms)
-//static int gsm48_rcv_rsl(struct osmocom_ms *ms, struct msgb *msg)
+static int gsm48_rcv_rsl(struct osmocom_ms *ms, struct msgb *msg)
{
struct gsm_rrlayer *rr = &ms->rrlayer;
struct abis_rsl_rll_hdr *rllh = msgb_l2(msg);