diff options
author | Ming Liu <ming.liu@toradex.com> | 2022-12-14 10:06:12 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2023-01-05 17:08:32 +0100 |
commit | c695ebf3b5a221a15d522db45bf824b7f9213fe7 (patch) | |
tree | 508dd9b7546e67dbb8b00fe33ea0e971f14c2e13 | |
parent | 1a4618d03aa513d4ff4337828d607380de743ef6 (diff) |
libusbgx: use NCM instead of RNDIS
USB RNDIS support is getting deprecated, move USB Ethernet-over-USB
functionality to USB NCM, update libusbgx configuration accordingly.
Related-to: ELB-4923
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit dbc9d3d74c81387cafa292bf06bf7ae91f5c3640)
-rw-r--r-- | recipes-support/libusbgx/files/g1.schema.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/recipes-support/libusbgx/files/g1.schema.in b/recipes-support/libusbgx/files/g1.schema.in index 03b7b80..99b39cc 100644 --- a/recipes-support/libusbgx/files/g1.schema.in +++ b/recipes-support/libusbgx/files/g1.schema.in @@ -24,19 +24,19 @@ strings = ( } ); functions : { - rndis_usb0 : + ncm_usb0 : { instance = "usb0"; - type = "rndis"; + type = "ncm"; attrs : { qmult = 5; }; os_descs = ( { - interface = "rndis"; - compatible_id = "RNDIS"; - sub_compatible_id = "5162001"; + interface = "ncm"; + compatible_id = "WINNCM"; + sub_compatible_id = ""; } ); }; }; @@ -52,11 +52,11 @@ configs = ( strings = ( { lang = 0x409; - configuration = "RNDIS"; + configuration = "WINNCM"; } ); functions = ( { - name = "rndis.usb0"; - function = "rndis_usb0"; + name = "ncm.usb0"; + function = "ncm_usb0"; } ); } ); |