diff options
Diffstat (limited to 'src/gprs_rlcmac_ctrl.h')
-rw-r--r-- | src/gprs_rlcmac_ctrl.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/gprs_rlcmac_ctrl.h b/src/gprs_rlcmac_ctrl.h new file mode 100644 index 00000000..795736bb --- /dev/null +++ b/src/gprs_rlcmac_ctrl.h @@ -0,0 +1,49 @@ +#ifndef _GPRS_RLCMAC_CTRL_H +#define _GPRS_RLCMAC_CTRL_H + +#ifdef __cplusplus +extern "C" +#endif +int write_immediate_assignment_uplink(uint8_t *data, uint8_t ra, uint32_t fn, + uint8_t ta, uint16_t arfcn, uint8_t ts, uint8_t tsc, uint8_t tfi, + uint8_t usf, uint8_t polling, uint32_t poll_fn); + +#ifdef __cplusplus +extern "C" +#endif +int write_immediate_assignment_downlink(uint8_t *data, uint8_t ra, uint32_t fn, + uint8_t ta, uint16_t arfcn, uint8_t ts, uint8_t tsc, uint8_t tfi, + uint32_t tlli, uint8_t polling, uint32_t poll_fn); + +#ifdef __cplusplus +extern "C" +#endif +struct msgb *write_packet_uplink_assignment(uint8_t old_tfi, + uint8_t old_downlink, uint32_t tlli, uint8_t use_tlli, + struct gprs_rlcmac_tbf *tbf, uint8_t poll); + +#ifdef __cplusplus +extern "C" +#endif +struct msgb *write_packet_downlink_assignment(uint8_t old_tfi, + uint8_t old_downlink, struct gprs_rlcmac_tbf *tbf, uint8_t poll); + +#ifdef __cplusplus +extern "C" +#endif +struct msgb *write_packet_uplink_ack(struct gprs_rlcmac_tbf *tbf, + uint8_t final); + +#ifdef __cplusplus +extern "C" +#endif +struct msgb *gprs_rlcmac_send_packet_paging_request( + struct gprs_rlcmac_pdch *pdch); + +#ifdef __cplusplus +extern "C" +#endif +int gprs_rlcmac_rcv_control_block(uint8_t trx, uint8_t ts, uint32_t fn, + uint8_t *data, uint8_t len); + +#endif /* _GPRS_RLCMAC_CTRL_H */ |