diff options
author | Max <msuraev@sysmocom.de> | 2016-04-22 19:28:09 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-04-23 16:37:05 +0200 |
commit | 8a5346ba2f7ed7b4e69d32397b99d11c14694a2a (patch) | |
tree | 71ea722185208a7ca63dddcd033e1e5a8ed4360f /include/osmocom/gsm | |
parent | 1f9d8183be276fa770b106d1e8f9719386a9515a (diff) |
Add function for appending range1024 to bitvec
Add convenience function to append range1024 encoded data (see 3GPP TS
44.018 Annex J) to a given bitvec.
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r-- | include/osmocom/gsm/bitvec_gsm.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/osmocom/gsm/bitvec_gsm.h b/include/osmocom/gsm/bitvec_gsm.h new file mode 100644 index 00000000..20741efa --- /dev/null +++ b/include/osmocom/gsm/bitvec_gsm.h @@ -0,0 +1,13 @@ +#pragma once + +#include <osmocom/core/bitvec.h> +#include <osmocom/gsm/protocol/gsm_04_08.h> + +/*! \defgroup bitvec helpers for GSM + * @{ + */ +/*! \file bitvec_gsm.h */ + +void bitvec_add_range1024(struct bitvec *bv, const struct gsm48_range_1024 *r); + +/*! @} */ |