summaryrefslogtreecommitdiff
path: root/include/gsmd/state.h
blob: 62cd7106913b99500271a29368ad89fd1be0dd3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _GSMD_STATE_H
#define _GSMD_STATE_H

#ifdef __GSMD__

#define GSMD_CIPHIND_CAPABLE		0x01
#define GSMD_CIPHIND_DISABLED_SIM	0x02
#define GSMD_CIPHIND_ACTIVE		0x04

struct gsmd_device_state {
	struct {
		unsigned int flags;
		unsigned int network_state_gsm;
		unsigned int network_state_gprs;
	} ciph_ind;

	unsigned int on;
	unsigned int registered;
};

#endif /* __GSMD__ */

#endif /* _GSMD_STATE_H */
personal git repositories of Harald Welte. Your mileage may vary