diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-22 08:58:09 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-23 18:25:43 +0200 |
commit | a1503fa3567e2837d809cd77b857bd617448f2fd (patch) | |
tree | 48e5792a7d83603ebee93517ca050dcf9415ba6f /src/gprs_rlcmac.h | |
parent | da62859231cbe25ff7772e3d2389e15e5f8b4d8a (diff) |
VTY: Select timeslot allocation algorithm via VTY
The selections are: single slot or multislot
Diffstat (limited to 'src/gprs_rlcmac.h')
-rw-r--r-- | src/gprs_rlcmac.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h index 71ff6086..55aef9d7 100644 --- a/src/gprs_rlcmac.h +++ b/src/gprs_rlcmac.h @@ -221,12 +221,6 @@ struct gprs_rlcmac_tbf *tbf_alloc(struct gprs_rlcmac_tbf *old_tbf, enum gprs_rlcmac_tbf_direction dir, uint8_t tfi, uint8_t trx, uint8_t first_ts, uint8_t ms_class, uint8_t single_slot); -int alloc_algorithm_a(struct gprs_rlcmac_tbf *old_tbf, - struct gprs_rlcmac_tbf *tbf, uint32_t cust); - -int alloc_algorithm_b(struct gprs_rlcmac_tbf *old_tbf, - struct gprs_rlcmac_tbf *tbf, uint32_t cust); - struct gprs_rlcmac_tbf *tbf_by_tfi(uint8_t tfi, uint8_t trx, uint8_t ts, enum gprs_rlcmac_tbf_direction dir); @@ -324,6 +318,16 @@ struct gprs_rlcmac_paging *gprs_rlcmac_dequeue_paging( struct msgb *gprs_rlcmac_send_packet_paging_request( struct gprs_rlcmac_pdch *pdch); + +extern "C" { +#endif +int alloc_algorithm_a(struct gprs_rlcmac_tbf *old_tbf, + struct gprs_rlcmac_tbf *tbf, uint32_t cust); + +int alloc_algorithm_b(struct gprs_rlcmac_tbf *old_tbf, + struct gprs_rlcmac_tbf *tbf, uint32_t cust); +#ifdef __cplusplus +} #endif #endif // GPRS_RLCMAC_H |