2011-03-04 13:05:20 +00:00
|
|
|
#ifndef _RSL_H
|
|
|
|
#define _RSL_H
|
|
|
|
|
2013-10-25 16:32:16 +00:00
|
|
|
/**
|
|
|
|
* What kind of release/activation is done? A silent one for
|
|
|
|
* the PDCH or one triggered through RSL?
|
|
|
|
*/
|
|
|
|
enum {
|
|
|
|
LCHAN_REL_ACT_RSL,
|
|
|
|
LCHAN_REL_ACT_PCU,
|
2013-11-27 13:24:08 +00:00
|
|
|
LCHAN_REL_ACT_OML,
|
2016-10-12 14:24:32 +00:00
|
|
|
LCHAN_REL_ACT_REACT,
|
2013-10-25 16:32:16 +00:00
|
|
|
};
|
|
|
|
|
2016-10-06 14:03:18 +00:00
|
|
|
#define LCHAN_FN_DUMMY 0xFFFFFFFF
|
2017-01-24 17:10:13 +00:00
|
|
|
#define LCHAN_FN_WAIT 0xFFFFFFFE
|
2016-10-06 14:03:18 +00:00
|
|
|
|
2013-02-05 10:45:28 +00:00
|
|
|
int msgb_queue_flush(struct llist_head *list);
|
|
|
|
|
2011-06-27 09:25:35 +00:00
|
|
|
int down_rsl(struct gsm_bts_trx *trx, struct msgb *msg);
|
|
|
|
int rsl_tx_rf_res(struct gsm_bts_trx *trx);
|
|
|
|
int rsl_tx_chan_rqd(struct gsm_bts_trx *trx, struct gsm_time *gtime,
|
|
|
|
uint8_t ra, uint8_t acc_delay);
|
|
|
|
int rsl_tx_est_ind(struct gsm_lchan *lchan, uint8_t link_id, uint8_t *data, int len);
|
|
|
|
|
2016-08-22 16:23:03 +00:00
|
|
|
int rsl_tx_chan_act_acknack(struct gsm_lchan *lchan, uint8_t cause);
|
2013-02-05 08:06:49 +00:00
|
|
|
int rsl_tx_conn_fail(struct gsm_lchan *lchan, uint8_t cause);
|
2011-06-27 09:25:35 +00:00
|
|
|
int rsl_tx_rf_rel_ack(struct gsm_lchan *lchan);
|
2014-01-23 14:32:22 +00:00
|
|
|
int rsl_tx_hando_det(struct gsm_lchan *lchan, uint8_t *ho_delay);
|
2011-06-27 09:25:35 +00:00
|
|
|
|
2016-11-11 16:44:57 +00:00
|
|
|
int lchan_deactivate(struct gsm_lchan *lchan);
|
|
|
|
|
2011-06-27 09:25:35 +00:00
|
|
|
/* call-back for LAPDm code, called when it wants to send msgs UP */
|
|
|
|
int lapdm_rll_tx_cb(struct msgb *msg, struct lapdm_entity *le, void *ctx);
|
|
|
|
|
|
|
|
int rsl_tx_ipac_dlcx_ind(struct gsm_lchan *lchan, uint8_t cause);
|
2012-06-04 15:27:13 +00:00
|
|
|
int rsl_tx_ccch_load_ind_pch(struct gsm_bts *bts, uint16_t paging_avail);
|
2012-06-15 03:07:03 +00:00
|
|
|
int rsl_tx_ccch_load_ind_rach(struct gsm_bts *bts, uint16_t total,
|
|
|
|
uint16_t busy, uint16_t access);
|
2011-06-27 09:25:35 +00:00
|
|
|
|
2016-07-16 20:29:28 +00:00
|
|
|
void cb_ts_disconnected(struct gsm_bts_trx_ts *ts);
|
|
|
|
void cb_ts_connected(struct gsm_bts_trx_ts *ts);
|
|
|
|
void ipacc_dyn_pdch_complete(struct gsm_bts_trx_ts *ts, int rc);
|
2016-06-16 15:32:32 +00:00
|
|
|
|
2011-03-04 13:05:20 +00:00
|
|
|
#endif // _RSL_H */
|
|
|
|
|