Debian Codegraph @

NEWS

raw
1 Overview of changes in libmbim 1.34
2 ----------------------------------------
3
4 * Build:
5 ** New "-Dmbim_groupname=<name>" meson build option to restrict MBIM kernel
6 device access to a given Unix group and root. The access check works
7 in parallel to the "-Dmbim_username" option; passing either check allows
8 access to the kernel device (eg, logical OR).
9
10 * New Intel AT Tunnel service, including the following operations:
11 * MBIM_CID_INTEL_AT_TUNNEL_AT_COMMAND
12
13 * Extended the SMS service:
14 * MBIM_CID_SMS_CONFIGURATION now supports notifications
15
16 * mbimcli:
17 ** New '--sms-query-configuration' and '--sms-query-message-store-status'
18 actions
19 ** New '--atds-query-rat' and '--atds-query-operators' actions
20
21
22 Overview of changes in libmbim 1.32
23 ----------------------------------------
24
25 * Build:
26 ** Ignore more files and add an EditorConfig file
27
28 * New Fibocom service, including the following operations:
29 * MBIM_CID_FIBOCOM_AT_COMMAND
30
31 * New Compal service, including the following operations:
32 * MBIM_CID_COMPAL_AT_COMMAND
33
34 * Extend the Quectel service, including the following operations:
35 * MBIM_CID_QDU_AT_COMMAND
36
37 * mbim-proxy:
38 ** Ensure Client is kept around during message processing
39 ** Don't mistakenly delete mbim-proxy binary when run from same directory
40
41 * libmbim-glib:
42 ** Support structure sizes that are not 4-byte aligned
43 ** Fix building ms-uicc-low-level-access TerminalCapabilityData messages
44 ** Various TLV header parsing fixes for corner cases
45 ** Various leak fixes
46 ** Fix re-opening a device when it was closed due to errors
47 ** Assume QMI messages contain personal info that should be suppressed
48 ** Add more ms-uicc-low-level-access error values including
49 MBIM_STATUS_ERROR_MS_NO_LOGICAL_CHANNELS, MBIM_STATUS_ERROR_MS_SELECT_FAILED,
50 and MBIM_STATUS_ERROR_MS_INVALID_LOGICAL_CHANNEL
51
52 * mbimcli:
53 ** New '--sms-read' and '--sms-delete' actions.
54 ** New '--compal-query-at-command', '--fibocom-set-at-command',
55 and '--quectel-set-at-command' actions.
56 ** New MS Basic Connect '--ms-set-lte-attach-configuration'
57 ** New Basic Connect '--set-register-state' to allow automatic or manual
58 registration configuration.
59 ** Renamed Basic Connect '--query-registration-state' to
60 '--query-register-state' to be consistent with other actions. Old name
61 is kept as an alias for compatibility.
62
63 * mbim-network:
64 ** Fix matching ActivationState values during connect action
65
66
67 Overview of changes in libmbim 1.30
68 ----------------------------------------
69
70 * Build:
71 ** Flag types are now generated in their own 'mbim-flag-types.[c|h]' files.
72 ** A new 'enable_fuzzer' option is available to build LLVM LibFuzzer
73 based unit testers.
74
75 * New Intel Mutual Authentication service, including the following operations:
76 * MBIM_CID_INTEL_MUTUAL_AUTHENTICATION_FCC_LOCK
77
78 * New Intel Tools service, including the following operations:
79 * MBIM_CID_INTEL_TOOLS_TRACE_CONFIG
80
81 * New Google service, including the following operations:
82 * MBIM_CID_GOOGLE_CARRIER_LOCK
83
84 * Extended the Microsoft-defined Basic Connect Extensions service, including
85 the following operations:
86 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_DEVICE_RESET
87
88 * libmbim-glib:
89 ** mbim_message_validate() is updated to ensure that the given message is
90 complete and not a partial fragment.
91 ** mbim_device_command_finish() is updated to ensure that the returned
92 message is complete and not a partial fragment.
93 ** Updated string reading logic to perform a UTF-8 validity check explicitly
94 when converting from UTF-16.
95 ** The message and field parsing logic is updated to ensure unaligned values
96 can be read, given that the new MBIM extensions no longer ensure field
97 alignment.
98 ** Additional field validations have been added when parsing TLVs, fragment
99 headers and string/struct arrays.
100 ** Fixed reading 'ms-struct-array' items that may have struct elements with
101 variable size.
102 ** Added new 'NONE' values in MbimCellularClass, MbimSimClass, MbimDataClass,
103 MbimSmsCaps and MbimDataClassV3, so that all flag types have one to
104 indicate an empty bitmask.
105 ** New MbimTraceCommand enum, used in the Intel Tools service.
106 ** New MbimCarrierLockStatus, MbimCarrierLockModemState and
107 MbimCarrierLockCause enums, used in the Google service.
108 ** Extended the list of MbimStatusError values with new errors reported by
109 the operations in the Google service.
110 ** The MbimSmsStatusFlag type is now defined as flags, not as enum.
111
112 * mbimcli:
113 ** New '--ms-device-reset' action.
114 ** New '--google-set-carrier-lock' and '--google-query-carrier-lock' actions.
115 ** New '--intel-query-fcc-lock' and '--intel-set-fcc-lock' actions.
116 ** New '--intel-set-trace-config' and '--intel-query-trace-config' actions.
117 ** New generic '--printable' action to decode MBIM messages.
118
119 * mbim-proxy:
120 ** New '--verbose-full' option to request enabling logs that include personal
121 information.
122
123 * Several other improvements and fixes.
124
125 * All fixes and improvements that were backported to 1.28.x releases are also
126 present in libmbim 1.30.0.
127
128
129 Overview of changes in libmbim 1.28
130 ----------------------------------------
131
132 * There is no longer an upstream-provided source tarball, please use the signed
133 git tag '1.28.0' instead to refer to the sources of this release.
134
135 * License boilerplate in the sources has been changed by SPDX identifiers.
136
137 * This version includes support for most operations in MBIM Extensions v2 (for
138 5G NSA) and v3 (for 5G SA). The enabling of the updated extensions requires
139 the user of the library to explicitly request what version wants to be used,
140 via the new 'MBIM_DEVICE_OPEN_FLAGS_MS_MBIMEX_V2' or
141 'MBIM_DEVICE_OPEN_FLAGS_MS_MBIMEX_V3' flags in the device open request.
142 Please note that if one process enables the v2 or v3 support, it will apply
143 to operations done by other processes as well. When using the proxy, the
144 current version support is propagated to all clients of the proxy
145 automatically.
146
147 * The verbose message logging will now by default hide all fields that are
148 considered personal information. Extended message logging including all
149 field contents should be explicitly requested.
150
151 * Build:
152 ** The GNU autotools (autoconf/automake/libtool) support has been fully
153 removed, this release requires the use of the meson build system.
154 ** The 'instrospection' meson option is now a boolean.
155 ** New boolean 'man' meson option to allow disabling the man page generation.
156
157 * Extended the Basic Connect service, including the following operations:
158 * MBIM_CID_BASIC_CONNECT_REGISTER_STATE (MBIMEx v2.0)
159 * MBIM_CID_BASIC_CONNECT_PACKET_SERVICE (MBIMEx v2.0)
160 * MBIM_CID_BASIC_CONNECT_SIGNAL_STATE (MBIMEx v2.0)
161 * MBIM_CID_BASIC_CONNECT_SUBCRIBER_READY_STATUS (MBIMEx v3.0)
162 * MBIM_CID_BASIC_CONNECT_PACKET_SERVICE (MBIMEx v3.0)
163 * MBIM_CID_BASIC_CONNECT_CONNECT (MBIMEx v3.0)
164 * MBIM_CID_BASIC_CONNECT_IP_PACKET_FILTERS (MBIMEx v3.0)
165
166 * Extended the Microsoft-defined Basic Connect Extensions service, including
167 the following operations:
168 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_LOCATION_INFO_STATUS (MBIMEx v1.0)
169 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_PROVISIONED_CONTEXTS (MBIMEx v1.0)
170 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_BASE_STATIONS_INFO (MBIMEx v1.0)
171 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_VERSION (MBIMEx v2.0)
172 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_DEVICE_CAPS (MBIMEx v3.0)
173 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_MODEM_CONFIGURATION (MBIMEx v3.0)
174 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_REGISTRATION_PARAMETERS (MBIMEx v3.0)
175 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_LTE_ATTACH_INFO (MBIMEx v3.0)
176 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_BASE_STATIONS_INFO (MBIMEx v3.0)
177 * MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_WAKE_REASON (MBIMEx v3.0)
178
179 * Extended the Microsoft-defined UICC Low Level Access service, including the
180 following operations:
181 * MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_APPLICATION_LIST
182 * MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_FILE_STATUS
183 * MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_READ_BINARY
184 * MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_READ_RECORD
185
186 * New Microsoft-defined Voice Extensions service, including the following
187 operations:
188 * MBIM_CID_MS_VOICE_EXTENSIONS_NITZ
189
190 * Extended the Intel-defined Firmware Update service, including the following
191 operations:
192 * MBIM_CID_INTEL_FIRMWARE_UPDATE_MODEM_REBOOT (MBIMEx v2.0)
193
194 * New Intel-defined Thermal RF service, including the following operations:
195 * MBIM_CID_INTEL_THERMAL_RF_RFIM
196
197 * Extended the QDU service, including the following operations:
198 * MBIM_CID_QDU_QUECTEL_REBOOT
199 * MBIM_CID_QDU_QUECTEL_READ_VERSION
200
201 * libmbim-glib:
202 ** Updated the net link operations to support devices exposed by the wwan
203 subsystem.
204 ** New mbim_message_get_printable_full() method to print the contents of a
205 given message specifying the specific MBIMEx version in use.
206 ** New mbim_message_validate() method to validate the contents of the headers
207 in a MBIM message, to be used before accessing its contents.
208 ** Updated all MbimMessage getters so that an implicit validation is done
209 in the g_return_* macros. This validation will not be done if those macros
210 are disabled during build.
211 ** New MBIM_DEVICE_CONSECUTIVE_TIMEOUTS signal in the MbimDevice to report
212 the number of consecutive MBIM request timeouts detected.
213 ** New mbim_device_[get|set|check]_ms_mbimex_version() methods to manage the
214 MBIMEx version support in the MbimDevice.
215 ** New MBIM_DEVICE_OPEN_FLAGS_MS_MBIMEX_[V2|V3] flags in
216 mbim_device_open_full() to allow enabling MBIMEx v2.0 or v3.0 support.
217 ** New MbimTlv type to support the variable-sized fields in MBIMEx v3.0
218 operations.
219 ** Ensure CLOSED state always in mbim_device_close(), even on error.
220 ** Disallow device close if an open operation is ongoing.
221 ** Extended MbimDataClass with 5G NSA/SA values, used in MBIMEx v2.0, and
222 added new MbimDataClassV3 and MbimDataSubclass types, used in MBIMEX v3.0.
223 ** Extended MbimCtrlCaps and MbimSubscriberReadyState with values reported
224 in MBIMEX v3.0 extensions.
225 ** New MbimWakeType, MbimAccessMediaType, MbimModemConfigurationStatus,
226 MbimFrequencyRange, MbimContextRoamingControl, MbimContextMediaType,
227 MbimContextState, MbimContextOperation, MbimMicoMode, MbimLadnInfo,
228 MbimDefaultPduActivationHint, MbimDrxCycle, MbimSubscriberReadyStatusFlag
229 enums used in MBIMEx v3.0 specific operations.
230 ** New MbimUiccApplicationType, MbimUiccFileAccessibility, MbimUiccFileType
231 and MbimUiccFileStructure enums, used in the MS UICC Low Level Access
232 service.
233 ** New MbimIntelServingCellInfo enum, used in the Intel Thermal RF service.
234 ** New MbimIntelBootMode enum, used in the Intel Firmware Update service.
235 ** New MbimQduQuectelRebootType and MbimQduQuectelVersionType enums used in
236 the Quectel-defined QDU service updates.
237 ** Extended the list of MbimNwError values with values from the 3GPP specs.
238 ** Deprecated MBIM_NW_ERROR_UNKNOWN, use NONE instead.
239 ** Deprecated MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_NETWORK_BLACKLIST, use
240 NETWORK_DENYLIST instead.
241 ** Fixed the public format for CDMA language in the SMS service.
242
243 * mbimcli:
244 ** New '--device-open-ms-mbimex-v2' option to request to enable MBIMEX v2.0
245 support.
246 ** New '--device-open-ms-mbimex-v3' option to request to enable MBIMEX v3.0
247 support.
248 ** New '--verbose-full' option to request enabling logs that include personal
249 information.
250 ** New '--set-ip-packet-filters' action.
251 ** New '--set-provisioned-contexts' action.
252 ** New '--set-signal-state' action.
253 ** New '--set-network-idle-hint' action.
254 ** New '--query-network-idle-hint' action.
255 ** New '--set-emergency-mode' action.
256 ** New '--query-emergency-mode' action.
257 ** New '--set-service-activation' action.
258 ** New '--ms-query-location-info-status' action.
259 ** New '--ms-query-provisioned-contexts' action.
260 ** New '--ms-set-provisioned-contexts' action.
261 ** New '--ms-query-base-stations' action
262 ** New '--ms-query-version' action.
263 ** New '--ms-query-registration-parameters' action.
264 ** New '--ms-set-registration-parameters' action.
265 ** New '--ms-query-modem-configuration' action.
266 ** New '--ms-query-wake-reason' action.
267 ** New '--ms-query-uicc-application-list' action.
268 ** New '--ms-query-uicc-file-status' action.
269 ** New '--ms-query-uicc-read-binary' action.
270 ** New '--ms-query-uicc-read-record' action.
271 ** New '--ms-set-uicc-open-channel' action.
272 ** New '--ms-set-uicc-close-channel' action.
273 ** New '--ms-query-uicc-atr' action.
274 ** New '--ms-set-uicc-apdu' action.
275 ** New '--ms-set-uicc-reset' action.
276 ** New '--ms-query-uicc-reset' action.
277 ** New '--ms-set-uicc-terminal-capability' action.
278 ** New '--ms-query-uicc-terminal-capability' action.
279 ** New '--ms-query-nitz' action.
280 ** New '--intel-query-rfim' action.
281 ** New '--intel-set-rfim' action.
282 ** Updated '--connect' action to deprecate 'apn' and prefer 'access-string'.
283 ** Updated '--connect' action to support 'compression' and 'context-type'.
284 ** Updated '--intel-modem-reboot' action to optionally receive the boot mode
285 type argument.
286 ** Fixed the Quectel specific operations so that they have the --quectel
287 prefix and do not overwrite the ones in the Basic Connect service.
288
289 * Several other improvements and fixes.
290
291 The following features which were backported to 1.26.x releases are also present
292 in libmbim 1.28.0:
293
294 * mbim-codegen: explicitly require python3.
295 * compat: deprecate the MbimLteAttachStatus type.
296 * libmbim-glib: added support for a new Quectel service.
297 * mbimcli: new '--quectel-query-radio-state' and '--quectel-set-radio-state'
298 operations, which provide a way to FCC unlock EM120 modules in new Lenovo
299 laptops.
300
301
302 Overview of changes in libmbim 1.26
303 ----------------------------------------
304
305 * Build now requires GLib/GObject/GIO 2.56.
306
307 * The GUdev optional build/runtime requirement is now fully dropped, it's no
308 longer used.
309
310 * Building from git no longer requires autoconf-archive, the needed AX_ macros
311 are now shipped inside m4/.
312
313 * In addition to building from a source release tarball, or building from git
314 checkouts using the GNU autotools suite (autoconf/automake/libtool), this
315 release includes the initial support for the meson build system. The meson
316 port is not fully complete yet, as there are some missing things in the doc
317 generation steps, but for system integration or development purposes, the
318 port should be fully operational. This major release, including all its
319 stable updates in the 1.26.x series, will be the last ones providing support
320 for GNU autotools. The next major release will likely be a meson-only one,
321 and will therefore not be based on a source release tarball any more, but
322 on specific git tags instead.
323
324 * Implemented new link management operations, exclusively for the cdc_mbim
325 driver for now. These new operations allow creating or deleting VLAN network
326 interfaces in order to run multiplexed data sessions over one single physical
327 network interface.
328
329 * Added support for the Microsoft-defined SAR service, including the following
330 operations:
331 ** MBIM_CID_MS_SAR_CONFIG
332 ** MBIM_CID_MS_SAR_TRANSMISSION_STATUS
333
334 * Added support for the Microsoft-defined UICC Low Level Access service,
335 including the following operations:
336 ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_ATR
337 ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_OPEN_CHANNEL
338 ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_CLOSE_CHANNEL
339 ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_APDU
340 ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_TERMINAL_CAPABILITY
341 ** MBIM_CID_MS_UICC_LOW_LEVEL_ACCESS_RESET
342
343 * Added support for the Qualcomm-defined QDU service, including the following
344 operations:
345 ** MBIM_CID_QDU_UPDATE_SESSION
346 ** MBIM_CID_QDU_FILE_OPEN
347 ** MBIM_CID_QDU_FILE_WRITE
348
349 * Extended the Microsoft-defined Basic Connect Extensions service, including
350 the following operations:
351 ** MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_DEVICE_CAPS
352 ** MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_SYS_CAPS
353 ** MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_SLOT_INFO_STATUS
354 ** MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_DEVICE_SLOT_MAPPINGS
355
356 * libmbim-glib:
357 ** Logic updated to make sure full packets are written at once, instead of
358 writing them in chunks.
359 ** Updated the "LTE attach status" APIs in order to avoid creating unneeded
360 struct types in the interface. The older methods have been deprecated and
361 maintained in the library for compatibility purposes only.
362
363 * mbim-proxy:
364 ** Internal buffer size updated from 512 bytes to 4096 bytes.
365
366 * mbimcli:
367 ** New '--ms-set-sar-config' and '--ms-query-sar-config' actions.
368 ** New '--ms-set-transmission-status' and '--ms-query-transmission-status'
369 actions.
370 ** Updated '--enter-pin', '--disable-pin' and '--unlock-pin' to allow other
371 PIN types, not just assuming PIN1.
372 ** New '--link-add', '--link-delete', '--link-list' and '--link-delete-all'
373 actions.
374 ** New '--ms-query-sys-caps' action.
375 ** New '--ms-query-slot-info-status' action.
376 ** New '--ms-query-device-slot-mappings' and '--ms-set-device-slot-mappings'
377 actions.
378 ** Renamed '--ms-query-lte-attach-status' to '--ms-query-lte-attach-info',
379 and kept the old name for compatibility purposes.
380
381 * mbim-network:
382 ** When using the mbim-proxy, skip trying to manage the MBIM session and
383 transaction ids as that is implicitly done by the proxy already.
384
385 * Several other minor improvements and fixes.
386
387 The following features which were backported to 1.24.x releases are also present
388 in libmbim 1.26.0:
389
390 * Fixed merged subscribe list reporting and handling in the proxy.
391 * Fixed transaction id handling when multiple fragments are involved.
392 * Fixed read overflows on malformed messages.
393 * Skip warnings if descriptors file cannot be read, as in new MBIM backends
394 other than cdc_mbim.
395
396
397 Overview of changes in libmbim 1.24
398 ----------------------------------------
399
400 * Build now requires GLib/GObject/GIO 2.48.
401
402 * Added new GObject Introspection support in the library, that can be
403 explicitly requested during configure with --enable-introspection=yes.
404 With the new introspection support, the libmbim-glib library can now be
405 used directly from e.g. python programs, as in the example included with
406 the release.
407
408 * Added release version information to all the types and methods of the public
409 library API, and added new per-version indices in the documentation.
410
411 * Added g_autoptr() support to all public types.
412
413 * Several other minor improvements and fixes.
414
415 Overview of changes in libmbim 1.22
416 ----------------------------------------
417
418 * Build updated with several improvements:
419 ** The build has been updated to use by default all warnings enabled by
420 AX_COMPILER_FLAGS(), and therefore when building the release from a git
421 checkout, autoconf-archive >= 2017.03.21 is now required. This new build
422 dependency isn't required when building from the release tarball.
423 ** Also when building from a git checkout, beware because by default
424 --enable-compile-warnings=error is enabled, which implies -Werror. If
425 you'd like to build from git and avoid -Werror, you should explicitly use
426 --enable-compile-warnings=yes (to keep the warnings but without being
427 errors), --enable-compile-warnings=no (to disable all the extra warnings
428 enabled by default) or --disable-Werror (to unconditionally make all
429 compiler warnings non-fatal).
430
431 * libmbim-glib:
432 ** Message parsing logic improved to avoid reading fields out of bounds, e.g.
433 if the messages sent by the modem are malformed or not in line with the
434 specs.
435
436 * Several other minor improvements and fixes.
437
438 The following features which were backported to 1.20.x releases are also present
439 in libmbim 1.22.0:
440
441 * libmbim-glib: fixed handling of fragmented indication messages.
442 * mbimcli: added --query-provisioned-contexts.
443 * mbim-proxy: fix logic when symlinks to cdc-wdm ports are used.
444
445
446 Overview of changes in libmbim 1.20
447 ----------------------------------------
448
449 * Build updated with several fixes:
450 ** Explicitly define max allowed GLib version.
451 ** Fix issues with -Werror=type-limits.
452 ** Made compiler warning options compatible with clang.
453
454 * mbim-proxy:
455 ** Fixed client subscription to service indications using wildcard.
456 ** Fixed client subscription update logic when services/cids are being
457 removed.
458 ** New '--empty-timeout=[SECS}' option to specify the empty lifetime
459 duration.
460 ** New '--no-exit' option to avoid the proxy from exiting.
461
462 * Several other minor improvements and fixes.
463
464 The following features which were backported to 1.18.x releases are also present
465 in libmbim 1.20.0:
466
467 * mbim-proxy: default empty lifetime set to 300s.
468
469 Overview of changes in libmbim 1.18
470 ----------------------------------------
471
472 * Build now looks for the correct python provider in the system during
473 configure.
474
475 * New Microsoft Basic Connect Extensions service, that includes new commands to
476 manage Protocol Configuration Operations (PCO) as well as LTE attach status
477 and settings.
478
479 * libmbim-glib:
480 ** Added support to fully print all message contents, including all fields,
481 when traces are enabled.
482 ** Added support for QMI indications over MBIM.
483 ** Added additional cause codes to MbimNwError.
484 ** Fixed signal emission in device, so that it's done before completing
485 transaction task.
486
487 * mbim-proxy:
488 ** Fixed the management of subscribed events, so that the lists are
489 maintained per-device.
490
491 * mbimcli:
492 ** New '--ms-query-pco' action.
493 ** New '--ms-query-lte-attach-configuration' action.
494 ** New '--ms-query-lte-attach-status' action.
495
496 * Several other minor improvements and fixes.
497
498 The following features which were backported to 1.16.x releases are also present
499 in libmbim 1.18.0:
500
501 * mbimcli:
502 ** Fix SNR reporting in --atds-query-signal output.
503 ** Longer timeout (60s) in --disconnect.
504 ** Add "ip-type" property to --connect
505
506 * libmbim-glib:
507 ** Fix printing message in Intel Firmware Update service.
508 ** Fix error reporting when unknown status.
509
510 Overview of changes in libmbim 1.16
511 ----------------------------------------
512
513 * Build now requires GLib 2.36.
514
515 * All the code base was ported to use the GTask based asynchronous operations
516 support instead of the deprecated GSimpleAsyncResult.
517
518 * New AT&T Device Service support, that includes operator-specific commands to
519 query signal info or cell location.
520
521 * New Intel Firmware Update Service support, that includes commands to request
522 the Intel-based module to reboot in firmware download mode.
523
524 * libmbim-glib:
525 ** Added MBIM_STATUS_ERROR_CONTEXT_NOT_SUPPORTED to MbimStatusError.
526 ** Avoid using iconv() directly for the UTF-16BE conversions, which makes it
527 possible to use libmbim on systems with a stub iconv() implementation.
528 ** Added support to detect already open MBIM channels on the Sierra Wireless
529 EM7345.
530
531 * mbimcli:
532 ** New '--query-ip-packet-filters' action.
533 ** New '--query-pin-list' action.
534 ** New '--atds-query-signal' and '--atds-query-location' actions.
535 ** New '--intel-modem-reboot' action.
536
537 * Several other minor improvements and fixes.
538
539 The following features which were backported to 1.14.x releases are also present
540 in libmbim 1.16.0:
541
542 * libmbim-glib:
543 ** Prefer realpath() to canonicalize_file_name().
544 ** Added MBIM_READY_INFO_FLAG_NONE to MbimReadyInfoFlag.
545
546 * mbim-proxy:
547 ** Avoid receiving signals from the parent process.
548
549 * mbimcli:
550 ** Add cancellability to the query-ip-configuration action.
551
552 Overview of changes in libmbim 1.14
553 ----------------------------------------
554
555 * New support for the 'QMI over MBIM' service, so that clients can use libqmi to
556 build messages and libmbim to transport them.
557
558 * The GUDev library, which we use to read the max message size from the USB
559 descriptor, is now optional. When configuring, it will be used by default only
560 if it's found. It can also be explicitly disabled using the new configure
561 switch '--without-udev' or explicitly enabled using '--with-udev'. If GUDev
562 isn't used, libmbim-glib will rely on sysfs directly.
563
564 * libmbim-glib updates:
565 ** Added support for building messages of custom services.
566
567 * mbim-network updates:
568 ** Added support for loading profiles from different paths using the new
569 '--profile' option. This makes it possible to use mbim-network with
570 multiple devices running in the same system.
571 ** Added support to allow specifying APN user (APN_USER), password (APN_PASS)
572 and authentication type (APN_AUTH) in the profile.
573 ** Added support to allow using the mbim-proxy setup by configuring it in
574 the profile file (PROXY=yes).
575
576 * Several other minor improvements and fixes.
577
578 The following features which were backported to 1.12.x releases are also present
579 in libmbim 1.14.0:
580
581 * mbimcli updates:
582 ** Updated '--connect' arguments to allow specifying "key=value" pairs. The
583 old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username),(Password)]" format is
584 kept as valid for backwards compatibility, although it should be assumed
585 deprecated.
586 ** Longer timeouts for connect/register operations.
587 ** Report IP configuration when connected.
588 ** Allow specifying session ids.
589
590 * libmbim-glib updates:
591 ** Probing retry interval increased to 5s.
592
593 Overview of changes in libmbim 1.12
594 ----------------------------------------
595
596 * New `--enable-mbim-username' option during configure, which allows specifying
597 which will be the user owning the /dev/cdc-wdm character devices of all MBIM
598 modems (udev rules are installed to change file ownership). If this option is
599 used, the mbim-proxy will only allow connections from processes running by the
600 specified user or by the root user.
601
602 * Function error messages can now be returned by the MbimDevice as responses to
603 `Command', `Open' or `Close' messages. Users of the library should not assume
604 the type of message returned to the previous actions.
605
606 * The MbimProxy will monitor for 'NotOpened' errors, and when one detected it
607 will directly close the internal MbimDevice. Any subsequent request sent by
608 clients to that specific device will be aborted with a proxy-generated
609 'NotOpened' error. Clients will need to explicitly reopen the ports in that
610 case.
611
612 * The API now has a new mbim_message_response_get_result() method which allows
613 getting a GError from a message which may be of a specific type (e.g. a
614 `Command Done' message in response to a `Command' request) or instead the
615 generic `Function Error' message type. Users of the library can use this new
616 method to avoid assuming the type of message returned.
617
618 E.g. the following check:
619 mbim_message_command_done_get_result (response, &error);
620 Can be updated as:
621 mbim_message_response_get_result (response,
622 MBIM_MESSAGE_TYPE_COMMAND_DONE,
623 &error);
624 And the same logic can be applied to `Open' and `Close' messages.
625
626 * Other bugfixes and minor improvements:
627 ** Attach timeout and idle events to the thread-default context.
628 ** Fix bashisms in the mbim-network script.
629
630
631 Overview of changes in libmbim 1.10
632 ----------------------------------------
633
634 * API break: Flag values in 'MbimRegistrationFlag' were updated to match the
635 ones in the MBIM documentation.
636
637 * Implemented a new 'mbim-proxy', which allows sharing a single MBIM control
638 port among different processes. The usage of the proxy is optional, and can
639 be requested by specifying the MBIM_DEVICE_OPEN_FLAGS_PROXY flag in the new
640 mbim_device_open_full() method. The 'mbimcli' command line tool was also
641 extended with a new '--device-open-proxy,-p' option, to allow requesting the
642 use of the proxy process.
643
644 * New 'removed' signal added to the MbimDevice, to notify when the underlying
645 connection to the device is lost (e.g. lost connection to the mbim-proxy, or
646 lost access to the MBIM control port).
647
648 * Added support for registering and using custom services.
649
650 * Added additional GMM cause codes to MbimNwError.
651
652 * Transactions are now matched not only by ID but also by type.
653
654 * Several other minor improvements and fixes.
655
656
657 Overview of changes in libmbim 1.8
658 ----------------------------------------
659
660 * Added support for additional MBIM messages:
661 MBIM_CID_MS_FIRMWARE_ID_GET
662 MBIM_CID_MS_HOST_SHUTDOWN_NOTIFY
663
664 * Updated mbimcli with new commands:
665 --set-radio-state
666 --ms-query-firmware-id
667 --ms-notify-host-shutdown
668 --dss-connect
669 --dss-disconnect
670
671 * Several enums and functions were renamed, and marked as deprecated. A small
672 layer is given to provide backwards compatibility.
673
674 * Several other minor improvements and fixes.
675
676
677 Overview of changes in libmbim 1.6
678 ----------------------------------------
679
680 * Updated mbimcli with new commands:
681 --phonebook-query-configuration
682 --phonebook-read
683 --phonebook-read-all
684 --phonebook-write
685 --phonebook-delete
686 --phonebook-delete-all
687
688 * Added generation of man pages for mbimcli and mbim-network.
689
690 * Several other minor improvements and fixes.
691
692
693 Overview of changes in libmbim 1.4
694 ----------------------------------------
695
696 * Added support for additional MBIM messages:
697 MBIM_SMS_CONFIGURATION
698 MBIM_SMS_READ
699 MBIM_SMS_SEND
700 MBIM_SMS_DELETE
701 MBIM_SMS_MESSAGE_STORE_STATUS
702 MBIM_USSD
703 MBIM_PHONEBOOK_CONFIGURATION
704 MBIM_PHONEBOOK_READ
705 MBIM_PHONEBOOK_DELETE
706 MBIM_PHONEBOOK_WRITE
707 MBIM_STK_PAC
708 MBIM_STK_TERMINAL_RESPONSE
709 MBIM_STK_ENVELOPE
710 MBIM_DEVICE_SERVICE_SUBSCRIBER_LIST
711 MBIM_AUTH_AKA
712 MBIM_AUTH_AKAP
713 MBIM_AUTH_SIM
714 MBIM_PACKET_STATISTICS
715 MBIM_NETWORK_IDLE_HINT
716 MBIM_EMERGENCY_MODE
717 MBIM_IP_PACKET_FILTERS
718 MBIM_DSS_CONNECT
719 MBIM_MULTICARRIER_PROVIDERS
720
721 * Updated mbimcli with new commands:
722 --query-packet-statistics
723
724 * Use gtester to run unit tests.
725
726
727 Overview of changes in libmbim 1.2
728 ----------------------------------------
729
730 * Added support for additional MBIM messages:
731 MBIM_VISIBLE_PROVIDERS
732 MBIM_PREFERRED_PROVIDERS
733 MBIM_HOME_PROVIDER
734 MBIM_SERVICE_ACTIVATION
735
736 * Updated mbimcli with new commands:
737 --query-visible-providers
738 --query-preferred-providers
739 --query-home-provider
740 --query-signal-state
741 --no-open
742 --noop
743
744 * Updated mbim-network with session support, keeping TRID sequence between
745 commands.
746
747 * New symbols to check library version.
748
749
750 Overview of changes in libmbim 1.0
751 ----------------------------------------
752
753 * Updated mbimcli with new commands:
754 --enter-pin
755 --change-pin
756 --enable-pin
757 --disable-pin
758 --enter-puk
759 --query-registration-state
760 --register-automatic
761 --query-packet-service-state
762 --attach-packet-service
763 --detach-packet-service
764 --query-connection-state
765 --connect
766 --disconnect
767 --no-close
768
769 * Removed the 'basic-connect' prefix from mbimcli commands.
770
771 * New 'mbim-network' script to help launch a connection through the
772 shell.
773
774 * Added gtk-doc documentation
775
776
777 Overview of changes in libmbim 0.0.1
778 ----------------------------------------
779
780 Initial release.