aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/gprs/gprs_test.ok
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-12-11 11:01:46 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-23 15:08:52 +0100
commitdcfd456640b6e15f15c94f175eb145220b96ee1a (patch)
treecedfd3be2439683f569a3adacb536a692b7f989f /openbsc/tests/gprs/gprs_test.ok
parentc93919655753591bc883165f03f204a8773c4f64 (diff)
gprs: Move TLV parser functions to gprs_utils.c and rename them
Currently the parser functions for single information elements are defined within gprs_gb_parse.c and not exported explicitely. In addition they are named like libosmocore's TLV parser functions and do not have a proper name prefix. Since it is planned to use them for other protocols, they need to be globally accessible. This patch moves them to gprs_utils.c and renames them. The new names are: lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed In the long term, these functions should be moved to libosmocore (and renamed again). Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/tests/gprs/gprs_test.ok')
-rw-r--r--openbsc/tests/gprs/gprs_test.ok1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/tests/gprs/gprs_test.ok b/openbsc/tests/gprs/gprs_test.ok
index 39d37c120..56d4b6543 100644
--- a/openbsc/tests/gprs/gprs_test.ok
+++ b/openbsc/tests/gprs/gprs_test.ok
@@ -13,4 +13,5 @@ N(U) = 511, V(UR) = 511 => new
N(U) = 510, V(UR) = 511 => retransmit
N(U) = 481, V(UR) = 511 => retransmit
N(U) = 479, V(UR) = 511 => new
+Test shift functions
Done.