aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/rsl.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-04-16 23:09:18 +0200
committerHarald Welte <laforge@gnumonks.org>2012-04-19 09:39:54 +0200
commitd7718280c98cdd9a6da27fbbf90c171f49969279 (patch)
tree6f6fd82f888b5efd395478db50799c8b6390e6cc /include/osmo-bts/rsl.h
parent1e2b3259b92de9885c882cd0291452d8b7ffbfed (diff)
lchan: Send the ACT ACK/NACK after the Layer1 has handled act/deact
Send the RSL ACT ACK/NACK after the Layer1 firmware has acked the activation/deactivation. In case the channel can not be activated we will send a NACK. In case the channel can not be deactivated we will send an ACK and the next time the channel is activated we will send a NACK. The release ack will be sent once the TxDownlink of the TCH/SDCCH is closed. Change the rsl_tx_chan_nack method to create a new msgb to be used by the hardware layer, change the return value to ask the caller to delete the msgb.
Diffstat (limited to 'include/osmo-bts/rsl.h')
-rw-r--r--include/osmo-bts/rsl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h
index 62bc9b1b..0ab2eec2 100644
--- a/include/osmo-bts/rsl.h
+++ b/include/osmo-bts/rsl.h
@@ -8,6 +8,7 @@ int rsl_tx_chan_rqd(struct gsm_bts_trx *trx, struct gsm_time *gtime,
int rsl_tx_est_ind(struct gsm_lchan *lchan, uint8_t link_id, uint8_t *data, int len);
int rsl_tx_chan_act_ack(struct gsm_lchan *lchan, struct gsm_time *gtime);
+int rsl_tx_chan_act_nack(struct gsm_lchan *lchan, uint8_t cause);
int rsl_tx_rf_rel_ack(struct gsm_lchan *lchan);
/* call-back for LAPDm code, called when it wants to send msgs UP */