From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web11.4567.1683676461127859247 for ; Tue, 09 May 2023 16:54:21 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=XF3sUI5Y; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: isaac.w.oram@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683676461; x=1715212461; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Dt8gKQEK+eg24HOrvP8+INHMPboHLtexVLpeJ8JABng=; b=XF3sUI5YelVUhbcozzOYCBakI9a0OL+V1VrX9cz2UAdwzIOBrT+6RYC9 AihtpeOVxA51cWjmjHjbtxogK+wxqAXoUKdIZTJ6LdRcqrlimCfwuVuhB Us0AI1UN1SK3dJeQII7H+uVV+EyX8uYxHr8u8kzqZFp2JDzKogUJmKR+s pNc/yeaN/PGFm3ewcYHEB7oqG3prgod6GuM/W6sTGWj+w7hmKJ5IBnJD5 rU/KLfuqPNphdTdQZw3+egyROz9ROtWCwOev++lB9naY7CCZhvSHwe8Fx +L3mF90hQRBS1VvsDfAZO0UjORad7MCyR3He1QHyBIO8Gav0yf4fIRBVB A==; X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="413370353" X-IronPort-AV: E=Sophos;i="5.99,263,1677571200"; d="scan'208";a="413370353" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2023 16:54:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="823332711" X-IronPort-AV: E=Sophos;i="5.99,263,1677571200"; d="scan'208";a="823332711" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga004.jf.intel.com with ESMTP; 09 May 2023 16:54:20 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 9 May 2023 16:54:20 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Tue, 9 May 2023 16:54:20 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 9 May 2023 16:54:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z+28Y+jlqoMn0GnXkCPesgO8dluJuTOEu2yzKf2fE45bKp8QVVcXGhPJIz6kL+jfsiWZvlFtzdiC0SXR7DDkYqoGAc5tQzJ7waKQodNf1o5Rt8ObWi8hZv7tC2yeeMaYPbkGnUWbStCeejAsyZHkS1HSmZ/Vj/sHD1DviiZMvkraGaxz82gwDkH3t9lUYyZBc8gM4hOKHac4tj2slezndCNEqzSh8231SUT+zI4A2urzCme+U+pEDOInuL4w63tzNRcu7brSTLLQKnefuCI6asANutX05U8mmKNnuG2oLgluELHIesl/wquoIydftpq5+ZUJwuveIhbqiYhc234aAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5AYTMdrXeqDkJy92eq8FdpnNw3S09yM15TN9DYYcI0U=; b=ALxpFXZlIhBDoVQtyP53iBJpOatRq7yFT4mlQqNiWbBmufrFf26oh8cik9bhTaldv2TwWnEbW0MCCGHB9VUL7LTdAYRu2HPrhjzXbyQ7F2CCTYd53JHXnRyb313oZaaYjihL5KW0PnmdoT1UWz8otLzqdlwdKbnLiRvGAp0lwvQOoHvcWhw6C+1oGeSv3Geg2FBIPbUHPSNEukE6ciavIj6I0hAvMhtkvYlGpNF6j2txmmH6eHwyFF+JtobzZXUBwg/E3WEjnX2A2hFomjyLwsUogJYWWjIrZWLJEudkRPfg2cK/0AQUAu+AwwrqW+Am1BeJu29dlRVXYCPNrLc9VA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SA1PR11MB5801.namprd11.prod.outlook.com (2603:10b6:806:23d::13) by MW3PR11MB4537.namprd11.prod.outlook.com (2603:10b6:303:5d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.18; Tue, 9 May 2023 23:54:17 +0000 Received: from SA1PR11MB5801.namprd11.prod.outlook.com ([fe80::6979:a90f:e224:41c5]) by SA1PR11MB5801.namprd11.prod.outlook.com ([fe80::6979:a90f:e224:41c5%4]) with mapi id 15.20.6363.032; Tue, 9 May 2023 23:54:17 +0000 From: "Isaac Oram" To: "abner.chang@amd.com" , "devel@edk2.groups.io" CC: Abdul Lateef Attar , Nickle Wang , Tinh Nguyen Subject: Re: [edk2-platforms][PATCH 2/2] ManageabilityPkg/ManageabilityTransportKcsLib: Add debug message of IPMI KCS Completion Code Thread-Topic: [edk2-platforms][PATCH 2/2] ManageabilityPkg/ManageabilityTransportKcsLib: Add debug message of IPMI KCS Completion Code Thread-Index: AQHZgkvc2NyuBrCOCkmftaJH2wTbVa9SnYog Date: Tue, 9 May 2023 23:54:17 +0000 Message-ID: References: <20230509075602.342-1-abner.chang@amd.com> <20230509075602.342-2-abner.chang@amd.com> In-Reply-To: <20230509075602.342-2-abner.chang@amd.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR11MB5801:EE_|MW3PR11MB4537:EE_ x-ms-office365-filtering-correlation-id: 98ea1b3a-d73f-43bb-b7fe-08db50e8b32c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tEWvuKDX1dkzIK63uo3K/oSGv9/Sabc0oYPTDbSa/7nR0xhPWhzciXKybA+jKrRThZaNnv5uxttII/Up9Dxf+kYvthIWec8qxU+oEMavKdoubNry7GSGC00l8Hu6SQ63blQTi2xFoCOsYi/M63ss33LrnJQSN8ng4rxHOzkKEUZF5h0wUO/EO5mWC8lLu5t25l7HS0OHF3ID2XnqvsQ+p+rC9f0ufXVsq5Qk81mbLPzXxGuZDFnbtZh4c2IgHumpoWn10+Vxqb7DLw9rr9oniw6dz57o+OeSvuZTUCIuUDYFMjpFlSaqVRz+pOCGfwTlrEotwnCbQBSUYzIKRvktVoHq8jEm5sBvWaVbfiy0JGqhjBAnUKsM/gCDRxuCEAerrqhJMkb8RCJgdq5s/oMLx9OrVHo819mRezf1V3dG2q6pVpuzL1+ZlIZTlJ5X2cNOygaauinlVQI9tU34e4Cd8tFJuNef8AUwJxLv2JJfcfuY9BJRBKspnDPdjXeRR5FQGxWpBFxWHaceJW/LzCrJepODU1uEexAC64PaGmfl4HTlPlF4UzjTpNdTb4bFgcCyr/HOdc7j/9xWrVOE7ZVgJY6M1aeaWprcew5HgSKWNCcQbTrQflzponM08oDe3t0S x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR11MB5801.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(396003)(136003)(366004)(376002)(39860400002)(346002)(451199021)(478600001)(41300700001)(122000001)(8676002)(8936002)(55016003)(38100700002)(52536014)(5660300002)(9686003)(6506007)(33656002)(53546011)(54906003)(2906002)(38070700005)(4326008)(83380400001)(186003)(76116006)(66946007)(66476007)(66446008)(66556008)(86362001)(71200400001)(110136005)(7696005)(64756008)(26005)(15650500001)(316002)(82960400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?zhZWQ6LeVzsmF9LgfNwuwaYfdVhVlKUYbx9OF8N31iurbcEJwmTUXSFBxx04?= =?us-ascii?Q?aqjtUM7le89SFg8GpPzSHmVG18lNffV+28+lrHNe9DpjURV27O/5y7KqBKHO?= =?us-ascii?Q?MQpp0gdkPAAGdZIzSjUHcKEWL44ig9Xiq0aK1A5qp/KHawr7J3AWHTG5/cF1?= =?us-ascii?Q?DEEkAcPlINMAWESzKGRRg6Juv9GTg3Tmrw/UjRq7O2tKg57C52rh88gJ9TNo?= =?us-ascii?Q?jAm5btJjpG+v3v0JdweOxqV4r0zTS4v6NABwGHLdISRdpA4++BsLZ44xF71h?= =?us-ascii?Q?UAZ4CobuX1poGglOkIDbNlOpZbk13wLqKYvCwNn7Cbk9mOAOjR2Bd99SBhEo?= =?us-ascii?Q?N9hdnHOXmUEGJ/LUBogqXYqh2BYJ1vtXwAucGiaTmd6MW2JSZDqLkGVAQNyF?= =?us-ascii?Q?XdWFW4gp5/0B9bokApgmxL4VXbkfbs2U3RPEXatscWGthV6/CLXA/9/7DNLB?= =?us-ascii?Q?ALi8IbfD5R8MowDcNZmur6fN9HbWWbbBXGw2arBgwt5jHxS1ZvpUCmGwEKpM?= =?us-ascii?Q?RFr6xDGanlagatIwtMtYKQ8kGaTBYBod6xNbT7kgOAYAyXKeWE9ZCIIQU8KX?= =?us-ascii?Q?2Th2o3jNaR1yfJ/bZcUbBdMqKc4Vu5X8Gc5mMqH5ZAfDQx8HbMqCAM4hGDeJ?= =?us-ascii?Q?CbO8BDtbclaVf8vB3B/E1WPv/m2GY/48FpewXwzvRAArnt/y5rf5qdb/oDSB?= =?us-ascii?Q?WrbJM7gPw+k4Je8zHbQcqBD8SURQNjiNA+n1YIUQ5GpkgwNAHu6/ez2IKCzm?= =?us-ascii?Q?fm0KKCc5LAnvgKrwYYWlZBy9YxJxy4nJJ4WQDedrwp5LwCJlurD2sW8/jEOQ?= =?us-ascii?Q?16d9bxjK+gIvi/WhnxiP61DMymP+ZIEH1GEDcfvd1u8VGLDqqhSuTeQVxPcS?= =?us-ascii?Q?DcZR1guArXsbP0OH5ffYme+G+03PELoSn4vwU1HSThGyZsshghit0j5JRvEd?= =?us-ascii?Q?but+kl8vgBVt1MCVmOb6Bi/4CqHx/OqJi3JMEGhpq0St8SP5cwU8wAQfnuhi?= =?us-ascii?Q?CHFS8saj1K62hmzu9q+bgUhmr3yHILx/QKThMrAZOVxcspreaiEvfqwXHWKv?= =?us-ascii?Q?HwoYFfDfXj28CFhfufPPyqum7L7QV+Q2l6L8f6eV8mpr68nH4p7JNJFEPVuT?= =?us-ascii?Q?me788gBwWTLWHdI8bZ2SeFwb1NPlvEiA3BYvs45qyi+iADqKKBdRVoAK2/LJ?= =?us-ascii?Q?PAGMMOBIT0q/LUoIDJnfXqtM4mfyQi6XDXXjx2x9rOoCcX9ZNZBltLME8zXd?= =?us-ascii?Q?iTIGorXfHdT5r8mUZU36LBJnGrnpp6U1gDQzvMnwrUcCBSFfYzKBKH23US7r?= =?us-ascii?Q?Gb6a5z3BPpCk11ZbYWbuoJW4urJ9acLjMJaPXdtx8eyvSyLvwEdbaQBN1vAO?= =?us-ascii?Q?H3Tt/+W3p25ui7DWtkpkk5qLYFKtFaLL/n69tI5zg5vObSvYi25x5er24U3H?= =?us-ascii?Q?TLYEqpA+ZKotGZH0MMJpzHohQgiAe7wi6klj2ir2hZVSR/rVE0lVniCriUNi?= =?us-ascii?Q?sR4O8KumIZniIpG4j6FtDHSc8pwmRH4bWKJgi66oxQ2K4CrXtsDJGH/zPCdf?= =?us-ascii?Q?b70Glr+5qaSI5WVKWlw8cY3Nx8rphyxuGV1ci6J4?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB5801.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98ea1b3a-d73f-43bb-b7fe-08db50e8b32c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2023 23:54:17.1213 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6kCmzKkWme6oQG/SYKsEHgHRJYTE2yGgFkrPlwg2sguXJscqUjyz+37Wed67+T6mLgd53V+kZtLADiNMLZGnVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4537 Return-Path: isaac.w.oram@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Isaac Oram Multiple instances of typo: AdditioalStatus =20 I think it is ok to fix before push since it is simple search and replace. -----Original Message----- From: abner.chang@amd.com =20 Sent: Tuesday, May 9, 2023 12:56 AM To: devel@edk2.groups.io Cc: Oram, Isaac W ; Abdul Lateef Attar ; Nickle Wang ; Tinh Nguyen Subject: [edk2-platforms][PATCH 2/2] ManageabilityPkg/ManageabilityTranspor= tKcsLib: Add debug message of IPMI KCS Completion Code From: abnchang Print out IPMI Completion Code and return additional transport interface st= atus. Signed-off-by: Abner Chang Cc: Isaac Oram Cc: Abdul Lateef Attar Cc: Nickle Wang Cc: Tinh Nguyen --- .../Common/ManageabilityTransportKcs.h | 18 +++++---- .../Common/KcsCommon.c | 39 +++++++++++++------ .../Dxe/ManageabilityTransportKcs.c | 7 +++- 3 files changed, 42 insertions(+), 22 deletions(-) diff --git a/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib= /Common/ManageabilityTransportKcs.h b/Features/ManageabilityPkg/Library/Man= ageabilityTransportKcsLib/Common/ManageabilityTransportKcs.h index 8c6a64416a..166aa8dcde 100644 --- a/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Common= /ManageabilityTransportKcs.h +++ b/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Com +++ mon/ManageabilityTransportKcs.h @@ -51,6 +51,7 @@ typedef struct { code is the first byte of response data. @param[in, out] ResponseDataSize Size of Command Response Data. + @param[out] AdditioalStatus Additional status of this transact= ion. =20 @retval EFI_SUCCESS The command byte stream was successfully submit to the device = and a @@ -71,14 +72,15 @@ typedef struct { EFI_STATUS EFIAPI KcsTranspor= tSendCommand ( - IN MANAGEABILITY_TRANSPORT_HEADER TransmitHeader OPTIONAL, - IN UINT16 TransmitHeaderSize, - IN MANAGEABILITY_TRANSPORT_TRAILER TransmitTrailer OPTIONAL, - IN UINT16 TransmitTrailerSize, - IN UINT8 *RequestData OPTIONAL, - IN UINT32 RequestDataSize, - OUT UINT8 *ResponseData OPTIONAL, - IN OUT UINT32 *ResponseDataSize OPTIONAL + IN MANAGEABILITY_TRANSPORT_HEADER TransmitHeader OPTIONAL, + IN UINT16 TransmitHeaderSize, + IN MANAGEABILITY_TRANSPORT_TRAILER TransmitTrailer OPTIONAL= , + IN UINT16 TransmitTrailerSize, + IN UINT8 *RequestData OPTIONAL, + IN UINT32 RequestDataSize, + OUT UINT8 *ResponseData OPTIONAL, + IN OUT UINT32 *ResponseDataSize OPTION= AL, + OUT MANAGEABILITY_TRANSPORT_ADDITIONAL_STATUS *AdditioalStatus ); =20 /** diff --git a/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib= /Common/KcsCommon.c b/Features/ManageabilityPkg/Library/ManageabilityTransp= ortKcsLib/Common/KcsCommon.c index a8c6a674c9..84792311be 100644 --- a/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Common= /KcsCommon.c +++ b/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Com +++ mon/KcsCommon.c @@ -392,10 +392,8 @@ KcsTransportRead ( code is the first byte of response data. @param[in, out] ResponseDataSize Size of Command Response Data. - When IN, it is the expected data s= ize - of response data. - When OUT, it is the data size of r= esponse - exactly returned. + @param[out] AdditioalStatus Additional status of this transact= ion. + @retval EFI_SUCCESS The command byte stream was successfully submit to the device = and a response was successfully received= . @@ -414,20 +412,22 @@ KcsTransportRead ( EFI_STATUS EFIAPI KcsTransportS= endCommand ( - IN MANAGEABILITY_TRANSPORT_HEADER TransmitHeader OPTIONAL, - IN UINT16 TransmitHeaderSize, - IN MANAGEABILITY_TRANSPORT_TRAILER TransmitTrailer OPTIONAL, - IN UINT16 TransmitTrailerSize, - IN UINT8 *RequestData OPTIONAL, - IN UINT32 RequestDataSize, - OUT UINT8 *ResponseData OPTIONAL, - IN OUT UINT32 *ResponseDataSize OPTIONAL + IN MANAGEABILITY_TRANSPORT_HEADER TransmitHeader OPTIONAL, + IN UINT16 TransmitHeaderSize, + IN MANAGEABILITY_TRANSPORT_TRAILER TransmitTrailer OPTIONAL= , + IN UINT16 TransmitTrailerSize, + IN UINT8 *RequestData OPTIONAL, + IN UINT32 RequestDataSize, + OUT UINT8 *ResponseData OPTIONAL, + IN OUT UINT32 *ResponseDataSize OPTION= AL, + OUT MANAGEABILITY_TRANSPORT_ADDITIONAL_STATUS *AdditioalStatus ) { EFI_STATUS Status; UINT32 RspHeaderSize; IPMI_KCS_RESPONSE_HEADER RspHeader; UINT32 ExpectedResponseDataSize; + CHAR16 *CompletionCodeStr; =20 if ((RequestData !=3D NULL) && (RequestDataSize =3D=3D 0)) { DEBUG ((DEBUG_ERROR, "%a: Mismatched values of RequestData and Request= DataSize\n", __FUNCTION__)); @@ -439,6 +439,11 @@ KcsTransportSendCommand ( return EFI_INVALID_PARAMETER; } =20 + if (AdditioalStatus =3D=3D NULL) { + DEBUG ((DEBUG_ERROR, "%a: AdditioalStatus is NULL.\n", __func__)); + return EFI_INVALID_PARAMETER; + } + // Print out the request payloads. if ((TransmitHeader !=3D NULL) && (TransmitHeaderSize !=3D 0)) { HelperManageabilityDebugPrint ((VOID *)TransmitHeader, (UINT32)Transmi= tHeaderSize, "KCS Transmit Header:\n"); @@ -504,6 +509,16 @@ KcsTransportSe= ndCommand ( } =20 HelperManageabilityDebugPrint ((VOID *)ResponseData, (UINT32)*Respon= seDataSize, "KCS Response Data:\n"); + + // Print Completion Code + Status =3D IpmiHelperCheckCompletionCode (*((UINT8 *)ResponseData), = &CompletionCodeStr, AdditioalStatus); + if (!EFI_ERROR (Status)) { + DEBUG ((DEBUG_MANAGEABILITY_INFO, "Cc: %02x %s.\n", *((UINT8 *)Res= ponseData), CompletionCodeStr)); + } else if (Status =3D=3D EFI_NOT_FOUND) { + DEBUG ((DEBUG_MANAGEABILITY_INFO, "Cc: %02x not defined in IpmiCom= pletionCodeMapping or invalid.\n", *((UINT8 *)ResponseData))); + } + } else { + DEBUG ((DEBUG_ERROR, "No response, can't determine Completion=20 + Code.\n")); } } else { *ResponseDataSize =3D 0; diff --git a/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib= /Dxe/ManageabilityTransportKcs.c b/Features/ManageabilityPkg/Library/Manage= abilityTransportKcsLib/Dxe/ManageabilityTransportKcs.c index 9175556a26..c2d1ac6b62 100644 --- a/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe/Ma= nageabilityTransportKcs.c +++ b/Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe +++ /ManageabilityTransportKcs.c @@ -219,7 +219,8 @@ KcsTransportTransmitReceive ( IN MANAGEABILITY_TRANSFER_TOKEN *TransferToken ) { - EFI_STATUS Status; + EFI_STATUS Status; + MANAGEABILITY_TRANSPORT_ADDITIONAL_STATUS AdditioalStatus; =20 if ((TransportToken =3D=3D NULL) || (TransferToken =3D=3D NULL)) { DEBUG ((DEBUG_ERROR, "%a: Invalid transport token or transfer token.\n= ", __FUNCTION__)); @@ -234,11 +235,13 @@ KcsTransportTransmitReceive ( TransferToken->TransmitPackage.TransmitPayload, TransferToken->TransmitPackage.TransmitSizeInByte, TransferToken->ReceivePackage.ReceiveBuffer, - &TransferToken->ReceivePackage.ReceiveSizeInByte + &TransferToken->ReceivePackage.ReceiveSizeInByte, + &AdditioalStatus ); =20 TransferToken->TransferStatus =3D Status; KcsTransportStatus (TransportToken, &TransferToken->TransportAdditionalS= tatus); + TransferToken->TransportAdditionalStatus |=3D AdditioalStatus; } =20 /** -- 2.37.1.windows.1