diff options
author | Bjørn Mork <bjorn@mork.no> | 2016-08-21 01:21:56 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2016-08-21 01:35:37 +0200 |
commit | d435f1285aa2a983e0a5451dd161cfdcbb4e6499 (patch) | |
tree | ddcee80c7710cb293c21d9823274cd6324970896 /commands-dms.h | |
parent | 6128d9912af8048d9e303ed21c2f73dd3a85cde0 (diff) |
dms: add "Set FCC Authentication" requestnbd+debian
Many newer modems from Sierra Wireless includes a feature known as
"FCC Authentication". The basic idea is that the radio is kept in
low power mode until the driver has told the firmware that it is
OK to switch it on. This is done with a vendor specific QMI DMS
request with no input or output TLVs.
The "Set FCC Authentication" request is required for any modem with
the feature enabled. Which includes most newer Lenovo branded Sierra
Wireless modems based on Qualcomm chipsets, like for example the
EM7455.
Sample session with an EM7455 in MBIM mode and the FCC Authentication
feature enabled:
$ umbim -d /dev/cdc-wdm0 -n radio
hwradiostate: on
swradiostate: off
$ uqmi -m -d /dev/cdc-wdm0 --fcc-auth
$ umbim -d /dev/cdc-wdm0 -t 2 radio
hwradiostate: on
swradiostate: on
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'commands-dms.h')
-rw-r--r-- | commands-dms.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands-dms.h b/commands-dms.h index ccafbb1..82ae592 100644 --- a/commands-dms.h +++ b/commands-dms.h @@ -38,7 +38,8 @@ __uqmi_command(dms_get_imei, get-imei, no, QMI_SERVICE_DMS), \ __uqmi_command(dms_get_msisdn, get-msisdn, no, QMI_SERVICE_DMS), \ __uqmi_command(dms_set_operating_mode, set-device-operating-mode, required, QMI_SERVICE_DMS), \ - __uqmi_command(dms_reset, reset-dms, no, QMI_SERVICE_DMS) \ + __uqmi_command(dms_reset, reset-dms, no, QMI_SERVICE_DMS), \ + __uqmi_command(dms_set_fcc_authentication, fcc-auth, no, QMI_SERVICE_DMS) \ #define dms_helptext \ " --get-capabilities: List device capabilities\n" \ @@ -70,4 +71,5 @@ " (modes: online, low_power, factory_test, offline\n" \ " reset, shutting_down, persistent_low_power,\n" \ " mode_only_low_power)\n" \ + " --fcc-auth: Set FCC authentication\n" \ |