Allow depersonalization of MBIM modem in Locked state and fix number of depersonalization retries for QMI modems.
These are two fixes for personalization lock support in QMI and MBIM modems.
First (MBIM) is needed to put MM in Locked state when SIM card is incompatible with any of personalization PIN locks. It also adds check for type of PIN lock which should be disabled. Both changes are required to properly disable modem personalization.
Second patch (QMI) extends mm_qmi_uim_get_card_status_output_parse
function with new parameter to return number of available retries for currently active personalization lock. This is required by UI to properly show number of retries for active lock.