4 /* type of test SIM key */
11 char layer2_socket_path[128];
12 char sap_socket_path[128];
20 int plmn_mode; /* PLMN_MODE_* */
23 int sim_type; /* selects card on power on */
24 char emergency_imsi[20]; /* just in case... */
26 /* test card simulator settings */
27 char test_imsi[20]; /* just in case... */
30 uint8_t test_ki[16]; /* 128 bit max */
32 uint8_t test_rplmn_valid;
33 uint16_t test_rplmn_mcc, test_rplmn_mnc;
35 uint8_t test_always; /* ...search hplmn... */
37 /* call related settings */
38 uint8_t cw; /* set if call-waiting is allowed */
41 uint8_t half, half_prefer;
43 /* changing default behavior */
44 uint8_t alter_tx_power;
45 uint8_t alter_tx_power_value;
51 /* supported by configuration */
74 uint8_t freq_map[128+38];
80 uint8_t ch_cap; /* channel capability */
81 int8_t min_rxlev_db; /* min DB to access */
87 struct llist_head abbrev;
89 /* EDGE / UMTS / CDMA */
92 uint8_t edge_psk_uplink;
93 uint8_t class_900_edge;
94 uint8_t class_dcs_pcs_edge;
104 struct gsm_settings_abbrev {
105 struct llist_head list;
111 int gsm_settings_arfcn(struct osmocom_ms *ms);
112 int gsm_settings_init(struct osmocom_ms *ms);
113 int gsm_settings_exit(struct osmocom_ms *ms);
114 char *gsm_check_imei(const char *imei, const char *sv);
115 int gsm_random_imei(struct gsm_settings *set);
117 #endif /* _settings_h */