diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-05-11 17:42:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-12 02:17:56 +0300 |
commit | bf30396cdf8132a199af5f8f0e60367876f455df (patch) | |
tree | d35c13fbba85be6ea41c840885928bbf692234ce /include/linux/wwan.h | |
parent | 009fc857c5f6fda81f2f7dd851b2d54193a8e733 (diff) | |
download | linux-bf30396cdf8132a199af5f8f0e60367876f455df.tar.xz |
net: wwan: Add unknown port type
Some devices may have ports with unknown type/protocol which need to
be tagged (though not supported by WWAN core). This will be the case
for cdc-wdm based drivers.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/wwan.h')
-rw-r--r-- | include/linux/wwan.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/wwan.h b/include/linux/wwan.h index aa05a253dcf9..7216c114d758 100644 --- a/include/linux/wwan.h +++ b/include/linux/wwan.h @@ -15,6 +15,7 @@ * @WWAN_PORT_QMI: Qcom modem/MSM interface for modem control * @WWAN_PORT_QCDM: Qcom Modem diagnostic interface * @WWAN_PORT_FIREHOSE: XML based command protocol + * @WWAN_PORT_UNKNOWN: Unknown port type * @WWAN_PORT_MAX: Number of supported port types */ enum wwan_port_type { @@ -23,7 +24,8 @@ enum wwan_port_type { WWAN_PORT_QMI, WWAN_PORT_QCDM, WWAN_PORT_FIREHOSE, - WWAN_PORT_MAX, + WWAN_PORT_UNKNOWN, + WWAN_PORT_MAX = WWAN_PORT_UNKNOWN, }; struct wwan_port; |