diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-06-10 23:11:52 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-06-10 23:25:50 +0800 |
commit | 4bfdfe7f70376612ad2343dd71e8b6ad52124ee6 (patch) | |
tree | cfe0b6321dc1346d72471f1805d5bdf02384498b /openbsc/src/chan_alloc.c | |
parent | ec44e1ff4139f60483dfcaa8329e39b41bfb8c4a (diff) |
reworked MNCC codebase
This is Harald's reworked MNCC base, slowly heading towards integration
into master. The key changes are:
* provide much more structure to the data in gsm_mncc
* encode_* and decode_* functions now take a structure rather than tons
of individual arguments (whose order nobody can remember)
* make sure we don't have copies of the same code everywhere by introducing
mncc_set_cause() and mncc_release_ind()
* save horizontal screen space if possible
* make sure we break lines > 80 characters
Diffstat (limited to 'openbsc/src/chan_alloc.c')
-rw-r--r-- | openbsc/src/chan_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index 77a4f57bc..96632bcb9 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c @@ -62,7 +62,7 @@ static const enum abis_nm_chan_comb chcomb4pchan[] = { /* FIXME: bounds check */ }; -/* Allocate a logical channel (TS) */ +/* Allocate a physical channel (TS) */ struct gsm_bts_trx_ts *ts_alloc(struct gsm_bts *bts, enum gsm_phys_chan_config pchan) { @@ -114,7 +114,7 @@ static const u_int8_t subslots_per_pchan[] = { [GSM_PCHAN_CCCH_SDCCH4] = 4, [GSM_PCHAN_TCH_F] = 1, [GSM_PCHAN_TCH_H] = 2, - [GSM_PCHAN_SDCCH8_SACCH8C] = 8. + [GSM_PCHAN_SDCCH8_SACCH8C] = 8, }; static struct gsm_lchan * |