Merge lp:~phablet-team/ofono/lp1598181 into lp:~phablet-team/ofono/ubuntu

Proposed by Alfonso Sanchez-Beato on 2016-08-19
Status: Merged
Approved by: Tony Espy on 2016-08-19
Approved revision: 6924
Merged at revision: 6920
Proposed branch: lp:~phablet-team/ofono/lp1598181
Merge into: lp:~phablet-team/ofono/ubuntu
Diff against target: 683 lines (+226/-266)
9 files modified
debian/changelog (+6/-0)
drivers/isimodem/voicecall.c (+1/-1)
drivers/rilmodem/network-registration.c (+13/-13)
gril/grilreply.c (+2/-9)
plugins/nokia-gpio.c (+2/-7)
unit/test-rilmodem-cb.c (+63/-63)
unit/test-rilmodem-cs.c (+61/-61)
unit/test-rilmodem-sms.c (+78/-78)
unit/test-stkutil.c (+0/-34)
To merge this branch: bzr merge lp:~phablet-team/ofono/lp1598181
Reviewer Review Type Date Requested Status
Tony Espy Approve on 2016-08-19
Konrad Zapałowicz (community) code 2016-08-19 Approve on 2016-08-19
Review via email: mp+303369@code.launchpad.net

Description of the change

Fix network name parsing for turbo (LP: #1598181)

To post a comment you must log in.
Konrad Zapałowicz (kzapalowicz) wrote :

LGTM

review: Approve (code)
lp:~phablet-team/ofono/lp1598181 updated on 2016-08-19
6921. By Alfonso Sanchez-Beato on 2016-08-19

Fix unit test

6922. By Alfonso Sanchez-Beato on 2016-08-19

Fix compilation with gcc 6

6923. By Alfonso Sanchez-Beato on 2016-08-19

Fix glibc 2.23.9+ issues

6924. By Alfonso Sanchez-Beato on 2016-08-19

Fix gcc 6.0 compilation on big endian archs

Tony Espy (awe) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2016-07-19 15:39:18 +0000
3+++ debian/changelog 2016-08-19 11:05:27 +0000
4@@ -1,3 +1,9 @@
5+ofono (1.17.bzr6921+16.10.20160819.1-0ubuntu1) UNRELEASED; urgency=medium
6+
7+ * Fix network name parsing for turbo (LP: #1598181)
8+
9+ -- Alfonso Sanchez-Beato (email Canonical) <alfonso.sanchez-beato@canonical.com> Fri, 19 Aug 2016 08:46:21 +0200
10+
11 ofono (1.17.bzr6919+16.10.20160719.1-0ubuntu1) yakkety; urgency=medium
12
13 [ Alfonso Sanchez-Beato ]
14
15=== modified file 'drivers/isimodem/voicecall.c'
16--- drivers/isimodem/voicecall.c 2012-09-12 04:30:25 +0000
17+++ drivers/isimodem/voicecall.c 2016-08-19 11:05:27 +0000
18@@ -1715,7 +1715,7 @@
19
20 if ((status->mode_info & CALL_MODE_ORIGINATOR))
21 cause = CALL_CAUSE_BUSY_USER_REQUEST;
22- break;
23+ break;
24 }
25
26 isi_call_release_req(ovc, id, CALL_CAUSE_TYPE_CLIENT, cause, cb, data);
27
28=== modified file 'drivers/rilmodem/network-registration.c'
29--- drivers/rilmodem/network-registration.c 2016-06-15 14:10:26 +0000
30+++ drivers/rilmodem/network-registration.c 2016-08-19 11:05:27 +0000
31@@ -201,26 +201,26 @@
32 static void set_oper_name(const struct reply_operator *reply,
33 struct ofono_network_operator *op)
34 {
35- const char *spn = NULL;
36+ if (reply->lalpha != NULL &&
37+ g_strcmp0(reply->numeric, reply->lalpha) != 0) {
38+ strncpy(op->name, reply->lalpha,
39+ OFONO_MAX_OPERATOR_NAME_LENGTH);
40+ } else if (reply->salpha != NULL &&
41+ g_strcmp0(reply->numeric, reply->salpha) != 0) {
42+ strncpy(op->name, reply->salpha,
43+ OFONO_MAX_OPERATOR_NAME_LENGTH);
44+ } else {
45+ const char *spn = NULL;
46
47- /* Use SPN list if we do not have name */
48- if (strcmp(reply->numeric, reply->lalpha) == 0) {
49 spn = __ofono_spn_table_get_spn(reply->numeric);
50 if (spn != NULL) {
51 DBG("using spn override %s", spn);
52 strncpy(op->name, spn, OFONO_MAX_OPERATOR_NAME_LENGTH);
53+ } else {
54+ strncpy(op->name, reply->numeric,
55+ OFONO_MAX_OPERATOR_NAME_LENGTH);
56 }
57 }
58-
59- if (spn == NULL) {
60- /* Try to use long by default */
61- if (reply->lalpha)
62- strncpy(op->name, reply->lalpha,
63- OFONO_MAX_OPERATOR_NAME_LENGTH);
64- else if (reply->salpha)
65- strncpy(op->name, reply->salpha,
66- OFONO_MAX_OPERATOR_NAME_LENGTH);
67- }
68 }
69
70 static void ril_cops_cb(struct ril_msg *message, gpointer user_data)
71
72=== modified file 'gril/grilreply.c'
73--- gril/grilreply.c 2016-07-19 15:08:32 +0000
74+++ gril/grilreply.c 2016-08-19 11:05:27 +0000
75@@ -248,14 +248,6 @@
76 reply->salpha = parcel_r_string(&rilp);
77 reply->numeric = parcel_r_string(&rilp);
78
79- if (reply->lalpha == NULL && reply->salpha == NULL) {
80- ofono_error("%s: invalid OPERATOR reply: "
81- " no names returned.",
82- __func__);
83-
84- goto error;
85- }
86-
87 if (reply->numeric == NULL) {
88 ofono_error("%s: invalid OPERATOR reply: "
89 " no numeric returned.",
90@@ -265,7 +257,8 @@
91
92 g_ril_append_print_buf(gril,
93 "(lalpha=%s, salpha=%s, numeric=%s)",
94- reply->lalpha, reply->salpha, reply->numeric);
95+ PRINTABLE_STR(reply->lalpha),
96+ PRINTABLE_STR(reply->salpha), reply->numeric);
97
98 g_ril_print_response(gril, message);
99
100
101=== modified file 'plugins/nokia-gpio.c'
102--- plugins/nokia-gpio.c 2011-05-11 18:29:33 +0000
103+++ plugins/nokia-gpio.c 2016-08-19 11:05:27 +0000
104@@ -635,7 +635,7 @@
105 char const *gpiodir = "/sys/class/gpio";
106 char const *cmtdir = "/dev/cmt";
107 DIR *gpio;
108- struct dirent *d, entry[1];
109+ struct dirent *d;
110
111 if (file_exists(cmtdir)) {
112 DBG("Using %s", cmtdir);
113@@ -657,16 +657,11 @@
114 return -(errno = ENODEV);
115 }
116
117- while (readdir_r(gpio, entry, &d) == 0) {
118+ while ((d = readdir(gpio)) != NULL) {
119 char nn[PATH_MAX], name[PATH_MAX], from[PATH_MAX], to[PATH_MAX];
120 FILE *nf;
121 size_t len;
122
123- if (d == NULL) {
124- (void) closedir(gpio);
125- return 0;
126- }
127-
128 snprintf(nn, sizeof nn, "%s/%s/name", gpiodir, d->d_name);
129
130 nf = fopen(nn, "rb");
131
132=== modified file 'unit/test-rilmodem-cb.c'
133--- unit/test-rilmodem-cb.c 2016-03-10 10:48:53 +0000
134+++ unit/test-rilmodem-cb.c 2016-08-19 11:05:27 +0000
135@@ -42,10 +42,6 @@
136 #include "ril_constants.h"
137 #include "rilmodem-test-server.h"
138
139-static GMainLoop *mainloop;
140-
141-static const struct ofono_call_barring_driver *cbdriver;
142-
143 struct rilmodem_cb_data {
144 GRil *ril;
145 struct ofono_modem *modem;
146@@ -71,6 +67,68 @@
147 int status;
148 };
149
150+static const struct ofono_call_barring_driver *cbdriver;
151+
152+/* Declarations && Re-implementations of core functions. */
153+void ril_call_barring_exit(void);
154+void ril_call_barring_init(void);
155+
156+struct ofono_call_barring {
157+ void *driver_data;
158+ const struct cb_data *cbd;
159+};
160+
161+struct ofono_call_barring *ofono_call_barring_create(struct ofono_modem *modem,
162+ unsigned int vendor,
163+ const char *driver,
164+ void *data)
165+{
166+ struct rilmodem_cb_data *rsd = data;
167+ struct ofono_call_barring *cb = g_new0(struct ofono_call_barring, 1);
168+ int retval;
169+
170+ retval = cbdriver->probe(cb, OFONO_RIL_VENDOR_AOSP, rsd->ril);
171+ g_assert(retval == 0);
172+
173+ return cb;
174+}
175+
176+int ofono_call_barring_driver_register(const struct ofono_call_barring_driver *d)
177+{
178+ if (cbdriver == NULL)
179+ cbdriver = d;
180+
181+ return 0;
182+}
183+
184+void ofono_call_barring_set_data(struct ofono_call_barring *cb, void *data)
185+{
186+ cb->driver_data = data;
187+}
188+
189+void *ofono_call_barring_get_data(struct ofono_call_barring *cb)
190+{
191+ return cb->driver_data;
192+}
193+
194+void ofono_call_barring_register(struct ofono_call_barring *cb)
195+{
196+}
197+
198+void ofono_call_barring_driver_unregister(const struct ofono_call_barring_driver *d)
199+{
200+}
201+
202+/*
203+ * As all our architectures are little-endian except for
204+ * PowerPC, and the Binder wire-format differs slightly
205+ * depending on endian-ness, the following guards against test
206+ * failures when run on PowerPC.
207+ */
208+#if BYTE_ORDER == LITTLE_ENDIAN
209+
210+static GMainLoop *mainloop;
211+
212 static void query_callback(const struct ofono_error *error, int status,
213 gpointer data)
214 {
215@@ -434,64 +492,6 @@
216 .error_type = OFONO_ERROR_TYPE_FAILURE,
217 };
218
219-/* Declarations && Re-implementations of core functions. */
220-void ril_call_barring_exit(void);
221-void ril_call_barring_init(void);
222-
223-struct ofono_call_barring {
224- void *driver_data;
225- const struct cb_data *cbd;
226-};
227-
228-struct ofono_call_barring *ofono_call_barring_create(struct ofono_modem *modem,
229- unsigned int vendor,
230- const char *driver,
231- void *data)
232-{
233- struct rilmodem_cb_data *rsd = data;
234- struct ofono_call_barring *cb = g_new0(struct ofono_call_barring, 1);
235- int retval;
236-
237- retval = cbdriver->probe(cb, OFONO_RIL_VENDOR_AOSP, rsd->ril);
238- g_assert(retval == 0);
239-
240- return cb;
241-}
242-
243-int ofono_call_barring_driver_register(const struct ofono_call_barring_driver *d)
244-{
245- if (cbdriver == NULL)
246- cbdriver = d;
247-
248- return 0;
249-}
250-
251-void ofono_call_barring_set_data(struct ofono_call_barring *cb, void *data)
252-{
253- cb->driver_data = data;
254-}
255-
256-void *ofono_call_barring_get_data(struct ofono_call_barring *cb)
257-{
258- return cb->driver_data;
259-}
260-
261-void ofono_call_barring_register(struct ofono_call_barring *cb)
262-{
263-}
264-
265-void ofono_call_barring_driver_unregister(const struct ofono_call_barring_driver *d)
266-{
267-}
268-
269-/*
270- * As all our architectures are little-endian except for
271- * PowerPC, and the Binder wire-format differs slightly
272- * depending on endian-ness, the following guards against test
273- * failures when run on PowerPC.
274- */
275-#if BYTE_ORDER == LITTLE_ENDIAN
276-
277 static void server_connect_cb(gpointer data)
278 {
279 struct rilmodem_cb_data *rsd = data;
280@@ -577,7 +577,7 @@
281 &testdata_query_invalid_3,
282 test_call_barring_func);
283 g_test_add_data_func("/testrilmodemcallbarring/query/invalid/4",
284- &testdata_query_invalid_3,
285+ &testdata_query_invalid_4,
286 test_call_barring_func);
287 g_test_add_data_func("/testrilmodemcallbarring/set/valid/1",
288 &testdata_set_valid_1,
289
290=== modified file 'unit/test-rilmodem-cs.c'
291--- unit/test-rilmodem-cs.c 2016-03-10 10:48:53 +0000
292+++ unit/test-rilmodem-cs.c 2016-08-19 11:05:27 +0000
293@@ -42,10 +42,6 @@
294 #include "ril_constants.h"
295 #include "rilmodem-test-server.h"
296
297-static GMainLoop *mainloop;
298-
299-static const struct ofono_call_settings_driver *csdriver;
300-
301 struct rilmodem_cs_data {
302 GRil *ril;
303 struct ofono_modem *modem;
304@@ -67,6 +63,67 @@
305 gint cb_int2;
306 };
307
308+static const struct ofono_call_settings_driver *csdriver;
309+
310+/* Declarations && Re-implementations of core functions. */
311+void ril_call_settings_exit(void);
312+void ril_call_settings_init(void);
313+
314+struct ofono_call_settings {
315+ void *driver_data;
316+};
317+
318+struct ofono_call_settings *ofono_call_settings_create(struct ofono_modem *modem,
319+ unsigned int vendor,
320+ const char *driver,
321+ void *data)
322+{
323+ struct rilmodem_cs_data *rcd = data;
324+ struct ofono_call_settings *cs = g_new0(struct ofono_call_settings, 1);
325+ int retval;
326+
327+ retval = csdriver->probe(cs, OFONO_RIL_VENDOR_AOSP, rcd->ril);
328+ g_assert(retval == 0);
329+
330+ return cs;
331+}
332+
333+int ofono_call_settings_driver_register(const struct ofono_call_settings_driver *d)
334+{
335+ if (csdriver == NULL)
336+ csdriver = d;
337+
338+ return 0;
339+}
340+
341+void ofono_call_settings_set_data(struct ofono_call_settings *cs, void *data)
342+{
343+ cs->driver_data = data;
344+}
345+
346+void *ofono_call_settings_get_data(struct ofono_call_settings *cs)
347+{
348+ return cs->driver_data;
349+}
350+
351+void ofono_call_settings_register(struct ofono_call_settings *cs)
352+{
353+}
354+
355+void ofono_call_settings_driver_unregister(const struct ofono_call_settings_driver *d)
356+{
357+}
358+
359+/*
360+ * As all our architectures are little-endian except for
361+ * PowerPC, and the Binder wire-format differs slightly
362+ * depending on endian-ness, the following guards against test
363+ * failures when run on PowerPC.
364+ */
365+#if BYTE_ORDER == LITTLE_ENDIAN
366+
367+static GMainLoop *mainloop;
368+
369 static void status_query_callback(const struct ofono_error *error, int status,
370 gpointer data)
371 {
372@@ -387,63 +444,6 @@
373 .error_type = OFONO_ERROR_TYPE_FAILURE,
374 };
375
376-/* Declarations && Re-implementations of core functions. */
377-void ril_call_settings_exit(void);
378-void ril_call_settings_init(void);
379-
380-struct ofono_call_settings {
381- void *driver_data;
382-};
383-
384-struct ofono_call_settings *ofono_call_settings_create(struct ofono_modem *modem,
385- unsigned int vendor,
386- const char *driver,
387- void *data)
388-{
389- struct rilmodem_cs_data *rcd = data;
390- struct ofono_call_settings *cs = g_new0(struct ofono_call_settings, 1);
391- int retval;
392-
393- retval = csdriver->probe(cs, OFONO_RIL_VENDOR_AOSP, rcd->ril);
394- g_assert(retval == 0);
395-
396- return cs;
397-}
398-
399-int ofono_call_settings_driver_register(const struct ofono_call_settings_driver *d)
400-{
401- if (csdriver == NULL)
402- csdriver = d;
403-
404- return 0;
405-}
406-
407-void ofono_call_settings_set_data(struct ofono_call_settings *cs, void *data)
408-{
409- cs->driver_data = data;
410-}
411-
412-void *ofono_call_settings_get_data(struct ofono_call_settings *cs)
413-{
414- return cs->driver_data;
415-}
416-
417-void ofono_call_settings_register(struct ofono_call_settings *cs)
418-{
419-}
420-
421-void ofono_call_settings_driver_unregister(const struct ofono_call_settings_driver *d)
422-{
423-}
424-
425-/*
426- * As all our architectures are little-endian except for
427- * PowerPC, and the Binder wire-format differs slightly
428- * depending on endian-ness, the following guards against test
429- * failures when run on PowerPC.
430- */
431-#if BYTE_ORDER == LITTLE_ENDIAN
432-
433 static void server_connect_cb(gpointer data)
434 {
435 struct rilmodem_cs_data *rcd = data;
436
437=== modified file 'unit/test-rilmodem-sms.c'
438--- unit/test-rilmodem-sms.c 2016-03-10 10:48:53 +0000
439+++ unit/test-rilmodem-sms.c 2016-08-19 11:05:27 +0000
440@@ -42,10 +42,6 @@
441 #include "ril_constants.h"
442 #include "rilmodem-test-server.h"
443
444-static GMainLoop *mainloop;
445-
446-static const struct ofono_sms_driver *smsdriver;
447-
448 struct rilmodem_sms_data {
449 GRil *ril;
450 struct ofono_modem *modem;
451@@ -71,6 +67,84 @@
452 gint mr;
453 };
454
455+static GMainLoop *mainloop;
456+
457+static const struct ofono_sms_driver *smsdriver;
458+
459+/* Declarations && Re-implementations of core functions. */
460+void ril_sms_exit(void);
461+void ril_sms_init(void);
462+
463+struct ofono_sms {
464+ void *driver_data;
465+ const struct sms_data *sd;
466+};
467+
468+struct ofono_sms *ofono_sms_create(struct ofono_modem *modem,
469+ unsigned int vendor,
470+ const char *driver,
471+ void *data)
472+{
473+ struct rilmodem_sms_data *rsd = data;
474+ struct ofono_sms *sms = g_new0(struct ofono_sms, 1);
475+ int retval;
476+
477+ retval = smsdriver->probe(sms, OFONO_RIL_VENDOR_AOSP, rsd->ril);
478+ g_assert(retval == 0);
479+
480+ return sms;
481+}
482+
483+int ofono_sms_driver_register(const struct ofono_sms_driver *d)
484+{
485+ if (smsdriver == NULL)
486+ smsdriver = d;
487+
488+ return 0;
489+}
490+
491+void ofono_sms_set_data(struct ofono_sms *sms, void *data)
492+{
493+ sms->driver_data = data;
494+}
495+
496+void *ofono_sms_get_data(struct ofono_sms *sms)
497+{
498+ return sms->driver_data;
499+}
500+
501+void ofono_sms_register(struct ofono_sms *sms)
502+{
503+}
504+
505+void ofono_sms_driver_unregister(const struct ofono_sms_driver *d)
506+{
507+}
508+
509+void ofono_sms_deliver_notify(struct ofono_sms *sms, const unsigned char *pdu,
510+ int len, int tpdu_len)
511+{
512+ g_assert(sms->sd->pdu_len == len);
513+ g_assert(sms->sd->tpdu_len == tpdu_len);
514+ g_assert(!memcmp(pdu, sms->sd->pdu, len));
515+
516+ g_main_loop_quit(mainloop);
517+}
518+
519+void ofono_sms_status_notify(struct ofono_sms *sms, const unsigned char *pdu,
520+ int len, int tpdu_len)
521+{
522+ ofono_sms_deliver_notify(sms, pdu, len, tpdu_len);
523+}
524+
525+/*
526+ * As all our architectures are little-endian except for
527+ * PowerPC, and the Binder wire-format differs slightly
528+ * depending on endian-ness, the following guards against test
529+ * failures when run on PowerPC.
530+ */
531+#if BYTE_ORDER == LITTLE_ENDIAN
532+
533 static void sca_query_callback(const struct ofono_error *error,
534 const struct ofono_phone_number *ph,
535 gpointer data)
536@@ -414,80 +488,6 @@
537 .tpdu_len = 28,
538 };
539
540-/* Declarations && Re-implementations of core functions. */
541-void ril_sms_exit(void);
542-void ril_sms_init(void);
543-
544-struct ofono_sms {
545- void *driver_data;
546- const struct sms_data *sd;
547-};
548-
549-struct ofono_sms *ofono_sms_create(struct ofono_modem *modem,
550- unsigned int vendor,
551- const char *driver,
552- void *data)
553-{
554- struct rilmodem_sms_data *rsd = data;
555- struct ofono_sms *sms = g_new0(struct ofono_sms, 1);
556- int retval;
557-
558- retval = smsdriver->probe(sms, OFONO_RIL_VENDOR_AOSP, rsd->ril);
559- g_assert(retval == 0);
560-
561- return sms;
562-}
563-
564-int ofono_sms_driver_register(const struct ofono_sms_driver *d)
565-{
566- if (smsdriver == NULL)
567- smsdriver = d;
568-
569- return 0;
570-}
571-
572-void ofono_sms_set_data(struct ofono_sms *sms, void *data)
573-{
574- sms->driver_data = data;
575-}
576-
577-void *ofono_sms_get_data(struct ofono_sms *sms)
578-{
579- return sms->driver_data;
580-}
581-
582-void ofono_sms_register(struct ofono_sms *sms)
583-{
584-}
585-
586-void ofono_sms_driver_unregister(const struct ofono_sms_driver *d)
587-{
588-}
589-
590-void ofono_sms_deliver_notify(struct ofono_sms *sms, const unsigned char *pdu,
591- int len, int tpdu_len)
592-{
593- g_assert(sms->sd->pdu_len == len);
594- g_assert(sms->sd->tpdu_len == tpdu_len);
595- g_assert(!memcmp(pdu, sms->sd->pdu, len));
596-
597- g_main_loop_quit(mainloop);
598-}
599-
600-void ofono_sms_status_notify(struct ofono_sms *sms, const unsigned char *pdu,
601- int len, int tpdu_len)
602-{
603- ofono_sms_deliver_notify(sms, pdu, len, tpdu_len);
604-}
605-
606-/*
607- * As all our architectures are little-endian except for
608- * PowerPC, and the Binder wire-format differs slightly
609- * depending on endian-ness, the following guards against test
610- * failures when run on PowerPC.
611- */
612-#if BYTE_ORDER == LITTLE_ENDIAN
613-
614 static void server_connect_cb(gpointer data)
615 {
616 struct rilmodem_sms_data *rsd = data;
617
618=== modified file 'unit/test-stkutil.c'
619--- unit/test-stkutil.c 2012-11-02 19:17:17 +0000
620+++ unit/test-stkutil.c 2016-08-19 11:05:27 +0000
621@@ -16867,13 +16867,7 @@
622 },
623 };
624
625-static const unsigned char get_input_response_191b[] = {
626- 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x82,
627- 0x81, 0x83, 0x01, 0x00, 0x8d, 0x00,
628-};
629-
630 static const struct terminal_response_test get_input_response_data_191 = {
631- /* Either get_input_response_191a or get_input_response_191b is ok */
632 .pdu = get_input_response_191a,
633 .pdu_len = sizeof(get_input_response_191a),
634 .response = {
635@@ -17349,11 +17343,6 @@
636 0x81, 0x83, 0x01, 0x00, 0x84, 0x02, 0x00, 0x01,
637 };
638
639-static const unsigned char poll_interval_response_111b[] = {
640- 0x81, 0x03, 0x01, 0x03, 0x00, 0x82, 0x02, 0x82,
641- 0x81, 0x83, 0x01, 0x00, 0x84, 0x02, 0x01, 0x3c,
642-};
643-
644 static const struct terminal_response_test poll_interval_response_data_111a = {
645 /* Either poll_interval_response_111a or b is ok */
646 .pdu = poll_interval_response_111a,
647@@ -17476,26 +17465,6 @@
648 },
649 };
650
651-static const unsigned char refresh_response_131b[] = {
652- 0x81, 0x03, 0x01, 0x01, 0x02, 0x82, 0x02, 0x82,
653- 0x81, 0x83, 0x01, 0x03,
654-};
655-
656-static const struct terminal_response_test refresh_response_data_131b = {
657- .pdu = refresh_response_131b,
658- .pdu_len = sizeof(refresh_response_131b),
659- .response = {
660- .number = 1,
661- .type = STK_COMMAND_TYPE_REFRESH,
662- .qualifier = 0x02, /* USIM Initialization & File Change */
663- .src = STK_DEVICE_IDENTITY_TYPE_TERMINAL,
664- .dst = STK_DEVICE_IDENTITY_TYPE_UICC,
665- .result = {
666- .type = STK_RESULT_TYPE_REFRESH_WITH_EFS,
667- },
668- },
669-};
670-
671 static const unsigned char refresh_response_141a[] = {
672 0x81, 0x03, 0x01, 0x01, 0x00, 0x82, 0x02, 0x82,
673 0x81, 0x83, 0x01, 0x00,
674@@ -18338,9 +18307,6 @@
675 0x06, 0x45, 0x91, 0xa4, 0x90,
676 };
677
678-static const short bcch_channels_131[] = {
679-};
680-
681 static const struct terminal_response_test
682 provide_local_info_response_data_131 = {
683 .pdu = provide_local_info_response_131,

Subscribers

People subscribed via source and target branches

to all changes: