Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 1 | /* gprs_rlcmac.h |
| 2 | * |
| 3 | * Copyright (C) 2012 Ivan Klyuchnikov |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License |
| 7 | * as published by the Free Software Foundation; either version 2 |
| 8 | * of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 18 | */ |
| 19 | |
| 20 | #ifndef GPRS_RLCMAC_H |
| 21 | #define GPRS_RLCMAC_H |
| 22 | |
Ivan Kluchnikov | 835f91e | 2012-04-30 18:00:36 +0400 | [diff] [blame] | 23 | #include <bitvector.h> |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 24 | #include <gsm_rlcmac.h> |
Ivan Kluchnikov | 61a33f7 | 2012-04-12 15:22:06 +0400 | [diff] [blame] | 25 | #include <gsm_timer.h> |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 26 | |
| 27 | extern "C" { |
| 28 | #include <osmocom/core/linuxlist.h> |
Ivan Kluchnikov | 61a33f7 | 2012-04-12 15:22:06 +0400 | [diff] [blame] | 29 | #include <osmocom/core/timer.h> |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 30 | } |
| 31 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 32 | /* This special feature will delay assignment of downlink TBF by one second, |
| 33 | * in case there is already a TBF. |
| 34 | * This is usefull to debug downlink establishment during packet idle mode. |
| 35 | */ |
| 36 | //#define DEBUG_DL_ASS_IDLE |
| 37 | |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 38 | /* |
| 39 | * PDCH instanc |
| 40 | */ |
| 41 | |
| 42 | struct gprs_rlcmac_tbf; |
| 43 | |
| 44 | struct gprs_rlcmac_pdch { |
| 45 | uint8_t enable; /* TS is enabled */ |
| 46 | uint8_t tsc; /* TSC of this slot */ |
| 47 | uint8_t next_ul_tfi; /* next uplink TBF/TFI to schedule (0..31) */ |
| 48 | uint8_t next_dl_tfi; /* next downlink TBF/TFI to schedule (0..31) */ |
| 49 | struct gprs_rlcmac_tbf *tbf[32]; /* array of TBF pointers, by TFI */ |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 50 | uint32_t last_rts_fn; /* store last frame number of RTS */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 51 | }; |
| 52 | |
| 53 | struct gprs_rlcmac_trx { |
| 54 | uint16_t arfcn; |
| 55 | struct gprs_rlcmac_pdch pdch[8]; |
| 56 | }; |
| 57 | |
| 58 | struct gprs_rlcmac_bts { |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 59 | uint8_t cs; /* block length 1=CS-1, 2=CS-2, 3=CS-3, 4=CS-4 */ |
| 60 | uint16_t t3192_msec; |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 61 | struct gprs_rlcmac_trx trx[8]; |
| 62 | }; |
| 63 | |
| 64 | extern struct gprs_rlcmac_bts *gprs_rlcmac_bts; |
| 65 | |
| 66 | /* |
| 67 | * TBF instance |
| 68 | */ |
| 69 | |
Ivan Kluchnikov | c5d8c27 | 2012-06-04 21:55:02 +0400 | [diff] [blame] | 70 | #define LLC_MAX_LEN 1543 |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 71 | #define RLC_MAX_SNS 128 /* GPRS, must be power of 2 */ |
| 72 | #define RLC_MAX_WS 64 /* max window size */ |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 73 | #define RLC_MAX_LEN 54 /* CS-4 including spare bits */ |
Ivan Kluchnikov | c5d8c27 | 2012-06-04 21:55:02 +0400 | [diff] [blame] | 74 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 75 | #define Tassign_agch 0,500000/* wait for assignment, before transmitting DL */ |
| 76 | #define Tassign_pacch 0,100000/* wait for assignment, before transmitting DL */ |
| 77 | #define T3169 6,0 /* 5 seconds + one second, because we don't use |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 78 | * counters before starting timer. */ |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 79 | #define T3191 5,0 /* 5 Seconds */ |
| 80 | #define T3193 2,0 /* >T3192, which can be max 1,5s */ |
| 81 | #define T3195 5,0 /* 5 Seconds */ |
| 82 | //#define N3101_MAX 12 /* how many missed uplink blocks */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 83 | #define N3103_MAX 4 /* how many tries to poll PACKET CONTROL ACK */ |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 84 | #define N3105_MAX 4 /* how many tries to poll PACKET DOWNLINK ACK */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 85 | |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 86 | enum gprs_rlcmac_tbf_state { |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 87 | GPRS_RLCMAC_NULL = 0, /* new created TBF */ |
| 88 | GPRS_RLCMAC_ASSIGN, /* wait for downlink assignment */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 89 | GPRS_RLCMAC_FLOW, /* RLC/MAC flow, ressource needed */ |
| 90 | GPRS_RLCMAC_FINISHED, /* flow finished, wait for release */ |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 91 | GPRS_RLCMAC_WAIT_RELEASE,/* wait for release or restart of DL TBF */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 92 | GPRS_RLCMAC_RELEASING, /* releasing, wait to free TBI/USF */ |
| 93 | }; |
| 94 | |
| 95 | enum gprs_rlcmac_tbf_poll_state { |
| 96 | GPRS_RLCMAC_POLL_NONE = 0, |
| 97 | GPRS_RLCMAC_POLL_SCHED, /* a polling was scheduled */ |
| 98 | }; |
| 99 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 100 | enum gprs_rlcmac_tbf_dl_ass_state { |
| 101 | GPRS_RLCMAC_DL_ASS_NONE = 0, |
| 102 | GPRS_RLCMAC_DL_ASS_SEND_ASS, /* send downlink assignment on next RTS */ |
| 103 | GPRS_RLCMAC_DL_ASS_WAIT_ACK, /* wait for PACKET CONTROL ACK */ |
| 104 | }; |
| 105 | |
| 106 | enum gprs_rlcmac_tbf_ul_ass_state { |
| 107 | GPRS_RLCMAC_UL_ASS_NONE = 0, |
| 108 | GPRS_RLCMAC_UL_ASS_SEND_ASS, /* send uplink assignment on next RTS */ |
| 109 | GPRS_RLCMAC_UL_ASS_WAIT_ACK, /* wait for PACKET CONTROL ACK */ |
| 110 | }; |
| 111 | |
| 112 | enum gprs_rlcmac_tbf_ul_ack_state { |
| 113 | GPRS_RLCMAC_UL_ACK_NONE = 0, |
| 114 | GPRS_RLCMAC_UL_ACK_SEND_ACK, /* send acknowledge on next RTS */ |
| 115 | GPRS_RLCMAC_UL_ACK_WAIT_ACK, /* wait for PACKET CONTROL ACK */ |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 116 | }; |
| 117 | |
| 118 | enum gprs_rlcmac_tbf_direction { |
| 119 | GPRS_RLCMAC_DL_TBF, |
| 120 | GPRS_RLCMAC_UL_TBF |
| 121 | }; |
| 122 | |
| 123 | struct gprs_rlcmac_tbf { |
| 124 | struct llist_head list; |
| 125 | enum gprs_rlcmac_tbf_state state; |
| 126 | enum gprs_rlcmac_tbf_direction direction; |
| 127 | uint8_t tfi; |
| 128 | uint32_t tlli; |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 129 | uint8_t tlli_valid; |
Andreas Eversberg | 0aed654 | 2012-06-23 10:33:16 +0200 | [diff] [blame] | 130 | uint8_t trx, ts, tsc; |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 131 | struct gprs_rlcmac_pdch *pdch; |
Andreas Eversberg | 0aed654 | 2012-06-23 10:33:16 +0200 | [diff] [blame] | 132 | uint16_t arfcn, ta; |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 133 | uint8_t llc_frame[LLC_MAX_LEN]; /* current DL or UL frame */ |
| 134 | uint16_t llc_index; /* current write/read position of frame */ |
| 135 | uint16_t llc_length; /* len of current DL LLC_frame, 0 == no frame */ |
| 136 | llist_head llc_queue; /* queued LLC DL data */ |
| 137 | |
| 138 | enum gprs_rlcmac_tbf_dl_ass_state dl_ass_state; |
| 139 | enum gprs_rlcmac_tbf_ul_ass_state ul_ass_state; |
| 140 | enum gprs_rlcmac_tbf_ul_ack_state ul_ack_state; |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 141 | |
| 142 | enum gprs_rlcmac_tbf_poll_state poll_state; |
| 143 | uint32_t poll_fn; |
| 144 | |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 145 | uint16_t ws; /* window size */ |
| 146 | uint16_t sns; /* sequence number space */ |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 147 | |
| 148 | /* Please note that all variables here will be reset when changing |
| 149 | * from WAIT RELEASE back to FLOW state (re-use of TBF). |
| 150 | * All states that need reset must be in this struct, so this is why |
| 151 | * variables are in both (dl and ul) structs and not outside union. |
| 152 | */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 153 | union { |
| 154 | struct { |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 155 | uint16_t bsn; /* block sequence number */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 156 | uint16_t v_s; /* send state */ |
| 157 | uint16_t v_a; /* ack state */ |
| 158 | char v_b[RLC_MAX_SNS/2]; /* acknowledge state array */ |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 159 | int32_t tx_counter; /* count all transmitted blocks */ |
| 160 | uint8_t n3105; /* N3105 counter */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 161 | } dl; |
| 162 | struct { |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 163 | uint16_t bsn; /* block sequence number */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 164 | uint16_t v_r; /* receive state */ |
| 165 | uint16_t v_q; /* receive window state */ |
| 166 | char v_n[RLC_MAX_SNS/2]; /* receive state array */ |
| 167 | int32_t rx_counter; /* count all received blocks */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 168 | uint8_t n3103; /* N3103 counter */ |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 169 | uint8_t usf; /* USF */ |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 170 | } ul; |
| 171 | } dir; |
| 172 | uint8_t rlc_block[RLC_MAX_SNS/2][RLC_MAX_LEN]; /* block history */ |
| 173 | uint8_t rlc_block_len[RLC_MAX_SNS/2]; /* block len of history */ |
Ivan Kluchnikov | 61a33f7 | 2012-04-12 15:22:06 +0400 | [diff] [blame] | 174 | |
| 175 | struct osmo_timer_list timer; |
| 176 | unsigned int T; /* Txxxx number */ |
| 177 | unsigned int num_T_exp; /* number of consecutive T expirations */ |
| 178 | |
| 179 | struct osmo_gsm_timer_list gsm_timer; |
| 180 | unsigned int fT; /* fTxxxx number */ |
| 181 | unsigned int num_fT_exp; /* number of consecutive fT expirations */ |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 182 | }; |
| 183 | |
| 184 | extern struct llist_head gprs_rlcmac_tbfs; |
| 185 | |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 186 | int tfi_alloc(uint8_t *_trx, uint8_t *_ts); |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 187 | |
Andreas Eversberg | 0aed654 | 2012-06-23 10:33:16 +0200 | [diff] [blame] | 188 | struct gprs_rlcmac_tbf *tbf_alloc(uint8_t tfi, uint8_t trx, uint8_t ts); |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 189 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 190 | struct gprs_rlcmac_tbf *tbf_by_tfi(uint8_t tfi, int direction); |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 191 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 192 | struct gprs_rlcmac_tbf *tbf_by_tlli(uint32_t tlli, int direction); |
| 193 | |
| 194 | struct gprs_rlcmac_tbf *tbf_by_poll_fn(uint32_t fn); |
| 195 | |
| 196 | int find_free_usf(uint8_t trx, uint8_t ts); |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 197 | |
Andreas Eversberg | 0aed654 | 2012-06-23 10:33:16 +0200 | [diff] [blame] | 198 | void tbf_free(struct gprs_rlcmac_tbf *tbf); |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 199 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 200 | void tbf_new_state(struct gprs_rlcmac_tbf *tbf, |
| 201 | enum gprs_rlcmac_tbf_state state); |
| 202 | |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 203 | void tbf_timer_start(struct gprs_rlcmac_tbf *tbf, unsigned int T, |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 204 | unsigned int seconds, unsigned int microseconds); |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 205 | |
| 206 | void tbf_timer_stop(struct gprs_rlcmac_tbf *tbf); |
| 207 | |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 208 | /* TS 44.060 Section 10.4.7 Table 10.4.7.1: Payload Type field */ |
| 209 | enum gprs_rlcmac_block_type { |
| 210 | GPRS_RLCMAC_DATA_BLOCK = 0x0, |
| 211 | GPRS_RLCMAC_CONTROL_BLOCK = 0x1, |
| 212 | GPRS_RLCMAC_CONTROL_BLOCK_OPT = 0x2, |
| 213 | GPRS_RLCMAC_RESERVED = 0x3 |
| 214 | }; |
| 215 | |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 216 | int gprs_rlcmac_rcv_block(uint8_t *data, uint8_t len, uint32_t fn); |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 217 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 218 | int write_immediate_assignment(bitvec * dest, uint8_t downlink, uint8_t ra, |
| 219 | uint32_t fn, uint8_t ta, uint16_t arfcn, uint8_t ts, uint8_t tsc, |
| 220 | uint8_t tfi, uint8_t usf, uint32_t tlli, uint8_t polling, |
| 221 | uint32_t poll_fn); |
Andreas Eversberg | 0aed654 | 2012-06-23 10:33:16 +0200 | [diff] [blame] | 222 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 223 | void write_packet_uplink_assignment(bitvec * dest, uint8_t old_tfi, |
| 224 | uint8_t old_downlink, uint32_t tlli, uint8_t use_tlli, uint8_t new_tfi, |
| 225 | uint8_t usf, uint16_t arfcn, uint8_t tn, uint8_t ta, uint8_t tsc, |
| 226 | uint8_t poll); |
Ivan Kluchnikov | 5310d45 | 2012-04-17 22:00:31 +0400 | [diff] [blame] | 227 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 228 | void write_packet_downlink_assignment(bitvec * dest, uint8_t old_tfi, |
| 229 | uint8_t old_downlink, uint8_t new_tfi, uint16_t arfcn, |
| 230 | uint8_t tn, uint8_t ta, uint8_t tsc, uint8_t poll); |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 231 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 232 | void write_packet_uplink_ack(bitvec * dest, struct gprs_rlcmac_tbf *tbf, |
| 233 | uint8_t final); |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 234 | |
| 235 | void gprs_rlcmac_tx_ul_ud(gprs_rlcmac_tbf *tbf); |
| 236 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 237 | void tbf_timer_cb(void *_tbf); |
Ivan Kluchnikov | c320d86 | 2012-03-18 15:04:48 +0400 | [diff] [blame] | 238 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 239 | int gprs_rlcmac_poll_timeout(struct gprs_rlcmac_tbf *tbf); |
Ivan Kluchnikov | 9c795ab | 2012-05-24 23:12:59 +0400 | [diff] [blame] | 240 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 241 | int gprs_rlcmac_rcv_rach(uint8_t ra, uint32_t Fn, int16_t qta); |
| 242 | |
| 243 | int gprs_rlcmac_rcv_control_block(bitvec *rlc_block, uint32_t fn); |
| 244 | |
| 245 | struct msgb *gprs_rlcmac_send_packet_uplink_assignment( |
| 246 | struct gprs_rlcmac_tbf *tbf, uint32_t fn); |
| 247 | |
| 248 | struct msgb *gprs_rlcmac_send_packet_downlink_assignment( |
| 249 | struct gprs_rlcmac_tbf *tbf, uint32_t fn); |
| 250 | |
| 251 | void gprs_rlcmac_trigger_downlink_assignment(gprs_rlcmac_tbf *tbf, |
| 252 | uint8_t old_downlink); |
| 253 | |
| 254 | int gprs_rlcmac_downlink_ack(struct gprs_rlcmac_tbf *tbf, uint8_t final, |
| 255 | uint8_t ssn, uint8_t *rbb); |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 256 | |
| 257 | int gprs_rlcmac_rcv_data_block_acknowledged(uint8_t *data, uint8_t len); |
| 258 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 259 | struct msgb *gprs_rlcmac_send_data_block_acknowledged( |
| 260 | struct gprs_rlcmac_tbf *tbf, uint32_t fn); |
| 261 | |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 262 | struct msgb *gprs_rlcmac_send_uplink_ack(struct gprs_rlcmac_tbf *tbf, |
| 263 | uint32_t fn); |
Ivan Kluchnikov | 9c795ab | 2012-05-24 23:12:59 +0400 | [diff] [blame] | 264 | |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame^] | 265 | int gprs_rlcmac_rcv_rts_block(uint8_t trx, uint8_t ts, uint16_t arfcn, |
| 266 | uint32_t fn, uint8_t block_nr); |
| 267 | |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 268 | #endif // GPRS_RLCMAC_H |