diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-06-30 15:19:00 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-10 08:44:00 +0000 |
commit | f588b5f91d78d7cf1fc01d657b8483d3908c8841 (patch) | |
tree | 49ae8e0ae891239567fb32a3e9c45ff1332eb272 /include | |
parent | 0bd7a19114a0deec6a40956ed50979465ab608f7 (diff) |
Allow passing low link quality buffers to upper layers
We want to always call l1if_tch_rx and l1sap_up in order to avoid losing triggering
events on the upper layer.
With this change, the upper layer will increase correctly seq + ts for
RTP. It will then send an RTP packet with only the header and no payload, which is
not correct but at least we avoid drifting the RTP clock. Upcoming patch
in the series solves this issue.
This patch assumes that we are not lossing data events from the physical
layer and that we receive an event every 20ms, even if the MS is not
transmitting due to DTX.
Depends on libosmocore If4ae20c22b881e94585dad710f17b9e37f77bf82
Change-Id: If5df8940fab833eb4e3ed851880b66987d356031
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/l1sap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmo-bts/l1sap.h b/include/osmo-bts/l1sap.h index 6373ba84..4e9c9e20 100644 --- a/include/osmo-bts/l1sap.h +++ b/include/osmo-bts/l1sap.h @@ -85,7 +85,8 @@ extern uint32_t gsmtap_sapi_mask; extern uint8_t gsmtap_sapi_acch; int add_l1sap_header(struct gsm_bts_trx *trx, struct msgb *rmsg, - struct gsm_lchan *lchan, uint8_t chan_nr, uint32_t fn); + struct gsm_lchan *lchan, uint8_t chan_nr, uint32_t fn, + uint16_t ber10k, int16_t lqual_cb); #define msgb_l1sap_prim(msg) ((struct osmo_phsap_prim *)(msg)->l1h) |