4 /* type of test SIM key */
17 int plmn_mode; /* PLMN_MODE_* */
20 int sim_type; /* selects card on power on */
21 char emergency_imsi[20]; /* just in case... */
23 /* test card simulator settings */
24 char test_imsi[20]; /* just in case... */
26 uint8_t test_ki[16]; /* 128 bit max */
28 uint8_t test_rplmn_valid;
29 uint16_t test_rplmn_mcc, test_rplmn_mnc;
30 uint8_t test_always; /* ...search hplmn... */
32 /* call related settings */
33 uint8_t cw; /* set if call-waiting is allowed */
35 uint8_t half, half_prefer;
37 /* changing default behavior */
38 uint8_t alter_tx_power;
39 uint8_t alter_tx_power_value;
45 /* supported by configuration */
65 uint8_t ch_cap; /* channel capability */
66 int8_t min_rxlev_db; /* min DB to access */
72 struct llist_head abbrev;
75 struct gsm_settings_abbrev {
76 struct llist_head list;
82 int gsm_settings_init(struct osmocom_ms *ms);
83 int gsm_settings_exit(struct osmocom_ms *ms);
84 char *gsm_check_imei(const char *imei, const char *sv);
85 int gsm_random_imei(struct gsm_settings *set);
87 #endif /* _settings_h */