diff options
author | Max <msuraev@sysmocom.de> | 2017-11-21 13:01:19 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-12-21 15:13:25 +0100 |
commit | 327e121a0f2b1e816cc59d1337e6f2034553f2b8 (patch) | |
tree | 23397c42a3d47ce86f1cfacb2e8feddaebc440a8 /src/mslot_class.h | |
parent | 1714aeaa675e129736d53fecf8ff91f54c87446a (diff) |
Add function to get max supported MS class
It's useful for allocation tests.
Change-Id: I31d503af700ec3364042ff7e661710953cacf9f8
Related: OS#2282
Diffstat (limited to 'src/mslot_class.h')
-rw-r--r-- | src/mslot_class.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mslot_class.h b/src/mslot_class.h index f26bd647..9e9dfba5 100644 --- a/src/mslot_class.h +++ b/src/mslot_class.h @@ -28,7 +28,7 @@ /* 3GPP TS 05.02 Annex B.1 */ -#define MS_NA 255 /* N/A */// +#define MS_NA 255 /* N/A */ #define MS_A 254 /* 1 with hopping, 0 without */ #define MS_B 253 /* 1 with hopping, 0 without (change Rx to Tx)*/ #define MS_C 252 /* 1 with hopping, 0 without (change Tx to Rx)*/ @@ -44,3 +44,4 @@ uint8_t mslot_class_get_tx(uint8_t ms_cl); uint8_t mslot_class_get_rx(uint8_t ms_cl); uint8_t mslot_class_get_sum(uint8_t ms_cl); uint8_t mslot_class_get_type(uint8_t ms_cl); +uint8_t mslot_class_max(); |