diff options
| author | Max <msuraev@sysmocom.de> | 2016-06-27 15:51:34 +0200 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2016-06-29 16:33:25 +0000 | 
| commit | a337b9c37a9ff561b9c6a2e7c4b2a65dfa3b0e7f (patch) | |
| tree | 73f753e7e00a9b795f63c83ea820be8a37da4ea6 /include | |
| parent | ceae1237528f91f44e226225207ac70a2cf842ec (diff) | |
Add function to check MS GEA capabilities
Add function which parses MS network capability IE value for bits
indicating support for particular version of GEA.
Change-Id: I785cef37dd272a2fab9b172f6e1392f865174e9a
Relates: OS#1582
Diffstat (limited to 'include')
| -rw-r--r-- | include/osmocom/gsm/protocol/gsm_04_08_gprs.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/include/osmocom/gsm/protocol/gsm_04_08_gprs.h b/include/osmocom/gsm/protocol/gsm_04_08_gprs.h index e0e887fa..ed9a596a 100644 --- a/include/osmocom/gsm/protocol/gsm_04_08_gprs.h +++ b/include/osmocom/gsm/protocol/gsm_04_08_gprs.h @@ -2,7 +2,9 @@  #define _GSM48_GPRS_H  #include <stdint.h> +#include <stdbool.h>  #include <osmocom/gsm/protocol/gsm_04_08.h> +#include <osmocom/crypt/gprs_cipher.h>  /* Table 10.4 / 10.4a, GPRS Mobility Management (GMM) */  #define GSM48_MT_GMM_ATTACH_REQ		0x01 @@ -362,6 +364,9 @@ enum gsm48_qos_sdu_err {  	GSM48_QOS_SERR_1e_1		= 0x07,  }; +bool gprs_ms_net_cap_gea_supported(const uint8_t *ms_net_cap, uint8_t cap_len, +				   enum gprs_ciph_algo gea); +  /* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */  struct gsm48_qos {  	/* octet 3 */ | 
