Skip to content

Commit bf30396

Browse files
Loic Poulaindavem330
authored andcommitted
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>
1 parent 009fc85 commit bf30396

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/linux/wwan.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* @WWAN_PORT_QMI: Qcom modem/MSM interface for modem control
1616
* @WWAN_PORT_QCDM: Qcom Modem diagnostic interface
1717
* @WWAN_PORT_FIREHOSE: XML based command protocol
18+
* @WWAN_PORT_UNKNOWN: Unknown port type
1819
* @WWAN_PORT_MAX: Number of supported port types
1920
*/
2021
enum wwan_port_type {
@@ -23,7 +24,8 @@ enum wwan_port_type {
2324
WWAN_PORT_QMI,
2425
WWAN_PORT_QCDM,
2526
WWAN_PORT_FIREHOSE,
26-
WWAN_PORT_MAX,
27+
WWAN_PORT_UNKNOWN,
28+
WWAN_PORT_MAX = WWAN_PORT_UNKNOWN,
2729
};
2830

2931
struct wwan_port;

0 commit comments

Comments
 (0)