1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 */
|