diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-09-15 09:34:43 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-09-17 20:52:41 +0200 |
commit | 4f53e169a22bac0c02a485c7116b5d7402be4a7c (patch) | |
tree | a1e9cf977d5ff80dea9b31936d6d37e535649014 /src/target/firmware/include | |
parent | 54b77bc07ea86ecc4b86e604d3798b441c13b463 (diff) |
fw: Move channel type/mode definitions in common header
We'll need them later elsewhere than the tx prim
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/include')
-rw-r--r-- | src/target/firmware/include/calypso/l1_environment.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/target/firmware/include/calypso/l1_environment.h b/src/target/firmware/include/calypso/l1_environment.h index 2d1f8d97..d4d442cc 100644 --- a/src/target/firmware/include/calypso/l1_environment.h +++ b/src/target/firmware/include/calypso/l1_environment.h @@ -363,3 +363,23 @@ typedef signed short API_SIGNED; #define B_TSQ 0 #define B_BCCH_FREQ_IND 3 #define B_TASK_ABORT 15 // Abort RF tasks for DSP. + +/* Channel type definitions for DEDICATED mode */ +#define INVALID_CHANNEL 0 +#define TCH_F 1 +#define TCH_H 2 +#define SDCCH_4 3 +#define SDCCH_8 4 + +/* Channel mode definitions for DEDICATED mode */ +#define SIG_ONLY_MODE 0 // signalling only +#define TCH_FS_MODE 1 // speech full rate +#define TCH_HS_MODE 2 // speech half rate +#define TCH_96_MODE 3 // data 9,6 kb/s +#define TCH_48F_MODE 4 // data 4,8 kb/s full rate +#define TCH_48H_MODE 5 // data 4,8 kb/s half rate +#define TCH_24F_MODE 6 // data 2,4 kb/s full rate +#define TCH_24H_MODE 7 // data 2,4 kb/s half rate +#define TCH_EFR_MODE 8 // enhanced full rate +#define TCH_144_MODE 9 // data 14,4 kb/s half rate + |