From c695ebf3b5a221a15d522db45bf824b7f9213fe7 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Wed, 14 Dec 2022 10:06:12 +0100 Subject: 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 (cherry picked from commit dbc9d3d74c81387cafa292bf06bf7ae91f5c3640) --- recipes-support/libusbgx/files/g1.schema.in | 16 ++++++++-------- 1 file 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"; } ); } ); -- cgit v1.2.3